f76d2e2
# Use certs in %{_sysconfdir}/pki/tls/certs if available (FC4, RHEL5 onwards)
f76d2e2
%global use_pki %(if [ -d %{_sysconfdir}/pki/tls/certs ]; then echo 1; else echo 0; fi)
f76d2e2
%if %{use_pki}
f76d2e2
%global pkidir %{_sysconfdir}/pki/tls
49ae79d
%else
f76d2e2
%global pkidir %{_datadir}/ssl
49ae79d
%endif
f76d2e2
f76d2e2
#global prever rc3
5c4abc2
%global rpmrel 1
f76d2e2
f76d2e2
Summary:		Flexible, stable and highly-configurable FTP server
f76d2e2
Name:			proftpd
5c4abc2
Version:		1.3.2b
f76d2e2
Release:		%{?prever:0.}%{rpmrel}%{?prever:.%{prever}}%{?dist}
f76d2e2
License:		GPLv2+
f76d2e2
Group:			System Environment/Daemons
f76d2e2
URL:			http://www.proftpd.org/
f76d2e2
Source0:		ftp://ftp.proftpd.org/distrib/source/proftpd-%{version}%{?prever}.tar.bz2
f76d2e2
Source1:		proftpd.conf
f76d2e2
Source2:		proftpd.init
f76d2e2
Source3:		proftpd-xinetd
f76d2e2
Source4:		proftpd.logrotate
f76d2e2
Source5:		proftpd-welcome.msg
f76d2e2
Source6:		proftpd.pam
f76d2e2
Source7:		proftpd-mod_quotatab_ldap.ldif
f76d2e2
Source8:		proftpd-mod_quotatab_ldap.schema
f76d2e2
Source9:		proftpd.sysconfig
fca1acf
Source10:		http://www.castaglia.org/proftpd/modules/proftpd-mod-vroot-0.8.5.tar.gz
15b44e8
Source11:		http://www.castaglia.org/proftpd/modules/proftpd-mod-exec-0.9.6.tar.gz
f76d2e2
Patch0:			proftpd-1.3.2rc3-nostrip.patch
f76d2e2
Patch2:			proftpd-1.3.2-parallel-build.patch
a4ecbbd
Patch3:			proftpd-1.3.2a-mlsd.patch
f76d2e2
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root
f76d2e2
Requires(post):		/sbin/chkconfig
f76d2e2
Requires(preun):	/sbin/service, /sbin/chkconfig, coreutils, findutils
f76d2e2
Requires(postun):	/sbin/service
f76d2e2
BuildRequires:		pam-devel, ncurses-devel, pkgconfig, gettext, zlib-devel
f76d2e2
BuildRequires:		openssl-devel, libacl-devel, libcap-devel, /usr/include/tcpd.h
f76d2e2
BuildRequires:		openldap-devel, mysql-devel, postgresql-devel
f76d2e2
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
6757b5a
6757b5a
%package ldap
f76d2e2
Summary:	Module to add LDAP support to the ProFTPD FTP server
f76d2e2
Group:		System Environment/Daemons
f76d2e2
Requires:	%{name} = %{version}-%{release}
6757b5a
6757b5a
%description ldap
6757b5a
Module to add LDAP support to the ProFTPD FTP server.
6757b5a
6757b5a
6757b5a
%package mysql
f76d2e2
Summary:	Module to add MySQL support to the ProFTPD FTP server
f76d2e2
Group:		System Environment/Daemons
f76d2e2
Requires:	%{name} = %{version}-%{release}
6757b5a
6757b5a
%description mysql
6757b5a
Module to add MySQL support to the ProFTPD FTP server.
6757b5a
6757b5a
6757b5a
%package postgresql
f76d2e2
Summary:	Module to add PostgreSQL support to the ProFTPD FTP server
f76d2e2
Group:		System Environment/Daemons
f76d2e2
Requires:	%{name} = %{version}-%{release}
6757b5a
6757b5a
%description postgresql
6757b5a
Module to add PostgreSQL support to the ProFTPD FTP server.
01a24d4
cvsextras 59a0b03
cvsextras 59a0b03
%prep
15b44e8
%setup -q -n %{name}-%{version}%{?prever} -a 10 -a 11
fca1acf
15b44e8
# Copy mod_vroot source and documentation into place
fca1acf
%{__cp} -p mod_vroot/mod_vroot.c contrib/
15b44e8
%{__cp} -p mod_vroot/mod_vroot.html doc/contrib/
15b44e8
15b44e8
# Copy mod_exec source and documentation into place
15b44e8
%{__cp} -p mod_exec/mod_exec.c contrib/
15b44e8
%{__cp} -p mod_exec/mod_exec.html doc/contrib/
01a24d4
f76d2e2
# Don't strip binaries - needed for useful debuginfo
f76d2e2
%patch0 -p1 -b .nostrip
f76d2e2
f76d2e2
# Fix parallel build (http://bugs.proftpd.org/3189)
f76d2e2
%patch2 -p1 -b .parallel
f76d2e2
a4ecbbd
# Fix MLSD for directories containing shell metacharacters (#521634)
a4ecbbd
# (upstream patch)
a4ecbbd
%patch3 -p1 -b .mlsd
a4ecbbd
f76d2e2
# Avoid documentation name conflicts
f76d2e2
%{__mv} contrib/README contrib/README.contrib
f76d2e2
f76d2e2
# Set up directory names in config file
f76d2e2
%{__sed} -e 's#@PKIDIR@#%{pkidir}#g' \
f76d2e2
	%{SOURCE1} > proftpd.conf
