diff options
author | Tuan Van <langthang@gentoo.org> | 2004-07-24 05:10:06 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2004-07-24 05:10:06 +0000 |
commit | ec77fa3d2b44825b666ac225ec7f1a336b88c399 (patch) | |
tree | 49f3facf9b66ee0cff9b7340270ff81843e834c2 | |
parent | add docs (Manifest recommit) (diff) | |
download | gentoo-2-ec77fa3d2b44825b666ac225ec7f1a336b88c399.tar.gz gentoo-2-ec77fa3d2b44825b666ac225ec7f1a336b88c399.tar.bz2 gentoo-2-ec77fa3d2b44825b666ac225ec7f1a336b88c399.zip |
fixed bug #17800, #34017, #42289 and more. See ChangeLog.
-rw-r--r-- | net-mail/qpopper/ChangeLog | 12 | ||||
-rw-r--r-- | net-mail/qpopper/Manifest | 2 | ||||
-rw-r--r-- | net-mail/qpopper/files/digest-qpopper-4.0.5-r1 | 2 | ||||
-rw-r--r-- | net-mail/qpopper/qpopper-4.0.5-r1.ebuild | 122 |
4 files changed, 137 insertions, 1 deletions
diff --git a/net-mail/qpopper/ChangeLog b/net-mail/qpopper/ChangeLog index f2a6d7e8ec4a..f96852f0c985 100644 --- a/net-mail/qpopper/ChangeLog +++ b/net-mail/qpopper/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-mail/qpopper # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.13 2004/06/24 23:28:48 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.14 2004/07/24 05:10:06 langthang Exp $ + +*qpopper-4.0.5-r1 (23 Jul 2004) + + 23 Jul 2004; Tuan Van <langthang@gentoo.org> +qpopper-4.0.5-r1.ebuild: + Add local use flags: + xinetd, resolve bug #17800 + mailbox, resolve bug #42289 + gdbm, optional gdbm support. + debug, optional debugging support + Fixed bug #34017. 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> qpopper-4.0.5.ebuild: Add die following econf for bug 48950 diff --git a/net-mail/qpopper/Manifest b/net-mail/qpopper/Manifest index e877549220a4..f79c9f747e78 100644 --- a/net-mail/qpopper/Manifest +++ b/net-mail/qpopper/Manifest @@ -1,4 +1,6 @@ MD5 aab01f9f283cc9dfa33a6f0be094d75e qpopper-4.0.5.ebuild 3207 +MD5 d21591af8e07035ed56a959a0f9e74e1 qpopper-4.0.5-r1.ebuild 3195 MD5 52072ddf424f552476f4a0783896a86b ChangeLog 1381 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5 131 +MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5-r1 131 diff --git a/net-mail/qpopper/files/digest-qpopper-4.0.5-r1 b/net-mail/qpopper/files/digest-qpopper-4.0.5-r1 new file mode 100644 index 000000000000..a5748117ec15 --- /dev/null +++ b/net-mail/qpopper/files/digest-qpopper-4.0.5-r1 @@ -0,0 +1,2 @@ +MD5 e00853280c9e899711f0b0239d3d8f86 qpopper4.0.5.tar.gz 2281284 +MD5 af01c6fe9f770666dda081ab34a16b50 qpopper-files.tar.bz2 269722 diff --git a/net-mail/qpopper/qpopper-4.0.5-r1.ebuild b/net-mail/qpopper/qpopper-4.0.5-r1.ebuild new file mode 100644 index 000000000000..90dc8e5d1ae7 --- /dev/null +++ b/net-mail/qpopper/qpopper-4.0.5-r1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/qpopper-4.0.5-r1.ebuild,v 1.1 2004/07/24 05:10:06 langthang Exp $ + +IUSE="debug gdbm mailbox pam ssl xinetd" + +S=${WORKDIR}/${PN}${PV} +DESCRIPTION="A POP3 Server" +SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${PN}${PV}.tar.gz + http://www.ibiblio.org/gentoo/distfiles/qpopper-files.tar.bz2" +HOMEPAGE="http://www.qpopper.org/qpopper/" + +DEPEND="virtual/mta + xinetd? ( virtual/inetd ) + gdbm? ( sys-libs/gdbm ) + pam? ( >=sys-libs/pam-0.72 ) + ssl? ( dev-libs/openssl )" + +SLOT="0" +LICENSE="qpopper | GPL-2" +KEYWORDS="~x86 ~sparc" + +src_compile() { + + local myconf + + use pam && myconf="${myconf} --with-pam=pop3" + use mailbox && myconf="${myconf} --enable-home-dir-mail=Mailbox" + myconf="${myconf} $(use_enable debug debugging)" + myconf="${myconf} $(use_enable xinetd standalone)" + myconf="${myconf} $(use_with ssl openssl)" + myconf="${myconf} $(use_with gdbm)" + econf --enable-apop=/etc/pop.auth \ + --enable-popuid=pop \ + --enable-log-login \ + --enable-specialauth \ + --enable-log-facility=LOG_MAIL \ + --enable-uw-kludge-flag \ + ${myconf} || die "econf failed" + + if use ssl; then + umask 077 + PEM1=`/bin/mktemp ${T}/openssl.XXXXXX` + PEM2=`/bin/mktemp ${T}/openssl.XXXXXX` + /usr/bin/openssl req -newkey rsa:1024 -keyout $$PEM1 \ + -nodes -x509 -days 365 -out $$PEM2 << EOF +-- +SomeState +SomeCity +SomeOrganization +SomeOrganizationalUnit +localhost.localdomain +root@localhost.localdomain +EOF + + cat $$PEM1 > cert.pem + echo "" >> cert.pem + cat $$PEM2 >> cert.pem + make || die + rm $$PEM1 $$PEM2 + umask 022 + + fi + + emake || die +} + +src_install() { + into /usr + dosbin popper/popper popper/popauth + + if use ssl; then + dodir /etc/mail/certs + fowners root:mail /etc/mail/certs + fperms 660 /etc/mail/certs + mv cert.pem ${D}/etc/mail/certs + fperms 600 /etc/mail/certs/cert.pem + fowners root:0 /etc/mail/certs/cert.pem + fi + + doman man/popauth.8 man/popper.8 + + dodoc ${WORKDIR}/GUIDE.pdf + + docinto rfc + dodoc doc/rfc*.txt + + if use pam; then + insinto /etc/pam.d + newins ${WORKDIR}/pop3.pam-system-auth pop3 + fi + + insinto /etc/xinetd.d + newins ${WORKDIR}/pop3.xinetd pop-3 +} + +pkg_postinst () { + einfo "PS. If you use APOP service to authenticate " + einfo "the users you have to follow these steps: " + einfo "" + einfo "1) create a new account named pop" + einfo "2) change the owner and permissions of" + einfo " /usr/sbin/popauth:" + einfo " # chown pop /usr/sbin/popauth" + einfo " # chmod u+s /usr/sbin/popauth" + einfo "3) initialize the authentication database:" + einfo " # popauth -init" + einfo "4) new users can be added by root:" + einfo " # popauth -user <user>" + einfo " or removed:" + einfo " # popauth -delete <user>" + einfo " Other users can add themeselves or change their" + einfo " password with the command popauth" + einfo "5) scripts or other non-interactive processes can add or change" + einfo " the passwords with the following command:" + einfo " # popauth -user <user> <password>" + einfo "" + einfo "to enable qpopper in netkit-inetd just add this in one line" + einfo "pop-3 stream tcp nowait root /usr/sbin/tcpd + /usr/sbin/in.qpopper -f /etc/qpopper.conf" + einfo "into your /etc/inetd.conf" +} |