1f47ac
# Use certs in %{_sysconfdir}/pki/tls/certs if available (FC4, RHEL5 onwards)
1f47ac
%global use_pki %(if [ -d %{_sysconfdir}/pki/tls/certs ]; then echo 1; else echo 0; fi)
1f47ac
%if %{use_pki}
1f47ac
%global pkidir %{_sysconfdir}/pki/tls
1f47ac
%else
1f47ac
%global pkidir %{_datadir}/ssl
1f47ac
%endif
1f47ac
84c328
#global prever rc4
7a4632
%global rpmrel 1
1f47ac
1f47ac
Summary:		Flexible, stable and highly-configurable FTP server
1f47ac
Name:			proftpd
84c328
Version:		1.3.3
ef6963
Release:		%{?prever:0.}%{rpmrel}%{?prever:.%{prever}}%{?dist}
1f47ac
License:		GPLv2+
1f47ac
Group:			System Environment/Daemons
1f47ac
URL:			http://www.proftpd.org/
1f47ac
Source0:		ftp://ftp.proftpd.org/distrib/source/proftpd-%{version}%{?prever}.tar.bz2
1f47ac
Source1:		proftpd.conf
1f47ac
Source2:		proftpd.init
1f47ac
Source3:		proftpd-xinetd
1f47ac
Source4:		proftpd.logrotate
1f47ac
Source5:		proftpd-welcome.msg
1f47ac
Source6:		proftpd.pam
1f47ac
Source7:		proftpd-mod_quotatab_ldap.ldif
1f47ac
Source8:		proftpd-mod_quotatab_ldap.schema
1f47ac
Source9:		proftpd.sysconfig
3ae243
Source10:		http://www.castaglia.org/proftpd/modules/proftpd-mod-vroot-0.8.5.tar.gz
1f47ac
Patch0:			proftpd-1.3.2rc3-nostrip.patch
1f47ac
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root
1f47ac
Requires(post):		/sbin/chkconfig
1f47ac
Requires(preun):	/sbin/service, /sbin/chkconfig, coreutils, findutils
1f47ac
Requires(postun):	/sbin/service
1f47ac
BuildRequires:		pam-devel, ncurses-devel, pkgconfig, gettext, zlib-devel
1f47ac
BuildRequires:		openssl-devel, libacl-devel, libcap-devel, /usr/include/tcpd.h
1f47ac
BuildRequires:		openldap-devel, mysql-devel, postgresql-devel
1f47ac
Provides:		ftpserver
cvsextras 59a0b0
cvsextras 59a0b0
%description
cvsextras 59a0b0
ProFTPD is an enhanced FTP server with a focus toward simplicity, security,
cvsextras 59a0b0
and ease of configuration. It features a very Apache-like configuration
cvsextras 59a0b0
syntax, and a highly customizable server infrastructure, including support for
cvsextras 59a0b0
multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory
cvsextras 59a0b0
visibility.
cvsextras 59a0b0
cvsextras 59a0b0
This package defaults to the standalone behaviour of ProFTPD, but all the
cvsextras 59a0b0
needed scripts to have it run by xinetd instead are included.
cvsextras 59a0b0
e2e081
%package ldap
1f47ac
Summary:	Module to add LDAP support to the ProFTPD FTP server
1f47ac
Group:		System Environment/Daemons
1f47ac
Requires:	%{name} = %{version}-%{release}
e2e081
e2e081
%description ldap
e2e081
Module to add LDAP support to the ProFTPD FTP server.
e2e081
e2e081
%package mysql
1f47ac
Summary:	Module to add MySQL support to the ProFTPD FTP server
1f47ac
Group:		System Environment/Daemons
1f47ac
Requires:	%{name} = %{version}-%{release}
e2e081
e2e081
%description mysql
e2e081
Module to add MySQL support to the ProFTPD FTP server.
e2e081
e2e081
%package postgresql
1f47ac
Summary:	Module to add PostgreSQL support to the ProFTPD FTP server
1f47ac
Group:		System Environment/Daemons
1f47ac
Requires:	%{name} = %{version}-%{release}
e2e081
e2e081
%description postgresql
e2e081
Module to add PostgreSQL support to the ProFTPD FTP server.
01a24d
cvsextras 59a0b0
%prep
84c328
%setup -q -n %{name}-%{version}%{?prever} -a 10
3ae243
ef6963
# Copy mod_vroot source and documentation into place
3ae243
%{__cp} -p mod_vroot/mod_vroot.c contrib/
ef6963
%{__cp} -p mod_vroot/mod_vroot.html doc/contrib/
ef6963
1f47ac
# Don't strip binaries - needed for useful debuginfo
1f47ac
%patch0 -p1 -b .nostrip
1f47ac
1f47ac
# Avoid documentation name conflicts
1f47ac
%{__mv} contrib/README contrib/README.contrib
1f47ac
1f47ac
# Set up directory names in config file
1f47ac
%{__sed} -e 's#@PKIDIR@#%{pkidir}#g' \
1f47ac
	%{SOURCE1} > proftpd.conf
