diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2002-08-24 20:40:21 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2002-08-24 20:40:21 +0000 |
commit | db5f37f7f40876838d0e7f8d817a3843ce94ddba (patch) | |
tree | aebcf41a69dd2821fa26b48266a75f2d23c46a41 /net-mail/qpopper | |
parent | added ppc to keywords (diff) | |
download | gentoo-2-db5f37f7f40876838d0e7f8d817a3843ce94ddba.tar.gz gentoo-2-db5f37f7f40876838d0e7f8d817a3843ce94ddba.tar.bz2 gentoo-2-db5f37f7f40876838d0e7f8d817a3843ce94ddba.zip |
Some bugs fixed
Diffstat (limited to 'net-mail/qpopper')
-rw-r--r-- | net-mail/qpopper/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/qpopper/files/digest-qpopper-4.0.4 | 1 | ||||
-rw-r--r-- | net-mail/qpopper/qpopper-4.0.4.ebuild | 78 |
3 files changed, 49 insertions, 37 deletions
diff --git a/net-mail/qpopper/ChangeLog b/net-mail/qpopper/ChangeLog index fb3f14247552..8c981f13defe 100644 --- a/net-mail/qpopper/ChangeLog +++ b/net-mail/qpopper/ChangeLog @@ -2,9 +2,12 @@ # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 # Author: Enrico Morelli <morelli@cerm.unifi.it> # Maintaniner: José Alberto Suárez López <bass@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.1 2002/06/21 16:28:54 bass Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.2 2002/08/24 20:40:21 bass Exp $ *qpopper-4.0.4 (20 Jun 2002) -20 Jun 2002; J.Alberto S.L. <bass@gentoo.org> qpopper-4.0.4: + 24 Aug 2002; J.Alberto S.L. <bass@gentoo.org> qpopper-4.0.4: + fix some bugs #6864 (thanks Pau Oliva) + + 20 Jun 2002; J.Alberto S.L. <bass@gentoo.org> qpopper-4.0.4: First relase. diff --git a/net-mail/qpopper/files/digest-qpopper-4.0.4 b/net-mail/qpopper/files/digest-qpopper-4.0.4 index 5a26f7c03bd3..0bc773805026 100644 --- a/net-mail/qpopper/files/digest-qpopper-4.0.4 +++ b/net-mail/qpopper/files/digest-qpopper-4.0.4 @@ -1 +1,2 @@ MD5 77f0968cd10b0d5236114838d9f507e5 qpopper4.0.4.tar.gz 2261992 +MD5 af01c6fe9f770666dda081ab34a16b50 qpopper-files.tar.bz2 269722 diff --git a/net-mail/qpopper/qpopper-4.0.4.ebuild b/net-mail/qpopper/qpopper-4.0.4.ebuild index 8c4bcf639a57..083622e2221d 100644 --- a/net-mail/qpopper/qpopper-4.0.4.ebuild +++ b/net-mail/qpopper/qpopper-4.0.4.ebuild @@ -1,23 +1,28 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $ Header: $ PN0=qpopper S=${WORKDIR}/${PN0}4.0.4 DESCRIPTION="Qpopper enables a unix/linux machine to act as a Post Office Protocol version 3 (pop) server" -SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${PN0}4.0.4.tar.gz" +SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${PN0}4.0.4.tar.gz + http://www.ibiblio.org/gentoo/distfiles/qpopper-files.tar.bz2" HOMEPAGE="http://www.qpopper.org/" DEPEND="virtual/glibc \ + virtual/mta \ sys-libs/gdbm \ sys-apps/xinetd \ pam? ( >=sys-libs/pam-0.72 ) \ ssl? ( dev-libs/openssl )" -KEYWORDS="x86" -LICENSE="GPL" +RDEPEND="${DEPEND}" + SLOT="0" +LICENSE="GPL" +KEYWORDS="x86 sparc sparc64" src_unpack() { + + unpack qpopper-files.tar.bz2 unpack ${A} cd ${S} } @@ -29,6 +34,7 @@ src_compile() { --enable-specialauth \ --enable-log-facility=LOG_MAIL \ --enable-debugging \ + --enable-uw-kludge-flag \ --with-gdbm" if use ssl; then @@ -73,48 +79,50 @@ src_install() { dosbin popper/popper popper/popauth if use ssl; then - mkdir -p -m665 ${D}/etc/mail/certs - chown root.mail ${D}/etc/mail/certs - chmod 660 ${D}/etc/mail/certs - mv cert.pem ${D}/etc/mail/certs - chmod 600 ${D}/etc/mail/certs/cert.pem - chown root.0 ${D}/etc/mail/certs/cert.pem + 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/poppassd.8 man/popper.8 - dodoc GUIDE.pdf + dodoc ${WORKDIR}/GUIDE.pdf docinto rfc dodoc doc/rfc*.txt - # gentoo config stuff if use pam; then insinto /etc/pam.d - newins ${FILESDIR}/pop3.pam-system-auth pop3 + newins ${WORKDIR}/pop3.pam-system-auth pop3 fi insinto /etc/xinetd.d - newins ${FILESDIR}/pop3.xinetd pop-3 - - echo "----------------------------------------------------------------" - echo " PS. If you use APOP service to authenticate " - echo " the users you have to follow these steps: " - echo " 1) create a new account named pop;" - echo " 2) change the owner and permissions of" - echo " /usr/sbin/popauth:" - echo " # chown pop /usr/sbin/popauth" - echo " # chmod u+s /usr/sbin/popauth" - echo " 3) initialize the authentication database:" - echo " # popauth -init" - echo " 4) new users can be added by root:" - echo " # popauth -user <user>" - echo " or removed:" - echo " # popauth -delete <user>" - echo " Other users can add themeselves or change their" - echo " password with the command: popauth" - echo " 5) scripts or other non-interactive processes can add or change" - echo " the passwords with the following command:" - echo " # popauth -user <user> <password>" - echo "-----------------------------------------------------------------" + newins ${WORKDIR}/pop3.xinetd pop-3 + +} + +pkg_postinst () { + einfo "----------------------------------------------------------------" + einfo " PS. If you use APOP service to authenticate " + einfo " the users you have to follow these steps: " + 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 "-----------------------------------------------------------------" } |