f76d2e2
f76d2e2
# Avoid docfile dependencies
f76d2e2
%{__chmod} -x contrib/xferstats.holger-preiss
f76d2e2
f76d2e2
# Copy in LDAP schema/LDIF
f76d2e2
%{__cp} -p %{SOURCE7} 70proftpd-quota.ldif
f76d2e2
%{__cp} -p %{SOURCE8} proftpd-quota.schema
f76d2e2
f76d2e2
# PAM Configuration:
5c4abc2
# Default PAM configuration file uses password-auth common config;
5c4abc2
# revert to system-auth if password-auth is not available
5c4abc2
%{__cp} -p %{SOURCE6} .
5c4abc2
if [ ! -f /etc/pam.d/password-auth ]; then
5c4abc2
	%{__sed} -i -e s/password-auth/system-auth/ proftpd.pam
5c4abc2
fi
f76d2e2
# The "include" syntax used in our PAM configuration file was introduced in
f76d2e2
# PAM 0.78 and is therefore supported in FC-5 and EL-5 onwards; older
f76d2e2
# distributions such as EL-4 (PAM 0.77) need to fall back to using the
f76d2e2
# now-deprecated pam_stack module. Since the pam-devel package doesn't
5c4abc2
# include a pkgconfig file from which we could check the version number, we
f76d2e2
# instead check for the absence of the file /etc/pam.d/config-util, which is
f76d2e2
# present in all PAM packages from 0.80 onwards and acts as a useful
f76d2e2
# indicator of the need to fall back to pam_stack.
f76d2e2
[ ! -f /etc/pam.d/config-util ] && %{__sed} -i -e \
f76d2e2
	's/include[[:space:]]*system-auth/required'\ \ \ \ \ 'pam_stack.so service=system-auth/' \
f76d2e2
	proftpd.pam
f76d2e2
f76d2e2
# Fix character encoding in docs
f76d2e2
for f in ChangeLog; do
f76d2e2
	/usr/bin/iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf-8
f76d2e2
	%{__mv} -f ${f}.utf-8 ${f}
f76d2e2
done
cvsextras 59a0b03
cvsextras 59a0b03
%build
f76d2e2
f76d2e2
# Modules to be built as DSO's (excluding mod_ifsession, always specified last)
f76d2e2
SMOD1=mod_sql:mod_sql_mysql:mod_sql_postgres
f76d2e2
SMOD2=mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_radius:mod_quotatab_sql
f76d2e2
SMOD3=mod_ldap:mod_ban:mod_wrap:mod_ctrls_admin:mod_facl:mod_load
15b44e8
SMOD4=mod_radius:mod_ratio:mod_rewrite:mod_site_misc:mod_exec
f76d2e2
SMOD5=mod_wrap2:mod_wrap2_file:mod_wrap2_sql
9341968
cvsextras 59a0b03
%configure \
f76d2e2
	--libexecdir="%{_libexecdir}/proftpd" \
f76d2e2
	--localstatedir="%{_localstatedir}/run" \
f76d2e2
	--enable-ctrls \
f76d2e2
	--enable-dso \
f76d2e2
	--enable-facl \
f76d2e2
	--enable-ipv6 \
f76d2e2
	--enable-nls \
f76d2e2
	--enable-openssl \
