summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-09-23 23:12:27 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-09-23 23:12:27 +0000
commita74a40d698a3ef6b6d1516f8f81ce0676f3b7dcf (patch)
treed79af98a3e9b3a351257d315d55fb9e1efcdc77f /net-ftp
parentGeneral ebuild cleanup. Fix bugs. (diff)
downloadgentoo-2-a74a40d698a3ef6b6d1516f8f81ce0676f3b7dcf.tar.gz
gentoo-2-a74a40d698a3ef6b6d1516f8f81ce0676f3b7dcf.tar.bz2
gentoo-2-a74a40d698a3ef6b6d1516f8f81ce0676f3b7dcf.zip
General ebuild cleanup. Fix bugs.
(Portage version: 2.1.2_pre1) (Unsigned Manifest commit)
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/pure-ftpd/Manifest65
-rw-r--r--net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20-r23
-rw-r--r--net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.213
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch15
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.rc6-r128
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.20-r2.ebuild98
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.21.ebuild98
7 files changed, 27 insertions, 283 deletions
diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index ca60b8a14417..fdd3090e5256 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -2,44 +2,36 @@ AUX ftpusers 177 RMD160 dea29606ea28414d714453bd9469b375c077badd SHA1 cb60c318c5
MD5 458b5d7567f55f4257ea1a6bfe3ff150 files/ftpusers 177
RMD160 dea29606ea28414d714453bd9469b375c077badd files/ftpusers 177
SHA256 fb5ae1383661d9cfef2ace904e65255d725a4b7df07f2d399228758dd5601d26 files/ftpusers 177
-AUX pure-ftpd-1.0.20-pam.patch 586 RMD160 b90521a12ddff81cc2333ce0a2d060e257d98b46 SHA1 bfcde423ae8decaff8f09f1e27fc7498eb9132d1 SHA256 a59b96a4c78d1a1d7362f4349290a89da15a4e76a5e9ec6ce40724a52c3788cf
-MD5 03fa7e601db23e23915f153f2fecf8a3 files/pure-ftpd-1.0.20-pam.patch 586
-RMD160 b90521a12ddff81cc2333ce0a2d060e257d98b46 files/pure-ftpd-1.0.20-pam.patch 586
-SHA256 a59b96a4c78d1a1d7362f4349290a89da15a4e76a5e9ec6ce40724a52c3788cf files/pure-ftpd-1.0.20-pam.patch 586
AUX pure-ftpd-1.0.21-pam.patch 586 RMD160 3246183eb4914dd605c181da17aa02c8e1e99726 SHA1 df99422a026e403ccecfe95ae9a1e13a7138b4d2 SHA256 4eab3ab63c403e02782df0b07d2f83b741b0b07cb10e37046dc2c874682509a6
MD5 838eccf3bc6e8cd91e86597d844616d0 files/pure-ftpd-1.0.21-pam.patch 586
RMD160 3246183eb4914dd605c181da17aa02c8e1e99726 files/pure-ftpd-1.0.21-pam.patch 586
SHA256 4eab3ab63c403e02782df0b07d2f83b741b0b07cb10e37046dc2c874682509a6 files/pure-ftpd-1.0.21-pam.patch 586
-AUX pure-ftpd.conf_d 2826 RMD160 d682f122b83ec4f1cb61f25072297d1c130bb099 SHA1 ffe3ae3e65404f54f5007f771984542750f8d293 SHA256 40ba72fefc82c88d4faa9c2ab3fe3e3dc8ba92bc1d5931232cd69498b813a356
-MD5 88b77efaa5f85e19f351960a5617026d files/pure-ftpd.conf_d 2826
-RMD160 d682f122b83ec4f1cb61f25072297d1c130bb099 files/pure-ftpd.conf_d 2826
-SHA256 40ba72fefc82c88d4faa9c2ab3fe3e3dc8ba92bc1d5931232cd69498b813a356 files/pure-ftpd.conf_d 2826
-AUX pure-ftpd.rc6-r1 741 RMD160 141631f6702e512e99031baab1b44f26bd0515c4 SHA1 7617a527e79cf63e641d7e2dc123e361708da79f SHA256 1060a6ba3c2df64fc5aec04db1781cdf717bec146f5f32b438a831e7176b7ac0
-MD5 db2ba34b2491a9fb5042f78c029f6386 files/pure-ftpd.rc6-r1 741
-RMD160 141631f6702e512e99031baab1b44f26bd0515c4 files/pure-ftpd.rc6-r1 741
-SHA256 1060a6ba3c2df64fc5aec04db1781cdf717bec146f5f32b438a831e7176b7ac0 files/pure-ftpd.rc6-r1 741
-AUX pure-ftpd.xinetd 238 RMD160 e0af4056a3e2e9a894c2fab85c73981ba7dbb8f4 SHA1 1f5dbd9d2122481ba2e45045483ac030485a83c7 SHA256 0682a3bd3cc90d5750001489f3b63522a32752d706309e9ad9bb971f900cbd4f
-MD5 86b7638f0ed01530fff30204ba6b5ce7 files/pure-ftpd.xinetd 238
-RMD160 e0af4056a3e2e9a894c2fab85c73981ba7dbb8f4 files/pure-ftpd.xinetd 238
-SHA256 0682a3bd3cc90d5750001489f3b63522a32752d706309e9ad9bb971f900cbd4f files/pure-ftpd.xinetd 238
+AUX pure-ftpd.conf_d 3381 RMD160 f4495e750024de6cbdbb4c2a2619c937e6b192fc SHA1 49a96a406d103d91574d4d92fe245b371caa0909 SHA256 2d8d2d85b52f78147e951018e0b25b50832abcfd4d1be314646abba30a6cc40e
+MD5 d00eb5ea3e95b6f47b1940941f282df9 files/pure-ftpd.conf_d 3381
+RMD160 f4495e750024de6cbdbb4c2a2619c937e6b192fc files/pure-ftpd.conf_d 3381
+SHA256 2d8d2d85b52f78147e951018e0b25b50832abcfd4d1be314646abba30a6cc40e files/pure-ftpd.conf_d 3381
+AUX pure-ftpd.rc6 1422 RMD160 1162bebc8a5a802b65d306e1d56f2562c8e2a018 SHA1 75d7d443a3c6bf9e29fc72bc8662b1c88564162d SHA256 2c8f5dd074df1a6e081826d428777c3ded31c9bc4eef0cf168a3ee542ec29559
+MD5 958e3e1a7afa6e3fa78db2c85908a4ed files/pure-ftpd.rc6 1422
+RMD160 1162bebc8a5a802b65d306e1d56f2562c8e2a018 files/pure-ftpd.rc6 1422
+SHA256 2c8f5dd074df1a6e081826d428777c3ded31c9bc4eef0cf168a3ee542ec29559 files/pure-ftpd.rc6 1422
+AUX pure-ftpd.xinetd 247 RMD160 5789f98ffc48dcd5f67ad4777cbc70e158e89de6 SHA1 a698d0145612eb9503612ff2485f7dfcb6487bda SHA256 30e166051c7331c48ab1d948d6deecaa71130aaf3cfdc3ffb99124971b64f80c
+MD5 5672b9b9738ee098d0017d6c47c2b824 files/pure-ftpd.xinetd 247
+RMD160 5789f98ffc48dcd5f67ad4777cbc70e158e89de6 files/pure-ftpd.xinetd 247
+SHA256 30e166051c7331c48ab1d948d6deecaa71130aaf3cfdc3ffb99124971b64f80c files/pure-ftpd.xinetd 247
DIST pure-ftpd-1.0.20.tar.bz2 470915 RMD160 194ea5c7cc4a1944da1e0bfe2b1f84cc2ba04c39 SHA1 fbda2b666ee0ebcbe93d0bf477af0bc74c3448c9 SHA256 6b3fd0b7eca88a9ac7f9aba57d75ca6b20d363309be68f600a5a154db7bc24e9
DIST pure-ftpd-1.0.21.tar.bz2 476117 RMD160 1ad61243c1f8a8d1055ee839eec0d9117681cf20 SHA1 1405ff2b9b9c3616c4e390eb99779884173a3347 SHA256 f2f03e5bb42325b470b88e8ee7e6014226518b620beb5dd8cf1f07bcdb64559c
-EBUILD pure-ftpd-1.0.20-r1.ebuild 2773 RMD160 565c8e6268377a94dad6b1d6ea75b216f01ba16c SHA1 ed835b40e91b722d0bc26d8a07f63ba132fa67e1 SHA256 4993499916f44775b1e7b3bfa8dec4d7b2f2d8020a054dbb6792f9109058f9d9
-MD5 b4c835711ea9d9d5b115efd549320e47 pure-ftpd-1.0.20-r1.ebuild 2773
-RMD160 565c8e6268377a94dad6b1d6ea75b216f01ba16c pure-ftpd-1.0.20-r1.ebuild 2773
-SHA256 4993499916f44775b1e7b3bfa8dec4d7b2f2d8020a054dbb6792f9109058f9d9 pure-ftpd-1.0.20-r1.ebuild 2773
-EBUILD pure-ftpd-1.0.20-r2.ebuild 2793 RMD160 af32cd6dfd4bd81f2effcb9202c3ac8115bf48f0 SHA1 42b1e69fb073119d90e04d08e35581aceaee8b77 SHA256 fde58619e905088074f4c22040dd7d8c59f453ee242b59dd9060c7e00f6f5cc8
-MD5 f8fe6ca5c41f7b54eee2c8b8beab8ee8 pure-ftpd-1.0.20-r2.ebuild 2793
-RMD160 af32cd6dfd4bd81f2effcb9202c3ac8115bf48f0 pure-ftpd-1.0.20-r2.ebuild 2793
-SHA256 fde58619e905088074f4c22040dd7d8c59f453ee242b59dd9060c7e00f6f5cc8 pure-ftpd-1.0.20-r2.ebuild 2793
-EBUILD pure-ftpd-1.0.21.ebuild 2790 RMD160 c351de2c1bf2fb596bd6e46a7d4bd693ecf93270 SHA1 43fa16c8cb4c887e42085fd670f2b10f727d2d69 SHA256 89fc76c4349063e7e7fcdfa2e8b41c4b1e4fa07dddef6e807e432f578d963084
-MD5 5ce77bcf2dd1f212167d923492294d73 pure-ftpd-1.0.21.ebuild 2790
-RMD160 c351de2c1bf2fb596bd6e46a7d4bd693ecf93270 pure-ftpd-1.0.21.ebuild 2790
-SHA256 89fc76c4349063e7e7fcdfa2e8b41c4b1e4fa07dddef6e807e432f578d963084 pure-ftpd-1.0.21.ebuild 2790
-MISC ChangeLog 8525 RMD160 9b3fcc5b5e818005031b2632c188aa3686e95ddb SHA1 c8d517cb047cd954a68a0d1601f3cc3836d18fd0 SHA256 43c3d134a74c32e43134263f966d884ab6a598c37773f36f35964abadbbd490f
-MD5 32ca1bd49cf3becaf42324afa8be94b4 ChangeLog 8525
-RMD160 9b3fcc5b5e818005031b2632c188aa3686e95ddb ChangeLog 8525
-SHA256 43c3d134a74c32e43134263f966d884ab6a598c37773f36f35964abadbbd490f ChangeLog 8525
+EBUILD pure-ftpd-1.0.20-r1.ebuild 2807 RMD160 362b5056330e23c987f9305409abb1c4ee6f6c34 SHA1 c6b5628a325f30c209e139bdb27408e2442bc401 SHA256 4e6913b6f058cdf3baf16811ca9a5abf0a85e8069d79472929b448b8d4931b43
+MD5 ae257f5bbc957853411284ce33751b7e pure-ftpd-1.0.20-r1.ebuild 2807
+RMD160 362b5056330e23c987f9305409abb1c4ee6f6c34 pure-ftpd-1.0.20-r1.ebuild 2807
+SHA256 4e6913b6f058cdf3baf16811ca9a5abf0a85e8069d79472929b448b8d4931b43 pure-ftpd-1.0.20-r1.ebuild 2807
+EBUILD pure-ftpd-1.0.21-r1.ebuild 3479 RMD160 2953998272222f143e2e242b6316980816557d86 SHA1 9b52d0a8e09e0c7915f8e2b06fb016aaa603ae68 SHA256 602a6cbc388b1a986f1291c15fd5957981dc5b391382e9cadb22daaf43d0cba2
+MD5 f58887249eda8f53afc458abca6b7dbd pure-ftpd-1.0.21-r1.ebuild 3479
+RMD160 2953998272222f143e2e242b6316980816557d86 pure-ftpd-1.0.21-r1.ebuild 3479
+SHA256 602a6cbc388b1a986f1291c15fd5957981dc5b391382e9cadb22daaf43d0cba2 pure-ftpd-1.0.21-r1.ebuild 3479
+MISC ChangeLog 8964 RMD160 72d9c5d473a5e5c0db85b9aaff39096d0299f31d SHA1 6c5cf52ba5f00b981ea40bffe098a2b71a6a8e2d SHA256 af49aacdab5a6efa28e4e0825a92af90c6143a7b8dc851530d640d5f58f62428
+MD5 4e1d958c6ebb4a9bb7919de764b14a6f ChangeLog 8964
+RMD160 72d9c5d473a5e5c0db85b9aaff39096d0299f31d ChangeLog 8964
+SHA256 af49aacdab5a6efa28e4e0825a92af90c6143a7b8dc851530d640d5f58f62428 ChangeLog 8964
MISC metadata.xml 422 RMD160 bcc9ffbfe03026d80b45a08dfdbaeae39a6b9d7c SHA1 26b0cc19adb6391be501abe732c76132bee7e760 SHA256 97c202a439f9bfeb61a0bdea5acc519762b3246693eb26ddbc41133658e17f6a
MD5 a5206ebade34b233054beb386042f1d4 metadata.xml 422
RMD160 bcc9ffbfe03026d80b45a08dfdbaeae39a6b9d7c metadata.xml 422
@@ -47,9 +39,6 @@ SHA256 97c202a439f9bfeb61a0bdea5acc519762b3246693eb26ddbc41133658e17f6a metadata
MD5 372acb683f904fb478016b1059607d36 files/digest-pure-ftpd-1.0.20-r1 253
RMD160 4e8b47608f41e7a31da4721c82ce27e103f265b5 files/digest-pure-ftpd-1.0.20-r1 253
SHA256 304f4214d26feb43794d8b0502055721142073cec7b81da2f7a2e0eabbb22568 files/digest-pure-ftpd-1.0.20-r1 253
-MD5 372acb683f904fb478016b1059607d36 files/digest-pure-ftpd-1.0.20-r2 253
-RMD160 4e8b47608f41e7a31da4721c82ce27e103f265b5 files/digest-pure-ftpd-1.0.20-r2 253
-SHA256 304f4214d26feb43794d8b0502055721142073cec7b81da2f7a2e0eabbb22568 files/digest-pure-ftpd-1.0.20-r2 253
-MD5 ae89b1b322a519efee148d4b74e0aa6f files/digest-pure-ftpd-1.0.21 253
-RMD160 e310c21d2ff6e5cdf04497507034ad13496d2e22 files/digest-pure-ftpd-1.0.21 253
-SHA256 8c51d3765557768898da80ab1d4497bb95430c700a76640fe21ce0e89d2cfd1f files/digest-pure-ftpd-1.0.21 253
+MD5 ae89b1b322a519efee148d4b74e0aa6f files/digest-pure-ftpd-1.0.21-r1 253
+RMD160 e310c21d2ff6e5cdf04497507034ad13496d2e22 files/digest-pure-ftpd-1.0.21-r1 253
+SHA256 8c51d3765557768898da80ab1d4497bb95430c700a76640fe21ce0e89d2cfd1f files/digest-pure-ftpd-1.0.21-r1 253
diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20-r2 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20-r2
deleted file mode 100644
index 0fdce890408c..000000000000
--- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.20-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e928e9e15adf6b52bfe6183fdad20144 pure-ftpd-1.0.20.tar.bz2 470915
-RMD160 194ea5c7cc4a1944da1e0bfe2b1f84cc2ba04c39 pure-ftpd-1.0.20.tar.bz2 470915
-SHA256 6b3fd0b7eca88a9ac7f9aba57d75ca6b20d363309be68f600a5a154db7bc24e9 pure-ftpd-1.0.20.tar.bz2 470915
diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.21 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.21
deleted file mode 100644
index 400607e696eb..000000000000
--- a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.21
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ca8a8dbec0cd9c8ea92fc4c37ea9c410 pure-ftpd-1.0.21.tar.bz2 476117
-RMD160 1ad61243c1f8a8d1055ee839eec0d9117681cf20 pure-ftpd-1.0.21.tar.bz2 476117
-SHA256 f2f03e5bb42325b470b88e8ee7e6014226518b620beb5dd8cf1f07bcdb64559c pure-ftpd-1.0.21.tar.bz2 476117
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch
deleted file mode 100644
index 3890ccb1a4b8..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/log_pam.c.original 2005-08-31 12:23:41.000000000 +0100
-+++ src/log_pam.c 2005-08-31 12:24:40.000000000 +0100
-@@ -141,10 +141,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.rc6-r1 b/net-ftp/pure-ftpd/files/pure-ftpd.rc6-r1
deleted file mode 100644
index a8f2474ac357..000000000000
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc6-r1
+++ /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-r1,v 1.4 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"
- start-stop-daemon --start --quiet --exec /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.20-r2.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.20-r2.ebuild
deleted file mode 100644
index 94d42ad4397d..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.20-r2.ebuild
+++ /dev/null
@@ -1,98 +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-r2.ebuild,v 1.2 2005/09/19 11:53:09 uberlord 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="pam mysql postgres ldap ssl caps vchroot selinux"
-
-DEPEND="virtual/libc
- net-ftp/ftpbase
- pam? ( || ( virtual/pam sys-libs/pam ) )
- 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 )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-pam.patch
-
-}
-
-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"
- use vchroot && myconf="${myconf} --with-virtualchroot"
- #!(use vchroot) && myconf="${myconf} --without-virtualchroot"
-
- # 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-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
-
- 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.21.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.21.ebuild
deleted file mode 100644
index 29abc8803583..000000000000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.21.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2006 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.ebuild,v 1.1 2006/03/14 23:24:32 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="pam mysql postgres ldap ssl caps vchroot selinux"
-
-DEPEND="virtual/libc
- net-ftp/ftpbase
- pam? ( || ( virtual/pam sys-libs/pam ) )
- 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 )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-pam.patch
-
-}
-
-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"
- use vchroot && myconf="${myconf} --with-virtualchroot"
- #!(use vchroot) && myconf="${myconf} --without-virtualchroot"
-
- # 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-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
-
- 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"
-}