summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-08-09 07:43:18 +0000
committerPeter Volkov <pva@gentoo.org>2010-08-09 07:43:18 +0000
commit19aeebc2db1bf92253fd6b1d68b62de474bc84b6 (patch)
tree70259630f30fd4624fc8bf311f8842b727ce456c /net-mail/qpopper
parentx86 stable, bug 322791 (diff)
downloadgentoo-2-19aeebc2db1bf92253fd6b1d68b62de474bc84b6.tar.gz
gentoo-2-19aeebc2db1bf92253fd6b1d68b62de474bc84b6.tar.bz2
gentoo-2-19aeebc2db1bf92253fd6b1d68b62de474bc84b6.zip
Put back mail-client/drac, bug #280933. Took maintenance. Drop old.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/qpopper')
-rw-r--r--net-mail/qpopper/ChangeLog6
-rw-r--r--net-mail/qpopper/metadata.xml5
-rw-r--r--net-mail/qpopper/qpopper-4.0.14.ebuild127
-rw-r--r--net-mail/qpopper/qpopper-4.0.16.ebuild6
-rw-r--r--net-mail/qpopper/qpopper-4.0.5-r3.ebuild141
5 files changed, 14 insertions, 271 deletions
diff --git a/net-mail/qpopper/ChangeLog b/net-mail/qpopper/ChangeLog
index 0a60873f3c91..dd9fda141943 100644
--- a/net-mail/qpopper/ChangeLog
+++ b/net-mail/qpopper/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/qpopper
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.31 2010/08/03 21:00:34 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/ChangeLog,v 1.32 2010/08/09 07:43:18 pva Exp $
+
+ 09 Aug 2010; Peter Volkov <pva@gentoo.org> -qpopper-4.0.5-r3.ebuild,
+ -qpopper-4.0.14.ebuild, qpopper-4.0.16.ebuild, metadata.xml:
+ Put back mail-client/drac, bug #280933. Took maintenance. Drop old.
03 Aug 2010; Markos Chandras <hwoarang@gentoo.org> qpopper-4.0.14.ebuild,
qpopper-4.0.16.ebuild, metadata.xml:
diff --git a/net-mail/qpopper/metadata.xml b/net-mail/qpopper/metadata.xml
index 4d9d869db726..e76c0fb9db61 100644
--- a/net-mail/qpopper/metadata.xml
+++ b/net-mail/qpopper/metadata.xml
@@ -2,8 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
+ <maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+ </maintainer>
<use>
<flag name="apop">Enables the pop.auth file in /etc/pop.auth</flag>
+ <flag name="drac">Enables DRAC support</flag>
<flag name="mailbox">Enables mail spool file is in home directory ~/Mailbox</flag>
</use>
</pkgmetadata>
diff --git a/net-mail/qpopper/qpopper-4.0.14.ebuild b/net-mail/qpopper/qpopper-4.0.14.ebuild
deleted file mode 100644
index 7559c8af58fb..000000000000
--- a/net-mail/qpopper/qpopper-4.0.14.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/qpopper-4.0.14.ebuild,v 1.2 2010/08/03 21:00:34 hwoarang Exp $
-
-EAPI="2"
-#inherit eutils flag-o-matic ssl-cert
-inherit eutils ssl-cert
-
-MY_P=${PN}${PV}
-
-DESCRIPTION="A POP3 Server"
-HOMEPAGE="http://www.eudora.com/products/unsupported/qpopper/index.html"
-SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${MY_P}.tar.gz"
-
-LICENSE="qpopper ISOC-rfc"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug gdbm mailbox pam ssl xinetd apop"
-
-DEPEND="virtual/mta
- xinetd? ( virtual/inetd )
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( ~sys-libs/db-1.85 )
- pam? (
- >=sys-libs/pam-0.72
- >=net-mail/mailbase-0.00-r8
- )
- ssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- use apop && enewuser pop
-}
-
-src_prepare() {
- # Test dirs are full of binary craft. Drop it.
- rm -rf test/ ./mmangle/test ./popper/.nfsF8E5
- epatch "${FILESDIR}/${PN}-4.0.14-parallel-build.patch"
- sed -i -e 's:-o popauth:& ${LDFLAGS}:' popper/Makefile.in
-}
-
-src_configure() {
-# append-flags -Wa,--noexecstack
-
- econf \
- $(use_enable !xinetd standalone) \
- $(use_enable debug debugging) \
- $(use_with ssl openssl) \
- $(use_with gdbm) \
- $(use_with pam pam pop3) \
- $(use_enable apop apop /etc/pop.auth) \
- $(use_enable mailbox home-dir-mail Mailbox) \
- --enable-shy \
- --enable-popuid=pop \
- --enable-log-login \
- --enable-specialauth \
- --enable-log-facility=LOG_MAIL \
- --enable-uw-kludge-flag
-
- if ! use gdbm; then
- sed -i -e 's|#define HAVE_GDBM_H|//#define HAVE_GDBM_H|g' config.h || die "sed failed"
- fi
-}
-
-src_install() {
- if use apop; then
- dosbin popper/popauth
- fowners pop:root /usr/sbin/popauth
- fperms 4110 /usr/sbin/popauth
- doman man/popauth.8
- fi
-
- dosbin popper/popper || die
- doman man/popper.8 || die
-
- insinto /etc
- doins "${FILESDIR}/qpopper.conf" || die
-
- if use ssl; then
- sed -i -e 's:^# \(set tls-server-cert-file\).*:\1 = /etc/mail/certs/cert.pem:' \
- -e 's:^# \(set tls-support\).*$:\1 = stls:'\
- "${D}/etc/qpopper.conf"
- fi
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/qpopper.xinetd" pop-3 || die
- else
- newinitd "${FILESDIR}/qpopper.init.d" qpopper || die
- fi
-
- dodoc README doc/{Release.Notes,Changes} || die
-
- docinto rfc
- dodoc doc/rfc*.txt || die
- dohtml doc/LMOS-FAQ.html || die
-
- insinto /usr/share/doc/${PF}
- doins GUIDE.pdf || die
-}
-
-pkg_postinst () {
- if use ssl; then
- install_cert /etc/mail/certs/cert
- chown root:mail /etc/mail/certs
- chmod 660 /etc/mail/certs
- fi
- if use apop; then
- elog "To authenticate the users with APOP "
- elog "you have to follow these steps:"
- elog ""
- elog "1) initialize the authentication database:"
- elog " # popauth -init"
- elog "2) new users can be added by root:"
- elog " # popauth -user <user>"
- elog " or removed:"
- elog " # popauth -delete <user>"
- elog " Other users can add themeselves or change their"
- elog " password with the command popauth"
- elog "3) scripts or other non-interactive processes can add or change"
- elog " the passwords with the following command:"
- elog " # popauth -user <user> <password>"
- elog ""
- fi
-}
diff --git a/net-mail/qpopper/qpopper-4.0.16.ebuild b/net-mail/qpopper/qpopper-4.0.16.ebuild
index 5cae296f2c7e..3270088d89e9 100644
--- a/net-mail/qpopper/qpopper-4.0.16.ebuild
+++ b/net-mail/qpopper/qpopper-4.0.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/qpopper-4.0.16.ebuild,v 1.5 2010/08/03 21:00:34 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qpopper/qpopper-4.0.16.ebuild,v 1.6 2010/08/09 07:43:18 pva Exp $
EAPI="2"
#inherit eutils flag-o-matic ssl-cert
@@ -15,12 +15,13 @@ SRC_URI="ftp://ftp.qualcomm.com/eudora/servers/unix/popper/${MY_P}.tar.gz"
LICENSE="qpopper ISOC-rfc"
SLOT="0"
KEYWORDS="~amd64 sparc x86"
-IUSE="debug gdbm mailbox pam ssl xinetd apop"
+IUSE="debug drac gdbm mailbox pam ssl xinetd apop"
DEPEND="virtual/mta
xinetd? ( virtual/inetd )
gdbm? ( sys-libs/gdbm )
!gdbm? ( ~sys-libs/db-1.85 )
+ drac? ( mail-client/drac )
pam? (
>=sys-libs/pam-0.72
>=net-mail/mailbase-0.00-r8
@@ -53,6 +54,7 @@ src_configure() {
$(use_with pam pam pop3) \
$(use_enable apop apop /etc/pop.auth) \
$(use_enable mailbox home-dir-mail Mailbox) \
+ $(use_with drac) \
--enable-shy \
--enable-popuid=pop \
--enable-log-login \
diff --git a/net-mail/qpopper/qpopper-4.0.5-r3.ebuild b/net-mail/qpopper/qpopper-4.0.5-r3.ebuild
deleted file mode 100644
index 4648dd5da6fb..000000000000
--- a/net-mail/qpopper/qpopper-4.0.5-r3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2008 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-r3.ebuild,v 1.5 2008/06/04 04:46:21 darkside Exp $
-
-inherit eutils
-
-IUSE="apop 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.eudora.com/products/unsupported/qpopper/index.html"
-
-DEPEND="virtual/mta
- xinetd? ( virtual/inetd )
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( ~sys-libs/db-1.85 )
- pam? (
- virtual/pam
- >=net-mail/mailbase-0.00-r8
- )
- ssl? ( dev-libs/openssl )"
-
-SLOT="0"
-LICENSE="qpopper"
-KEYWORDS="~amd64 sparc x86"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-CAN-2005-1151.patch" || die "first patch failed"
- epatch "${FILESDIR}/${PN}-CAN-2005-1152.patch" || die "second patch failed"
-}
-
-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"
- use apop && myconf="${myconf} --enable-apop=/etc/pop.auth"
- myconf="${myconf} $(use_enable debug debugging)"
- myconf="${myconf} $(use_with ssl openssl)"
- myconf="${myconf} $(use_with gdbm)"
- econf --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
-
- if ! use gdbm; then
- sed -i -e 's|#define HAVE_GDBM_H|//#define HAVE_GDBM_H|g' "${S}"/config.h || \
- die "sed failed"
- fi
-
- emake -j1 || 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 () {
- elog "PS. If you use APOP service to authenticate "
- elog "the users you have to follow these steps: "
- elog ""
- elog "1) create a new account named pop"
- elog "2) change the owner and permissions of"
- elog " /usr/sbin/popauth:"
- elog " # chown pop /usr/sbin/popauth"
- elog " # chmod u+s /usr/sbin/popauth"
- elog "3) initialize the authentication database:"
- elog " # popauth -init"
- elog "4) new users can be added by root:"
- elog " # popauth -user <user>"
- elog " or removed:"
- elog " # popauth -delete <user>"
- elog " Other users can add themeselves or change their"
- elog " password with the command popauth"
- elog "5) scripts or other non-interactive processes can add or change"
- elog " the passwords with the following command:"
- elog " # popauth -user <user> <password>"
- elog ""
- elog "to enable qpopper in netkit-inetd just add this in one line"
- elog "pop-3 stream tcp nowait root /usr/sbin/tcpd
- /usr/sbin/in.qpopper -f /etc/qpopper.conf"
- elog "into your /etc/inetd.conf"
-}