summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-10-12 14:41:42 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-10-12 14:41:42 +0000
commit02e303f7bd4d36aaab3cb189734c10405adf0aaa (patch)
tree3bf73238d24d2dd539e21592a3efe9fc0acbc991 /net-ftp
parentNew gtk2 devel version (diff)
downloadgentoo-2-02e303f7bd4d36aaab3cb189734c10405adf0aaa.tar.gz
gentoo-2-02e303f7bd4d36aaab3cb189734c10405adf0aaa.tar.bz2
gentoo-2-02e303f7bd4d36aaab3cb189734c10405adf0aaa.zip
new version
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/pure-ftpd/ChangeLog22
-rw-r--r--net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.121
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.conf_d25
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.rc64
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.xinetd13
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild64
6 files changed, 111 insertions, 18 deletions
diff --git a/net-ftp/pure-ftpd/ChangeLog b/net-ftp/pure-ftpd/ChangeLog
index 71424c62e206..b8f008d575a3 100644
--- a/net-ftp/pure-ftpd/ChangeLog
+++ b/net-ftp/pure-ftpd/ChangeLog
@@ -1,21 +1,25 @@
# ChangeLog for net-ftp/pure-ftpd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.3 2002/04/20 18:47:10 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.4 2002/10/12 14:41:42 blizzy Exp $
- 19 April 2002; Bart Verwilst <verwilst@gentoo.org> ChangeLog :
+*pure-ftpd-1.0.12 (12 Oct 2002)
- Added fix, conf.d file wasn't copied... this new revision (r1) should
- fix the problem.
+ 12 Oct 2002; Maik Schreiber <blizzy@gentoo.org> : New version, closes
+ bug #6000.
+*pure-ftpd-1.0.11-r1 (19 Apr 2002)
- 14 April 2002; Bart Verwilst <verwilst@gentoo.org> ChangeLog :
+ 19 Apr 2002; Bart Verwilst <verwilst@gentoo.org> : Added fix, conf.d
+ file wasn't copied... this new revision (r1) should fix the problem.
- Upgraded version, removed old one.. New ebuild (1.0.11) includes pam
- fixes as well..
+*pure-ftpd-1.0.11 (14 Apr 2002)
-*pure-ftpd-1.0.8 (1 Feb 2002)
+ 14 Apr 2002; Bart Verwilst <verwilst@gentoo.org> : Upgraded version,
+ removed old one.. New ebuild (1.0.11) includes pam fixes as well..
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+*pure-ftpd-1.0.8 (01 Feb 2002)
+
+ 01 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.12 b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.12
new file mode 100644
index 000000000000..93616476088b
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.12
@@ -0,0 +1 @@
+MD5 36d2a7e96569046aa9ab5314b0846f25 pure-ftpd-1.0.12.tar.bz2 395495
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.conf_d b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d
index 3d37c265f5a5..71e108a381dd 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.conf_d
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d
@@ -5,6 +5,9 @@
#IS_CONFIGURED="yes"
## FTP Server,Port (separated by comma) ##
+## If you prefer host names over IP addresses, it's your choice :
+## SERVER=" S ftp.rtchat.com,21"
+## IPv6 addresses are supported.
SERVER="-S 192.168.0.1,21"
## Number of simultaneous connections in total, and per ip ##
@@ -21,8 +24,16 @@ DISK_FULL="-k 90%"
#USE_NAT="-N"
## Authentication (others are 'pam', ...)##
+## Further infos in the README file.
AUTH="-l unix"
+## Change the maximum idle time. (in minutes. default 15)
+#TIMEOUT="-I <timeout>'"
+
+## Use that facility for syslog logging. It defaults to 'ftp'
+## Logging can be disabled with '-f none' .
+#LOG="-f facility"
+
## Misc. Others ##
MISC_OTHER="-A -x -j -R"
@@ -40,10 +51,10 @@ MISC_OTHER="-A -x -j -R"
# -x [ Authenticated users can read/write files beginning with a dot ('.')
# Anonymous users can't, for security reasons ]
# -X [ Users can't write/read files and directories starting with a dot ('.') ]
-
-
-
-
-
-
-
+# -D [ List files beginning with a dot ('.') even when the client doesn't
+# append the '-a' option to the list command. A workaround for badly
+# configured FTP clients. ]
+# -G [ Disallow renaming. ]
+# -d [ Send various debugging messages to the syslog. ONLY for DEBUG ]
+# -F <fortune file> [ Display a fortune cookie on login. Check the README file ]
+# -H [ By default, fully-qualified host names are logged. The '-H' flag avoids host names resolution. ]
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc6 b/net-ftp/pure-ftpd/files/pure-ftpd.rc6
index 065b56c805b8..30ab4173ebc5 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc6
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd.rc6,v 1.4 2002/04/27 23:34:20 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd.rc6,v 1.5 2002/10/12 14:41:42 blizzy Exp $
depend() {
need net
@@ -17,7 +17,7 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting Pure-FTPd"
- /usr/sbin/pure-ftpd $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $MISC_OTHER
+ /usr/sbin/pure-ftpd $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $MISC_OTHER
eend $?
}
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.xinetd b/net-ftp/pure-ftpd/files/pure-ftpd.xinetd
new file mode 100644
index 000000000000..389150f19f2e
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.xinetd
@@ -0,0 +1,13 @@
+# default: off
+# description: Pure-FTPd service example config.
+
+service ftp
+{
+ socket_type = stream
+ server = /usr/sbin/pure-ftpd
+ server_args = -s -a 42
+ protocol = tcp
+ user = root
+ wait = no
+ disable = yes
+}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild
new file mode 100644
index 000000000000..1e9b77f77cca
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild,v 1.1 2002/10/12 14:41:42 blizzy Exp $
+
+DESCRIPTION="Pure-FTPd is a fast, production-quality, standard-conformant FTP server"
+SRC_URI="mirror://sourceforge/pureftpd/${P}.tar.bz2"
+HOMEPAGE="http://www.pureftpd.org/"
+
+DEPEND="virtual/glibc
+ 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 )"
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+IUSE="pam mysql postgres ldap"
+
+src_compile() {
+ use pam && myconf="${myconf} --with-pam"
+ use ldap && myconf="${myconf} --with-ldap"
+ use mysql && myconf="${myconf} --with-mysql"
+ use postgres && myconf="${myconf} --with-pgsql"
+
+ 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}
+
+ 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/{ftplockout,pure-ftpd}
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/pure-ftpd.rc6 pure-ftpd
+
+ # we should always install that, so commented out the "if" -- blizzy
+# if [ -x /usr/sbin/xinetd ]; then
+ insopts -m 644
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/pure-ftpd.xinetd pure-ftpd
+# 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 "Just point your browser at http://www.pureftpd.org/README"
+}