# 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
--- /dev/null
+MD5 36d2a7e96569046aa9ab5314b0846f25 pure-ftpd-1.0.12.tar.bz2 395495
#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 ##
#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"
# -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. ]
#!/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
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 $?
}
--- /dev/null
+# 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
+}
--- /dev/null
+# 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"
+}