From 33cded18b29ecb766349efd172b3e19ebc8d73ef Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sat, 17 Jul 2010 08:59:47 +0000 Subject: [PATCH] Removed old versions. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- net-ftp/pure-ftpd/ChangeLog | 10 +- net-ftp/pure-ftpd/Manifest | 14 +- .../files/pure-ftpd-1.0.21-pam.patch | 15 --- ...ftpd-1.0.22-fix_rest_with_throttling.patch | 77 ----------- .../files/pure-ftpd-1.0.22-pam.patch | 15 --- net-ftp/pure-ftpd/files/pure-ftpd.rc6 | 49 ------- net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild | 124 ------------------ net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild | 120 ----------------- net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild | 119 ----------------- net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild | 119 ----------------- 10 files changed, 10 insertions(+), 652 deletions(-) delete mode 100644 net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch delete mode 100644 net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-fix_rest_with_throttling.patch delete mode 100644 net-ftp/pure-ftpd/files/pure-ftpd-1.0.22-pam.patch delete mode 100644 net-ftp/pure-ftpd/files/pure-ftpd.rc6 delete mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild delete mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.22-r1.ebuild delete mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.26.ebuild delete mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.27-r1.ebuild 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 + -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 pure-ftpd-1.0.21-r1.ebuild, pure-ftpd-1.0.22-r1.ebuild, diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest index a8ba56bb9ade..0ec89b542255 100644 --- a/net-ftp/pure-ftpd/Manifest +++ b/net-ftp/pure-ftpd/Manifest @@ -1,23 +1,11 @@ -AUX pure-ftpd-1.0.21-pam.patch 586 RMD160 3246183eb4914dd605c181da17aa02c8e1e99726 SHA1 df99422a026e403ccecfe95ae9a1e13a7138b4d2 SHA256 4eab3ab63c403e02782df0b07d2f83b741b0b07cb10e37046dc2c874682509a6 -AUX pure-ftpd-1.0.22-fix_rest_with_throttling.patch 2142 RMD160 fcfb45d6fbd25636041ed08f4309c37f0bff278a SHA1 bcd16824b448e8f85fc6c03a81bdb350029f10e4 SHA256 77c2208e2b65677f4a1e64a1c057c87536c49dadd9ba2d90579f3f3056aa4788 -AUX pure-ftpd-1.0.22-pam.patch 568 RMD160 510901acb42629a948124bc2e4618b073c6de746 SHA1 fcfc8662096d6bf62626f508117f1d3dc9327353 SHA256 37c4dba7711769da29504840cfdddc5acf8fd970117f8b26bc4caeec4d00e58b AUX pure-ftpd-1.0.28-pam.patch 564 RMD160 eb510f635babbe34943dee102999a8b835df55e7 SHA1 46fcf04194631cd1b4488a486a48884b80b188ac SHA256 21b340701ba18454cc55b7a719033c71d758960b02cc626ff60183a5dae50fc7 AUX pure-ftpd.conf_d 3378 RMD160 82d5d319b35e1262e8d72cff46c328429e3e3bce SHA1 93c4f65ce1592ad1ccbe8e04250c4cc1c9cdb5f2 SHA256 4361690c4217fd1cdae0c050015629ce6e74046446def2c7d646020d0682a579 -AUX pure-ftpd.rc6 1455 RMD160 5bb57d4e162e08d113da9c349cf57480244948f7 SHA1 54b0abe7e27f10bdec9a22917e57f5ed625ebca3 SHA256 d554e4bab0c11a23c19e8fac9070c2550ca461dce72047745ca9f3fcf2660770 AUX pure-ftpd.rc7 1514 RMD160 2a9d672cc22a53b778a595f81724d75a3b682e74 SHA1 59cd580846a60d340f5d945c4d83637879aae09d SHA256 39deccfc5322ab7adf848d455bfbb08937779ee593cd60ccfa801a504cd22895 AUX pure-ftpd.rc8 1525 RMD160 493bb88ed4fcd2a6cf0bd0f878e365c54dd2f37f SHA1 881ae446be0cb7eabf537ffd4933e19dcab4c77d SHA256 2ce7c27ffeff40d02f3ef7f6b7f15cfbd218d4942b6da49506451f7acd975612 AUX pure-ftpd.xinetd 247 RMD160 5789f98ffc48dcd5f67ad4777cbc70e158e89de6 SHA1 a698d0145612eb9503612ff2485f7dfcb6487bda SHA256 30e166051c7331c48ab1d948d6deecaa71130aaf3cfdc3ffb99124971b64f80c -DIST pure-ftpd-1.0.21.tar.bz2 476117 RMD160 1ad61243c1f8a8d1055ee839eec0d9117681cf20 SHA1 1405ff2b9b9c3616c4e390eb99779884173a3347 SHA256 f2f03e5bb42325b470b88e8ee7e6014226518b620beb5dd8cf1f07bcdb64559c -DIST pure-ftpd-1.0.22.tar.bz2 497237 RMD160 e7715813f66a561024911b3f8064d1f067969e7f SHA1 38b88f9645cef6c1b6f20a2f7e73ef9289e3314b SHA256 64659df4da59aa2ef5f455674ae1c3b4b56b4649bac1cac582b895942d0059cf -DIST pure-ftpd-1.0.26.tar.bz2 471836 RMD160 b53b8eaebeed26a199adfb3254f5403c0ce76ab1 SHA1 6b224a5e24f334bbae3c2b8951ab8f677ebe28de SHA256 906e05407718abe3ba124f662ba052c0c2486bd942f97c7f620ec51dbde24cdb -DIST pure-ftpd-1.0.27.tar.bz2 472818 RMD160 2e6f2501e1d6da6c5caf32b802e7c2d481e2e6ee SHA1 f4c3fcc68bea3b2dad9ff76624e23f072acd9c2e SHA256 d389d10bb3ab62b650dbae9aa4015083ee3975697de1ef6b99092d7d14381118 DIST pure-ftpd-1.0.28.tar.bz2 465887 RMD160 1a75ea239129de1f2bcd52a34d1b379928e790f6 SHA1 199580574257f144bc958d05c166c23066bfed3c SHA256 1c8e0f4ddac3731ecb2432631d7af342b3800499d7ea7f8442c3e79e3e4c27d8 DIST pure-ftpd-1.0.29.tar.bz2 466867 RMD160 bcbff660f5ec34d39830a3ffd0594edae5745e79 SHA1 9bba0d6122066098273fde6db03b54825911c012 SHA256 b9217802d2674c0471fc43004565d4630e0938ca8530c3a1b73361d405259f5f -EBUILD pure-ftpd-1.0.21-r1.ebuild 3761 RMD160 368b6b1eae1325f5e1e969bc3adbbea5425d7c3e SHA1 4f0bd017671e7c3478895e5e06b9f3b0f56b86c7 SHA256 13af45c407102cb753b2439a1e82a30db705411658fe227931f20a83fec37aa2 -EBUILD pure-ftpd-1.0.22-r1.ebuild 3783 RMD160 4310f6559b562d3157f72e9500fcd4e40b3daf4f SHA1 72282f221e38b2fe3c03252eeb372732370264bf SHA256 e85793fed18fb593791cfa32e1b09e7fe7dc10b91c3586a684edf8cbb54a7684 -EBUILD pure-ftpd-1.0.26.ebuild 3730 RMD160 15d49fe78e3ffa1ac2eaa3101dfb2245debe6c57 SHA1 616755f7528be327ff8053bef3372b81033a53ea SHA256 03da23c7fee52940e673a2542d2f017ae7092f6b630f66df0a6534e5e49135f1 -EBUILD pure-ftpd-1.0.27-r1.ebuild 3733 RMD160 37603446cd90032e48d38c474b42527d98f7da8e SHA1 32edbb5730bf83eeb72c2f624ee47900d8779a95 SHA256 fbfc90790132ae03c9a08f48ecdafe03ece26341d7d0e3292afb9da33871e6ea EBUILD pure-ftpd-1.0.28.ebuild 3721 RMD160 67af40e1e03c1a7142a91377a78b6d7bec393bf8 SHA1 1bf4deeddae2cbe6bab839d0f509374f20c104be SHA256 af1b24c251810c542a552ead29b7979fd2966375a44de6595889a23785e5558a EBUILD pure-ftpd-1.0.29.ebuild 3730 RMD160 f619bd9eaa142fb845775d47307ebcbfa346a07a SHA1 52298b59ca2de800ab616f750cb7ea3da4f26964 SHA256 fd2a060d4b2c6278785d6bf1ffcbf6ca518f464f3a0c5aa634a460811802f8cd -MISC ChangeLog 14389 RMD160 1cb9dc748612e96b37e93e031c6e6589d75874df SHA1 243eec7202b88c209f7caf4e98ab240dfc1653db SHA256 428b2d077d50d8082d9316a60a279c7a2b2c07e87a4398d98d254be2c122ea7a +MISC ChangeLog 14744 RMD160 4595ed305b5fdf991053a540dff2d59be6981525 SHA1 75652988e428f06d733305d60bb240fec3dab272 SHA256 d040c150922ffec4793a555f86d7f187198276715020c38a81dcc264933223eb MISC metadata.xml 1051 RMD160 d27a44ab81aa6b193a4b68abc6283bc8d1c874c7 SHA1 04bd0e08ccb869060d6654c735963ec70225c237 SHA256 bb94d642cc078247b871cd16bad43aa4d74a5abd204eaa30421ade04e7ad8785 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 -} -- 2.26.2