f76d2e2
	--enable-shadow \
f76d2e2
	--with-libraries="%{_libdir}/mysql" \
f76d2e2
	--with-includes="%{_includedir}/mysql" \
fca1acf
	--with-modules=mod_readme:mod_auth_pam:mod_tls:mod_vroot \
f76d2e2
	--with-shared=${SMOD1}:${SMOD2}:${SMOD3}:${SMOD4}:${SMOD5}:mod_ifsession
f76d2e2
f76d2e2
%{__make} %{?_smp_mflags}
01a24d4
cvsextras 59a0b03
cvsextras 59a0b03
%install
01a24d4
%{__rm} -rf %{buildroot}
6757b5a
%{__make} install DESTDIR=%{buildroot} \
f76d2e2
	rundir="%{_localstatedir}/run/proftpd" \
f76d2e2
	INSTALL_USER=`%{__id} -un` \
f76d2e2
	INSTALL_GROUP=`%{__id} -gn`
f76d2e2
%{__install} -D -p -m 640 proftpd.conf	%{buildroot}%{_sysconfdir}/proftpd.conf
f76d2e2
%{__install} -D -p -m 644 proftpd.pam	%{buildroot}%{_sysconfdir}/pam.d/proftpd
f76d2e2
%{__install} -D -p -m 755 %{SOURCE2}	%{buildroot}%{_sysconfdir}/rc.d/init.d/proftpd
f76d2e2
%{__install} -D -p -m 644 %{SOURCE3}	%{buildroot}%{_sysconfdir}/xinetd.d/xproftpd
f76d2e2
%{__install} -D -p -m 644 %{SOURCE4}	%{buildroot}%{_sysconfdir}/logrotate.d/proftpd
f76d2e2
%{__install} -D -p -m 644 %{SOURCE5}	%{buildroot}%{_localstatedir}/ftp/welcome.msg
f76d2e2
%{__install} -D -p -m 644 %{SOURCE9}	%{buildroot}%{_sysconfdir}/sysconfig/proftpd
f76d2e2
%{__mkdir_p} %{buildroot}%{_localstatedir}/{ftp/{pub,uploads},log/proftpd}
f76d2e2
/bin/touch %{buildroot}%{_sysconfdir}/ftpusers
f76d2e2
f76d2e2
# Find translations
f76d2e2
%find_lang proftpd
cvsextras 59a0b03
01a24d4
01a24d4
%clean
01a24d4
%{__rm} -rf %{buildroot}
01a24d4
01a24d4
cvsextras 59a0b03
%post
6757b5a
if [ $1 -eq 1 ]; then
f76d2e2
	/sbin/chkconfig --add proftpd
f76d2e2
	IFS=":"; %{__cat} /etc/passwd | \
f76d2e2
	while { read username nu nu gid nu nu nu nu; }; do \
f76d2e2
		if [ $gid -lt 100 -a "$username" != "ftp" ]; then
f76d2e2
			echo $username >> %{_sysconfdir}/ftpusers
f76d2e2
		fi
f76d2e2
	done
cvsextras 59a0b03
fi
cvsextras 59a0b03
cvsextras 59a0b03
%preun
6757b5a
if [ $1 -eq 0 ]; then
f76d2e2
	/sbin/service proftpd stop &>/dev/null || :
f76d2e2
	/sbin/chkconfig --del proftpd || :
f76d2e2
	/sbin/service xinetd reload &>/dev/null || :
f76d2e2
	/usr/bin/find %{_localstatedir}/run/proftpd -depth -mindepth 1 |
f76d2e2
		/usr/bin/xargs %{__rm} -rf &>/dev/null || :
cvsextras 59a0b03
fi
cvsextras 59a0b03
cvsextras 59a0b03
%postun
cvsextras 59a0b03
if [ $1 -ge 1 ]; then
f76d2e2
	/sbin/service proftpd condrestart &>/dev/null || :
