summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-06-03 13:20:52 +0000
committerChuck Short <zul@gentoo.org>2004-06-03 13:20:52 +0000
commit4425c71de578f061e4d0d2d00c19d1dd8f3694bf (patch)
treef95ccc8b2739f0bd164c0116ad69fdd4646100ba /net-www
parentChanged version number, closes #52873. Version bump. (diff)
downloadhistorical-4425c71de578f061e4d0d2d00c19d1dd8f3694bf.tar.gz
historical-4425c71de578f061e4d0d2d00c19d1dd8f3694bf.tar.bz2
historical-4425c71de578f061e4d0d2d00c19d1dd8f3694bf.zip
Added missing conf file. #52480.
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mod_ftpd/ChangeLog5
-rw-r--r--net-www/mod_ftpd/Manifest9
-rw-r--r--net-www/mod_ftpd/files/mod_ftpd.conf51
3 files changed, 60 insertions, 5 deletions
diff --git a/net-www/mod_ftpd/ChangeLog b/net-www/mod_ftpd/ChangeLog
index 80705a171896..745c47106f3d 100644
--- a/net-www/mod_ftpd/ChangeLog
+++ b/net-www/mod_ftpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-www/mod_ftpd
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ftpd/ChangeLog,v 1.1 2004/05/14 17:01:36 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ftpd/ChangeLog,v 1.2 2004/06/03 13:20:52 zul Exp $
+
+ 03 Jun 2004; Chuck Short <zul@gentoo.org> files/mod_ftpd.conf:
+ Added missing conf file. Closes #52480.
*mod_ftpd-0.12.3 (15 May 2004)
diff --git a/net-www/mod_ftpd/Manifest b/net-www/mod_ftpd/Manifest
index 83ab9c301a20..84fc94024982 100644
--- a/net-www/mod_ftpd/Manifest
+++ b/net-www/mod_ftpd/Manifest
@@ -1,5 +1,6 @@
-MD5 e4b00c859e767293dba0066453b34da2 files/0.12.3-mod_ftpd-ipv6.patch 513
-MD5 853c5251554ad3b0b04dd46bd6f3ce90 files/digest-mod_ftpd-0.12.3 68
-MD5 bc1dec510800916e5ad42f137594c830 ChangeLog 464
-MD5 5b6dd438f81019e56fa641841c0c13fe metadata.xml 501
MD5 ff28a505d686f0bea260d5a02f585d5f mod_ftpd-0.12.3.ebuild 1143
+MD5 8b121ca891fdcc60ca084e7d35fe6dd5 ChangeLog 572
+MD5 5b6dd438f81019e56fa641841c0c13fe metadata.xml 501
+MD5 853c5251554ad3b0b04dd46bd6f3ce90 files/digest-mod_ftpd-0.12.3 68
+MD5 e4b00c859e767293dba0066453b34da2 files/0.12.3-mod_ftpd-ipv6.patch 513
+MD5 7ff83240a58205cd17a0324bd1122702 files/mod_ftpd.conf 1673
diff --git a/net-www/mod_ftpd/files/mod_ftpd.conf b/net-www/mod_ftpd/files/mod_ftpd.conf
new file mode 100644
index 000000000000..64cc6ee52337
--- /dev/null
+++ b/net-www/mod_ftpd/files/mod_ftpd.conf
@@ -0,0 +1,51 @@
+<IfDefine FTPD>
+ LoadModule ftpd_module extramodules/mod_ftpd.so
+
+ # Load any of the provider modules here (for user specific chroots)
+ #LoadModule ftpd_dbm_module extramodules/mod_ftpd_dbm.so
+ #LoadModule ftpd_dbi_module extramodules/mod_ftpd_dbi.so
+ LoadModule ftpd_default_module extramodules/mod_ftpd_default.so
+ #LoadModule ftpd_fail_module extramodules/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>