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