1f47ac
1f47ac
# Avoid docfile dependencies
1f47ac
%{__chmod} -x contrib/xferstats.holger-preiss
1f47ac
1f47ac
# Copy in LDAP schema/LDIF
1f47ac
%{__cp} -p %{SOURCE7} 70proftpd-quota.ldif
1f47ac
%{__cp} -p %{SOURCE8} proftpd-quota.schema
1f47ac
1f47ac
# PAM Configuration:
70e21c
# Default PAM configuration file uses password-auth common config;
70e21c
# revert to system-auth if password-auth is not available
70e21c
%{__cp} -p %{SOURCE6} .
70e21c
if [ ! -f /etc/pam.d/password-auth ]; then
70e21c
	%{__sed} -i -e s/password-auth/system-auth/ proftpd.pam
70e21c
fi
1f47ac
# The "include" syntax used in our PAM configuration file was introduced in
1f47ac
# PAM 0.78 and is therefore supported in FC-5 and EL-5 onwards; older
1f47ac
# distributions such as EL-4 (PAM 0.77) need to fall back to using the
1f47ac
# now-deprecated pam_stack module. Since the pam-devel package doesn't
70e21c
# include a pkgconfig file from which we could check the version number, we
1f47ac
# instead check for the absence of the file /etc/pam.d/config-util, which is
1f47ac
# present in all PAM packages from 0.80 onwards and acts as a useful
1f47ac
# indicator of the need to fall back to pam_stack.
1f47ac
[ ! -f /etc/pam.d/config-util ] && %{__sed} -i -e \
1f47ac
	's/include[[:space:]]*system-auth/required'\ \ \ \ \ 'pam_stack.so service=system-auth/' \
1f47ac
	proftpd.pam
1f47ac
1f47ac
# Fix character encoding in docs
1f47ac
for f in ChangeLog; do
1f47ac
	/usr/bin/iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf-8
1f47ac
	%{__mv} -f ${f}.utf-8 ${f}
1f47ac
done
cvsextras 59a0b0
cvsextras 59a0b0
%build
1f47ac
1f47ac
# Modules to be built as DSO's (excluding mod_ifsession, always specified last)
84c328
SMOD1=mod_sql:mod_sql_passwd:mod_sql_mysql:mod_sql_postgres
1f47ac
SMOD2=mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_radius:mod_quotatab_sql
1f47ac
SMOD3=mod_ldap:mod_ban:mod_wrap:mod_ctrls_admin:mod_facl:mod_load
84c328
SMOD4=mod_radius:mod_ratio:mod_rewrite:mod_site_misc:mod_exec:mod_shaper
1f47ac
SMOD5=mod_wrap2:mod_wrap2_file:mod_wrap2_sql
84c328
SMOD6=mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_tls_shmcache
69af80
cvsextras 59a0b0
%configure \
1f47ac
	--libexecdir="%{_libexecdir}/proftpd" \
84c328
	--localstatedir="%{_localstatedir}/run/proftpd" \
1f47ac
	--enable-ctrls \
1f47ac
	--enable-dso \
1f47ac
	--enable-facl \
1f47ac
	--enable-ipv6 \
1f47ac
	--enable-nls \
1f47ac
	--enable-openssl \
1f47ac
	--enable-shadow \
1f47ac
	--with-libraries="%{_libdir}/mysql" \
1f47ac
	--with-includes="%{_includedir}/mysql" \
3ae243
	--with-modules=mod_readme:mod_auth_pam:mod_tls:mod_vroot \
84c328
	--with-shared=${SMOD1}:${SMOD2}:${SMOD3}:${SMOD4}:${SMOD5}:${SMOD6}:mod_ifsession
1f47ac
ef760a
%{__make} %{?_smp_mflags}
01a24d
cvsextras 59a0b0
%install
01a24d
%{__rm} -rf %{buildroot}
e2e081
%{__make} install DESTDIR=%{buildroot} \
1f47ac
	rundir="%{_localstatedir}/run/proftpd" \
1f47ac
	INSTALL_USER=`%{__id} -un` \
1f47ac
	INSTALL_GROUP=`%{__id} -gn`
1f47ac
%{__install} -D -p -m 640 proftpd.conf	%{buildroot}%{_sysconfdir}/proftpd.conf
1f47ac
%{__install} -D -p -m 644 proftpd.pam	%{buildroot}%{_sysconfdir}/pam.d/proftpd
1f47ac
%{__install} -D -p -m 755 %{SOURCE2}	%{buildroot}%{_sysconfdir}/rc.d/init.d/proftpd
1f47ac
%{__install} -D -p -m 644 %{SOURCE3}	%{buildroot}%{_sysconfdir}/xinetd.d/xproftpd
1f47ac
%{__install} -D -p -m 644 %{SOURCE4}	%{buildroot}%{_sysconfdir}/logrotate.d/proftpd
1f47ac
%{__install} -D -p -m 644 %{SOURCE5}	%{buildroot}%{_localstatedir}/ftp/welcome.msg
1f47ac
%{__install} -D -p -m 644 %{SOURCE9}	%{buildroot}%{_sysconfdir}/sysconfig/proftpd
1f47ac
%{__mkdir_p} %{buildroot}%{_localstatedir}/{ftp/{pub,uploads},log/proftpd}
1f47ac
/bin/touch %{buildroot}%{_sysconfdir}/ftpusers
1f47ac
1f47ac
# Find translations
1f47ac
%find_lang proftpd
cvsextras 59a0b0
01a24d
%clean
01a24d
%{__rm} -rf %{buildroot}
01a24d
cvsextras 59a0b0
%post
e2e081
if [ $1 -eq 1 ]; then
1f47ac
	/sbin/chkconfig --add proftpd
