summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-01-30 20:16:48 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-01-30 20:16:48 +0000
commitf9b7b92bdc9ca906a8e0ba46aad834000621bd5f (patch)
tree33a356c4f4b87a89c77e5e24b859d91f0034599f /net-www/mod_ftpd/files
parentmasked mod_auth_kerb and mod_ftpd (diff)
downloadhistorical-f9b7b92bdc9ca906a8e0ba46aad834000621bd5f.tar.gz
historical-f9b7b92bdc9ca906a8e0ba46aad834000621bd5f.tar.bz2
historical-f9b7b92bdc9ca906a8e0ba46aad834000621bd5f.zip
bump to 0.13.0 uses new apache-module eclass
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-www/mod_ftpd/files')
-rw-r--r--net-www/mod_ftpd/files/45_mod_ftpd.conf51
-rw-r--r--net-www/mod_ftpd/files/digest-mod_ftpd-0.13.01
2 files changed, 52 insertions, 0 deletions
diff --git a/net-www/mod_ftpd/files/45_mod_ftpd.conf b/net-www/mod_ftpd/files/45_mod_ftpd.conf
new file mode 100644
index 000000000000..c7619c4a6a09
--- /dev/null
+++ b/net-www/mod_ftpd/files/45_mod_ftpd.conf
@@ -0,0 +1,51 @@
+<IfDefine FTPD>
+ LoadModule ftpd_module modules/mod_ftpd.so
+
+ # Load any of the provider modules here (for user specific chroots)
+ #LoadModule ftpd_dbm_module modules/mod_ftpd_dbm.so
+ #LoadModule ftpd_dbi_module modules/mod_ftpd_dbi.so
+ LoadModule ftpd_default_module modules/mod_ftpd_default.so
+ #LoadModule ftpd_fail_module modules/mod_ftpd_fail.so
+
+ Listen 21
+ <VirtualHost *:21>
+ DocumentRoot /home/ftp
+ FtpProtocol On
+ FtpShowRealPermissions Off
+ FtpAllowActive On
+ FtpPasvMinPort 1024
+ FtpPasvMaxPort 65535
+ FtpLimitOrder default
+ FtpDefaultMaxLogins 100
+
+ <Directory /home/ftp>
+ Anonymous_Authoritative On
+ AuthAuthoritative Off
+ Anonymous_NoUserID Off
+ Anonymous_MustGiveEmail Off
+ Anonymous_VerifyEmail Off
+ Anonymous_LogEmail Off
+ Anonymous anonymous
+ AuthName ftp
+ AuthType Basic
+ Require valid-user
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ # only allow changing, retrieving files, and listing on the site
+ <Location />
+ <LimitExcept CHDIR GET LIST>
+ Deny from all
+ </LimitExcept>
+ </Location>
+
+ # allow making directories, listing, chdir, and uploading files.
+ # But don't allow retrieving files.
+ <Location /upload>
+ <LimitExcept LIST PUT MKCOL CHDIR>
+ Deny from all
+ </LimitExcept>
+ </Location>
+ </VirtualHost>
+</IfDefine>
diff --git a/net-www/mod_ftpd/files/digest-mod_ftpd-0.13.0 b/net-www/mod_ftpd/files/digest-mod_ftpd-0.13.0
new file mode 100644
index 000000000000..e18169ff3cc6
--- /dev/null
+++ b/net-www/mod_ftpd/files/digest-mod_ftpd-0.13.0
@@ -0,0 +1 @@
+MD5 d92a3a31c5baef53acc06dca13bb27cb mod_ftpd-0.13.0.tar.bz2 327372