summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-07-17 08:59:47 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-07-17 08:59:47 +0000
commit5f883886fcf57e5752c6b84422e5598ca25163e8 (patch)
treefaf420401dbbfe50ee54bb0241af330182f24abc /net-ftp/pure-ftpd
parentstable x86, bug 328131 (diff)
downloadgentoo-2-5f883886fcf57e5752c6b84422e5598ca25163e8.tar.gz
gentoo-2-5f883886fcf57e5752c6b84422e5598ca25163e8.tar.bz2
gentoo-2-5f883886fcf57e5752c6b84422e5598ca25163e8.zip
Removed old versions.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/pure-ftpd')
-rw-r--r--net-ftp/pure-ftpd/ChangeLog10
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch15
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch77
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-pam.patch15
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.rc649
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild124
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild120
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild119
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild119
9 files changed, 9 insertions, 639 deletions
diff --git a/net-ftp/pure-ftpd/ChangeLog b/net-ftp/pure-ftpd/ChangeLog
index e72220d6f76f..a6db855ca6ba 100644
--- a/net-ftp/pure-ftpd/ChangeLog
+++ b/net-ftp/pure-ftpd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-ftp/pure-ftpd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.94 2010/06/17 20:46:52 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.95 2010/07/17 08:59:46 polynomial-c Exp $
+
+ 17 Jul 2010; Lars Wendler <polynomial-c@gentoo.org>
+ -pure-ftpd-1.0.21-r1.ebuild, -files/pure-ftpd-1.0.21-pam.patch,
+ -pure-ftpd-1.0.22-r1.ebuild,
+ -files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch,
+ -files/pure-ftpd-1.0.22-pam.patch, -pure-ftpd-1.0.26.ebuild,
+ -pure-ftpd-1.0.27-r1.ebuild, -files/pure-ftpd.rc6:
+ Removed old versions.
17 Jun 2010; Patrick Lauer <patrick@gentoo.org>
pure-ftpd-1.0.21-r1.ebuild, pure-ftpd-1.0.22-r1.ebuild,
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch
deleted file mode 100644
index fefcf86a2e0d..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/log_pam.c.original 2006-03-14 23:19:35.000000000 +0000
-+++ src/log_pam.c 2006-03-14 23:20:17.000000000 +0000
-@@ -156,10 +156,10 @@
- result->auth_ok = 0;
- PAM_password = pass;
- PAM_username = user;
-- pam_error = pam_start("pure-ftpd", user, &PAM_conversation, &pamh);
-+ pam_error = pam_start("ftp", user, &PAM_conversation, &pamh);
- PAM_BAIL;
- # ifdef PAM_TTY
-- (void) pam_set_item(pamh, PAM_TTY, "pure-ftpd");
-+ (void) pam_set_item(pamh, PAM_TTY, "ftp");
- # endif
- /*
- * PAM doesn't make any distinction between "user not found" and
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch
deleted file mode 100644
index d9b2a25ff5d8..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch
+++ /dev/null
@@ -1,77 +0,0 @@
---- src/ftpd.c.orig 2009-10-22 16:58:51.000000000 +0200
-+++ src/ftpd.c 2009-10-22 17:06:18.000000000 +0200
-@@ -3096,25 +3096,23 @@
-
- int mmap_send(int f, struct stat st, double *started)
- {
-- off_t s;
- off_t skip;
- off_t o;
-- char *p, *buf;
-- off_t left;
-+ char *buf;
- # ifdef THROTTLING
- double ended;
- off_t transmitted = 0;
- # endif
-
-- o = restartat & ~(map_size - 1);
-- skip = restartat - o;
-+ skip = restartat % page_size;
-+ o = restartat - skip;
- while (o < st.st_size) {
- # ifdef FTPWHO
- if (shm_data_cur != NULL) {
- shm_data_cur->download_current_size = o;
- }
- # endif
-- left = st.st_size - o;
-+ off_t left = st.st_size - o;
- if (left > (off_t) dl_chunk_size) {
- left = (off_t) dl_chunk_size;
- }
-@@ -3125,19 +3123,19 @@
- error(451, MSG_MMAP_FAILED);
- return -1;
- }
-- p = buf;
-+
- o += left;
-- s = left;
-+ off_t s = left;
- while (left > skip) {
- ssize_t w;
-
- # ifdef WITH_TLS
- if (enforce_tls_auth && data_protection_level == CPL_PRIVATE) {
-- w = secure_safe_write (p + skip, (size_t) (left - skip));
-+ w = secure_safe_write (buf + (s - left) + skip, (size_t) left - skip );
- } else
- # endif
- {
-- while ((w = write(xferfd, p + skip, (size_t) (left - skip))) <
-+ while ((w = write(xferfd, buf + (s - left) + skip, (size_t) left) - skip) <
- (ssize_t) 0 && errno == EINTR);
- }
- if (w < (ssize_t) 0) {
-@@ -3180,9 +3178,9 @@
- }
- downloaded += (unsigned long long) w;
- left -= w;
-- p += w;
-+
- # ifdef THROTTLING
-- if (throttling_bandwidth_dl > 0UL) {
-+ if (throttling_bandwidth_dl > 0UL && o < st.st_size) {
- long double delay;
-
- ended = get_usec_time();
-@@ -3201,7 +3199,7 @@
- }
- # endif
- }
-- skip = (off_t) 0;
-+ skip = 0;
- (void) munmap(buf, s);
- }
-
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-pam.patch
deleted file mode 100644
index 43afeb16c376..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-pam.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/log_pam.c.original 2009-05-18 14:05:58.409532683 +0200
-+++ src/log_pam.c 2009-05-18 14:06:24.348921783 +0200
-@@ -156,10 +156,10 @@
- result->auth_ok = 0;
- PAM_password = pass;
- PAM_username = user;
-- pam_error = pam_start("pure-ftpd", user, &PAM_conversation, &pamh);
-+ pam_error = pam_start("ftp", user, &PAM_conversation, &pamh);
- PAM_BAIL;
- # ifdef PAM_TTY
-- (void) pam_set_item(pamh, PAM_TTY, "pure-ftpd");
-+ (void) pam_set_item(pamh, PAM_TTY, "ftp");
- # endif
- # ifdef PAM_RUSER
- (void) pam_set_item(pamh, PAM_RUSER, user);
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc6 b/net-ftp/pure-ftpd/files/pure-ftpd.rc6
deleted file mode 100644
index 8f1d5f38b28d..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc6
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd.rc6,v 1.11 2008/04/18 11:00:43 chtekk Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ -z "$IS_CONFIGURED" ] ; then
- eerror "You need to setup /etc/conf.d/pure-ftpd first!"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- UPSCRIPT=""
- OKNODO=""
- if [ -n "$UPLOADSCRIPT" ] ; then
- UPSCRIPT="--uploadscript"
- OKNODO="--oknodo"
- fi
- ebegin "Starting Pure-FTPd"
- start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-ftpd.pid $OKNODO --exec /usr/sbin/pure-ftpd -- $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT
- result=$?
- if [ $result -ne 0 ] ; then
- eend 1 "Could not launch Pure-FTPd"
- else
- eend $result
- if [ -n "$UPLOADSCRIPT" ] ; then
- ebegin "Starting Pure-FTPd upload script"
- start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-uploadscript.pid --exec /usr/sbin/pure-uploadscript -- -B -r $UPLOADSCRIPT
- eend $?
- fi
- fi
-}
-
-stop() {
- ebegin "Stopping Pure-FTPd"
- start-stop-daemon --stop --retry 20 --quiet --pidfile /var/run/pure-ftpd.pid
- eend $?
- if [ -n "$UPLOADSCRIPT" ] ; then
- ebegin "Stopping Pure-FTPd upload script"
- start-stop-daemon --stop --retry 20 --quiet --pidfile /var/run/pure-uploadscript.pid
- eend $?
- fi
-}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild
deleted file mode 100644
index 3f0338f5ce05..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild,v 1.19 2010/06/17 20:46:52 patrick Exp $
-
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server."
-HOMEPAGE="http://www.pureftpd.org/"
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd"
-
-DEPEND="caps? ( sys-libs/libcap )
- charconv? ( virtual/libiconv )
- ldap? ( >=net-nds/openldap-2.0.25 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql-base )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-pam.patch"
-}
-
-src_compile() {
- # adjust max user length to something more appropriate
- # for virtual hosts. See bug #62472 for details.
- sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed"
-
- local my_conf=""
-
- # Let's configure the USE-enabled stuff
- enable_extension_without "capabilities" "caps"
- enable_extension_with "rfc2640" "charconv" 0
- enable_extension_with "ldap" "ldap" 0
- enable_extension_with "mysql" "mysql" 0
- enable_extension_with "pam" "pam" 0
- enable_extension_with "paranoidmsg" "paranoidmsg" 0
- enable_extension_with "pgsql" "postgres" 0
- enable_extension_with "tls" "ssl" 0
- enable_extension_with "virtualchroot" "vchroot" 0
- enable_extension_without "inetd" "xinetd"
-
- # noiplog is a negative flag, we don't want that enabled by default,
- # so we handle it manually, as confutils can't do that
- use noiplog && my_conf="${my_conf} --without-iplogging"
-
- # Those features are only configurable like this, see bug #179375.
- use anondel && append-cppflags -DANON_CAN_DELETE
- use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
- use anonren && append-cppflags -DANON_CAN_RENAME
- use anonres && append-cppflags -DANON_CAN_RESUME
-
- econf \
- --with-altlog \
- --with-cookie \
- --with-diraliases \
- --with-extauth \
- --with-ftpwho \
- --with-language=${PUREFTPD_LANG:=english} \
- --with-largefile \
- --with-peruserlimits \
- --with-privsep \
- --with-puredb \
- --with-quotas \
- --with-ratios \
- --with-throttling \
- --with-uploadscript \
- --with-virtualhosts \
- ${my_conf} || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
-
- newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd
-
- newinitd "${FILESDIR}/pure-ftpd.rc6" pure-ftpd
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema
- doins pureftpd.schema
- insinto /etc/openldap
- insopts -m 0600
- doins pureftpd-ldap.conf
- fi
-}
-
-pkg_postinst() {
- elog
- elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
- elog
- ewarn "It's *really* important to read the README provided with Pure-FTPd!"
- ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
- ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
- ewarn
- if use charconv ; then
- ewarn "Charset conversion is an *experimental* feature!"
- ewarn "Remember to set a valid charset for your filesystem in the configuration!"
- fi
-}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild
deleted file mode 100644
index 93047eda8ea8..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild,v 1.2 2010/06/17 20:46:52 patrick Exp $
-
-EAPI=2
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server."
-HOMEPAGE="http://www.pureftpd.org/"
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd"
-
-DEPEND="caps? ( sys-libs/libcap )
- charconv? ( virtual/libiconv )
- ldap? ( >=net-nds/openldap-2.0.25 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql-base )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-pam.patch
- epatch "${FILESDIR}"/${P}-fix_rest_with_throttling.patch
-}
-
-src_configure() {
- # adjust max user length to something more appropriate
- # for virtual hosts. See bug #62472 for details.
- sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed"
-
- local my_conf=""
-
- # Let's configure the USE-enabled stuff
- enable_extension_without "capabilities" "caps"
- enable_extension_with "rfc2640" "charconv" 0
- enable_extension_with "ldap" "ldap" 0
- enable_extension_with "mysql" "mysql" 0
- enable_extension_with "pam" "pam" 0
- enable_extension_with "paranoidmsg" "paranoidmsg" 0
- enable_extension_with "pgsql" "postgres" 0
- enable_extension_with "tls" "ssl" 0
- enable_extension_with "virtualchroot" "vchroot" 0
- enable_extension_without "inetd" "xinetd"
-
- # noiplog is a negative flag, we don't want that enabled by default,
- # so we handle it manually, as confutils can't do that
- use noiplog && my_conf="${my_conf} --without-iplogging"
-
- # Those features are only configurable like this, see bug #179375.
- use anondel && append-cppflags -DANON_CAN_DELETE
- use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
- use anonren && append-cppflags -DANON_CAN_RENAME
- use anonres && append-cppflags -DANON_CAN_RESUME
-
- econf \
- --with-altlog \
- --with-cookie \
- --with-diraliases \
- --with-extauth \
- --with-ftpwho \
- --with-language=${PUREFTPD_LANG:=english} \
- --with-peruserlimits \
- --with-privsep \
- --with-puredb \
- --with-quotas \
- --with-ratios \
- --with-throttling \
- --with-uploadscript \
- --with-virtualhosts \
- --enable-largefile \
- ${my_conf} || die "econf failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
-
- newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd
-
- newinitd "${FILESDIR}/pure-ftpd.rc6" pure-ftpd
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema
- doins pureftpd.schema
- insinto /etc/openldap
- insopts -m 0600
- doins pureftpd-ldap.conf
- fi
-}
-
-pkg_postinst() {
- elog
- elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
- elog
- ewarn "It's *really* important to read the README provided with Pure-FTPd!"
- ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
- ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
- ewarn
- if use charconv ; then
- ewarn "Charset conversion is an *experimental* feature!"
- ewarn "Remember to set a valid charset for your filesystem in the configuration!"
- fi
-}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild
deleted file mode 100644
index 1ea0b6b929ec..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild,v 1.2 2010/06/17 20:46:52 patrick Exp $
-
-EAPI=2
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server."
-HOMEPAGE="http://www.pureftpd.org/"
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd"
-
-DEPEND="caps? ( sys-libs/libcap )
- charconv? ( virtual/libiconv )
- ldap? ( >=net-nds/openldap-2.0.25 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql-base )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.0.22-pam.patch
-}
-
-src_configure() {
- # adjust max user length to something more appropriate
- # for virtual hosts. See bug #62472 for details.
- sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed"
-
- local my_conf=""
-
- # Let's configure the USE-enabled stuff
- enable_extension_without "capabilities" "caps"
- enable_extension_with "rfc2640" "charconv" 0
- enable_extension_with "ldap" "ldap" 0
- enable_extension_with "mysql" "mysql" 0
- enable_extension_with "pam" "pam" 0
- enable_extension_with "paranoidmsg" "paranoidmsg" 0
- enable_extension_with "pgsql" "postgres" 0
- enable_extension_with "tls" "ssl" 0
- enable_extension_with "virtualchroot" "vchroot" 0
- enable_extension_without "inetd" "xinetd"
-
- # noiplog is a negative flag, we don't want that enabled by default,
- # so we handle it manually, as confutils can't do that
- use noiplog && my_conf="${my_conf} --without-iplogging"
-
- # Those features are only configurable like this, see bug #179375.
- use anondel && append-cppflags -DANON_CAN_DELETE
- use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
- use anonren && append-cppflags -DANON_CAN_RENAME
- use anonres && append-cppflags -DANON_CAN_RESUME
-
- econf \
- --with-altlog \
- --with-cookie \
- --with-diraliases \
- --with-extauth \
- --with-ftpwho \
- --with-language=${PUREFTPD_LANG:=english} \
- --with-peruserlimits \
- --with-privsep \
- --with-puredb \
- --with-quotas \
- --with-ratios \
- --with-throttling \
- --with-uploadscript \
- --with-virtualhosts \
- --enable-largefile \
- ${my_conf} || die "econf failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
-
- newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd
-
- newinitd "${FILESDIR}/pure-ftpd.rc7" pure-ftpd
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema
- doins pureftpd.schema
- insinto /etc/openldap
- insopts -m 0600
- doins pureftpd-ldap.conf
- fi
-}
-
-pkg_postinst() {
- elog
- elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
- elog
- ewarn "It's *really* important to read the README provided with Pure-FTPd!"
- ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
- ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
- ewarn
- if use charconv ; then
- ewarn "Charset conversion is an *experimental* feature!"
- ewarn "Remember to set a valid charset for your filesystem in the configuration!"
- fi
-}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild
deleted file mode 100644
index 7d1200d94c31..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild,v 1.2 2010/06/17 20:46:52 patrick Exp $
-
-EAPI=2
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server."
-HOMEPAGE="http://www.pureftpd.org/"
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd"
-
-DEPEND="caps? ( sys-libs/libcap )
- charconv? ( virtual/libiconv )
- ldap? ( >=net-nds/openldap-2.0.25 )
- mysql? ( virtual/mysql )
- pam? ( virtual/pam )
- postgres? ( dev-db/postgresql-base )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.0.22-pam.patch
-}
-
-src_configure() {
- # adjust max user length to something more appropriate
- # for virtual hosts. See bug #62472 for details.
- sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed"
-
- local my_conf=""
-
- # Let's configure the USE-enabled stuff
- enable_extension_without "capabilities" "caps"
- enable_extension_with "rfc2640" "charconv" 0
- enable_extension_with "ldap" "ldap" 0
- enable_extension_with "mysql" "mysql" 0
- enable_extension_with "pam" "pam" 0
- enable_extension_with "paranoidmsg" "paranoidmsg" 0
- enable_extension_with "pgsql" "postgres" 0
- enable_extension_with "tls" "ssl" 0
- enable_extension_with "virtualchroot" "vchroot" 0
- enable_extension_without "inetd" "xinetd"
-
- # noiplog is a negative flag, we don't want that enabled by default,
- # so we handle it manually, as confutils can't do that
- use noiplog && my_conf="${my_conf} --without-iplogging"
-
- # Those features are only configurable like this, see bug #179375.
- use anondel && append-cppflags -DANON_CAN_DELETE
- use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
- use anonren && append-cppflags -DANON_CAN_RENAME
- use anonres && append-cppflags -DANON_CAN_RESUME
-
- econf \
- --with-altlog \
- --with-cookie \
- --with-diraliases \
- --with-extauth \
- --with-ftpwho \
- --with-language=${PUREFTPD_LANG:=english} \
- --with-peruserlimits \
- --with-privsep \
- --with-puredb \
- --with-quotas \
- --with-ratios \
- --with-throttling \
- --with-uploadscript \
- --with-virtualhosts \
- --enable-largefile \
- ${my_conf} || die "econf failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
-
- newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd
-
- newinitd "${FILESDIR}/pure-ftpd.rc7" pure-ftpd
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema
- doins pureftpd.schema
- insinto /etc/openldap
- insopts -m 0600
- doins pureftpd-ldap.conf
- fi
-}
-
-pkg_postinst() {
- elog
- elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
- elog
- ewarn "It's *really* important to read the README provided with Pure-FTPd!"
- ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
- ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
- ewarn
- if use charconv ; then
- ewarn "Charset conversion is an *experimental* feature!"
- ewarn "Remember to set a valid charset for your filesystem in the configuration!"
- fi
-}