diff options
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/pure-ftpd/ChangeLog | 9 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16b | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16c | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.17a | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18 | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18-r1 | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20 | 1 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd-1.0.18-fcntl.patch | 27 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd.conf_d | 3 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd.rc6 | 28 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.16b.ebuild | 76 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.16c.ebuild | 76 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.17a.ebuild | 76 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.18-r1.ebuild | 86 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.18.ebuild | 79 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.20.ebuild | 86 |
16 files changed, 10 insertions, 542 deletions
diff --git a/net-ftp/pure-ftpd/ChangeLog b/net-ftp/pure-ftpd/ChangeLog index f28c0dbe426a..81f05fe86746 100644 --- a/net-ftp/pure-ftpd/ChangeLog +++ b/net-ftp/pure-ftpd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-ftp/pure-ftpd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.47 2005/02/04 22:09:02 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.48 2005/03/02 23:51:33 humpback Exp $ + + 02 Mar 2005; Gustavo Felisberto <humpback@gentoo.org>; + -files/pure-ftpd-1.0.18-fcntl.patch, files/pure-ftpd.conf_d, + -files/pure-ftpd.rc6, -pure-ftpd-1.0.16b.ebuild, -pure-ftpd-1.0.16c.ebuild, + -pure-ftpd-1.0.17a.ebuild, -pure-ftpd-1.0.18-r1.ebuild, + -pure-ftpd-1.0.18.ebuild, -pure-ftpd-1.0.20.ebuild: + Removing older versions and files. Also closing bug #75026. 04 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> pure-ftpd-1.0.20-r1.ebuild: diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16b b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16b deleted file mode 100644 index 0f7f5121c229..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16b +++ /dev/null @@ -1 +0,0 @@ -MD5 1e741f0e7acd3875998cd8857e99a89b pure-ftpd-1.0.16b.tar.bz2 439253 diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16c b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16c deleted file mode 100644 index 774cefd6101d..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.16c +++ /dev/null @@ -1 +0,0 @@ -MD5 422ef27622882ffa773616ffaa20e06c pure-ftpd-1.0.16c.tar.bz2 440205 diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.17a b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.17a deleted file mode 100644 index ef2c2ee2e235..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.17a +++ /dev/null @@ -1 +0,0 @@ -MD5 76e821fb065a4de867d597c9cbd523c7 pure-ftpd-1.0.17a.tar.bz2 450704 diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18 deleted file mode 100644 index a976b922f91e..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18 +++ /dev/null @@ -1 +0,0 @@ -MD5 56925bb7a35b07ca70e5453af731acba pure-ftpd-1.0.18.tar.bz2 458995 diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18-r1 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18-r1 deleted file mode 100644 index a976b922f91e..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.18-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 56925bb7a35b07ca70e5453af731acba pure-ftpd-1.0.18.tar.bz2 458995 diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20 deleted file mode 100644 index 4336bc9e524f..000000000000 --- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20 +++ /dev/null @@ -1 +0,0 @@ -MD5 e928e9e15adf6b52bfe6183fdad20144 pure-ftpd-1.0.20.tar.bz2 470915 diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.18-fcntl.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.18-fcntl.patch deleted file mode 100644 index 2fe87d15803f..000000000000 --- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.18-fcntl.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -urN pure-ftpd-1.0.18/src/ftpd.c pure-ftpd-1.0.19/src/ftpd.c ---- pure-ftpd-1.0.18/src/ftpd.c 2004-03-02 14:04:21.000000000 -0500 -+++ pure-ftpd-1.0.19/src/ftpd.c 2004-06-20 13:29:56.000000000 -0400 -@@ -4631,13 +4633,14 @@ - if (STORAGE_FAMILY(sa) != AF_INET && STORAGE_FAMILY(sa) != AF_INET6) { - (void) close(clientfd); - return; -- } -+ } - if (maxusers > 0U && nb_children >= maxusers) { - char line[1024]; - - snprintf(line, sizeof line, "421 " MSG_MAX_USERS "\r\n", - (unsigned long) maxusers); - /* No need to check a return value to say 'fuck' */ -+ (void) fcntl(clientfd, F_SETFL, fcntl(clientfd, F_GETFL) | O_NONBLOCK); - (void) write(clientfd, line, strlen(line)); - (void) close(clientfd); - return; -@@ -4649,6 +4652,7 @@ - char hbuf[NI_MAXHOST]; - static struct sockaddr_storage old_sa; - -+ (void) fcntl(clientfd, F_SETFL, fcntl(clientfd, F_GETFL) | O_NONBLOCK); - if (!SNCHECK(snprintf(line, sizeof line, - "421 " MSG_MAX_USERS_IP "\r\n", - (unsigned long) maxip), sizeof line)) { diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.conf_d b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d index 6b53427a75da..c1b5748f8b3b 100644 --- a/net-ftp/pure-ftpd/files/pure-ftpd.conf_d +++ b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d @@ -12,7 +12,8 @@ ## Using an invalid IP will result in server not starting and reporting ## a good start. Work is being done to solve that in: ## http://bugs.gentoo.org/show_bug.cgi?id=75861 -SERVER="-S 192.168.0.1,21" +#SERVER="-S 192.168.0.1,21" +SERVER="-S 21" ## Number of simultaneous connections in total, and per ip ## MAX_CONN="-c 30" 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 32ba61bc7735..000000000000 --- a/net-ftp/pure-ftpd/files/pure-ftpd.rc6 +++ /dev/null @@ -1,28 +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-ftp/pure-ftpd/files/pure-ftpd.rc6,v 1.8 2004/07/14 23:43:24 agriffis 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 - ebegin "Starting Pure-FTPd" - /usr/sbin/pure-ftpd $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $MISC_OTHER - eend $? -} - -stop() { - ebegin "Stopping Pure-FTPd" - start-stop-daemon --stop --quiet --pidfile /var/run/pure-ftpd.pid - eend $? -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.16b.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.16b.ebuild deleted file mode 100644 index 0cd4ff062825..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.16b.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2005 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.16b.ebuild,v 1.8 2005/02/02 19:01:54 humpback Exp $ - -IUSE="pam mysql postgres ldap ssl" - -DESCRIPTION="Pure-FTPd is a fast, production-quality, standard-conformant FTP server" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" -HOMEPAGE="http://www.pureftpd.org/" - -SLOT="0" -LICENSE="BSD" # Changed from GPL-2 to BSD 06/09/2003 -KEYWORDS="x86 ppc sparc alpha hppa" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_compile() { - local myconf="" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall - - dodoc AUTHORS CONTACT COPYING ChangeLog FAQ HISTORY INSTALL README* NEWS - - dodir /etc/{conf.d,init.d} - cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.16c.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.16c.ebuild deleted file mode 100644 index 8f2d03e79089..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.16c.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2005 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.16c.ebuild,v 1.7 2005/02/02 19:01:54 humpback Exp $ - -IUSE="pam mysql postgres ldap ssl" - -DESCRIPTION="Pure-FTPd is a fast, production-quality, standard-conformant FTP server" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" -HOMEPAGE="http://www.pureftpd.org/" - -SLOT="0" -LICENSE="BSD" # Changed from GPL-2 to BSD 06/09/2003 -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_compile() { - local myconf="" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall - - dodoc AUTHORS CONTACT COPYING ChangeLog FAQ HISTORY INSTALL README* NEWS - - dodir /etc/{conf.d,init.d} - cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.17a.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.17a.ebuild deleted file mode 100644 index 057634c2e2f1..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.17a.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2005 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.17a.ebuild,v 1.7 2005/02/02 19:01:54 humpback Exp $ - -IUSE="pam mysql postgres ldap ssl" - -DESCRIPTION="Pure-FTPd is a fast, production-quality, standard-conformant FTP server" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" -HOMEPAGE="http://www.pureftpd.org/" - -SLOT="0" -LICENSE="BSD" # Changed from GPL-2 to BSD 06/09/2003 -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_compile() { - local myconf="" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall - - dodoc AUTHORS CONTACT COPYING ChangeLog FAQ HISTORY INSTALL README* NEWS - - dodir /etc/{conf.d,init.d} - cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.18-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.18-r1.ebuild deleted file mode 100644 index d21b7d34cca2..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.18-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2005 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.18-r1.ebuild,v 1.11 2005/02/02 19:01:54 humpback Exp $ - -inherit eutils - -DESCRIPTION="fast, production-quality, standard-conformant FTP server" -HOMEPAGE="http://www.pureftpd.org/" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha hppa ~amd64 ia64 ppc64" -IUSE="pam mysql postgres ldap ssl" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-fcntl.patch -} - -src_compile() { - local myconf="" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits --with-largefile \ - ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall || die - - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS - - use pam && cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - dodir /etc/{conf.d,init.d} - - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - exeopts -m 0744 - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 0644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap ; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.18.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.18.ebuild deleted file mode 100644 index ccaca2de97c8..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.18.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 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.18.ebuild,v 1.8 2005/02/02 19:01:54 humpback Exp $ - -IUSE="pam mysql postgres ldap ssl" - -DESCRIPTION="Pure-FTPd is a fast, production-quality, standard-conformant FTP server" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" -HOMEPAGE="http://www.pureftpd.org/" - -SLOT="0" -LICENSE="BSD" # Changed from GPL-2 to BSD 06/09/2003 -KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~amd64 ia64" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_compile() { - local myconf="" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits --with-largefile \ - ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall - - dodoc AUTHORS CONTACT COPYING ChangeLog FAQ HISTORY INSTALL README* NEWS - - use pam && cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - dodir /etc/{conf.d,init.d} - - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - exeopts -m 0744 - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 0644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.20.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.20.ebuild deleted file mode 100644 index e4b20d0aeadf..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.20.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2005 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.20.ebuild,v 1.5 2005/02/02 19:01:54 humpback Exp $ - -inherit eutils - -DESCRIPTION="fast, production-quality, standard-conformant FTP server" -HOMEPAGE="http://www.pureftpd.org/" -SRC_URI="ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64" -IUSE="pam mysql postgres ldap ssl caps" - -DEPEND="virtual/libc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3* ) - postgres? ( >=dev-db/postgresql-7.2.2 ) - ldap? ( >=net-nds/openldap-2.0.25 ) - ssl? ( >=dev-libs/openssl-0.9.6g )" - -src_compile() { - local myconf="--with-privsep" - - use pam && myconf="${myconf} --with-pam" - use ldap && myconf="${myconf} --with-ldap" - use mysql && myconf="${myconf} --with-mysql" - use postgres && myconf="${myconf} --with-pgsql" - use ssl && myconf="${myconf} --with-tls" - use caps && myconf="${myconf} --with-capabilities" - !(use caps) && myconf="${myconf} --without-capabilities" - - # 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 - - econf \ - --with-altlog --with-extauth \ - --with-puredb --with-cookie \ - --with-throttling --with-ratios \ - --with-quotas --with-ftpwho \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases \ - --with-peruserlimits --with-largefile \ - ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install() { - einstall || die - - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS - - use pam && cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - use pam && insinto /etc/pam.d && doins pam/pure-ftpd - - dodir /etc/{conf.d,init.d} - - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - - exeopts -m 0744 - exeinto /etc/init.d - newexe ${FILESDIR}/pure-ftpd.rc6-r1 pure-ftpd - - insopts -m 0644 - insinto /etc/xinetd.d - newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd - - if use ldap ; then - dodir /etc/openldap/schema - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - einfo "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file." - echo - ewarn "It's *really* important to read the README provided with Pure-FTPd." - ewarn "Check out - http://www.pureftpd.org/README" - ewarn "And for SSL/TLS help - http://www.pureftpd.org/README.TLS" -} |