Author: oden
Date: Sat Feb 10 19:25:47 2007
New Revision: 118790
Added:
packages/cooker/apache-mod_ftpd/current/SOURCES/A51_mod_ftpd.conf
packages/cooker/apache-mod_ftpd/current/SOURCES/mod_ftpd-0.14.tar.bz2
(contents, props changed)
Removed:
packages/cooker/apache-mod_ftpd/current/SOURCES/A51_mod_ftpd.conf.bz2
packages/cooker/apache-mod_ftpd/current/SOURCES/mod_ftp_dbi.tar.gz
packages/cooker/apache-mod_ftpd/current/SOURCES/mod_ftpd-0.13.1.tar.bz2
Modified:
packages/cooker/apache-mod_ftpd/current/SPECS/apache-mod_ftpd.spec
Log:
- 0.14
- drop the mod_ftp_dbi code, it's included
Added: packages/cooker/apache-mod_ftpd/current/SOURCES/A51_mod_ftpd.conf
==============================================================================
--- (empty file)
+++ packages/cooker/apache-mod_ftpd/current/SOURCES/A51_mod_ftpd.conf Sat Feb
10 19:25:47 2007
@@ -0,0 +1,117 @@
+<IfDefine HAVE_FTPD>
+ <IfModule !mod_ftpd.c>
+ 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
+ </IfModule>
+</IfDefine>
+
+<IfModule ftp_core.c>
+
+ # FtpProtocol - Whether this server is serving the FTP protocol. Default:
Off
+ FtpProtocol Off
+
+ # FtpShowRealPermissions - Show Real Permissions of files. Default: Off
+ FtpShowRealPermissions Off
+
+ # FtpFakeGroup - The fake group name to display in directory listings.
Default: ftp
+ FtpFakeGroup ftp
+
+ # FtpFakeUser - The fake user name to display in directory listings.
Default: ftp
+ FtpFakeUser ftp
+
+ # FtpAllowActive - Allow active(PORT) connections on this server. Default:
On
+ FtpAllowActive Off
+
+ # FtpAllowFXP - Allow FXP transfers (ie. transfer data to a different
server/client). Default: Off
+ FtpAllowFXP Off
+
+ # FtpPasvMinPort - Minimum PASV port to use for Data connections. Default:
1024
+ FtpPasvMinPort 1024
+
+ # FtpPasvMaxPort - Maximum PASV port to use for Data connections. Default:
65535
+ FtpPasvMaxPort 65535
+
+ # FtpChrootOrder - List of providers to query for chrooting the logging in
user. Default: none
+ #FtpChrootOrder
+
+ # FtpLimitOrder - List of providers to query for limiting the logging in
user. Default: none
+ #FtpLimitOrder
+
+ # FtpServerAnnounce - Whether to announce this module in the server
header. Default: On
+ FtpServerAnnounce On
+
+ # FtpAllowOverwrite - Whether to allow overwriting of files when using
store. Default: On
+ FtpAllowOverwrite Off
+
+ <IfModule mod_ftpd_dbm.c>
+
+ # FtpDBMFile - Path to Database to use chroot mapping.
+
+ # FtpDBMType - What type of DBM file to open. default, DB,GDBM,NDBM,
SDBM.
+
+ </IfModule>
+
+ <IfModule mod_ftpd_dbi.c>
+
+ # FtpDbiDriver - The DBI Driver
+
+ # FtpDbiDriverDir - The directory containing the DBI drivers
+
+ # FtpDbiHost - The host for the database connection
+
+ # FtpDbiUsername - The username for the database connection
+
+ # FtpDbiPassword - The password for the database connection
+
+ # FtpDbiName - The name of the database containing the tables
+
+ # FtpDbiTable - The name of the table containing the usernames and
password hashes
+
+ # FtpDbiUsernameField - The table field that contains the username
+
+ # FtpDbiChrootField - The table field that contains the password
+
+ # FtpDbiChrootQuery - The SQL query to pick the password field from
+
+ # FtpDbiIsActiveField - The table field that contains the username
+
+ # FtpDbiConnMin - The Minimum Number of Database Connections
+
+ # FtpDbiConnSoftMax - The Soft Maximum Number of Database Connections
+
+ # FtpDbiConnHardMax - The Hard Maximum Number of Database Connections
+
+ # FtpDbiConnTTL - The Database Pool Time To Live for Each Connection
+
+ # FtpDbiServerConfig - The name of the configuration to use for this
section
+
+ </IfModule>
+
+
+ <IfModule mod_ftpd_dbi.c>
+
+ </IfModule>
+
+
+ <IfModule mod_ftpd_fail.c>
+
+ # no directives yet
+
+ </IfModule>
+
+ <IfModule mod_ftpd_default.c>
+
+ # FtpDefaultChroot - Path to set the chroot to.
+ FtpDefaultChroot /var/ftp/pub
+
+ # FtpDefaultMaxLogins - Maximum number of logins to the FTP server.
The Default is 20.
+ FtpDefaultMaxLogins 10
+
+ </IfModule>
+
+</IfModule>
+
Added: packages/cooker/apache-mod_ftpd/current/SOURCES/mod_ftpd-0.14.tar.bz2
==============================================================================
Binary file. No diff available.
Modified: packages/cooker/apache-mod_ftpd/current/SPECS/apache-mod_ftpd.spec
==============================================================================
--- packages/cooker/apache-mod_ftpd/current/SPECS/apache-mod_ftpd.spec
(original)
+++ packages/cooker/apache-mod_ftpd/current/SPECS/apache-mod_ftpd.spec Sat Feb
10 19:25:47 2007
@@ -5,14 +5,13 @@
Summary: Apache module for FTP support
Name: apache-%{mod_name}
-Version: 0.13.1
-Release: %mkrel 2
+Version: 0.14
+Release: %mkrel 1
Group: System/Servers
License: Apache License
URL: http://www.outoforder.cc/projects/apache/mod_ftpd/
Source0:
http://www.outoforder.cc/downloads/mod_ftpd/%{mod_name}-%{version}.tar.bz2
-Source1: mod_ftp_dbi.tar.gz
-Source2: %{mod_conf}.bz2
+Source2: %{mod_conf}
Requires(pre): rpm-helper
Requires(postun): rpm-helper
Requires(pre): apache-conf >= 2.2.0
@@ -32,7 +31,9 @@
%prep
-%setup -q -n %{mod_name}-%{version} -a1
+%setup -q -n %{mod_name}-%{version}
+
+cp %{SOURCE2} %{mod_conf}
# strip away annoying ^M
find . -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
@@ -65,8 +66,7 @@
libtool --mode=install %{_bindir}/install
providers/default/mod_ftpd_default.la
%{buildroot}%{_libdir}/apache-extramodules/mod_ftpd_default.la
libtool --mode=install %{_bindir}/install providers/fail/mod_ftpd_fail.la
%{buildroot}%{_libdir}/apache-extramodules/mod_ftpd_fail.la
install -m0755 providers/dbm/dbmchroot %{buildroot}%{_bindir}/
-
-bzcat %{SOURCE2} > %{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
+install -m0644 %{mod_conf}
%{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
install -d %{buildroot}%{_var}/www/html/addon-modules
ln -s ../../../..%{_docdir}/%{name}-%{version}
%{buildroot}%{_var}/www/html/addon-modules/%{name}-%{version}