new version
authorMaik Schreiber <blizzy@gentoo.org>
Sat, 12 Oct 2002 14:41:42 +0000 (14:41 +0000)
committerMaik Schreiber <blizzy@gentoo.org>
Sat, 12 Oct 2002 14:41:42 +0000 (14:41 +0000)
net-ftp/pure-ftpd/ChangeLog
net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.12 [new file with mode: 0644]
net-ftp/pure-ftpd/files/pure-ftpd.conf_d
net-ftp/pure-ftpd/files/pure-ftpd.rc6
net-ftp/pure-ftpd/files/pure-ftpd.xinetd [new file with mode: 0644]
net-ftp/pure-ftpd/pure-ftpd-1.0.12.ebuild [new file with mode: 0644]

index 71424c62e2066df859acc836d3c56e7e468ea2fb..b8f008d575a33ac4b23f34740a4cd5283a6269e0 100644 (file)
@@ -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 (file)
index 0000000..9361647
--- /dev/null
@@ -0,0 +1 @@
+MD5 36d2a7e96569046aa9ab5314b0846f25 pure-ftpd-1.0.12.tar.bz2 395495
index 3d37c265f5a5872a6ae22cc3745e6654a72766d0..71e108a381dd2dd51753c963fcc9ace13bbe8248 100644 (file)
@@ -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. ]
index 065b56c805b8fafaa87e23c46d97e5d052aef65c..30ab4173ebc57fa1e0a318915410692085b4294f 100644 (file)
@@ -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 (file)
index 0000000..389150f
--- /dev/null
@@ -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 (file)
index 0000000..1e9b77f
--- /dev/null
@@ -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"
+}