summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-27 07:35:30 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-27 07:35:30 +0000
commite6a6ad3521c8267bf356f8a27465d4f80521a65a (patch)
tree5150bbffc842d4203d7371d6006eec120488bfca /net-mail
parentmodified dictionary. (diff)
downloadgentoo-2-e6a6ad3521c8267bf356f8a27465d4f80521a65a.tar.gz
gentoo-2-e6a6ad3521c8267bf356f8a27465d4f80521a65a.tar.bz2
gentoo-2-e6a6ad3521c8267bf356f8a27465d4f80521a65a.zip
removed older ebuild, and changed DEPEND to virtual/inetd
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/qpopper/files/digest-qpopper-4.0.42
-rw-r--r--net-mail/qpopper/qpopper-4.0.4.ebuild128
-rw-r--r--net-mail/qpopper/qpopper-4.0.5.ebuild11
3 files changed, 5 insertions, 136 deletions
diff --git a/net-mail/qpopper/files/digest-qpopper-4.0.4 b/net-mail/qpopper/files/digest-qpopper-4.0.4
deleted file mode 100644
index 0bc773805026..000000000000
--- a/net-mail/qpopper/files/digest-qpopper-4.0.4
+++ /dev/null
@@ -1,2 +0,0 @@
-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
deleted file mode 100644
index 94a530cca8f6..000000000000
--- a/net-mail/qpopper/qpopper-4.0.4.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-
-IUSE="ssl pam"
-
-PN0=qpopper
-S=${WORKDIR}/${PN0}4.0.4
-DESCRIPTION="A POP3 Server"
-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/qpopper/"
-
-DEPEND="virtual/glibc \
- virtual/mta \
- sys-libs/gdbm \
- sys-apps/xinetd \
- pam? ( >=sys-libs/pam-0.72 ) \
- ssl? ( dev-libs/openssl )"
-
-SLOT="0"
-LICENSE="qpopper | GPL-2"
-KEYWORDS="x86 sparc "
-
-src_unpack() {
-
- unpack qpopper-files.tar.bz2
- unpack ${A}
- cd ${S}
-}
-
-src_compile() {
- CO=" --enable-apop=/etc/pop.auth \
- --enable-popuid=pop \
- --enable-log-login \
- --enable-specialauth \
- --enable-log-facility=LOG_MAIL \
- --enable-debugging \
- --enable-uw-kludge-flag \
- --with-gdbm"
-
- if use ssl; then
- if use pam; then
- ./configure ${CO} --with-openssl --with-pam=pop3
- else
- ./configure ${CO} --with-openssl
- fi
- 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
-
- elif use pam; then
- ./configure ${CO} --with-pam=pop3 || die
- make || die
-
- else
- ./configure ${CO}
- make || die
- fi
-}
-
-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/poppassd.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>"
-}
diff --git a/net-mail/qpopper/qpopper-4.0.5.ebuild b/net-mail/qpopper/qpopper-4.0.5.ebuild
index c5f9499e0f44..0cd2f3674564 100644
--- a/net-mail/qpopper/qpopper-4.0.5.ebuild
+++ b/net-mail/qpopper/qpopper-4.0.5.ebuild
@@ -9,12 +9,11 @@ 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/glibc \
- virtual/mta \
- sys-libs/gdbm \
- sys-apps/xinetd \
- pam? ( >=sys-libs/pam-0.72 ) \
- ssl? ( dev-libs/openssl )"
+DEPEND="virtual/mta
+ virtual/inetd
+ sys-libs/gdbm
+ pam? ( >=sys-libs/pam-0.72 )
+ ssl? ( dev-libs/openssl )"
SLOT="0"
LICENSE="qpopper | GPL-2"