diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-09-21 20:35:11 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-09-21 20:35:11 +0000 |
commit | 4afefc321a908e357c088bd10bd89ed4eb5e32a9 (patch) | |
tree | 1a97fe8f7b92b2e6790297dbc84c2f6e97696556 /www-apache/mod_ftpd/files | |
parent | Apply the FBSD fix on 2.14 too.. (diff) | |
download | gentoo-2-4afefc321a908e357c088bd10bd89ed4eb5e32a9.tar.gz gentoo-2-4afefc321a908e357c088bd10bd89ed4eb5e32a9.tar.bz2 gentoo-2-4afefc321a908e357c088bd10bd89ed4eb5e32a9.zip |
fix #192862, cleanup
(Portage version: 2.1.3.9)
Diffstat (limited to 'www-apache/mod_ftpd/files')
4 files changed, 52 insertions, 6 deletions
diff --git a/www-apache/mod_ftpd/files/0.14-r1/45_mod_ftpd.conf b/www-apache/mod_ftpd/files/0.14-r1/45_mod_ftpd.conf new file mode 100644 index 000000000000..430337bfd348 --- /dev/null +++ b/www-apache/mod_ftpd/files/0.14-r1/45_mod_ftpd.conf @@ -0,0 +1,49 @@ +<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_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/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.0 b/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.0 deleted file mode 100644 index 227f39b71255..000000000000 --- a/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d92a3a31c5baef53acc06dca13bb27cb mod_ftpd-0.13.0.tar.bz2 327372 -RMD160 6f9d39add3ec340403d0fc4b6b9a4b2ccd0a9f3c mod_ftpd-0.13.0.tar.bz2 327372 -SHA256 512ae313d606dc8f2cda9efb3cffe9685f573807a1fcd1e2f8604cad3c131e49 mod_ftpd-0.13.0.tar.bz2 327372 diff --git a/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.1 b/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.1 deleted file mode 100644 index a5ab90c8f3a9..000000000000 --- a/www-apache/mod_ftpd/files/digest-mod_ftpd-0.13.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 236bbacd61d434069d71493de916609f mod_ftpd-0.13.1.tar.bz2 325493 -RMD160 43bda3c1932a7cdc1a98da99ee314a94d88d8757 mod_ftpd-0.13.1.tar.bz2 325493 -SHA256 780d0de38a865c0dbb44df49dfc675d769c90b14dd60600858137f0cf21059a6 mod_ftpd-0.13.1.tar.bz2 325493 diff --git a/www-apache/mod_ftpd/files/digest-mod_ftpd-0.14-r1 b/www-apache/mod_ftpd/files/digest-mod_ftpd-0.14-r1 new file mode 100644 index 000000000000..abbffcf0b729 --- /dev/null +++ b/www-apache/mod_ftpd/files/digest-mod_ftpd-0.14-r1 @@ -0,0 +1,3 @@ +MD5 073532fb7837657cf52adecbb43a2f68 mod_ftpd-0.14.tar.bz2 330410 +RMD160 01823f02b2ae27952eef13946201e1ca9e55285c mod_ftpd-0.14.tar.bz2 330410 +SHA256 f36d3b65a5a200fca0c58e453246635e0f8e94c7f870d2b2f1946fa4a8b06d09 mod_ftpd-0.14.tar.bz2 330410 |