summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Verwilst <verwilst@gentoo.org>2002-01-19 13:17:07 +0000
committerBart Verwilst <verwilst@gentoo.org>2002-01-19 13:17:07 +0000
commitb15e4b69fb87f3339f8ce6ed812c4d0be74b493a (patch)
tree905fd3d6f630fa2e91398f9909d11157672a9e48 /net-ftp/pure-ftpd/files
parentfix DEPEND; do not want to compile here without ImageMagick (diff)
downloadhistorical-b15e4b69fb87f3339f8ce6ed812c4d0be74b493a.tar.gz
historical-b15e4b69fb87f3339f8ce6ed812c4d0be74b493a.tar.bz2
historical-b15e4b69fb87f3339f8ce6ed812c4d0be74b493a.zip
Pure-ftpd, new version, previous one was ancient, removed it
Diffstat (limited to 'net-ftp/pure-ftpd/files')
-rw-r--r--net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.8_beta1
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.conf_d30
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.rc628
-rw-r--r--net-ftp/pure-ftpd/files/welcome.msg3
4 files changed, 59 insertions, 3 deletions
diff --git a/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.8_beta b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.8_beta
new file mode 100644
index 000000000000..381bb4eaf47c
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/digest-pure-ftpd-1.0.8_beta
@@ -0,0 +1 @@
+MD5 509b8a7bde7b48059ee919868207b3f1 pure-ftpd-1.0.8-beta.tar.gz 425984
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.conf_d b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d
new file mode 100644
index 000000000000..996191a71ce7
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.conf_d
@@ -0,0 +1,30 @@
+# Config file for /etc/init.d/pure-ftpd
+##Comment variables out to disable its features, or change the values in it... ##
+
+## This variable must be uncommented in order for the server to start ##
+#IS_CONFIGURED="yes"
+
+## FTP Server,Port (separated by comma) ##
+PORT="-S 192.168.0.1,21"
+
+## Number of simultaneous connections in total, and per ip ##
+MAX_CONN="-c 30"
+MAX_CONN_IP="-C 10"
+
+## Start daemonized in background ##
+DAEMON="-B"
+
+## Don't allow uploads if the partition is more full then this var ##
+DISK_FULL="-k 95%"
+
+## If your FTP server is behind a NAT box, uncomment this ##
+#USE_NAT="-N"
+
+## Authentication ##
+AUTH="-l unix"
+
+
+
+## Misc. Others ##
+MISC_OTHER="-A -x"
+
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc6 b/net-ftp/pure-ftpd/files/pure-ftpd.rc6
new file mode 100644
index 000000000000..1d1b882f56e1
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc6
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# /space/gentoo/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.6 2001/12/06 20:17:02 azarah 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
+ 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/files/welcome.msg b/net-ftp/pure-ftpd/files/welcome.msg
index b06325536bbe..54950920aa96 100644
--- a/net-ftp/pure-ftpd/files/welcome.msg
+++ b/net-ftp/pure-ftpd/files/welcome.msg
@@ -1,9 +1,6 @@
Hello %R, there are %N (max %M) users logged in at the moment.
Local time is: %T
-Please use your email address as password and NOT silly words
-like "mozilla@" or "WWWuser@", as some Web browsers do!
-
If you have any questions concerning this ftp archive or would
like to announce your uploads, please send a mail to the ftp-admin
of this server: %E