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/pure-ftpd/files
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/pure-ftpd/files')
-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
4 files changed, 34 insertions, 9 deletions
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
+}