diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-02-13 16:46:41 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-02-13 16:46:41 +0000 |
commit | 14df1979ff06b8c29a8cfd1135085a444f6692f2 (patch) | |
tree | 7d207eb492c6ff1d92fecd17d8f21aacb8cf7226 /net-mail/qpopper | |
parent | Stable on ppc. (diff) | |
download | gentoo-2-14df1979ff06b8c29a8cfd1135085a444f6692f2.tar.gz gentoo-2-14df1979ff06b8c29a8cfd1135085a444f6692f2.tar.bz2 gentoo-2-14df1979ff06b8c29a8cfd1135085a444f6692f2.zip |
Bump the ebuild to make it conform Bug #79240
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-mail/qpopper')
-rw-r--r-- | net-mail/qpopper/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/qpopper/Manifest | 8 | ||||
-rw-r--r-- | net-mail/qpopper/files/digest-qpopper-4.0.5-r2 | 2 | ||||
-rw-r--r-- | net-mail/qpopper/qpopper-4.0.5-r2.ebuild | 127 |
4 files changed, 141 insertions, 4 deletions
diff --git a/net-mail/qpopper/ChangeLog b/net-mail/qpopper/ChangeLog index 4e93ac89b637..3aaebe488c3a 100644 --- a/net-mail/qpopper/ChangeLog +++ b/net-mail/qpopper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/qpopper # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.17 2005/02/07 19:08:51 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.18 2005/02/13 16:46:40 ferdy Exp $ + +*qpopper-4.0.5-r2 (13 Feb 2005) + + 13 Feb 2005; Fernando J. Pereda <ferdy@gentoo.org> + +qpopper-4.0.5-r2.ebuild: + Remove pam.d stuff and make it depend on at least mailbase-0.00-r8 (#79240) 07 Feb 2005; Simon Stelling <blubb@gentoo.org> qpopper-4.0.5-r1.ebuild: added ~amd64 diff --git a/net-mail/qpopper/Manifest b/net-mail/qpopper/Manifest index 8a70d21f906a..cbdc0c652043 100644 --- a/net-mail/qpopper/Manifest +++ b/net-mail/qpopper/Manifest @@ -1,6 +1,8 @@ MD5 f5dc268b887d429c8842004f2232a385 qpopper-4.0.5.ebuild 3196 -MD5 b4204a41172c77f99446834f736bd451 ChangeLog 1979 -MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 4e01786e3bea3ad63d5d668bd328cdf7 qpopper-4.0.5-r1.ebuild 3346 -MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5-r1 131 +MD5 e486fb9cf4f94f0b28e02ff3e280d61e qpopper-4.0.5-r2.ebuild 3456 +MD5 5726ce12a28e8e62cffd0c6af903bf45 ChangeLog 2172 +MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5 131 +MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5-r1 131 +MD5 843447464085eea5bb368ef6d5e357ba files/digest-qpopper-4.0.5-r2 131 diff --git a/net-mail/qpopper/files/digest-qpopper-4.0.5-r2 b/net-mail/qpopper/files/digest-qpopper-4.0.5-r2 new file mode 100644 index 000000000000..a5748117ec15 --- /dev/null +++ b/net-mail/qpopper/files/digest-qpopper-4.0.5-r2 @@ -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-r2.ebuild b/net-mail/qpopper/qpopper-4.0.5-r2.ebuild new file mode 100644 index 000000000000..844d2d340fa9 --- /dev/null +++ b/net-mail/qpopper/qpopper-4.0.5-r2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2005 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-r2.ebuild,v 1.1 2005/02/13 16:46:41 ferdy 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 + >=net-mail/mailbase-0.00-r8 + ) + ssl? ( dev-libs/openssl )" + +SLOT="0" +LICENSE="qpopper" +KEYWORDS="~x86 ~sparc ~amd64" + +src_compile() { + + local myconf + + use pam && myconf="${myconf} --with-pam=pop3" + use mailbox && myconf="${myconf} --enable-home-dir-mail=Mailbox" + use xinetd && myconf="${myconf} --disable-standalone" || \ + myconf="${myconf} --enable-standalone" + myconf="${myconf} $(use_enable debug debugging)" + 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 + + # pam.d stuff is provided by >=mailbase-0.00-r8. Bug #79240 + # 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" +} |