cvsextras 59a0b03
fi
cvsextras 59a0b03
cvsextras 59a0b03
f76d2e2
%files -f proftpd.lang
6757b5a
%defattr(-,root,root,-)
f76d2e2
%doc COPYING CREDITS ChangeLog NEWS README
f76d2e2
%doc README.DSO README.modules README.IPv6 README.PAM
f76d2e2
%doc README.capabilities README.classes README.controls README.facl
f76d2e2
%doc contrib/README.contrib contrib/README.ratio
f76d2e2
%doc doc/* sample-configurations/ contrib/xferstats.holger-preiss
f76d2e2
%dir %{_localstatedir}/ftp/
f76d2e2
%dir %{_localstatedir}/ftp/pub/
01a24d4
%dir %{_localstatedir}/run/proftpd/
f76d2e2
%config(noreplace) %{_localstatedir}/ftp/welcome.msg
f76d2e2
%config(noreplace) %{_sysconfdir}/ftpusers
f76d2e2
%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
f76d2e2
%config(noreplace) %{_sysconfdir}/pam.d/proftpd
cvsextras 59a0b03
%config(noreplace) %{_sysconfdir}/proftpd.conf
f76d2e2
%config(noreplace) %{_sysconfdir}/sysconfig/proftpd
01a24d4
%config(noreplace) %{_sysconfdir}/xinetd.d/xproftpd
cvsextras 59a0b03
%{_sysconfdir}/rc.d/init.d/proftpd
f76d2e2
%{_bindir}/ftpcount
f76d2e2
%{_bindir}/ftpdctl
f76d2e2
%{_bindir}/ftptop
f76d2e2
%{_bindir}/ftpwho
f76d2e2
%exclude %{_bindir}/prxs
f76d2e2
%{_sbindir}/ftpshut
f76d2e2
%{_sbindir}/in.proftpd
f76d2e2
%{_sbindir}/proftpd
f76d2e2
%{_mandir}/man1/ftpcount.1*
f76d2e2
%{_mandir}/man1/ftptop.1*
f76d2e2
%{_mandir}/man1/ftpwho.1*
f76d2e2
%{_mandir}/man5/xferlog.5*
f76d2e2
%{_mandir}/man8/ftpdctl.8*
f76d2e2
%{_mandir}/man8/ftpshut.8*
f76d2e2
%{_mandir}/man8/proftpd.8*
ce550a8
%exclude %{_includedir}/proftpd/
49ae79d
%exclude %{_libdir}/pkgconfig/
6757b5a
%dir %{_libexecdir}/proftpd/
389cd2e
%{_libexecdir}/proftpd/mod_ban.so
f76d2e2
%{_libexecdir}/proftpd/mod_ctrls_admin.so
15b44e8
%{_libexecdir}/proftpd/mod_exec.so
f76d2e2
%{_libexecdir}/proftpd/mod_facl.so
389cd2e
%{_libexecdir}/proftpd/mod_ifsession.so
f76d2e2
%{_libexecdir}/proftpd/mod_load.so
6757b5a
%{_libexecdir}/proftpd/mod_quotatab.so
6757b5a
%{_libexecdir}/proftpd/mod_quotatab_file.so
f76d2e2
%{_libexecdir}/proftpd/mod_quotatab_radius.so
f76d2e2
%{_libexecdir}/proftpd/mod_quotatab_sql.so
f76d2e2
%{_libexecdir}/proftpd/mod_radius.so
f76d2e2
%{_libexecdir}/proftpd/mod_ratio.so
f76d2e2
%{_libexecdir}/proftpd/mod_rewrite.so
f76d2e2
%{_libexecdir}/proftpd/mod_site_misc.so
6757b5a
%{_libexecdir}/proftpd/mod_sql.so
49ae79d
%{_libexecdir}/proftpd/mod_wrap.so
f76d2e2
%{_libexecdir}/proftpd/mod_wrap2.so
f76d2e2
%{_libexecdir}/proftpd/mod_wrap2_file.so
f76d2e2
%{_libexecdir}/proftpd/mod_wrap2_sql.so
6757b5a
%exclude %{_libexecdir}/proftpd/*.a
6757b5a
%exclude %{_libexecdir}/proftpd/*.la
f76d2e2
%attr(331, ftp, ftp) %dir %{_localstatedir}/ftp/uploads/
f76d2e2
%attr(750, root, root) %dir %{_localstatedir}/log/proftpd/
01a24d4
6757b5a
%files ldap
6757b5a
%defattr(-,root,root,-)
f76d2e2
%doc README.LDAP 70proftpd-quota.ldif proftpd-quota.schema
6757b5a
%{_libexecdir}/proftpd/mod_ldap.so
6757b5a
%{_libexecdir}/proftpd/mod_quotatab_ldap.so
6757b5a
6757b5a
%files mysql
6757b5a
%defattr(-,root,root,-)
6757b5a
%{_libexecdir}/proftpd/mod_sql_mysql.so
6757b5a
6757b5a
%files postgresql
6757b5a
%defattr(-,root,root,-)
6757b5a
%{_libexecdir}/proftpd/mod_sql_postgres.so
6757b5a
cvsextras 59a0b03
cvsextras 59a0b03
%changelog
5c4abc2
* Wed Oct 21 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-1
5c4abc2
- Update to 1.3.2b
5c4abc2
  - Fixed regression causing command-line define options not to work (bug 3221)
5c4abc2
  - Fixed SSL/TLS cert subjectAltName verification (bug 3275, CVE-2009-3639)
5c4abc2
  - Use correct cached user values with "SQLNegativeCache on" (bug 3282)
5c4abc2
  - Fix slower transfers of multiple small files (bug 3284)
5c4abc2
  - Support MaxTransfersPerHost, MaxTransfersPerUser properly (bug 3287)
5c4abc2
  - Handle symlinks to directories with trailing slashes properly (bug 3297)
5c4abc2
- Drop upstreamed defines patch (bug 3221)
5c4abc2
5c4abc2
* Thu Sep 17 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-7
5c4abc2
- Restore backward SRPM compatibility broken by previous change
5c4abc2
5c4abc2
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-6
5c4abc2
- Use password-auth common PAM configuration instead of system-auth
5c4abc2
a4ecbbd
* Mon Sep  7 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-5
a4ecbbd
- Add upstream patch for MLSD with dirnames containing glob chars (#521634)
a4ecbbd
15b44e8
* Wed Sep  2 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-4
15b44e8
- New DSO module: mod_exec (#520214)
15b44e8
5c4abc2
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-3.1
15b44e8
- Rebuilt with new openssl
15b44e8
fca1acf
* Wed Aug 19 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-3
fca1acf
- Use mod_vroot to work around PAM/chroot issues (#477120, #506735)
fca1acf
f76d2e2
* Fri Jul 31 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-2
f76d2e2
- Add upstream patch to fix parallel build (http://bugs.proftpd.org/3189)
f76d2e2
f76d2e2
* Mon Jul 27 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-1
f76d2e2
- Update to 1.3.2a
f76d2e2
- Add patch to reinstate support for -DPARAMETER (http://bugs.proftpd.org/3221)
f76d2e2
- Retain CAP_AUDIT_WRITE, needed for pam_loginuid (#506735, fixed upstream)
f76d2e2
- Remove ScoreboardFile directive from configuration file - default value
f76d2e2
  works better with SELinux (#498375)
f76d2e2
- Ship mod_quotatab_sql.so in the main package rather than the SQL backend
f76d2e2
  subpackages
f76d2e2
- New DSO modules:
f76d2e2
  - mod_ctrls_admin
f76d2e2
  - mod_facl
f76d2e2
  - mod_load
f76d2e2
  - mod_quotatab_radius
f76d2e2
  - mod_radius
f76d2e2
  - mod_ratio
f76d2e2
  - mod_rewrite
f76d2e2
  - mod_site_misc
f76d2e2
  - mod_wrap2
f76d2e2
  - mod_wrap2_file
f76d2e2
  - mod_wrap2_sql
f76d2e2
- Enable mod_lang/nls support for RFC 2640 (and buildreq gettext)
f76d2e2
- Add /etc/sysconfig/proftpd to set PROFTPD_OPTIONS and update initscript to
f76d2e2
  use this value so we can use a define to enable (e.g.) anonymous FTP support
f76d2e2
  rather than having a huge commented-out section in the config file
f76d2e2
- Rewrite config file to remove most settings that don't change upstream
f76d2e2
  defaults, and add brief descriptions for all available loadable modules
f76d2e2
- Move Umask and IdentLookups settings from server config to <Global> context
f76d2e2
  so that they apply to all servers, including virtual hosts (#509251)
f76d2e2
- Ensure mod_ifsession is always the last one specified, which makes sure that
f76d2e2
  mod_ifsession's changes are seen properly by other modules
f76d2e2
- Drop pam version requirement - all targets have sufficiently recent version
f76d2e2
- Drop redundant explicit dependency on pam
f76d2e2
- Subpackages don't need to own %%{_libexecdir}/proftpd directory
f76d2e2
- Drop redundant krb5-devel buildreq
f76d2e2
- Make SRPM back-compatible with EPEL-4 (TLS cert dirs, PAM config)
f76d2e2
- Don't include README files for non-Linux platforms
f76d2e2
- Recode ChangeLog as UTF-8
f76d2e2
- Don't ship the prxs tool for building custom DSO's since we don't ship the
f76d2e2
  headers either
f76d2e2
- Prevent stripping of binaries in a slightly more robust way
f76d2e2
- Fix release tag to be ready for future beta/rc versions
f76d2e2
- Define RPM macros in global scope
f76d2e2
- BuildRequire libcap-devel so that we use the system library rather than the
f76d2e2
  bundled one, and eliminate log messages like:
f76d2e2
  kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
f76d2e2
5c4abc2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.2-3.1
f76d2e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f76d2e2
f76d2e2
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2.1
f76d2e2
- Update the tcp_wrappers BR to be just /usr/include/tcpd.h instead.
f76d2e2
f76d2e2
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2
f76d2e2
- Fix tcp_wrappers-devel BR conditional.
f76d2e2
49ae79d
* Mon Apr  6 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-1
49ae79d
- Update to 1.3.2.
49ae79d
- Include mod_wrap (#479813).
49ae79d
- Tried to include mod_wrap2* modules but build failed.
49ae79d
49ae79d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
49ae79d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
49ae79d
49ae79d
* Sat Jan 24 2009 Caolán McNamara 1.3.2-0.3.rc3
f76d2e2
- Rebuild for dependencies
49ae79d
49ae79d
* Fri Jan  2 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-0.2.rc3
62fb5f0
- Update default configuration to have a lit of available modules and more
62fb5f0
  example configuration for them.
62fb5f0
49ae79d
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 1.3.2-0.1.rc3
49ae79d
- Update to 1.3.2rc3 (fixes security issue #464127)
49ae79d
- Exclude new pkgconfig file, as we already exclude header files (if someone
49ae79d
  ever needs to rebuild something against this proftpd, just ask and I'll split
49ae79d
  out a devel package... but it seems pretty useless currently).
49ae79d
- Remove no longer needed find-umode_t patch.
389cd2e
389cd2e
* Fri Aug  8 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-6
389cd2e
- Add mod_ban support (#457289, Philip Prindeville).
389cd2e
389cd2e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
389cd2e
- Autorebuild for GCC 4.3
389cd2e
389cd2e
* Wed Feb 13 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-4
389cd2e
- Pass --enable-shadow to also have it available, not just PAM (#378981).
389cd2e
- Add mod_ifsession as DSO (#432539).
389cd2e
ce550a8
* Mon Dec 17 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-3
ce550a8
- Rebuild for new openssl, patch from Paul Howarth.
ce550a8
ce550a8
* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-2
ce550a8
- Include openldap schema file for quota support (Fran Taylor, #291891).
ce550a8
- Include FDS compatible LDIF file for quota support (converted).
ce550a8
- Prefix source welcome.msg for consistency.
ce550a8
ce550a8
* Tue Oct  9 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-1
ce550a8
- Update to 1.3.1 final.
ce550a8
- Remove all patches (upstream).
ce550a8
ce550a8
* Sun Aug 19 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-0.2.rc3
ce550a8
- Update to 1.3.1rc3 (the only version to fix #237533 aka CVE-2007-2165).
ce550a8
- Remove all patches, none are useful anymore.
ce550a8
- Patch sstrncpy.c for config.h not being included (reported upstream #2964).
ce550a8
- Patch mod_sql_mysql.c to fix a typo (already fixed in CVS upstream).
ce550a8
- Exclude new headers, at least until some first 3rd party module shows up.
ce550a8
- Clean up old leftover CVS strings from our extra files.
ce550a8
- LSB-ize the init script (#247033).
ce550a8
- Explicitly pass --enable-openssl since configure tells us "(default=no)".
ce550a8
- Include patch to fix open calls on F8.
ce550a8
6757b5a
* Sun Aug 12 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-8
6757b5a
- Fix logrotate entry to silence error when proftpd isn't running (#246392).
6757b5a
6757b5a
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-7
6757b5a
- Include patch to fix "open" calls with recent glibc.
6757b5a
6757b5a
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-6
6757b5a
- Update License field.
6757b5a
6757b5a
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-5
6757b5a
- Remove _smp_mflags to (hopefully) fix build failure.
6757b5a
6757b5a
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
6757b5a
- Fix PAM entry for F7+ (#244168). Still doesn't work with selinux, though.
6757b5a
6757b5a
* Fri May  4 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
6757b5a
- Fix auth bypass vulnerability (#237533, upstream #2922)... not! :-(
6757b5a
6757b5a
* Tue Feb  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-3
6757b5a
- Patch to fix local user buffer overflow in controls request handling, rhbz
6757b5a
  bug #219938, proftpd bug #2867.
6757b5a
6757b5a
* Mon Dec 11 2006 Matthias Saou <http://freshrpms.net/> 1.3.0a-2
6757b5a
- Rebuild against new PostgreSQL.
6757b5a
6757b5a
* Mon Nov 27 2006 Matthias Saou <http://freshrpms.net/> 1.3.0a-1
6757b5a
- Update to 1.3.0a, which actually fixes CVE-2006-5815... yes, #214820!).
6757b5a
6757b5a
* Thu Nov 16 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-10
6757b5a
- Fix cmdbufsize patch for missing CommandBufferSize case (#214820 once more).
6757b5a
6757b5a
* Thu Nov 16 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-9
6757b5a
- Include mod_tls patch (#214820 too).
6757b5a
6757b5a
* Mon Nov 13 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-8
6757b5a
- Include cmdbufsize patch (#214820).
6757b5a
6757b5a
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-7
6757b5a
- FC6 rebuild.
6757b5a
6757b5a
* Mon Aug 21 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-6
6757b5a
- Add mod_quotatab, _file, _ldap and _sql (#134291).
6757b5a
6757b5a
* Mon Jul  3 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-5
6757b5a
- Disable sendfile by default since it breaks displaying the download speed in
6757b5a
  ftptop and ftpwho (#196913).
6757b5a
6757b5a
* Mon Jun 19 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-4
6757b5a
- Include ctrls restart patch, see #195884 (patch from proftpd.org #2792).
6757b5a
6757b5a
* Wed May 10 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-3
6757b5a
- Add commented section about DSO loading to the default proftpd.conf.
6757b5a
- Update TLS cert paths in the default proftpd.conf to /etc/pki/tls.
6757b5a
6757b5a
* Fri Apr 28 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-2
6757b5a
- Mark pam.d and logrotate.d config files as noreplace.
6757b5a
- Include patch to remove -rpath to DESTDIR/usr/sbin/ in the proftpd binary
6757b5a
  when DSO is enabled (#190122).
6757b5a
6757b5a
* Fri Apr 21 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-1
6757b5a
- Update to 1.3.0 final.
6757b5a
- Remove no longer needed PostgreSQL and OpenSSL detection workarounds.
6757b5a
- Remove explicit conflicts on wu-ftpd, anonftp and vsftpd to let people
6757b5a
  install more than one ftp daemon (what for? hmm...) (#189023).
6757b5a
- Enable LDAP, MySQL and PostgreSQL as DSOs by default, and stuff them in
6757b5a
  new sub-packages. This won't introduce any regression since they weren't
6757b5a
  enabled by default.
6757b5a
- Remove useless explicit requirements.
6757b5a
- Rearrange scriplets requirements.
6757b5a
- Enable ctrls (controls via ftpdctl) and facl (POSIX ACLs).
6757b5a
- Using --disable-static makes the build fail, so exclude .a files in %%files.
6757b5a
- Silence harmless IPv6 failure message at startup when IPv6 isn't available.
6757b5a
6757b5a
* Tue Mar  7 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.2.rc4
6757b5a
- Update to 1.3.0rc4 (bugfix release).
6757b5a
6757b5a
* Mon Mar  6 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.2.rc3
6757b5a
- FC5 rebuild.
6757b5a
6757b5a
* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-0.1.rc3
6757b5a
- Update to 1.3.0rc3, which builds with the latest openssl.
6757b5a
6757b5a
* Thu Nov 17 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-7
6757b5a
- Rebuild against new openssl library... not.
6757b5a
f372b4c
* Wed Jul 13 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-6
9341968
- The provided pam.d file no longer works, use our own based on the one from
9341968
  the vsftpd package (#163026).
9341968
- Rename the pam.d file we use from 'ftp' to 'proftpd'.
9341968
- Update deprecated AuthPAMAuthoritative in the config file (see README.PAM).
9341968
9341968
* Tue May 10 2005 Matthias Saou <http://freshrpms.net/> 1.2.10-4
9341968
- Disable stripping in order to get useful debuginfo packages.
9341968
9341968
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.2.10-3
9341968
- rebuilt
9341968
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