summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-12-01 12:07:28 +0000
committerEray Aslan <eras@gentoo.org>2011-12-01 12:07:28 +0000
commit922b4084d0089b359c2b839a35705655e1e930b3 (patch)
tree828d6455a9ec470a0432357d6f58a0727595e95d /net-mail/tpop3d
parentremove old (diff)
downloadgentoo-2-922b4084d0089b359c2b839a35705655e1e930b3.tar.gz
gentoo-2-922b4084d0089b359c2b839a35705655e1e930b3.tar.bz2
gentoo-2-922b4084d0089b359c2b839a35705655e1e930b3.zip
remove old
(Portage version: 2.1.10.39/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/tpop3d')
-rw-r--r--net-mail/tpop3d/ChangeLog8
-rw-r--r--net-mail/tpop3d/files/tpop3d-1.5.3-invalid-user-message.patch21
-rw-r--r--net-mail/tpop3d/files/tpop3d-1.5.3-variable-name-clash.patch62
-rw-r--r--net-mail/tpop3d/files/tpop3d-init29
-rw-r--r--net-mail/tpop3d/tpop3d-1.5.3.ebuild87
-rw-r--r--net-mail/tpop3d/tpop3d-1.5.4-r2.ebuild97
-rw-r--r--net-mail/tpop3d/tpop3d-1.5.4-r3.ebuild97
7 files changed, 7 insertions, 394 deletions
diff --git a/net-mail/tpop3d/ChangeLog b/net-mail/tpop3d/ChangeLog
index dc2eb5bc50e0..34fba4eb6f3a 100644
--- a/net-mail/tpop3d/ChangeLog
+++ b/net-mail/tpop3d/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/tpop3d
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/ChangeLog,v 1.33 2011/11/28 11:41:00 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/ChangeLog,v 1.34 2011/12/01 12:07:28 eras Exp $
+
+ 01 Dec 2011; Eray Aslan <eras@gentoo.org>
+ -files/tpop3d-1.5.3-invalid-user-message.patch,
+ -files/tpop3d-1.5.3-variable-name-clash.patch, -files/tpop3d-init,
+ -tpop3d-1.5.3.ebuild, -tpop3d-1.5.4-r2.ebuild, -tpop3d-1.5.4-r3.ebuild:
+ remove old
28 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> tpop3d-1.5.5.ebuild:
x86 stable wrt bug #391343
diff --git a/net-mail/tpop3d/files/tpop3d-1.5.3-invalid-user-message.patch b/net-mail/tpop3d/files/tpop3d-1.5.3-invalid-user-message.patch
deleted file mode 100644
index f462ad082408..000000000000
--- a/net-mail/tpop3d/files/tpop3d-1.5.3-invalid-user-message.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ruN tpop3d-1.5.3/auth_mysql.c tpop3d-1.5.3-invalid-user-message-patch/auth_mysql.c
---- tpop3d-1.5.3/auth_mysql.c 2003-07-15 01:31:20.000000000 +0200
-+++ tpop3d-1.5.3-invalid-user-message-patch/auth_mysql.c 2004-08-26 15:02:03.033018776 +0200
-@@ -267,7 +267,7 @@
-
- /* User was not lying (about her password) */
- if (!parse_uid((const char*)row[2], &uid)) {
-- log_print(LOG_ERR, _("auth_mysql_new_apop: unix user `%s' for %s does not make sense"), row[3], who);
-+ log_print(LOG_ERR, _("auth_mysql_new_apop: unix user `%s' for %s does not make sense"), row[2], who);
- break;
- }
-
-@@ -367,7 +367,7 @@
- }
-
- if (!parse_uid((const char*)row[2], &uid)) {
-- log_print(LOG_ERR, _("auth_mysql_new_user_pass: unix user `%s' for %s does not make sense"), row[3], who);
-+ log_print(LOG_ERR, _("auth_mysql_new_user_pass: unix user `%s' for %s does not make sense"), row[2], who);
- break;
- }
-
diff --git a/net-mail/tpop3d/files/tpop3d-1.5.3-variable-name-clash.patch b/net-mail/tpop3d/files/tpop3d-1.5.3-variable-name-clash.patch
deleted file mode 100644
index 90af058d86d6..000000000000
--- a/net-mail/tpop3d/files/tpop3d-1.5.3-variable-name-clash.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -urN tpop3d-1.5.3.org/auth_mysql.c tpop3d-1.5.3/auth_mysql.c
---- tpop3d-1.5.3.org/auth_mysql.c 2004-08-19 23:51:19.751469352 +0200
-+++ tpop3d-1.5.3/auth_mysql.c 2004-08-19 23:54:16.564589672 +0200
-@@ -44,7 +44,7 @@
- * [2] unix user
- * [3] mailbox type
- */
--char *user_pass_query_template =
-+static char *user_pass_query_template =
- "SELECT concat(domain.path, '/', popbox.mbox_name), popbox.password_hash, "
- "domain.unix_user, 'bsd' "
- "FROM popbox, domain "
-@@ -52,7 +52,7 @@
- "AND popbox.domain_name = '$(domain)' "
- "AND popbox.domain_name = domain.domain_name";
-
--char *apop_query_template =
-+static char *apop_query_template =
- "SELECT concat(domain.path, '/', popbox.mbox_name), popbox.password_hash, "
- "domain.unix_user, 'bsd' "
- "FROM popbox, domain "
-@@ -60,7 +60,7 @@
- "AND popbox.domain_name = '$(domain)' "
- "AND popbox.domain_name = domain.domain_name";
-
--char *onlogin_query_template = NULL;
-+static char *onlogin_query_template = NULL;
-
- /* GID used to access mail spool (if any). */
- int use_gid;
-diff -urN tpop3d-1.5.3.org/auth_pgsql.c tpop3d-1.5.3/auth_pgsql.c
---- tpop3d-1.5.3.org/auth_pgsql.c 2004-08-19 23:51:18.772618160 +0200
-+++ tpop3d-1.5.3/auth_pgsql.c 2004-08-19 23:54:37.936340672 +0200
-@@ -105,7 +105,7 @@
- * [2] unix user
- * [3] mailbox type
- */
--char *user_pass_query_template =
-+static char *user_pass_query_template =
- "SELECT domain.path || '/' || popbox.mbox_name, popbox.password_hash, "
- "domain.unix_user, 'bsd' "
- "FROM popbox, domain "
-@@ -113,7 +113,7 @@
- "AND popbox.domain_name = '$(domain)' "
- "AND popbox.domain_name = domain.domain_name";
-
--char *apop_query_template =
-+static char *apop_query_template =
- "SELECT domain.path || '/' || popbox.mbox_name, popbox.password_hash, "
- "domain.unix_user, 'bsd' "
- "FROM popbox, domain "
-@@ -121,7 +121,7 @@
- "AND popbox.domain_name = '$(domain)' "
- "AND popbox.domain_name = domain.domain_name";
-
--char *onlogin_query_template = NULL;
-+static char *onlogin_query_template = NULL;
-
- /* GID used to access mail spool (if any). */
- int use_gid;
-
-
diff --git a/net-mail/tpop3d/files/tpop3d-init b/net-mail/tpop3d/files/tpop3d-init
deleted file mode 100644
index b0e950e3e170..000000000000
--- a/net-mail/tpop3d/files/tpop3d-init
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/files/tpop3d-init,v 1.3 2004/07/14 23:52:18 agriffis Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/tpop3d/tpop3d.conf ] ; then
- eerror "You need an /etc/tpop3d/tpop3d.conf file to run tpop3d"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting tpop3d"
- start-stop-daemon --start --quiet --background \
- --exec /usr/sbin/tpop3d -- -f /etc/tpop3d/tpop3d.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping tpop3d"
- start-stop-daemon --stop --quiet --exec /usr/sbin/tpop3d
- eend $?
-}
diff --git a/net-mail/tpop3d/tpop3d-1.5.3.ebuild b/net-mail/tpop3d/tpop3d-1.5.3.ebuild
deleted file mode 100644
index 16e86a07a160..000000000000
--- a/net-mail/tpop3d/tpop3d-1.5.3.ebuild
+++ /dev/null
@@ -1,87 +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/tpop3d/tpop3d-1.5.3.ebuild,v 1.17 2010/06/17 21:56:20 patrick Exp $
-
-inherit eutils
-
-DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support."
-HOMEPAGE="http://www.ex-parrot.com/~chris/tpop3d/"
-SRC_URI="http://www.ex-parrot.com/~chris/tpop3d/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~amd64"
-IUSE="ssl ldap mysql perl pam tcpd maildir debug postgres"
-
-DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-server )
- perl? ( >=dev-lang/perl-5.6.1 )
- pam? ( >=sys-libs/pam-0.75 )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/${P}-invalid-user-message.patch
- epatch ${FILESDIR}/${P}-variable-name-clash.patch
-}
-
-src_compile() {
- local myconf
- use mysql && myconf="--enable-auth-mysql"
- use postgres && myconf="${myconf} --enable-auth-pgsql"
- use ldap && myconf="${myconf} --enable-auth-ldap"
- use perl && myconf="${myconf} --enable-auth-perl"
- use tcpd && myconf="${myconf} --enable-tcp-wrappers"
- use pam || myconf="${myconf} --disable-auth-pam"
- use maildir && myconf="${myconf} --enable-mbox-maildir"
- use ssl && myconf="${myconf} --enable-tls"
- # If you want plaintext /etc/passwd authentication
- if [ ! -z $ENABLE_PASSWD ]; then
- myconf="${myconf} --enable-auth-passwd"
- fi
- # If you want to use /etc/shadow instead.
- # Make sure you also set $ENABLE_PASSWD
- if [ ! -z $ENABLE_SHADOW ]; then
- myconf="${myconf} --enable-shadow-passwords"
- fi
- # authenticate against any passwd-like file
- if [ ! -z $ENABLE_FLATFILE ]; then
- myconf="${myconf} --enable-auth-flatfile"
- fi
- # authenticate via an external program
- if [ ! -z $ENABLE_OTHER ]; then
- myconf="${myconf} --enable-auth-other"
- fi
- # Make it Rated G and safe for the kids
- if [ ! -z $BE_NICE ]; then
- myconf="${myconf} --disable-snide-comments"
- fi
- # Install mail-client/drac for integration with tpop3d
- if [ ! -a $ENABLE_DRAC ]; then
- myconf="${myconf} --enable-drac"
- fi
- if use debug; then
- myconf="${myconf} --enable-backtrace"
- fi
- econf ${myconf} || die "./configure failed"
-
- # Add in custom CFLAGS to the makefile...
- sed -i "s/CFLAGS =/CFLAGS = ${CFLAGS} /" Makefile
-
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodir /etc/tpop3d
-
- newinitd ${FILESDIR}/tpop3d-init tpop3d
-}
-
-pkg_postinst() {
- elog "Read the tpop3d.conf manpage"
- elog "Please create /etc/tpop3d/tpop3d.conf to fit your Configuration"
-}
diff --git a/net-mail/tpop3d/tpop3d-1.5.4-r2.ebuild b/net-mail/tpop3d/tpop3d-1.5.4-r2.ebuild
deleted file mode 100644
index 595d838f65c7..000000000000
--- a/net-mail/tpop3d/tpop3d-1.5.4-r2.ebuild
+++ /dev/null
@@ -1,97 +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/tpop3d/tpop3d-1.5.4-r2.ebuild,v 1.2 2010/08/09 08:40:25 pva Exp $
-
-EAPI=1
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support."
-HOMEPAGE="http://savannah.nongnu.org/projects/tpop3d/"
-SRC_URI="http://download.savannah.nongnu.org/releases/tpop3d/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="authexternal debug drac flatfile gdbm ldap maildir mbox mysql offensive
- pam passwd perl postgres +sha1 shadow ssl tcpd"
-
-RDEPEND="sha1? ( >=dev-libs/openssl-0.9.6 )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-server )
- perl? ( >=dev-lang/perl-5.6.1 )
- pam? ( virtual/pam
- >=net-mail/mailbase-0.00-r8 )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-DEPEND="${RDEPEND}
- drac? ( mail-client/drac )"
-
-src_compile() {
- local myconf=""
- local noauth=0
-
- elog "This version of the tpop3d ebuild has a lot of new USE flags."
- elog "Make sure that everything you need is enabled."
-
- # Various authentication methods
- use authexternal && myconf="${myconf} --enable-auth-other"
- use flatfile && myconf="${myconf} --enable-auth-flatfile"
- use gdbm && myconf="${myconf} --enable-auth-gdbm"
- use ldap && myconf="${myconf} --enable-auth-ldap"
- use mysql && myconf="${myconf} --enable-auth-mysql"
- use pam || myconf="${myconf} --disable-auth-pam"
- use passwd && myconf="${myconf} --enable-auth-passwd"
- use perl && myconf="${myconf} --enable-auth-perl"
- use postgres && myconf="${myconf} --enable-auth-pgsql"
- use shadow && myconf="${myconf} --enable-auth-passwd --enable-shadow-passwords"
-
- use authexternal || use flatfile || use gdbm || use ldap || use mysql ||
- use pam || use passwd || use perl || use postgres || use shadow ||
- noauth=1
-
- if [[ ${noauth} -eq 1 ]]; then
- ewarn "None of tpop3d's authentication mechanism USE flags are set."
- ewarn "As a result tpop3d will be built with /etc/passwd authentication only."
- myconf="${myconf} --enable-auth-passwd"
- fi
-
- # Other optional features
- use debug && myconf="${myconf} --enable-backtrace"
- use maildir && myconf="${myconf} --enable-mbox-maildir"
- use mbox || myconf="${myconf} --disable-mbox-bsd"
- use offensive || myconf="${myconf} --disable-snide-comments"
- use sha1 || myconf="${myconf} --disable-sha1-passwords"
- use ssl && myconf="${myconf} --enable-tls"
- use tcpd && myconf="${myconf} --enable-tcp-wrappers"
-
- # Install mail-client/drac for integration with tpop3d
- use drac && myconf="${myconf} --enable-drac"
-
- econf ${myconf} || die "./configure failed"
-
- # Causes crash with "stack smashing attack" on connect, because of bug in
- # SSP (bug #115285)
- filter-flags -fstack-protector
-
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodir /etc/tpop3d
-
- if use pam ; then
- dodir /etc/pam.d
- dosym /etc/pam.d/pop3 /etc/pam.d/tpop3d
- fi
-
- newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d
-}
-
-pkg_postinst() {
- elog "Read the tpop3d.conf manpage"
- elog "Please create /etc/tpop3d/tpop3d.conf to fit your configuration"
-}
diff --git a/net-mail/tpop3d/tpop3d-1.5.4-r3.ebuild b/net-mail/tpop3d/tpop3d-1.5.4-r3.ebuild
deleted file mode 100644
index f5295f134c8c..000000000000
--- a/net-mail/tpop3d/tpop3d-1.5.4-r3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/tpop3d/tpop3d-1.5.4-r3.ebuild,v 1.1 2011/06/03 14:39:01 eras Exp $
-
-EAPI=4
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support."
-HOMEPAGE="http://savannah.nongnu.org/projects/tpop3d/"
-SRC_URI="http://download.savannah.nongnu.org/releases/tpop3d/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="authexternal debug drac flatfile gdbm ldap maildir mbox mysql offensive
- pam passwd perl postgres +sha1 shadow ssl tcpd"
-
-RDEPEND="sha1? ( >=dev-libs/openssl-0.9.6 )
- ssl? ( >=dev-libs/openssl-0.9.6 )
- ldap? ( >=net-nds/openldap-2.0.7 )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-server )
- perl? ( >=dev-lang/perl-5.6.1 )
- pam? ( virtual/pam
- >=net-mail/mailbase-0.00-r8 )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-DEPEND="${RDEPEND}
- drac? ( mail-client/drac )"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-gold.patch"
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
- local noauth=0
-
- # Various authentication methods
- use authexternal && myconf="${myconf} --enable-auth-other"
- use flatfile && myconf="${myconf} --enable-auth-flatfile"
- use gdbm && myconf="${myconf} --enable-auth-gdbm"
- use ldap && myconf="${myconf} --enable-auth-ldap"
- use mysql && myconf="${myconf} --enable-auth-mysql"
- use pam || myconf="${myconf} --disable-auth-pam"
- use passwd && myconf="${myconf} --enable-auth-passwd"
- use perl && myconf="${myconf} --enable-auth-perl"
- use postgres && myconf="${myconf} --enable-auth-pgsql"
- use shadow && myconf="${myconf} --enable-auth-passwd --enable-shadow-passwords"
-
- use authexternal || use flatfile || use gdbm || use ldap || use mysql ||
- use pam || use passwd || use perl || use postgres || use shadow ||
- noauth=1
-
- if [[ ${noauth} -eq 1 ]]; then
- ewarn "None of tpop3d's authentication mechanism USE flags are set."
- ewarn "As a result tpop3d will be built with /etc/passwd authentication only."
- myconf="${myconf} --enable-auth-passwd"
- fi
-
- # Other optional features
- use debug && myconf="${myconf} --enable-backtrace"
- use maildir && myconf="${myconf} --enable-mbox-maildir"
- use mbox || myconf="${myconf} --disable-mbox-bsd"
- use offensive || myconf="${myconf} --disable-snide-comments"
- use sha1 || myconf="${myconf} --disable-sha1-passwords"
- use ssl && myconf="${myconf} --enable-tls"
- use tcpd && myconf="${myconf} --enable-tcp-wrappers"
-
- # Install mail-client/drac for integration with tpop3d
- use drac && myconf="${myconf} --enable-drac"
-
- econf ${myconf}
-
- # Causes crash with "stack smashing attack" on connect, because of bug in
- # SSP (bug #115285)
- filter-flags -fstack-protector
-}
-
-src_install() {
- make DESTDIR="${D}" install
- dodir /etc/tpop3d
-
- if use pam ; then
- dodir /etc/pam.d
- dosym /etc/pam.d/pop3 /etc/pam.d/tpop3d
- fi
-
- newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d
-}
-
-pkg_postinst() {
- elog "Read the tpop3d.conf manpage"
- elog "Please create /etc/tpop3d/tpop3d.conf to fit your configuration"
-}