1f47ac
	IFS=":"; %{__cat} /etc/passwd | \
1f47ac
	while { read username nu nu gid nu nu nu nu; }; do \
1f47ac
		if [ $gid -lt 100 -a "$username" != "ftp" ]; then
1f47ac
			echo $username >> %{_sysconfdir}/ftpusers
1f47ac
		fi
1f47ac
	done
cvsextras 59a0b0
fi
cvsextras 59a0b0
cvsextras 59a0b0
%preun
e2e081
if [ $1 -eq 0 ]; then
1f47ac
	/sbin/service proftpd stop &>/dev/null || :
1f47ac
	/sbin/chkconfig --del proftpd || :
1f47ac
	/sbin/service xinetd reload &>/dev/null || :
1f47ac
	/usr/bin/find %{_localstatedir}/run/proftpd -depth -mindepth 1 |
1f47ac
		/usr/bin/xargs %{__rm} -rf &>/dev/null || :
cvsextras 59a0b0
fi
cvsextras 59a0b0
cvsextras 59a0b0
%postun
cvsextras 59a0b0
if [ $1 -ge 1 ]; then
1f47ac
	/sbin/service proftpd condrestart &>/dev/null || :
cvsextras 59a0b0
fi
cvsextras 59a0b0
1f47ac
%files -f proftpd.lang
367eb3
%defattr(-,root,root,-)
1f47ac
%doc COPYING CREDITS ChangeLog NEWS README
1f47ac
%doc README.DSO README.modules README.IPv6 README.PAM
1f47ac
%doc README.capabilities README.classes README.controls README.facl
1f47ac
%doc contrib/README.contrib contrib/README.ratio
1f47ac
%doc doc/* sample-configurations/ contrib/xferstats.holger-preiss
1f47ac
%dir %{_localstatedir}/ftp/
1f47ac
%dir %{_localstatedir}/ftp/pub/
01a24d
%dir %{_localstatedir}/run/proftpd/
1f47ac
%config(noreplace) %{_localstatedir}/ftp/welcome.msg
84c328
%config(noreplace) %{_sysconfdir}/blacklist.dat
84c328
%config(noreplace) %{_sysconfdir}/dhparams.pem
1f47ac
%config(noreplace) %{_sysconfdir}/ftpusers
1f47ac
%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
1f47ac
%config(noreplace) %{_sysconfdir}/pam.d/proftpd
cvsextras 59a0b0
%config(noreplace) %{_sysconfdir}/proftpd.conf
1f47ac
%config(noreplace) %{_sysconfdir}/sysconfig/proftpd
01a24d
%config(noreplace) %{_sysconfdir}/xinetd.d/xproftpd
cvsextras 59a0b0
%{_sysconfdir}/rc.d/init.d/proftpd
1f47ac
%{_bindir}/ftpcount
1f47ac
%{_bindir}/ftpdctl
1f47ac
%{_bindir}/ftptop
1f47ac
%{_bindir}/ftpwho
1f47ac
%exclude %{_bindir}/prxs
84c328
%{_sbindir}/ftpscrub
1f47ac
%{_sbindir}/ftpshut
1f47ac
%{_sbindir}/in.proftpd
1f47ac
%{_sbindir}/proftpd
1f47ac
%{_mandir}/man1/ftpcount.1*
1f47ac
%{_mandir}/man1/ftptop.1*
1f47ac
%{_mandir}/man1/ftpwho.1*
1f47ac
%{_mandir}/man5/xferlog.5*
1f47ac
%{_mandir}/man8/ftpdctl.8*
84c328
%{_mandir}/man8/ftpscrub.8*
1f47ac
%{_mandir}/man8/ftpshut.8*
1f47ac
%{_mandir}/man8/proftpd.8*
01d405
%exclude %{_includedir}/proftpd/
9d71c2
%exclude %{_libdir}/pkgconfig/
e2e081
%dir %{_libexecdir}/proftpd/
0eccf2
%{_libexecdir}/proftpd/mod_ban.so
1f47ac
%{_libexecdir}/proftpd/mod_ctrls_admin.so
ef6963
%{_libexecdir}/proftpd/mod_exec.so
1f47ac
%{_libexecdir}/proftpd/mod_facl.so
c8dd5d
%{_libexecdir}/proftpd/mod_ifsession.so
1f47ac
%{_libexecdir}/proftpd/mod_load.so
1a2353
%{_libexecdir}/proftpd/mod_quotatab.so
1a2353
%{_libexecdir}/proftpd/mod_quotatab_file.so
1f47ac
%{_libexecdir}/proftpd/mod_quotatab_radius.so
1f47ac
%{_libexecdir}/proftpd/mod_quotatab_sql.so
1f47ac
%{_libexecdir}/proftpd/mod_radius.so
1f47ac
%{_libexecdir}/proftpd/mod_ratio.so
1f47ac
%{_libexecdir}/proftpd/mod_rewrite.so
84c328
%{_libexecdir}/proftpd/mod_sftp.so
84c328
%{_libexecdir}/proftpd/mod_sftp_pam.so
84c328
%{_libexecdir}/proftpd/mod_sftp_sql.so
84c328
%{_libexecdir}/proftpd/mod_shaper.so
1f47ac
%{_libexecdir}/proftpd/mod_site_misc.so
e2e081
%{_libexecdir}/proftpd/mod_sql.so
84c328
%{_libexecdir}/proftpd/mod_sql_passwd.so
84c328
%{_libexecdir}/proftpd/mod_tls_shmcache.so
d961c6
%{_libexecdir}/proftpd/mod_wrap.so
1f47ac
%{_libexecdir}/proftpd/mod_wrap2.so
1f47ac
%{_libexecdir}/proftpd/mod_wrap2_file.so
1f47ac
%{_libexecdir}/proftpd/mod_wrap2_sql.so
e2e081
%exclude %{_libexecdir}/proftpd/*.a
e2e081
%exclude %{_libexecdir}/proftpd/*.la
1f47ac
%attr(331, ftp, ftp) %dir %{_localstatedir}/ftp/uploads/
1f47ac
%attr(750, root, root) %dir %{_localstatedir}/log/proftpd/
01a24d
e2e081
%files ldap
367eb3
%defattr(-,root,root,-)
1f47ac
%doc README.LDAP 70proftpd-quota.ldif proftpd-quota.schema
e2e081
%{_libexecdir}/proftpd/mod_ldap.so
1a2353
%{_libexecdir}/proftpd/mod_quotatab_ldap.so
e2e081
e2e081
%files mysql
367eb3
%defattr(-,root,root,-)
e2e081
%{_libexecdir}/proftpd/mod_sql_mysql.so
e2e081
e2e081
%files postgresql
367eb3
%defattr(-,root,root,-)
e2e081
%{_libexecdir}/proftpd/mod_sql_postgres.so
e2e081
cvsextras 59a0b0
%changelog
84c328
* Thu Feb 25 2010 Paul Howarth <paul@city-fan.org> 1.3.3-1
84c328
- Update to 1.3.3 (see NEWS for list of fixed bugs)
84c328
- Update PID file location in initscript
84c328
- Drop upstreamed patches
84c328
- Upstream distribution now includes mod_exec, so drop unbundled source
84c328
- New DSO modules:
84c328
  - mod_sftp
84c328
  - mod_sftp_pam
84c328
  - mod_sftp_sql
84c328
  - mod_shaper
84c328
  - mod_sql_passwd
84c328
  - mod_tls_shmcache
84c328
- Configure script no longer appends "/proftpd" to --localstatedir option
84c328
- New utility ftpscrub for scrubbing the scoreboard file
84c328
- Include public key blacklist and Diffie-Hellman parameter files for mod_sftp
84c328
  in %%{_sysconfdir}
84c328
- Remove IdentLookups from config file - disabled by default now
84c328
beb7c5
* Mon Feb 15 2010 Paul Howarth <paul@city-fan.org> 1.3.2d-1
beb7c5
- Update to 1.3.2d, addressing the following issues: 
beb7c5
  - mod_tls doesn't compile with pre-0.9.7 openssl (bug 3358) 
beb7c5
  - Lack of PID protection in ScoreboardFile (bug 3370) 
beb7c5
  - Crash when retrying a failed login with mod_radius being used (bug 3372) 
beb7c5
  - RADIUS authentication broken on 64-bit platforms (bug 3381) 
beb7c5
  - SIGHUP eventually causes certain DSO modules to segfault (bug 3387) 
beb7c5
7a4632
* Thu Dec 10 2009 Paul Howarth <paul@city-fan.org> 1.3.2c-1
7a4632
- Update to 1.3.2c, addressing the following issues:
7a4632
  - SSL/TLS renegotiation vulnerability (CVE-2009-3555, bug 3324)
7a4632
  - Failed database transaction can cause mod_quotatab to loop (bug 3228)
7a4632
  - Segfault in mod_wrap (bug 3332)
7a4632
  - <Directory> sections can have <Limit> problems (bug 3337)
7a4632
  - mod_wrap2 segfaults when a valid user retries the USER command (bug 3341)
7a4632
  - mod_auth_file handles 'getgroups' request incorrectly (bug 3347)
7a4632
  - Segfault caused by scrubbing zero-length portion of memory (bug 3350)
7a4632
- Drop upstreamed segfault patch
7a4632
6c9949
* Thu Dec 10 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-3
6c9949
- Add patch for upstream bug 3350 - segfault on auth failures
6c9949
01817b
* Wed Dec  9 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-2
01817b
- Reduce the mod_facts patch to the single commit addressing the issue with
01817b
  directory names with glob characters (#521634), avoiding introducing a
01817b
  further problem with <Limit> (#544002)
01817b
65d2f8
* Wed Oct 21 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-1
65d2f8
- Update to 1.3.2b
65d2f8
  - Fixed regression causing command-line define options not to work (bug 3221)
39d6c5
  - Fixed SSL/TLS cert subjectAltName verification (bug 3275, CVE-2009-3639)
65d2f8
  - Use correct cached user values with "SQLNegativeCache on" (bug 3282)
65d2f8
  - Fix slower transfers of multiple small files (bug 3284)
65d2f8
  - Support MaxTransfersPerHost, MaxTransfersPerUser properly (bug 3287)
65d2f8
  - Handle symlinks to directories with trailing slashes properly (bug 3297)
65d2f8
- Drop upstreamed defines patch (bug 3221)
65d2f8
70e21c
* Thu Sep 17 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-7
70e21c
- Restore backward SRPM compatibility broken by previous change
70e21c
70e21c
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-6
648e44
- Use password-auth common PAM configuration instead of system-auth
648e44
de8c2f
* Mon Sep  7 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-5
de8c2f
- Add upstream patch for MLSD with dirnames containing glob chars (#521634)
de8c2f
ef6963
* Wed Sep  2 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-4
ef6963
- New DSO module: mod_exec (#520214)
ef6963
70e21c
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-3.1
ef6963
- Rebuilt with new openssl
8b6507
3ae243
* Wed Aug 19 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-3
3ae243
- Use mod_vroot to work around PAM/chroot issues (#477120, #506735)
3ae243
ef760a
* Fri Jul 31 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-2
ef760a
- Add upstream patch to fix parallel build (http://bugs.proftpd.org/3189)
ef760a
1f47ac
* Mon Jul 27 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-1
1f47ac
- Update to 1.3.2a
ef760a
- Add patch to reinstate support for -DPARAMETER (http://bugs.proftpd.org/3221)
1f47ac
- Retain CAP_AUDIT_WRITE, needed for pam_loginuid (#506735, fixed upstream)
1f47ac
- Remove ScoreboardFile directive from configuration file - default value
1f47ac
  works better with SELinux (#498375)
1f47ac
- Ship mod_quotatab_sql.so in the main package rather than the SQL backend
1f47ac
  subpackages
1f47ac
- New DSO modules:
1f47ac
  - mod_ctrls_admin
1f47ac
  - mod_facl
1f47ac
  - mod_load
1f47ac
  - mod_quotatab_radius
1f47ac
  - mod_radius
1f47ac
  - mod_ratio
1f47ac
  - mod_rewrite
1f47ac
  - mod_site_misc
1f47ac
  - mod_wrap2
1f47ac
  - mod_wrap2_file
1f47ac
  - mod_wrap2_sql
1f47ac
- Enable mod_lang/nls support for RFC 2640 (and buildreq gettext)
1f47ac
- Add /etc/sysconfig/proftpd to set PROFTPD_OPTIONS and update initscript to
1f47ac
  use this value so we can use a define to enable (e.g.) anonymous FTP support
1f47ac
  rather than having a huge commented-out section in the config file
1f47ac
- Rewrite config file to remove most settings that don't change upstream
1f47ac
  defaults, and add brief descriptions for all available loadable modules
1f47ac
- Move Umask and IdentLookups settings from server config to <Global> context
1f47ac
  so that they apply to all servers, including virtual hosts (#509251)
1f47ac
- Ensure mod_ifsession is always the last one specified, which makes sure that
1f47ac
  mod_ifsession's changes are seen properly by other modules
1f47ac
- Drop pam version requirement - all targets have sufficiently recent version
1f47ac
- Drop redundant explicit dependency on pam
1f47ac
- Subpackages don't need to own %%{_libexecdir}/proftpd directory
1f47ac
- Drop redundant krb5-devel buildreq
1f47ac
- Make SRPM back-compatible with EPEL-4 (TLS cert dirs, PAM config)
1f47ac
- Don't include README files for non-Linux platforms
1f47ac
- Recode ChangeLog as UTF-8
1f47ac
- Don't ship the prxs tool for building custom DSO's since we don't ship the
1f47ac
  headers either
1f47ac
- Prevent stripping of binaries in a slightly more robust way
1f47ac
- Fix release tag to be ready for future beta/rc versions
1f47ac
- Define RPM macros in global scope
1f47ac
- BuildRequire libcap-devel so that we use the system library rather than the
1f47ac
  bundled one, and eliminate log messages like:
1f47ac
  kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
1f47ac
70e21c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.2-3.1
a0cf25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a0cf25
adb8af
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2.1
adb8af
- Update the tcp_wrappers BR to be just /usr/include/tcpd.h instead.
adb8af
a94213
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2
a94213
- Fix tcp_wrappers-devel BR conditional.
a94213
d961c6
* Mon Apr  6 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-1
d961c6
- Update to 1.3.2.
d961c6
- Include mod_wrap (#479813).
d961c6
- Tried to include mod_wrap2* modules but build failed.
d961c6
d961c6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
5f557a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5f557a
059114
* Sat Jan 24 2009 Caolán McNamara 1.3.2-0.3.rc3
1f47ac
- Rebuild for dependencies
059114
6dd660
* Fri Jan  2 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-0.2.rc3
6dd660
- Update default configuration to have a lit of available modules and more
6dd660
  example configuration for them.
6dd660
9d71c2
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 1.3.2-0.1.rc3
9d71c2
- Update to 1.3.2rc3 (fixes security issue #464127)
9d71c2
- Exclude new pkgconfig file, as we already exclude header files (if someone
9d71c2
  ever needs to rebuild something against this proftpd, just ask and I'll split
9d71c2
  out a devel package... but it seems pretty useless currently).
9d71c2
- Remove no longer needed find-umode_t patch.
9d71c2
0eccf2
* Fri Aug  8 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-6
0eccf2
- Add mod_ban support (#457289, Philip Prindeville).
0eccf2
0eccf2
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
f32163
- Autorebuild for GCC 4.3
f32163
c8dd5d
* Wed Feb 13 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-4
c8dd5d
- Pass --enable-shadow to also have it available, not just PAM (#378981).
c8dd5d
- Add mod_ifsession as DSO (#432539).
c8dd5d
279fbd
* Mon Dec 17 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-3
279fbd
- Rebuild for new openssl, patch from Paul Howarth.
279fbd
279fbd
* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-2
279fbd
- Include openldap schema file for quota support (Fran Taylor, #291891).
279fbd
- Include FDS compatible LDIF file for quota support (converted).
279fbd
- Prefix source welcome.msg for consistency.
c37d1e
0931d8
* Tue Oct  9 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-1
0931d8
- Update to 1.3.1 final.
0931d8
- Remove all patches (upstream).
0931d8
23b76f
* Sun Aug 19 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-0.2.rc3
01d405
- Update to 1.3.1rc3 (the only version to fix #237533 aka CVE-2007-2165).
01d405
- Remove all patches, none are useful anymore.
01d405
- Patch sstrncpy.c for config.h not being included (reported upstream #2964).
01d405
- Patch mod_sql_mysql.c to fix a typo (already fixed in CVS upstream).
01d405
- Exclude new headers, at least until some first 3rd party module shows up.
01d405
- Clean up old leftover CVS strings from our extra files.
01d405
- LSB-ize the init script (#247033).
01d405
- Explicitly pass --enable-openssl since configure tells us "(default=no)".
23b76f
- Include patch to fix open calls on F8.
01d405
651693
* Sun Aug 12 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-8
651693
- Fix logrotate entry to silence error when proftpd isn't running (#246392).
651693
130af7
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-7
130af7
- Include patch to fix "open" calls with recent glibc.
130af7
e4e610
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-6
e4e610
- Update License field.
e4e610
80c354
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-5
80c354
- Remove _smp_mflags to (hopefully) fix build failure.
80c354
367eb3
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
367eb3
- Fix PAM entry for F7+ (#244168). Still doesn't work with selinux, though.
367eb3
367eb3
* Fri May  4 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
367eb3
- Fix auth bypass vulnerability (#237533, upstream #2922)... not! :-(
367eb3
82d16b
* Tue Feb  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-3
82d16b
- Patch to fix local user buffer overflow in controls request handling, rhbz
82d16b
  bug #219938, proftpd bug #2867.
82d16b
d90081
* Mon Dec 11 2006 Matthias Saou <http://freshrpms.net/> 1.3.0a-2
d90081
- Rebuild against new PostgreSQL.
d90081
564b68
* Mon Nov 27 2006 Matthias Saou <http://freshrpms.net/> 1.3.0a-1
564b68
- Update to 1.3.0a, which actually fixes CVE-2006-5815... yes, #214820!).
564b68
c964e0
* Thu Nov 16 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-10
c964e0
- Fix cmdbufsize patch for missing CommandBufferSize case (#214820 once more).
c964e0
75bf1e
* Thu Nov 16 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-9
75bf1e
- Include mod_tls patch (#214820 too).
75bf1e
7d8bd7
* Mon Nov 13 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-8
7d8bd7
- Include cmdbufsize patch (#214820).
7d8bd7
dd03de
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-7
dd03de
- FC6 rebuild.
dd03de
dd03de
* Mon Aug 21 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-6
1a2353
- Add mod_quotatab, _file, _ldap and _sql (#134291).
1a2353
c872df
* Mon Jul  3 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-5
c872df
- Disable sendfile by default since it breaks displaying the download speed in
c872df
  ftptop and ftpwho (#196913).
c872df
c046bd
* Mon Jun 19 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-4
c046bd
- Include ctrls restart patch, see #195884 (patch from proftpd.org #2792).
c046bd
124be3
* Wed May 10 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-3
124be3
- Add commented section about DSO loading to the default proftpd.conf.
124be3
- Update TLS cert paths in the default proftpd.conf to /etc/pki/tls.
124be3
369976
* Fri Apr 28 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-2
369976
- Mark pam.d and logrotate.d config files as noreplace.
369976
- Include patch to remove -rpath to DESTDIR/usr/sbin/ in the proftpd binary
369976
  when DSO is enabled (#190122).
369976
e2e081
* Fri Apr 21 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-1
e2e081
- Update to 1.3.0 final.
e2e081
- Remove no longer needed PostgreSQL and OpenSSL detection workarounds.
e2e081
- Remove explicit conflicts on wu-ftpd, anonftp and vsftpd to let people
e2e081
  install more than one ftp daemon (what for? hmm...) (#189023).
e2e081
- Enable LDAP, MySQL and PostgreSQL as DSOs by default, and stuff them in
e2e081
  new sub-packages. This won't introduce any regression since they weren't
e2e081
  enabled by default.
e2e081
- Remove useless explicit requirements.
e2e081
- Rearrange scriplets requirements.
e2e081
- Enable ctrls (controls via ftpdctl) and facl (POSIX ACLs).
e2e081
- Using --disable-static makes the build fail, so exclude .a files in %%files.
e2e081
- Silence harmless IPv6 failure message at startup when IPv6 isn't available.
e2e081
0d048a
* Tue Mar  7 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.2.rc4
0d048a
- Update to 1.3.0rc4 (bugfix release).
0d048a
c844f7
* Mon Mar  6 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.2.rc3
c844f7
- FC5 rebuild.
c844f7
809802
* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.1.rc3
809802
- Update to 1.3.0rc3, which builds with the latest openssl.
809802
7a29a5
* Thu Nov 17 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-7
809802
- Rebuild against new openssl library... not.
7a29a5
562037
* Wed Jul 13 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-6
2b0444
- The provided pam.d file no longer works, use our own based on the one from
2b0444
  the vsftpd package (#163026).
2b0444
- Rename the pam.d file we use from 'ftp' to 'proftpd'.
2b0444
- Update deprecated AuthPAMAuthoritative in the config file (see README.PAM).
2b0444
69af80
* Tue May 10 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-4
69af80
- Disable stripping in order to get useful debuginfo packages.
69af80
69af80
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.2.10-3
5b2a91
- rebuilt
5b2a91
01a24d
* Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 1.2.10-2
01a24d
- Bump release to provide Extras upgrade path.
01a24d
01a24d
* Wed Sep 22 2004 Matthias Saou <http://freshrpms.net/> 1.2.10-1
01a24d
- Updated to release 1.2.10.
01a24d
01a24d
* Tue Jun 22 2004 Matthias Saou <http://freshrpms.net/> 1.2.9-8
01a24d
- Added ncurses-devel build requires to fix the ftptop utility.
01a24d
01a24d
* Fri Feb 26 2004 Magnus-swe <Magnus-swe@telia.com> 1.2.9-7
01a24d
- Fixed the scoreboard and pidfile issues.
01a24d
01a24d
* Fri Jan  9 2004 Matthias Saou <http://freshrpms.net/> 1.2.9-6
01a24d
- Pass /var/run/proftpd as localstatedir to configure to fix pid and
01a24d
  scoreboard file problems.
01a24d
01a24d
* Wed Dec 10 2003 Matthias Saou <http://freshrpms.net/> 1.2.9-4
01a24d
- Fixed the MySQL include path, thanks to Jim Richardson.
01a24d
- Renamed the postgres conditional build to postgresql.
01a24d
01a24d
* Tue Nov 11 2003 Matthias Saou <http://freshrpms.net/> 1.2.9-3
01a24d
- Renamed the xinetd service to xproftpd to avoid conflict.
01a24d
- Only HUP the standalone proftpd through logrotate if it's running.
01a24d
01a24d
* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 1.2.9-2
01a24d
- Rebuild for Fedora Core 1.
01a24d
- Modified the init script to make it i18n aware.
01a24d
01a24d
* Fri Oct 31 2003 Matthias Saou <http://freshrpms.net/> 1.2.9-1
01a24d
- Update to 1.2.9.
01a24d
01a24d
* Wed Sep 24 2003 Matthias Saou <http://freshrpms.net/>
01a24d
- Update to 1.2.8p to fix secutiry vulnerability.
01a24d
- Fix the TLS build option at last, enable it by default.
01a24d
01a24d
* Mon Aug  4 2003 Matthias Saou <http://freshrpms.net/>
01a24d
- Minor fixes in included README files.
01a24d
01a24d
* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
01a24d
- Rebuilt for Red Hat Linux 9.
01a24d
01a24d
* Thu Mar 13 2003 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.8.
cvsextras 59a0b0
- Remove the renamed linuxprivs module.
cvsextras 59a0b0
- Added TLS module build option.
cvsextras 59a0b0
01a24d
* Fri Dec 13 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Fix change for ScoreboardFile in the default conf, thanks to Sven Hoexter.
cvsextras 59a0b0
01a24d
* Mon Dec  9 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.7.
cvsextras 59a0b0
01a24d
* Thu Sep 26 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Rebuilt for Red Hat Linux 8.0.
cvsextras 59a0b0
01a24d
* Tue Sep 17 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.6.
cvsextras 59a0b0
- Fixed typo in the config for "AllowForeignAddress" thanks to Michel Kraus.
cvsextras 59a0b0
- Removed obsolete user install patch.
cvsextras 59a0b0
- Added "modular" ldap, mysql and postgresql support.
cvsextras 59a0b0
01a24d
* Mon Jun 10 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.5.
cvsextras 59a0b0
- Changed the welcome.msg to config so that it doesn't get replaced.
cvsextras 59a0b0
01a24d
* Fri May  3 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Rebuilt against Red Hat Linux 7.3.
cvsextras 59a0b0
- Added the %%{?_smp_mflags} expansion.
cvsextras 59a0b0
01a24d
* Tue Oct 23 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Changed the default config file : Where the pid file is stored, addedd
cvsextras 59a0b0
  an upload authorization in anon server, and separate anon logfiles.
cvsextras 59a0b0
- Updated welcome.msg to something nicer.
cvsextras 59a0b0
01a24d
* Fri Oct 19 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.4, since 1.2.3 had a nasty umask bug.
cvsextras 59a0b0
01a24d
* Sat Aug 18 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.2 final.
cvsextras 59a0b0
- Changed the default config file a lot.
cvsextras 59a0b0
01a24d
* Wed Apr 25 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.2rc2.
cvsextras 59a0b0
01a24d
* Mon Apr  1 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Update to 1.2.2rc1.
cvsextras 59a0b0
01a24d
* Tue Mar 20 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Added a DenyFilter to prevent a recently discovered DOS attack.
cvsextras 59a0b0
  This is only useful for fresh installs since the config file is not
cvsextras 59a0b0
  overwritten.
cvsextras 59a0b0
01a24d
* Fri Mar  2 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Upgraded to 1.2.1.
cvsextras 59a0b0
- New init script (added condrestart).
cvsextras 59a0b0
01a24d
* Tue Feb 27 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Upgraded to 1.2.0 final.
cvsextras 59a0b0
01a24d
* Tue Feb  6 2001 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Upgraded to 1.2.0rc3 (at last a new version!)
cvsextras 59a0b0
- Modified the spec file to support transparent upgrades
cvsextras 59a0b0
01a24d
* Wed Nov  8 2000 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
- Upgraded to the latest CVS to fix the "no PORT command" bug
cvsextras 59a0b0
- Fixed the ftpuser creation script
cvsextras 59a0b0
- Modified the default config file to easily change to an anonymous
cvsextras 59a0b0
  server
cvsextras 59a0b0
01a24d
* Sun Oct 15 2000 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
  [proftpd-1.2.0rc2-2]
cvsextras 59a0b0
- Updated the spec file and build process for RedHat 7.0
cvsextras 59a0b0
- Added xinetd support
cvsextras 59a0b0
- Added logrotate.d support
cvsextras 59a0b0
01a24d
* Fri Jul 28 2000 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
  [proftpd-1.2.0rc2-1]
cvsextras 59a0b0
- Upgraded to 1.2.0rc2
cvsextras 59a0b0
cvsextras 59a0b0
- Upgraded to 1.2.0rc1
01a24d
* Sat Jul 22 2000 Matthias Saou <http://freshrpms.net/>
cvsextras 59a0b0
  [proftpd-1.2.0rc1-1]
cvsextras 59a0b0
- Upgraded to 1.2.0rc1
cvsextras 59a0b0
- Re-did the whole spec file (it's hopefully cleaner now)
cvsextras 59a0b0
- Made a patch to be able to build the RPM as an other user than root
cvsextras 59a0b0
- Added default pam support (but without /etc/shells check)
cvsextras 59a0b0
- Rewrote the rc.d script (mostly exit levels and ftpshut stuff)
cvsextras 59a0b0
- Modified the default configuration file to not display a version number
cvsextras 59a0b0
- Changed the package to standalone in one single RPM easily changeable
cvsextras 59a0b0
  to inetd (for not-so-newbie users)
cvsextras 59a0b0
- Fixed the ftpusers generating shell script (missing "nu"s for me...)
cvsextras 59a0b0
- Removed mod_ratio (usually used with databases modules anyway)
cvsextras 59a0b0
- Removed the prefix (relocations a rarely used on non-X packages)
cvsextras 59a0b0
- Gzipped the man pages
cvsextras 59a0b0
cvsextras 59a0b0
* Thu Oct 03 1999 O.Elliyasa <osman@Cable.EU.org>
cvsextras 59a0b0
- Multi package creation.
cvsextras 59a0b0
  Created core, standalone, inetd (&doc) package creations.
cvsextras 59a0b0
  Added startup script for init.d
cvsextras 59a0b0
  Need to make the "standalone & inetd" packages being created as "noarch"
cvsextras 59a0b0
- Added URL.
cvsextras 59a0b0
- Added prefix to make the package relocatable.
cvsextras 59a0b0
cvsextras 59a0b0
* Wed Sep 08 1999 O.Elliyasa <osman@Cable.EU.org>
cvsextras 59a0b0
- Corrected inetd.conf line addition/change logic.
cvsextras 59a0b0
cvsextras 59a0b0
* Sat Jul 24 1999 MacGyver <macgyver@tos.net>
cvsextras 59a0b0
- Initial import of spec.
cvsextras 59a0b0