diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-01-19 10:36:36 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-01-19 10:36:36 +0000 |
commit | ec39e2b5ecea28bf4b748da39ae7a58ad7f592e2 (patch) | |
tree | af7bd3c6fe5c0b8cdf64d878a6ecc748863727ba /net-mail/tpop3d | |
parent | New package. Currently marked unstable. (diff) | |
download | historical-ec39e2b5ecea28bf4b748da39ae7a58ad7f592e2.tar.gz historical-ec39e2b5ecea28bf4b748da39ae7a58ad7f592e2.tar.bz2 historical-ec39e2b5ecea28bf4b748da39ae7a58ad7f592e2.zip |
New ebuild. Closes bug #4282.
Diffstat (limited to 'net-mail/tpop3d')
-rw-r--r-- | net-mail/tpop3d/ChangeLog | 13 | ||||
-rw-r--r-- | net-mail/tpop3d/files/digest-tpop3d-1.4.2 | 2 | ||||
-rw-r--r-- | net-mail/tpop3d/tpop3d-1.4.2.ebuild | 76 |
3 files changed, 91 insertions, 0 deletions
diff --git a/net-mail/tpop3d/ChangeLog b/net-mail/tpop3d/ChangeLog new file mode 100644 index 000000000000..971d03ed2196 --- /dev/null +++ b/net-mail/tpop3d/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for net-mail/tpop3d +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/ChangeLog,v 1.1 2003/01/19 10:36:36 raker Exp $ + +*tpop3d-1.4.2 (19 Jan 2003) + + 19 Jan 2003; Nick Hadaway <raker@gentoo.org> tpop3d-1.4.2.ebuild, + files/digest-tpop3d-1.4.2 : + New ebuild as suggested on bug #4282 by Martin Klebermass. + Added tests for local variables to enable/disable features that are + generally not needed, insecure, or rude. :) (seriously!) Also + added a net-mail/drac ebuild for pop-before-smtp integration and + included a patch for the optional auth-flatfile support. diff --git a/net-mail/tpop3d/files/digest-tpop3d-1.4.2 b/net-mail/tpop3d/files/digest-tpop3d-1.4.2 new file mode 100644 index 000000000000..d483169b02fc --- /dev/null +++ b/net-mail/tpop3d/files/digest-tpop3d-1.4.2 @@ -0,0 +1,2 @@ +MD5 30d6d7956a0bedb9f99a1b1c24585a02 tpop3d-1.4.2.tar.gz 183385 +MD5 b9bb96133f4958d2f97937917e5f5b21 tpop3d-1.4.2-auth-flatfile-broken.patch 572 diff --git a/net-mail/tpop3d/tpop3d-1.4.2.ebuild b/net-mail/tpop3d/tpop3d-1.4.2.ebuild new file mode 100644 index 000000000000..6b03bf7a4f78 --- /dev/null +++ b/net-mail/tpop3d/tpop3d-1.4.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp + +S=${WORKDIR}/${P} +DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support." +SRC_URI="http://www.ex-parrot.com/~chris/tpop3d/${P}.tar.gz + http://www.ex-parrot.com/~chris/tpop3d/${P}-auth-flatfile-broken.patch" +HOMEPAGE="http://www.ex-parrot.com/~chris/tpop3d/" +LICENSE="GPL-2" +DEPEND="virtual/glibc + ssl? ( >=dev-libs/openssl-0.9.6) + ldap? ( >=net-nds/openldap-2.0.7) + mysql? ( >=dev-db/mysql-3.23.28) + perl? ( >=sys-devel/perl-5.6.1) + pam? ( >=sys-libs/pam-0.75) + tcpd? ( >=sys-apps/tcp-wrappers-7.6)" +IUSE="ssl ldap mysql perl pam tcpd maildir" + +inherit eutils + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + epatch ${DISTDIR}/${P}-auth-flatfile-broken.patch || die +} + +src_compile() { + local myconf + use mysql && myconf="--enable-auth-mysql" + use ldap && myconf="${myconf} --enable-auth-ldap" + use perl && myconf="${myconf} --enable-auth-perl" + use tcpd && myconf="${myconf} --enable-tcp-wrappers" + use pam || myconf="${myconf} --disable-auth-pam" + use maildir && myconf="${myconf} --enable-mbox-maildir" + # If you want plaintext /etc/passwd authentication + if [ ! -z $ENABLE_PASSWD ]; then + myconf="${myconf} --enable-auth-passwd" + fi + # If you want to use /etc/shadow instead. + # Make sure you also set $ENABLE_PASSWD + if [ ! -z $ENABLE_SHADOW ]; then + myconf="${myconf} --enable-shadow-passwords" + fi + # authenticate against any passwd-like file + if [ ! -z $ENABLE_FLATFILE ]; then + myconf="${myconf} --enable-auth-flatfile" + fi + # authenticate via an external program + if [ ! -z $ENABLE_OTHER ]; then + myconf="${myconf} --enable-auth-other" + fi + # Make it Rated G and safe for the kids + if [ ! -z $BE_NICE ]; then + myconf="${myconf} --disable-snide-comments" + fi + # Install net-mail/drac for integration with tpop3d + if [ ! -a $ENABLE_DRAC ]; then + myconf="${myconf} --enable-drac" + fi + if [ ! -z $DEBUGBUILD ]; then + myconf="${myconf} --enable-electric-fence --enable-backtrace" + fi + econf ${myconf} || die "./configure failed" + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + dodir /etc/tpop3d +} +pkg_postinst() { + einfo "Read the tpop3d.conf manpage" + einfo "Please create /etc/tpop3d/tpop3d.conf to fit your Configuration" +} |