060da19
#
060da19
# Rebuild switch:
039bf80
#  --with integrationtests	enable integration tests (not fully maintained, likely to fail)
060da19
#
060da19
660e337
# This package uses systemd init from Fedora 16, but can use it for
660e337
# Fedora 15 if built using --with systemd
660e337
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
660e337
%global _with_systemd --with-systemd
660e337
%endif
660e337
%global use_systemd %{!?_with_systemd:0}%{?_with_systemd:1}
660e337
660e337
# With systemd, the runtime directory is /run rather than /var/run
660e337
%if %{use_systemd}
660e337
%global rundir /run
660e337
%else
660e337
%global rundir %{_localstatedir}/run
660e337
%endif
660e337
660e337
# rundir (/var/run or /run) is on tmpfs from Fedora 15, RHEL 7
660e337
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
660e337
%global rundir_tmpfs 1
660e337
%endif
660e337
f2afd01
# Support systemd presets from Fedora 18, RHEL 7
f2afd01
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
001a58e
%global preset_support 1
001a58e
%endif
001a58e
3c856a0
# For memcached support we need libmemcached >= 0.41, available from F-14 (EL-6 and below have libmemcached 0.31)
3c856a0
%if 0%{?rhel} > 6 || 0%{?fedora} > 13
3c856a0
%global have_libmemcached 1
3c856a0
%endif
3c856a0
1b40612
# Do a hardened build where possible
0ee2d8c
%global _hardened_build 1
1b40612
6769e3d
#global prever rc3
e8ed426
%global rpmrel 4
039bf80
%global mod_vroot_version 0.9.5
1f47ac5
1f47ac5
Summary:		Flexible, stable and highly-configurable FTP server
1f47ac5
Name:			proftpd
039bf80
Version:		1.3.6
ec180e9
Release:		%{?prever:0.}%{rpmrel}%{?prever:.%{prever}}%{?dist}.1
1f47ac5
License:		GPLv2+
1f47ac5
URL:			http://www.proftpd.org/
039bf80
0a7e092
Source0:		ftp://ftp.proftpd.org/distrib/source/proftpd-%{version}%{?prever}.tar.gz
1f47ac5
Source1:		proftpd.conf
1f47ac5
Source5:		proftpd-welcome.msg
1f47ac5
Source9:		proftpd.sysconfig
0ae195f
Source10:		http://github.com/Castaglia/proftpd-mod_vroot/archive/v%{mod_vroot_version}.tar.gz
039bf80
039bf80
Patch1:			proftpd-1.3.6-shellbang.patch
3c856a0
Patch2:			proftpd.conf-no-memcached.patch
039bf80
Patch3:			proftpd-1.3.4rc1-mod_vroot-test.patch
039bf80
039bf80
Patch100:		https://github.com/proftpd/proftpd/commit/459693c7.patch
039bf80
Patch101:		https://github.com/proftpd/proftpd/commit/389cc579.patch
039bf80
Patch102:		https://github.com/proftpd/proftpd/commit/1825a2b8.patch
039bf80
Patch103:		https://github.com/proftpd/proftpd/commit/73887e02.patch
039bf80
Patch104:		https://github.com/proftpd/proftpd/commit/8a186e2d.patch
039bf80
Patch105:		https://github.com/proftpd/proftpd/commit/c3e5d75f.patch
039bf80
Patch106:		proftpd-1.3.6-add-enable-tests-nonetwork-option.patch
039bf80
Patch107:		https://github.com/proftpd/proftpd/commit/adfdc01d.patch
039bf80
Patch108:		https://github.com/proftpd/proftpd/commit/6cc96b5f.patch
039bf80
Patch109:		https://github.com/proftpd/proftpd/commit/aa85f127.patch
039bf80
Patch110:		https://github.com/proftpd/proftpd/commit/7907aa65.patch
039bf80
Patch111:		https://github.com/proftpd/proftpd/commit/08ba2f63.patch
c603ce8
Patch112:		https://github.com/proftpd/proftpd/commit/757b9633.patch
c603ce8
Patch113:		https://github.com/proftpd/proftpd/commit/41ecb7dc.patch
039bf80
039bf80
BuildRequires:		coreutils
039bf80
BuildRequires:		gcc
039bf80
BuildRequires:		GeoIP-devel
039bf80
BuildRequires:		gettext
039bf80
BuildRequires:		libacl-devel
039bf80
BuildRequires:		libcap-devel
3c856a0
%if 0%{?have_libmemcached:1}
3c856a0
BuildRequires:		libmemcached-devel >= 0.41
3c856a0
%endif
039bf80
BuildRequires:		mysql-devel
039bf80
BuildRequires:		ncurses-devel
039bf80
BuildRequires:		openldap-devel
039bf80
BuildRequires:		openssl-devel
039bf80
BuildRequires:		pam-devel
039bf80
BuildRequires:		pcre-devel >= 7.0
29a0fec
BuildRequires:		perl-generators
e8ed426
BuildRequires:		perl%{?fedora:-interpreter}
039bf80
BuildRequires:		pkgconfig
039bf80
BuildRequires:		postgresql-devel
039bf80
BuildRequires:		tar
039bf80
BuildRequires:		tcp_wrappers-devel
039bf80
BuildRequires:		zlib-devel
060da19
060da19
# Test suite requirements
060da19
BuildRequires:		check-devel
060da19
%if 0%{?_with_integrationtests:1}
060da19
BuildRequires:		perl(Compress::Zlib)
039bf80
BuildRequires:		perl(Digest::MD5)
039bf80
BuildRequires:		perl(HTTP::Request)
060da19
BuildRequires:		perl(IO::Socket::SSL)
039bf80
BuildRequires:		perl(LWP::UserAgent)
060da19
BuildRequires:		perl(Net::FTPSSL)
060da19
BuildRequires:		perl(Net::SSLeay)
060da19
BuildRequires:		perl(Net::Telnet)
039bf80
BuildRequires:		perl(Sys::HostAddr)
060da19
BuildRequires:		perl(Test::Harness)
039bf80
BuildRequires:		perl(Test::Unit) >= 0.25
060da19
BuildRequires:		perl(Time::HiRes)
060da19
%endif
060da19
039bf80
# Need systemd-units for ownership of /usr/lib/tmpfiles.d directory
039bf80
%if 0%{?rundir_tmpfs:1}
039bf80
Requires:		systemd-units
039bf80
%endif
039bf80
Requires(preun):	coreutils, findutils
039bf80
%if %{use_systemd}
039bf80
BuildRequires:		systemd-units
039bf80
Requires(post):		systemd-units
039bf80
Requires(preun):	systemd-units
039bf80
Requires(postun):	systemd-units
039bf80
%else
039bf80
Requires(post):		/sbin/chkconfig
039bf80
Requires(preun):	/sbin/service, /sbin/chkconfig
039bf80
Requires(postun):	/sbin/service
039bf80
%endif
039bf80
1f47ac5
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.
98cf045
%if %{use_systemd}
98cf045
This package defaults to the standalone behavior of ProFTPD, but all the
98cf045
needed scripts to have it run by systemd instead are included.
98cf045
%else
2f2203c
This package defaults to the standalone behavior of ProFTPD, but all the
cvsextras 59a0b03
needed scripts to have it run by xinetd instead are included.
98cf045
%endif
cvsextras 59a0b03
4de4614
%package devel
4de4614
Summary:	ProFTPD - Tools and header files for developers
4de4614
Requires:	%{name} = %{version}-%{release}
4de4614
# devel package requires the same devel packages as were build-required
4de4614
# for the main package
4de4614
Requires:	gcc, libtool
4de4614
Requires:	GeoIP-devel
4de4614
Requires:	libacl-devel
4de4614
Requires:	libcap-devel
4de4614
Requires:	mysql-devel
4de4614
Requires:	openldap-devel
4de4614
Requires:	openssl-devel
4de4614
Requires:	pam-devel
4de4614
Requires:	pcre-devel
4de4614
Requires:	postgresql-devel
4de4614
Requires:	pkgconfig
4de4614
Requires:	ncurses-devel
039bf80
Requires:	tcp_wrappers-devel
4de4614
Requires:	zlib-devel
4de4614
%if 0%{?have_libmemcached:1}
4de4614
Requires:	libmemcached-devel >= 0.41
4de4614
%endif
4de4614
4de4614
%description devel
4de4614
This package is required to build additional modules for ProFTPD.
4de4614
e2e081e
%package ldap
1f47ac5
Summary:	Module to add LDAP support to the ProFTPD FTP server
1f47ac5
Requires:	%{name} = %{version}-%{release}
e2e081e
e2e081e
%description ldap
e2e081e
Module to add LDAP support to the ProFTPD FTP server.
e2e081e
e2e081e
%package mysql
1f47ac5
Summary:	Module to add MySQL support to the ProFTPD FTP server
1f47ac5
Requires:	%{name} = %{version}-%{release}
e2e081e
e2e081e
%description mysql
e2e081e
Module to add MySQL support to the ProFTPD FTP server.
e2e081e
e2e081e
%package postgresql
1f47ac5
Summary:	Module to add PostgreSQL support to the ProFTPD FTP server
1f47ac5
Requires:	%{name} = %{version}-%{release}
e2e081e
e2e081e
%description postgresql
e2e081e
Module to add PostgreSQL support to the ProFTPD FTP server.
01a24d4
2c3bcca
%package utils
2c3bcca
Summary:	ProFTPD - Additional utilities
2c3bcca
Requires:	%{name} = %{version}-%{release}
ce8a65e
Requires:	perl-interpreter
841cece
# ftpasswd --use-cracklib requires Crypt::Cracklib
841cece
BuildRequires:	perl(Crypt::Cracklib)
841cece
Requires:	perl(Crypt::Cracklib)
2c3bcca
2c3bcca
%description utils
2c3bcca
This package contains additional utilities for monitoring and configuring the
2c3bcca
ProFTPD server:
2c3bcca
2c3bcca
* ftpasswd: generate passwd(5) files for use with AuthUserFile
2c3bcca
* ftpcount: show the current number of connections per server/virtualhost
2c3bcca
* ftpmail: monitor transfer log and send email when files uploaded
2c3bcca
* ftpquota: manipulate quota tables
2c3bcca
* ftptop: show the current status of FTP sessions
2c3bcca
* ftpwho: show the current process information for each FTP session
2c3bcca
cvsextras 59a0b03
%prep
039bf80
%setup -q -n %{name}-%{version}%{?prever}
039bf80
039bf80
# Extract mod_vroot source into contrib/
039bf80
# Directory must be named mod_vroot for configure script to find it
039bf80
cd contrib
039bf80
tar xfz %{SOURCE10}
039bf80
mv proftpd-mod_vroot-%{mod_vroot_version} mod_vroot
98cf045
cd -
ef6963d
039bf80
# Default config file
1b40612
cp -p %{SOURCE1} proftpd.conf
1b40612
039bf80
# Avoid documentation name conflicts
039bf80
mv contrib/README contrib/README.contrib
91aaeb6
cf2e6e6
# Change shellbangs /usr/bin/env perl ⇒ /usr/bin/perl
cf2e6e6
%patch1
84eecdd
3c856a0
# If we don't have libmemcached support, remove the mod_tls_memcache
3c856a0
# snippet from the config file
3c856a0
%if 0%{!?have_libmemcached:1}
98cf045
%patch2
3c856a0
%endif
3c856a0
039bf80
# If we're running the full test suite, include the mod_vroot test
039bf80
%patch3 -p1 -b .test_vroot
039bf80
039bf80
# Check for symlinks in home directory path as logging-in user
039bf80
# http://bugs.proftpd.org/show_bug.cgi?id=4306
039bf80
# https://bugzilla.redhat.com/show_bug.cgi?id=1443507
039bf80
# https://github.com/proftpd/proftpd/pull/496
039bf80
%patch100 -p1
039bf80
039bf80
# Fix API tests to work in Fedora/RHEL environments
039bf80
# https://github.com/proftpd/proftpd/issues/483
039bf80
# https://github.com/proftpd/proftpd/pull/510
039bf80
# https://github.com/proftpd/proftpd/pull/514
039bf80
%patch101 -p1
039bf80
%patch102 -p1
039bf80
%patch103 -p1
039bf80
%patch104 -p1
039bf80
039bf80
# Fix similars functionality and unit test
039bf80
# https://github.com/proftpd/proftpd/pull/513
039bf80
%patch105 -p1
039bf80
039bf80
# Add functionality to disable external network tests
039bf80
# https://github.com/proftpd/proftpd/pull/497
039bf80
%patch106 -p1
039bf80
039bf80
# Systemd requires that executeable pathnames are absolute
039bf80
# https://github.com/proftpd/proftpd/pull/502
039bf80
%patch107 -p1
039bf80
039bf80
# Systemd upstream recommends Type = simple for services if possible
039bf80
# https://github.com/proftpd/proftpd/pull/506
039bf80
%patch108 -p1
039bf80
039bf80
# Don't mess with system profiles in TLSCipherSuite
039bf80
# https://github.com/proftpd/proftpd/pull/499
039bf80
%patch109 -p1
039bf80
%patch110 -p1
039bf80
039bf80
# Remove redundant bind() to controls socket
039bf80
# https://github.com/proftpd/proftpd/issues/501
039bf80
%patch111 -p1
039bf80
c603ce8
# mod_sftp failed to check shadow password information when publickey
c603ce8
# authentication used
c603ce8
# http://bugs.proftpd.org/show_bug.cgi?id=4308
c603ce8
%patch112 -p1
c603ce8
c603ce8
# Use of "AllowEmptyPasswords off" broke SFTP/SCP logins
c603ce8
# http://bugs.proftpd.org/show_bug.cgi?id=4309
c603ce8
%patch113 -p1
c603ce8
039bf80
# OpenSSL Cipher Profiles introduced in Fedora 21
039bf80
# Elsewhere, we use the default of DEFAULT:!ADH:!EXPORT:!DES
039bf80
%if 0%{?fedora} < 21 && 0%{?rhel} < 8
039bf80
sed -i -e '/^[[:space:]]*TLSCipherSuite[[:space:]]*PROFILE=SYSTEM$/d' proftpd.conf
039bf80
%endif
039bf80
138bfb3
# Tweak logrotate script for systemd compatibility (#802178)
138bfb3
%if %{use_systemd}
138bfb3
sed -i -e '/killall/s/test.*/systemctl reload proftpd.service/' \
138bfb3
	contrib/dist/rpm/proftpd.logrotate
138bfb3
%endif
138bfb3
1f47ac5
# Avoid docfile dependencies
bf87538
chmod -x contrib/xferstats.holger-preiss
1f47ac5
3c856a0
# Remove bogus exec permissions from source files
039bf80
chmod -c -x include/hanson-tpl.h lib/hanson-tpl.c
3c856a0
cvsextras 59a0b03
%build
1f47ac5
# Modules to be built as DSO's (excluding mod_ifsession, always specified last)
f757bcc
SMOD1=mod_sql:mod_sql_passwd:mod_sql_mysql:mod_sql_postgres
1f47ac5
SMOD2=mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_radius:mod_quotatab_sql
5766525
SMOD3=mod_ldap:mod_ban:mod_wrap:mod_ctrls_admin:mod_facl:mod_load:mod_vroot
b826951
SMOD4=mod_radius:mod_ratio:mod_rewrite:mod_site_misc:mod_exec:mod_shaper:mod_geoip
060da19
SMOD5=mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_copy:mod_deflate:mod_ifversion:mod_qos
3c856a0
SMOD6=mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_tls_shmcache%{?have_libmemcached::mod_tls_memcache}
69af803
cvsextras 59a0b03
%configure \
3c856a0
			--libexecdir="%{_libexecdir}/proftpd" \
660e337
			--localstatedir="%{rundir}/proftpd" \
d8effbb
			--disable-strip \
3c856a0
			--enable-ctrls \
3c856a0
			--enable-dso \
3c856a0
			--enable-facl \
3c856a0
			--enable-ipv6 \
3c856a0
%{?have_libmemcached:	--enable-memcache} \
3c856a0
			--enable-nls \
3c856a0
			--enable-openssl \
039bf80
			--disable-pcre \
039bf80
			--disable-redis \
3c856a0
			--enable-shadow \
039bf80
			--enable-tests=nonetwork \
3c856a0
			--with-libraries="%{_libdir}/mysql" \
3c856a0
			--with-includes="%{_includedir}/mysql" \
5766525
			--with-modules=mod_readme:mod_auth_pam:mod_tls \
3c856a0
			--with-shared=${SMOD1}:${SMOD2}:${SMOD3}:${SMOD4}:${SMOD5}:${SMOD6}:mod_ifsession
1f47ac5
bf87538
make %{?_smp_mflags}
01a24d4
cvsextras 59a0b03
%install
bf87538
make install DESTDIR=%{buildroot} \
660e337
	rundir="%{rundir}/proftpd" \
bf87538
	INSTALL_USER=`id -un` \
bf87538
	INSTALL_GROUP=`id -gn`
bf87538
install -D -p -m 640 proftpd.conf	%{buildroot}%{_sysconfdir}/proftpd.conf
6769e3d
install -D -p -m 644 contrib/dist/rpm/proftpd.pam \
6769e3d
					%{buildroot}%{_sysconfdir}/pam.d/proftpd
660e337
%if %{use_systemd}
6769e3d
install -D -p -m 644 contrib/dist/rpm/proftpd.service \
6769e3d
					%{buildroot}%{_unitdir}/proftpd.service
039bf80
install -D -p -m 644 contrib/dist/systemd/proftpd.socket \
039bf80
					%{buildroot}%{_unitdir}/proftpd.socket
039bf80
install -D -p -m 644 contrib/dist/systemd/proftpd@.service \
039bf80
					%{buildroot}%{_unitdir}/proftpd@.service
660e337
%else
6769e3d
install -D -p -m 755 contrib/dist/rpm/proftpd.init.d \
6769e3d
					%{buildroot}%{_sysconfdir}/rc.d/init.d/proftpd
6769e3d
install -D -p -m 644 contrib/dist/rpm/xinetd \
6769e3d
					%{buildroot}%{_sysconfdir}/xinetd.d/xproftpd
98cf045
%endif
6769e3d
install -D -p -m 644 contrib/dist/rpm/proftpd.logrotate \
6769e3d
					%{buildroot}%{_sysconfdir}/logrotate.d/proftpd
bf87538
install -D -p -m 644 %{SOURCE5}		%{buildroot}%{_localstatedir}/ftp/welcome.msg
bf87538
install -D -p -m 644 %{SOURCE9}		%{buildroot}%{_sysconfdir}/sysconfig/proftpd
bf87538
mkdir -p %{buildroot}%{_localstatedir}/{ftp/{pub,uploads},log/proftpd}
bf87538
touch %{buildroot}%{_sysconfdir}/ftpusers
1f47ac5
660e337
# Make sure %%{rundir}/proftpd exists at boot time for systems where it's on tmpfs (#656675)
660e337
%if 0%{?rundir_tmpfs:1}
40124a2
install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d
6769e3d
install -p -m 644 contrib/dist/rpm/proftpd-tmpfs.conf \
40124a2
					%{buildroot}%{_prefix}/lib/tmpfiles.d/proftpd.conf
b9eac3b
%endif
b9eac3b
1f47ac5
# Find translations
1f47ac5
%find_lang proftpd
cvsextras 59a0b03
060da19
%check
060da19
# Integration tests not fully maintained - stick to API tests only by default
060da19
%if 0%{?_with_integrationtests:1}
039bf80
ln ftpdctl tests/
bf87538
make check
060da19
%else
060da19
# API tests should always be OK
bf87538
if ! make -C tests api-tests; then
060da19
	# Diagnostics to report upstream
060da19
	cat tests/api-tests.log
060da19
	./proftpd -V
060da19
	# Fail the build
060da19
	false
060da19
fi
060da19
%endif
060da19
cvsextras 59a0b03
%post
660e337
%if %{use_systemd}
660e337
/bin/systemctl daemon-reload &>/dev/null || :
660e337
%endif
e2e081e
if [ $1 -eq 1 ]; then
660e337
	# Initial installation
660e337
%if ! %{use_systemd}
660e337
	/sbin/chkconfig --add proftpd || :
660e337
%endif
001a58e
%if 0%{?preset_support:1}
001a58e
	/bin/systemctl preset proftpd.service &>/dev/null || :
001a58e
%endif
bf87538
	IFS=":"; cat /etc/passwd | \
1f47ac5
	while { read username nu nu gid nu nu nu nu; }; do \
1f47ac5
		if [ $gid -lt 100 -a "$username" != "ftp" ]; then
1f47ac5
			echo $username >> %{_sysconfdir}/ftpusers
1f47ac5
		fi
1f47ac5
	done
cvsextras 59a0b03
fi
cvsextras 59a0b03
cvsextras 59a0b03
%preun
e2e081e
if [ $1 -eq 0 ]; then
660e337
	# Package removal, not upgrade
660e337
%if %{use_systemd}
660e337
	/bin/systemctl --no-reload disable proftpd.service &>/dev/null || :
660e337
	/bin/systemctl stop proftpd.service &>/dev/null || :
660e337
%else
660e337
	/sbin/service proftpd stop &>/dev/null || :
660e337
	/sbin/chkconfig --del proftpd || :
660e337
%endif
660e337
	find %{rundir}/proftpd -depth -mindepth 1 |
bf87538
		xargs rm -rf &>/dev/null || :
cvsextras 59a0b03
fi
cvsextras 59a0b03
cvsextras 59a0b03
%postun
660e337
%if %{use_systemd}
660e337
/bin/systemctl daemon-reload &>/dev/null || :
660e337
%endif
660e337
if [ $1 -ge 1 ]; then
7b14d18
	# Package upgrade, not uninstall
660e337
%if %{use_systemd}
660e337
	/bin/systemctl try-restart proftpd.service &>/dev/null || :
660e337
%else
660e337
	/sbin/service proftpd condrestart &>/dev/null || :
660e337
else
660e337
	# Package removal, not upgrade
660e337
	/sbin/service xinetd reload &>/dev/null || :
660e337
%endif
cvsextras 59a0b03
fi
cvsextras 59a0b03
1f47ac5
%files -f proftpd.lang
98cf045
%if 0%{?_licensedir:1}
98cf045
%license COPYING
98cf045
%else
98cf045
%doc COPYING
98cf045
%endif
039bf80
%doc CREDITS ChangeLog NEWS README.md
1f47ac5
%doc README.DSO README.modules README.IPv6 README.PAM
1f47ac5
%doc README.capabilities README.classes README.controls README.facl
1f47ac5
%doc contrib/README.contrib contrib/README.ratio
2c3bcca
%doc doc/* sample-configurations/
1f47ac5
%dir %{_localstatedir}/ftp/
1f47ac5
%dir %{_localstatedir}/ftp/pub/
660e337
%dir %{rundir}/proftpd/
1f47ac5
%config(noreplace) %{_localstatedir}/ftp/welcome.msg
f757bcc
%config(noreplace) %{_sysconfdir}/blacklist.dat
f757bcc
%config(noreplace) %{_sysconfdir}/dhparams.pem
1f47ac5
%config(noreplace) %{_sysconfdir}/ftpusers
1f47ac5
%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
1f47ac5
%config(noreplace) %{_sysconfdir}/pam.d/proftpd
cvsextras 59a0b03
%config(noreplace) %{_sysconfdir}/proftpd.conf
1f47ac5
%config(noreplace) %{_sysconfdir}/sysconfig/proftpd
660e337
%if %{use_systemd}
7b14d18
%{_unitdir}/proftpd.service
98cf045
%{_unitdir}/proftpd.socket
98cf045
%{_unitdir}/proftpd@.service
660e337
%else
98cf045
%config(noreplace) %{_sysconfdir}/xinetd.d/xproftpd
660e337
%{_sysconfdir}/rc.d/init.d/proftpd
660e337
%endif
660e337
%if 0%{?rundir_tmpfs:1}
40124a2
%{_prefix}/lib/tmpfiles.d/proftpd.conf
b9eac3b
%endif
1f47ac5
%{_bindir}/ftpdctl
f757bcc
%{_sbindir}/ftpscrub
1f47ac5
%{_sbindir}/ftpshut
1f47ac5
%{_sbindir}/in.proftpd
1f47ac5
%{_sbindir}/proftpd
f2afd01
%{_mandir}/man5/proftpd.conf.5*
1f47ac5
%{_mandir}/man5/xferlog.5*
1f47ac5
%{_mandir}/man8/ftpdctl.8*
f757bcc
%{_mandir}/man8/ftpscrub.8*
1f47ac5
%{_mandir}/man8/ftpshut.8*
1f47ac5
%{_mandir}/man8/proftpd.8*
e2e081e
%dir %{_libexecdir}/proftpd/
0eccf2e
%{_libexecdir}/proftpd/mod_ban.so
1f47ac5
%{_libexecdir}/proftpd/mod_ctrls_admin.so
060da19
%{_libexecdir}/proftpd/mod_copy.so
060da19
%{_libexecdir}/proftpd/mod_deflate.so
ef6963d
%{_libexecdir}/proftpd/mod_exec.so
1f47ac5
%{_libexecdir}/proftpd/mod_facl.so
b826951
%{_libexecdir}/proftpd/mod_geoip.so
c8dd5d7
%{_libexecdir}/proftpd/mod_ifsession.so
060da19
%{_libexecdir}/proftpd/mod_ifversion.so
1f47ac5
%{_libexecdir}/proftpd/mod_load.so
060da19
%{_libexecdir}/proftpd/mod_qos.so
1a23538
%{_libexecdir}/proftpd/mod_quotatab.so
1a23538
%{_libexecdir}/proftpd/mod_quotatab_file.so
1f47ac5
%{_libexecdir}/proftpd/mod_quotatab_radius.so
1f47ac5
%{_libexecdir}/proftpd/mod_quotatab_sql.so
1f47ac5
%{_libexecdir}/proftpd/mod_radius.so
1f47ac5
%{_libexecdir}/proftpd/mod_ratio.so
1f47ac5
%{_libexecdir}/proftpd/mod_rewrite.so
f757bcc
%{_libexecdir}/proftpd/mod_sftp.so
f757bcc
%{_libexecdir}/proftpd/mod_sftp_pam.so
f757bcc
%{_libexecdir}/proftpd/mod_sftp_sql.so
f757bcc
%{_libexecdir}/proftpd/mod_shaper.so
1f47ac5
%{_libexecdir}/proftpd/mod_site_misc.so
e2e081e
%{_libexecdir}/proftpd/mod_sql.so
f757bcc
%{_libexecdir}/proftpd/mod_sql_passwd.so
3c856a0
%{?have_libmemcached:%{_libexecdir}/proftpd/mod_tls_memcache.so}
f757bcc
%{_libexecdir}/proftpd/mod_tls_shmcache.so
5766525
%{_libexecdir}/proftpd/mod_vroot.so
d961c67
%{_libexecdir}/proftpd/mod_wrap.so
1f47ac5
%{_libexecdir}/proftpd/mod_wrap2.so
1f47ac5
%{_libexecdir}/proftpd/mod_wrap2_file.so
1f47ac5
%{_libexecdir}/proftpd/mod_wrap2_sql.so
e2e081e
%exclude %{_libexecdir}/proftpd/*.a
e2e081e
%exclude %{_libexecdir}/proftpd/*.la
1f47ac5
%attr(331, ftp, ftp) %dir %{_localstatedir}/ftp/uploads/
1f47ac5
%attr(750, root, root) %dir %{_localstatedir}/log/proftpd/
01a24d4
4de4614
%files devel
4de4614
%{_bindir}/prxs
4de4614
%{_includedir}/proftpd/
4de4614
%{_libdir}/pkgconfig/proftpd.pc
4de4614
e2e081e
%files ldap
d8effbb
%doc README.LDAP contrib/mod_quotatab_ldap.ldif contrib/mod_quotatab_ldap.schema
e2e081e
%{_libexecdir}/proftpd/mod_ldap.so
1a23538
%{_libexecdir}/proftpd/mod_quotatab_ldap.so
e2e081e
e2e081e
%files mysql
e2e081e
%{_libexecdir}/proftpd/mod_sql_mysql.so
e2e081e
e2e081e
%files postgresql
e2e081e
%{_libexecdir}/proftpd/mod_sql_postgres.so
e2e081e
2c3bcca
%files utils
2c3bcca
%doc contrib/xferstats.holger-preiss
2c3bcca
%{_bindir}/ftpasswd
2c3bcca
%{_bindir}/ftpcount
2c3bcca
%{_bindir}/ftpmail
2c3bcca
%{_bindir}/ftpquota
2c3bcca
%{_bindir}/ftptop
2c3bcca
%{_bindir}/ftpwho
2c3bcca
%{_mandir}/man1/ftpasswd.1*
2c3bcca
%{_mandir}/man1/ftpcount.1*
2c3bcca
%{_mandir}/man1/ftpmail.1*
2c3bcca
%{_mandir}/man1/ftpquota.1*
2c3bcca
%{_mandir}/man1/ftptop.1*
2c3bcca
%{_mandir}/man1/ftpwho.1*
2c3bcca
cvsextras 59a0b03
%changelog
ec180e9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-4.1
ec180e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ec180e9
e8ed426
* Fri Jul 28 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-4
86af4e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
86af4e4
c603ce8
* Thu Jul 13 2017 Paul Howarth <paul@city-fan.org> - 1.3.6-3
c603ce8
- mod_sftp failed to check shadow password information when publickey
c603ce8
  authentication used (http://bugs.proftpd.org/show_bug.cgi?id=4308)
c603ce8
- Use of "AllowEmptyPasswords off" broke SFTP/SCP logins
c603ce8
  (http://bugs.proftpd.org/show_bug.cgi?id=4309)
c603ce8
43b1989
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 1.3.6-2
ce8a65e
- perl dependency renamed to perl-interpreter
ce8a65e
  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
ce8a65e
039bf80
* Mon May 22 2017 Paul Howarth <paul@city-fan.org> - 1.3.6-1
039bf80
- Update to 1.3.6 (see NEWS for details)
039bf80
- Update mod_vroot to 0.9.5 (API compatibility with 1.3.6)
039bf80
- Add upstream fixes for flaky API tests
039bf80
  (https://github.com/proftpd/proftpd/issues/483)
039bf80
  (https://github.com/proftpd/proftpd/pull/510)
039bf80
  (https://github.com/proftpd/proftpd/pull/514)
039bf80
- Add functionality to disable external network tests
039bf80
  (https://github.com/proftpd/proftpd/pull/497)
039bf80
- Update template TLS configuration
039bf80
- PCRE 7.0 always available for use now
039bf80
- Disable PCRE support for now as JIT compiler has SELinux issues
039bf80
  (https://bugs.exim.org/show_bug.cgi?id=1749)
039bf80
- Update proftpd.service to use Type=simple rather than Type=forking
039bf80
  (https://github.com/proftpd/proftpd/pull/506)
039bf80
- Remove redundant bind() to controls socket
039bf80
  (https://github.com/proftpd/proftpd/issues/501)
039bf80
- Fix similars functionality and unit test
039bf80
  (https://github.com/proftpd/proftpd/pull/513)
039bf80
- Integration tests can use system Test::Unit now
039bf80
- tcpd.h can always be found in tcp_wrappers-devel now
039bf80
47af960
* Wed May  3 2017 Paul Howarth <paul@city-fan.org> - 1.3.5e-2
47af960
- AllowChrootSymlinks off could cause login failures depending on filesystem
47af960
  permissions: use the IDs of the logging-in user to perform the directory
47af960
  walk, looking for symlinks, to be more consistent with similar checks done
47af960
  during login (#1443507, upstream bug 4306)
47af960
- Crypt::CrackLib always available now
47af960
cf2e6e6
* Mon Apr 10 2017 Paul Howarth <paul@city-fan.org> - 1.3.5e-1
cf2e6e6
- Update to 1.3.5e
cf2e6e6
  - SFTP clients using umac-64@openssh.com digest failed to connect
cf2e6e6
    (upstream bug 4287)
cf2e6e6
  - SFTP rekeying failure with ProFTPD 1.3.5d, caused by null pointer
cf2e6e6
    dereference (upstream bug 4288)
cf2e6e6
  - AllowChrootSymlinks off did not check entire DefaultRoot path for symlinks
cf2e6e6
    (CVE-2017-7418, upstream bug 4295)
cf2e6e6
- Change shellbangs in shipped perl scripts to use system perl
cf2e6e6
- Drop EL-5 support
cf2e6e6
  - Drop BuildRoot: and Group: tags
cf2e6e6
  - Drop explicit buildroot cleaning in %%install section
cf2e6e6
  - Drop explicit %%clean section
cf2e6e6
  - /etc/pam.d/password-auth always available now
cf2e6e6
  - pcre 7.0 or later always available now
cf2e6e6
3c9aefb
* Sun Feb 12 2017 Paul Howarth <paul@city-fan.org> - 1.3.5d-3
84eecdd
- Properly allocate (and clear) the UMAC contexts, to fix segfault in mod_sftp
84eecdd
  (#1420365, upstream bug 4287)
84eecdd
84eecdd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5d-2
0d4c32c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0d4c32c
dbf4a65
* Mon Jan 16 2017 Paul Howarth <paul@city-fan.org> - 1.3.5d-1
dbf4a65
- Update to 1.3.5d
dbf4a65
  - Support OpenSSL 1.1.x API (upstream bug 4275)
dbf4a65
  Bug fixes:
dbf4a65
  - SSH rekey during authentication can cause issues with clients
dbf4a65
    (upstream bug 4254)
dbf4a65
  - Recursive SCP uploads of multiple directories not handled properly
dbf4a65
    (upstream bug 4257)
dbf4a65
  - LIST returns different results for file, depending on path syntax
dbf4a65
    (upstream bug 4259)
dbf4a65
  - "AuthAliasOnly on" in server config breaks anonymous logins
dbf4a65
    (upstream bug 4255)
dbf4a65
  - CapabilitiesEngine directive not honored for <IfUser>/<IfGroup> sections
dbf4a65
    (upstream bug 4272)
dbf4a65
  - Memory leak when mod_facl is used (upstream bug 4278)
dbf4a65
  - All FTP logins treated as anonymous logins again (upstream bug 4283,
dbf4a65
    regression in 1.3.5c of upstream bug 3307)
dbf4a65
32af940
* Sat Nov 19 2016 Paul Howarth <paul@city-fan.org> - 1.3.5b-3
32af940
- Support OpenSSL 1.1.x API (upstream bug 4275)
32af940
29a0fec
* Sat May 21 2016 Paul Howarth <paul@city-fan.org> - 1.3.5b-2
29a0fec
- Handle client/server version skew in mod_sql_mysql
29a0fec
  (https://forums.proftpd.org/smf/index.php?topic=11887.0)
29a0fec
- Fix a possible cause of segfaults in mod_sftp (#1337880, upstream bug 4203)
29a0fec
- BR: perl-generators for correct dependencies in utils sub-package
29a0fec
a51c9e8
* Fri Mar 11 2016 Paul Howarth <paul@city-fan.org> - 1.3.5b-1
a51c9e8
- Update to 1.3.5b
a51c9e8
  - mod_geoip did not load all of the GeoIPTables properly (upstream bug 4187)
a51c9e8
  - "Incorrect string value" reported by mod_sql_mysql for some UTF8 characters
a51c9e8
    (upstream bug 4191)
a51c9e8
  - SSH rekey failed when using RSA hostkey smaller than 2048 bits
a51c9e8
    (upstream bug 4097)
a51c9e8
  - MLSD/MLST fact type "cdir" is incorrectly used for the current working
a51c9e8
    directory (upstream bug 4198)
a51c9e8
  - HiddenStores temporary files not removed when exceeding quota using SCP
a51c9e8
    (upstream bug 4201)
a51c9e8
  - MLSD lines not properly terminated with CRLF (upstream bug 4202)
a51c9e8
  - Zero-length memory allocation possible, with undefined results
a51c9e8
    (upstream bug 4209)
a51c9e8
  - Avoid unbounded SFTP extended attribute key/values (upstream bug 4210)
a51c9e8
  - Ensure that FTP data transfer commands fail appropriately when
a51c9e8
    "RootRevoke on" is in effect (upstream bug 4212)
a51c9e8
  - Handle FTP re-authentication attempts better (upstream bug 4217)
a51c9e8
  - Permissions on files uploaded via STOU did not honor configured Umask
a51c9e8
    (upstream bug 4223)
a51c9e8
  - Support SFTP clients that send multiple INIT requests (upstream bug 4227)
a51c9e8
  - TLSDHParamFile directive appears ignored because unexpected DH is chosen
a51c9e8
    (upstream bug 4230)
a51c9e8
- Drop unbundled old version of mod_geoip
a51c9e8
- Drop upstreamed patches
a51c9e8
a36b6cf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5a-6
976f7d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
976f7d5
c08c7d2
* Tue Dec  1 2015 Paul Howarth <paul@city-fan.org> - 1.3.5a-5
c08c7d2
- Avoid unbounded SFTP extended attribute key/values
c08c7d2
  (#1286977, http://bugs.proftpd.org/show_bug.cgi?id=4210)
c08c7d2
91aaeb6
* Thu Oct 29 2015 Paul Howarth <paul@city-fan.org> - 1.3.5a-4
91aaeb6
- See if we can fix crash in mod_lang
91aaeb6
  http://bugs.proftpd.org/show_bug.cgi?id=4206
91aaeb6
  https://retrace.fedoraproject.org/faf/reports/10744/
91aaeb6
841cece
* Thu Sep 10 2015 Paul Howarth <paul@city-fan.org> - 1.3.5a-3
841cece
- Add dependency on perl(Crypt::Cracklib), needed for ftpasswd --use-cracklib
841cece
114cc9d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5a-2
1c3430d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1c3430d
fa70dd2
* Thu May 28 2015 Paul Howarth <paul@city-fan.org> - 1.3.5a-1
fa70dd2
- Update to 1.3.5a
fa70dd2
  - Fixed "stalled" SSL/TLS handshakes for data transfers
fa70dd2
  - Fixed handling of SSH keys with overlong Comment headers in mod_sftp_sql
fa70dd2
  - By default, mod_tls will no longer support SSLv3 connections; in order to
fa70dd2
    support SSLv3 connections (for sites that need to), you must explicitly
fa70dd2
    configure this via the TLSProtocol directive, e.g.:
fa70dd2
    TLSProtocol SSLv3 TLSv1 ...
fa70dd2
  - The mod_copy module is enabled by default; there may be cases where the
fa70dd2
    module should be disabled, without requiring a rebuild of the server, thus
fa70dd2
    mod_copy now supports a CopyEngine directive to enable/disable the module
fa70dd2
  - The DeleteAbortedStores directive (for Bug#3917) is only enabled when
fa70dd2
    HiddenStores is in effect, as intended when originally implemented, rather
fa70dd2
    than all the time
fa70dd2
  - Many other bug-fixes, see NEWS for details
fa70dd2
- Drop upstreamed patches
fa70dd2
0ae195f
* Wed May 27 2015 Paul Howarth <paul@city-fan.org> - 1.3.5-7
0ae195f
- Update mod_vroot to 0.9.4
0ae195f
  - Fix broken vroot alias checks (GH#4, GH#5)
0ae195f
  - Improve documentation
0ae195f
  - Add further regression tests
0ae195f
be1cf9b
* Tue Apr 28 2015 Paul Howarth <paul@city-fan.org> - 1.3.5-6
be1cf9b
- Unauthenticated copying of files via SITE CPFR/CPTO was allowed by mod_copy
be1cf9b
  (CVE-2015-3306, http://bugs.proftpd.org/show_bug.cgi?id=4169)
be1cf9b
98cf045
* Thu Feb  5 2015 Paul Howarth <paul@city-fan.org> - 1.3.5-5
98cf045
- Update mod_vroot to 0.9.3 and drop upstreamed mod_vroot patch
98cf045
- Anonymous upload directory specification needs to be slightly different if
98cf045
  mod_vroot is in use (#1045922)
98cf045
  http://sourceforge.net/p/proftp/mailman/message/31728570/
98cf045
- For systemd-based systems, use systemd rather than xinetd for inetd mode
98cf045
  activation (#737707); to use this mode, set "ServerType inetd" in
98cf045
  /etc/proftpd.conf and do "systemctl enable proftpd.socket" (and
98cf045
  "systemctl start proftpd.socket" to start listening for connections)
98cf045
- Use %%license where possible
98cf045
63f7c54
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-3.1
63f7c54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
63f7c54
c0a1d90
* Sat Jun  7 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.5-3
96a8e73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
96a8e73
c8bf632
* Fri May 16 2014 Paul Howarth <paul@city-fan.org> 1.3.5-2
c8bf632
- Add upstream fix to ignore any ENOPROTOOPT errors when setting the
c8bf632
  IPv6 TCLASS (TOS) flags on the socket; they make for noisier logging
c8bf632
  without providing any actual value to the user/admin (upstream bug 4055)
c8bf632
f2afd01
* Fri May 16 2014 Paul Howarth <paul@city-fan.org> 1.3.5-1
f2afd01
- Update to 1.3.5 (see NEWS for details)
f2afd01
- Drop upstreamed patches
f2afd01
- Drop sysv-to-systemd migration script
f2afd01
- No longer need to support pam_stack
f2afd01
6015a29
* Fri Dec 20 2013 Paul Howarth <paul@city-fan.org> 1.3.4d-5
6015a29
- Fix support for 8192-bit DH parameters (#1044586)
6015a29
- Add 3072-bit and 7680-bit DH parameters (upstream bug 4002)
6015a29
07dd947
* Sat Sep 14 2013 Paul Howarth <paul@city-fan.org> 1.3.4d-4
07dd947
- Fix mod_sftp/mod_sftp_pam invalid pool allocation during kbdint authentication
cd003db
  (#1007678, upstream bug #3973, CVE-2013-4359)
07dd947
07dd947
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.4d-2.2
00c373a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
00c373a
07dd947
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> 1.3.4d-2.1
421598b
- Perl 5.18 rebuild
421598b
0181233
* Mon Jun 17 2013 Paul Howarth <paul@city-fan.org> 1.3.4d-2
0181233
- Fix spurious log messages at session close (upstream bug #3945)
0181233
950b7d5
* Sat Jun 15 2013 Paul Howarth <paul@city-fan.org> 1.3.4d-1
950b7d5
- Update to 1.3.4d
950b7d5
  - Fixed broken build when using --disable-ipv6 configure option
950b7d5
  - Fixed mod_sql "SQLAuthType Backend" MySQL issues
950b7d5
  - Various other bugs fixed - see NEWS for details
950b7d5
- Drop upstreamed patch for PAM session closing
950b7d5
9f2fb5f
* Tue Apr 16 2013 Paul Howarth <paul@city-fan.org> 1.3.4c-2
9f2fb5f
- Make sure we can switch back to root before closing PAM sessions so that
9f2fb5f
  they're closed properly and don't pollute the system logs with dbus reject
9f2fb5f
  messages (#951728, upstream bug #3929)
9f2fb5f
744a63d
* Thu Mar  7 2013 Paul Howarth <paul@city-fan.org> 1.3.4c-1
744a63d
- Update to 1.3.4c
744a63d
  - Added Spanish translation
744a63d
  - Fixed several mod_sftp issues, including SFTPPassPhraseProvider,
744a63d
    handling of symlinks for REALPATH requests, and response code logging
744a63d
  - Fixed symlink race for creating directories when UserOwner is in effect
744a63d
  - Increased performance of FTP directory listings
744a63d
- Drop MySQL password patch, no longer needed
744a63d
- Drop upstreamed proftpd patch for CVE-2012-6095
744a63d
- Update patch for bug 3744 to apply against updated proftpd code
744a63d
744a63d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.4b-6
87e71bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
87e71bb
dfbd7cf
* Wed Jan 16 2013 Paul Howarth <paul@city-fan.org> 1.3.4b-5
dfbd7cf
- Update patch for CVE-2012-6095 to cover vroot cases
dfbd7cf
035b7c0
* Mon Jan  7 2013 Paul Howarth <paul@city-fan.org> 1.3.4b-4
035b7c0
- Fix possible symlink race when applying UserOwner to newly created directory
035b7c0
  (CVE-2012-6095, #892715, http://bugs.proftpd.org/show_bug.cgi?id=3841)
035b7c0
9a03a21
* Sat Sep 22 2012  Remi Collet <remi@fedoraproject.org> 1.3.4b-3
9a03a21
- Rebuild against libmemcached.so.11 without SASL
0121c9f
001a58e
* Thu Aug 30 2012 Paul Howarth <paul@city-fan.org> 1.3.4b-2
001a58e
- Add support for systemd presets in Fedora 18+ (#850281)
001a58e
0a7e092
* Wed Aug  1 2012 Paul Howarth <paul@city-fan.org> 1.3.4b-1
0a7e092
- Update to 1.3.4b
0a7e092
  - Fixed mod_ldap segfault on login when LDAPUsers with no filters used
0a7e092
  - Fixed sporadic SFTP upload issues for large files
0a7e092
  - Fixed SSH2 handling for some clients (e.g. OpenVMS)
0a7e092
  - New FactsOptions directive; see doc/modules/mod_facts.html#FactsOptions
0a7e092
  - Fixed build errors on Tru64, AIX, Cygwin
0a7e092
  - Lots of bugs fixed - see NEWS for details
0a7e092
- No bzipped tarball release this time, so revert to gzipped one
0a7e092
- Drop patches for fixes included in upstream release
0a7e092
498cbda
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.4a-11
4e3fdde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4e3fdde
40124a2
* Tue Jul  3 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-10
40124a2
- Move tmpfiles.d file from %%{_sysconfdir} to %%{_prefix}/lib
40124a2
6347341
* Sat Apr 21 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-9
6347341
- Rebuild for new libmemcached in Rawhide
6347341
1b40612
* Fri Apr 13 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-8
1b40612
- Do hardened (PIE) builds where possible
1b40612
- Drop %%defattr, redundant since rpm 4.4
1b40612
- Always look for TLS certs in /etc/pki/tls/certs
1b40612
138bfb3
* Mon Mar 12 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-7
138bfb3
- Tweak logrotate script for systemd compatibility (#802178)
138bfb3
- Fix leaked file descriptors for log files (as per bug 3751)
138bfb3
3ac56ac
* Sat Mar  3 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-6
3ac56ac
- Rebuild for new libmemcached in Rawhide
3ac56ac
8abab90
* Tue Feb 28 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-5
8abab90
- Document SELinux configuration for ProFTPD in proftpd.conf (#785443)
8abab90
- Add support for basic and administrative controls actions using ftpdctl by
8abab90
  default (#786623)
8abab90
- Add trace logging directives in proftpd.conf but disable them by default as
8abab90
  they impair performance
8abab90
- Fix ftpwho/ftptop not showing command arguments (bug 3714)
8abab90
- Fix MLSD/MLST fail with "DirFakeUser off" or "DirFakeGroup off" (bug 3715)
8abab90
- Fix proftpd fails to run with "Abort trap" error message (bug 3717)
8abab90
- Fix LIST -R can loop endlessly if bad directory symlink exists (bug 3719)
8abab90
- Fix overly restrictive module logfile permissions (bug 3720)
8abab90
- Fix mod_memcache segfault on server restart (bug 3723)
8abab90
- Fix unloading mod_quotatab causes segfault (#757311, bug 3724)
8abab90
- Fix mod_exec does not always capture stdout/stderr output from executed
8abab90
  command (bug 3726)
138bfb3
- Fix mod_wrap2 causes unexpected LogFormat %%u expansion for SFTP connections
8abab90
  (bug 3727)
8abab90
- Fix mod_ldap segfault when LDAPUsers is used with no optional filters
8abab90
  (bug 3729)
8abab90
- Fix DirFakeUser/DirFakeGroup off with name causes SIGSEGV for MLSD/MLST
8abab90
  commands (bug 3734)
8abab90
- Fix improper handling of self-signed certificate in client-sent cert list
8abab90
  when "TLSVerifyClient on" is used (bug 3742)
8abab90
- Fix random stalls/segfaults seen when transferring large files via SFTP
8abab90
  (bug 3743)
8abab90
- Support ls(1) -1 option for LIST command (bug 3744)
8abab90
- Reject PASV command if no IPv4 address available (bug 3745)
8abab90
- Support applying ListOptions only to NLST or to LIST commands (bug 3746)
8abab90
- Support option for displaying symlinks via MLSD using syntax preferred by
8abab90
  FileZilla (bug 3747)
8abab90
- Fix mod_ban not closing and reopening the BanLog/BanTable file descriptors
8abab90
  on restart, causing a file descriptor leak (bug 3751)
8abab90
- Fix mod_ctrls no longer listening on ControlsSocket after restart (bug 3756)
8abab90
1d095df
* Thu Feb  9 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-4
1d095df
- Rebuild for new libpcre in Rawhide
1d095df
2c3bcca
* Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-3
2c3bcca
- Add -utils subpackage for support tools, which means the main package
2c3bcca
  no longer requires perl
2c3bcca
5766525
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> 1.3.4a-2
5766525
- Make mod_vroot a DSO, loaded by default (#772354)
5766525
- VRootAlias for /etc/security/pam_env.conf is redundant, so remove it
8251f9d
- Add BanMessage (#772354)
4de4614
- Add -devel subpackage for building third-party modules
5766525
5b98466
* Fri Nov 11 2011 Paul Howarth <paul@city-fan.org> 1.3.4a-1
5b98466
- Update to 1.3.4a:
5b98466
  - Fixed mod_load/mod_wrap2 build issues
5b98466
- Drop now-redundant workaround for building mod_load and mod_wrap2
5b98466
- Drop upstreamed patch for xinetd config typo
5b98466
6769e3d
* Thu Nov 10 2011 Paul Howarth <paul@city-fan.org> 1.3.4-1
6769e3d
- Update to 1.3.4, addressing the following bugs since 1.3.4rc3:
6769e3d
  - ProFTPD with mod_sql_mysql dies of "Alarm clock" on FreeBSD (bug 3702)
6769e3d
  - mod_sql_mysql.so: undefined symbol: make_scrambled_password with MySQL 5.5
6769e3d
    on Fedora (bug 3669)
6769e3d
  - PQescapeStringConn() needs a better check (bug 3192)
6769e3d
  - Enable OpenSSL countermeasure against SSLv3/TLSv1 BEAST attacks (bug 3704);
6769e3d
    to disable this countermeasure, which may cause interoperability issues
6769e3d
    with some clients, use the NoEmptyFragments TLSOption
6769e3d
  - Support SFTPOption for ignoring requests to modify timestamps (bug 3706)
6769e3d
  - RPM build on CentOS 5.5 (64bit): "File not found by glob" (bug 3640)
6769e3d
  - Response pool use-after-free memory corruption error
6769e3d
    (bug 3711, #752812, ZDI-CAN-1420, CVE-2011-4130)
6769e3d
- Drop upstream patch for make_scrambled_password_323
6769e3d
- Use upstream SysV initscript rather than our own
6769e3d
- Use upstream systemd service file rather than our own
6769e3d
- Use upstream PAM configuration rather than our own
6769e3d
- Use upstream logrotate configuration rather than our own
6769e3d
- Use upstream tempfiles configuration rather than our own
6769e3d
- Use upstream xinetd configuration rather than our own
6769e3d
e918f16
* Thu Oct  6 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.15.rc3
e918f16
- Add upstream patch to not try make_scrambled_password_323 if the MySQL
e918f16
  library doesn't export it (#718327, upstream bug 3669); this removes support
e918f16
  for password hashes generated on MySQL prior to 4.1
e918f16
d8effbb
* Thu Sep 29 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.14.rc3
d8effbb
- Update to 1.3.4rc3 (see NEWS and RELEASE_NOTES for full details)
d8effbb
  - The mod_ldap configuration directives have changed to a simplified version;
d8effbb
    please read the "Changes" section in README.LDAP for details
d8effbb
  - Support for using RADIUS for authentication SSH2 logins, and for supporting
d8effbb
    the NAS-IPv6-Address RADIUS attribute
d8effbb
  - Automatically disable sendfile support on AIX systems
d8effbb
  - <Limit WRITE> now prevents renaming/moving a file out of the limited
d8effbb
    directory
d8effbb
  - ExtendedLog entries now written for data transfers that time out
d8effbb
- Drop upstreamed patches
d8effbb
- Use new --disable-strip option to retain debugging symbols
d8effbb
- Use upstream LDAP quota table schema rather than our own copy
d8effbb
- Add patch for broken MySQL auth (#718327, upstream bug 3669)
d8effbb
- Remove spurious exec permissions on systemd unit file
d8effbb
660e337
* Tue Sep 27 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.13.rc2
660e337
- Restore back-compatibility with older releases and EPEL, broken by -11 update
660e337
- Use /run rather than /var/run if using systemd init
660e337
- Avoid the use of triggers in SysV-to-systemd migration
660e337
3046ecd
* Sat Sep 17 2011  Remi Collet <remi@fedoraproject.org> 1.3.4-0.12.rc2
660e337
- Rebuild against libmemcached.so.8
3046ecd
7b14d18
* Mon Sep 12 2011 Tom Callaway <spot@fedoraproject.org> 1.3.4-0.11.rc2
660e337
- Convert to systemd
7b14d18
7ff381a
* Fri Jun  3 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.10.rc2
7ff381a
- Rebuild for new libmemcached in Rawhide
7ff381a
9c2f73d
* Tue May 17 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.9.rc2
9c2f73d
- Add a number of fixes for bugs reported upstream:
9c2f73d
  - Avoid spinning proftpd process if read(2) returns EAGAIN (bug 3639)
9c2f73d
  - SITE CPFR/CPTO does not update quota tally (bug 3641)
9c2f73d
  - Segfault in mod_sql_mysql if "SQLAuthenticate groupsetfast" used (bug 3642)
9c2f73d
  - Disable signal handling for exiting session processes (bug 3644)
9c2f73d
  - Ensure that SQLNamedConnectInfos with PERSESSION connection policies are
9c2f73d
    opened before chroot (bug 3645)
9c2f73d
  - MaxStoreFileSize can be bypassed using REST/APPE (bug 3649)
9c2f73d
  - Fix TCPAccessSyslogLevel directive (bug 3652)
9c2f73d
  - Segfault with "DefaultServer off" and no matching server for incoming IP
9c2f73d
    address (bug 3653)
9c2f73d
479ad8a
* Fri Apr  8 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.8.rc2
479ad8a
- Update mod_geoip to 0.3 (update for new regexp API)
479ad8a
- Drop patch for mod_geoip API fix
479ad8a
3c856a0
* Mon Apr  4 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.7.rc2
3c856a0
- Update to 1.3.4rc2 (see NEWS and RELEASE_NOTES for full details)
3c856a0
  - Display messages work properly again
3c856a0
  - Fixes plaintext command injection vulnerability in FTPS implementation
3c856a0
    (bug 3624)
3c856a0
  - Fixes CVE-2011-1137 (badly formed SSH messages cause DoS - bug 3586)
3c856a0
  - Performance improvements, especially during server startup/restarts
3c856a0
  - New modules mod_memcache and mod_tls_memcache for using memcached servers
3c856a0
    for caching information among different proftpd servers and/or across
3c856a0
    sessions
3c856a0
  - Utilities installed by default: ftpasswd, ftpmail, ftpquota
3c856a0
  - New configuration directives:
3c856a0
    - MaxCommandRate
3c856a0
    - SQLNamedConnectInfo
3c856a0
    - TraceOptions
3c856a0
  - Changed configuration directives:
3c856a0
    - BanOnEvent
3c856a0
    - ExtendedLog
3c856a0
    - LogFormat
3c856a0
    - PathAllowFilter
3c856a0
    - PathDenyFilter
3c856a0
    - SFTPOptions
3c856a0
    - SFTPPAMOptions
3c856a0
    - SQLNamedQuery
3c856a0
    - TLSSessionCache
3c856a0
    - Trace
3c856a0
  - New documentation for ConnectionACLs and utilities (ftpasswd etc.)
3c856a0
- Use the pcre regexp implementation (where possible) rather than the glibc one,
3c856a0
  which isn't safe with untrusted regexps
3c856a0
  (http://bugs.proftpd.org/3595, CVE-2010-4051, CVE-2010-4052, #673040)
3c856a0
- We need libmemcached 0.41 or later for memcached support
3c856a0
- We need pcre 7.0 or later for pcre regexp support
bf87538
- Nobody else likes macros for commands
3c856a0
242e59c
* Tue Mar 22 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.4.rc1
242e59c
- Rebuilt for new MySQL client library in Rawhide
242e59c
05ba557
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-0.3.rc1.1
05ba557
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
05ba557
06304b7
* Tue Jan 11 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.3.rc1
06304b7
- Update mod_vroot to 0.9.2
06304b7
- Get more of the integration tests working
06304b7
fbfebe8
* Wed Jan  5 2011 Paul Howarth <paul@city-fan.org> 1.3.4-0.2.rc1
fbfebe8
- Update mod_vroot to 0.9.1
45cb466
- Add upstream patches making unit tests work on systems where 127.0.0.1
fbfebe8
  maps to localhost.localdomain rather than just localhost
fbfebe8
060da19
* Fri Dec 24 2010 Paul Howarth <paul@city-fan.org> 1.3.4-0.1.rc1
060da19
- Update to 1.3.4rc1 (see RELEASE_NOTES for full details)
060da19
  - Added Japanese translation
060da19
  - Many mod_sftp bugfixes
060da19
  - Fixed SSL_shutdown() errors caused by OpenSSL 0.9.8m and later
060da19
  - Added support for SMTP authentication in ftpmail script
060da19
  - Updated fnmatch implementation, using glibc-2.9 version
060da19
  - New modules: mod_copy, mod_deflate, mod_ifversion, mod_qos
060da19
  - New configuration directives:
060da19
    - Protocols
060da19
    - ScoreboardMutex
060da19
    - SFTPClientAlive
060da19
    - WrapOptions
060da19
  - Changed configuration directives:
060da19
    - BanOnEvent
060da19
    - ListOptions
060da19
    - LogFormat
060da19
    - SFTPOptions
060da19
    - TLSOptions
060da19
    - UseSendfile
060da19
  - Deprecated configuration directives:
060da19
    - DisplayGoAway (support for this directive has been removed)
060da19
- Add %%check section, running the API tests by default
060da19
- BR: check-devel, needed for the API test suite
060da19
- Add upstream patch (http://bugs.proftpd.org/3568), modified slightly, to fix
060da19
  the API tests
060da19
- Optionally run the perl-based integration test suite if the build option
060da19
  --with integrationtests is supplied; this is off by default as it is not
060da19
  fully maintained and is expected to fail in parts
060da19
  (see http://bugs.proftpd.org/3568#c5)
060da19
- Bundle perl(Test::Unit) 0.14, needed to run the integration test suite
060da19
  (version in Fedora is incompatible later version not from CPAN)
060da19
- BR: perl modules Compress::Zlib, IO::Socket::SSL, Net::FTPSSL, Net::SSLeay,
060da19
  Net::Telnet, Test::Harness and Time::HiRes if building --with integrationtests
060da19
- New DSO modules: mod_copy, mod_deflate, mod_ifversion, mod_qos
060da19
- QoS support can be enabled in /etc/sysconfig/proftpd
060da19
9395262
* Mon Dec 20 2010 Paul Howarth <paul@city-fan.org> 1.3.3d-1
9395262
- Update to 1.3.3d
469280b
  - Fixed sql_prepare_where() buffer overflow (bug 3536, CVE-2010-4652)
9395262
  - Fixed CPU spike when handling .ftpaccess files
9395262
  - Fixed handling of SFTP uploads when compression is used
9395262
ec00906
* Fri Dec 10 2010 Paul Howarth <paul@city-fan.org> 1.3.3c-3
ec00906
- Update mod_vroot to 0.9 (improvements to alias handling)
ec00906
- Note that the previous default configuration is broken by this change; see
ec00906
  the new VRootAlias line in proftpd.conf
ec00906
- Add Default-Stop LSB keyword in initscript (for runlevels 0, 1, and 6)
ec00906
b9eac3b
* Wed Dec  1 2010 Paul Howarth <paul@city-fan.org> 1.3.3c-2
b9eac3b
- Add /etc/tmpfiles.d/proftpd.conf for builds on Fedora 15 onwards to
b9eac3b
  support running with /var/run on tmpfs (#656675)
b9eac3b
b826951
* Mon Nov  1 2010 Paul Howarth <paul@city-fan.org> 1.3.3c-1
b826951
- Update to 1.3.3c (#647965)
0db1ae1
  - Fixed Telnet IAC stack overflow vulnerability (CVE-2010-4221)
b826951
  - Fixed directory traversal bug in mod_site_misc (CVE-2010-3867)
b826951
  - Fixed SQLite authentications using "SQLAuthType Backend"
b826951
- New DSO module: mod_geoip
b826951
a586c73
* Fri Sep 10 2010 Paul Howarth <paul@city-fan.org> 1.3.3b-1
a586c73
- Update to 1.3.3b
a586c73
  - Fixed SFTP directory listing bug
a586c73
  - Avoid corrupting utmpx databases on FreeBSD
a586c73
  - Avoid null pointer dereferences during data transfers
a586c73
  - Fixed "AuthAliasOnly on" anonymous login
a586c73
2f2203c
* Fri Jul  2 2010 Paul Howarth <paul@city-fan.org> 1.3.3a-1
2f2203c
- Update to 1.3.3a
2f2203c
  - Added Japanese translation
2f2203c
  - Many mod_sftp bugfixes
2f2203c
  - Fixed SSL_shutdown() errors caused by OpenSSL 0.9.8m and later
2f2203c
  - Fixed handling of utmp/utmpx format changes on FreeBSD
2f2203c
f757bcc
* Thu Feb 25 2010 Paul Howarth <paul@city-fan.org> 1.3.3-1
f757bcc
- Update to 1.3.3 (see NEWS for list of fixed bugs)
f757bcc
- Update PID file location in initscript
f757bcc
- Drop upstreamed patches
f757bcc
- Upstream distribution now includes mod_exec, so drop unbundled source
f757bcc
- New DSO modules:
f757bcc
  - mod_sftp
f757bcc
  - mod_sftp_pam
f757bcc
  - mod_sftp_sql
f757bcc
  - mod_shaper
f757bcc
  - mod_sql_passwd
f757bcc
  - mod_tls_shmcache
f757bcc
- Configure script no longer appends "/proftpd" to --localstatedir option
f757bcc
- New utility ftpscrub for scrubbing the scoreboard file
f757bcc
- Include public key blacklist and Diffie-Hellman parameter files for mod_sftp
f757bcc
  in %%{_sysconfdir}
f757bcc
- Remove IdentLookups from config file - disabled by default now
f757bcc
beb7c5d
* Mon Feb 15 2010 Paul Howarth <paul@city-fan.org> 1.3.2d-1
dbf4a65
- Update to 1.3.2d, addressing the following issues:
dbf4a65
  - mod_tls doesn't compile with pre-0.9.7 openssl (bug 3358)
dbf4a65
  - Lack of PID protection in ScoreboardFile (bug 3370)
dbf4a65
  - Crash when retrying a failed login with mod_radius being used (bug 3372)
dbf4a65
  - RADIUS authentication broken on 64-bit platforms (bug 3381)
dbf4a65
  - SIGHUP eventually causes certain DSO modules to segfault (bug 3387)
beb7c5d
7a46328
* Thu Dec 10 2009 Paul Howarth <paul@city-fan.org> 1.3.2c-1
7a46328
- Update to 1.3.2c, addressing the following issues:
7a46328
  - SSL/TLS renegotiation vulnerability (CVE-2009-3555, bug 3324)
7a46328
  - Failed database transaction can cause mod_quotatab to loop (bug 3228)
7a46328
  - Segfault in mod_wrap (bug 3332)
7a46328
  - <Directory> sections can have <Limit> problems (bug 3337)
7a46328
  - mod_wrap2 segfaults when a valid user retries the USER command (bug 3341)
7a46328
  - mod_auth_file handles 'getgroups' request incorrectly (bug 3347)
7a46328
  - Segfault caused by scrubbing zero-length portion of memory (bug 3350)
7a46328
- Drop upstreamed segfault patch
7a46328
6c9949e
* Thu Dec 10 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-3
6c9949e
- Add patch for upstream bug 3350 - segfault on auth failures
6c9949e
01817b6
* Wed Dec  9 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-2
01817b6
- Reduce the mod_facts patch to the single commit addressing the issue with
01817b6
  directory names with glob characters (#521634), avoiding introducing a
01817b6
  further problem with <Limit> (#544002)
01817b6
65d2f81
* Wed Oct 21 2009 Paul Howarth <paul@city-fan.org> 1.3.2b-1
65d2f81
- Update to 1.3.2b
65d2f81
  - Fixed regression causing command-line define options not to work (bug 3221)
39d6c5d
  - Fixed SSL/TLS cert subjectAltName verification (bug 3275, CVE-2009-3639)
65d2f81
  - Use correct cached user values with "SQLNegativeCache on" (bug 3282)
65d2f81
  - Fix slower transfers of multiple small files (bug 3284)
65d2f81
  - Support MaxTransfersPerHost, MaxTransfersPerUser properly (bug 3287)
65d2f81
  - Handle symlinks to directories with trailing slashes properly (bug 3297)
65d2f81
- Drop upstreamed defines patch (bug 3221)
65d2f81
70e21c2
* Thu Sep 17 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-7
70e21c2
- Restore backward SRPM compatibility broken by previous change
70e21c2
70e21c2
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-6
648e443
- Use password-auth common PAM configuration instead of system-auth
648e443
de8c2ff
* Mon Sep  7 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-5
de8c2ff
- Add upstream patch for MLSD with dirnames containing glob chars (#521634)
de8c2ff
ef6963d
* Wed Sep  2 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-4
ef6963d
- New DSO module: mod_exec (#520214)
ef6963d
70e21c2
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> 1.3.2a-3.1
ef6963d
- Rebuilt with new openssl
8b65079
3ae2436
* Wed Aug 19 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-3
3ae2436
- Use mod_vroot to work around PAM/chroot issues (#477120, #506735)
3ae2436
ef760a6
* Fri Jul 31 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-2
ef760a6
- Add upstream patch to fix parallel build (http://bugs.proftpd.org/3189)
ef760a6
1f47ac5
* Mon Jul 27 2009 Paul Howarth <paul@city-fan.org> 1.3.2a-1
1f47ac5
- Update to 1.3.2a
ef760a6
- Add patch to reinstate support for -DPARAMETER (http://bugs.proftpd.org/3221)
1f47ac5
- Retain CAP_AUDIT_WRITE, needed for pam_loginuid (#506735, fixed upstream)
1f47ac5
- Remove ScoreboardFile directive from configuration file - default value
1f47ac5
  works better with SELinux (#498375)
1f47ac5
- Ship mod_quotatab_sql.so in the main package rather than the SQL backend
1f47ac5
  subpackages
1f47ac5
- New DSO modules:
1f47ac5
  - mod_ctrls_admin
1f47ac5
  - mod_facl
1f47ac5
  - mod_load
1f47ac5
  - mod_quotatab_radius
1f47ac5
  - mod_radius
1f47ac5
  - mod_ratio
1f47ac5
  - mod_rewrite
1f47ac5
  - mod_site_misc
1f47ac5
  - mod_wrap2
1f47ac5
  - mod_wrap2_file
1f47ac5
  - mod_wrap2_sql
1f47ac5
- Enable mod_lang/nls support for RFC 2640 (and buildreq gettext)
1f47ac5
- Add /etc/sysconfig/proftpd to set PROFTPD_OPTIONS and update initscript to
1f47ac5
  use this value so we can use a define to enable (e.g.) anonymous FTP support
1f47ac5
  rather than having a huge commented-out section in the config file
1f47ac5
- Rewrite config file to remove most settings that don't change upstream
1f47ac5
  defaults, and add brief descriptions for all available loadable modules
1f47ac5
- Move Umask and IdentLookups settings from server config to <Global> context
1f47ac5
  so that they apply to all servers, including virtual hosts (#509251)
1f47ac5
- Ensure mod_ifsession is always the last one specified, which makes sure that
1f47ac5
  mod_ifsession's changes are seen properly by other modules
1f47ac5
- Drop pam version requirement - all targets have sufficiently recent version
1f47ac5
- Drop redundant explicit dependency on pam
1f47ac5
- Subpackages don't need to own %%{_libexecdir}/proftpd directory
1f47ac5
- Drop redundant krb5-devel buildreq
1f47ac5
- Make SRPM back-compatible with EPEL-4 (TLS cert dirs, PAM config)
1f47ac5
- Don't include README files for non-Linux platforms
1f47ac5
- Recode ChangeLog as UTF-8
1f47ac5
- Don't ship the prxs tool for building custom DSO's since we don't ship the
1f47ac5
  headers either
1f47ac5
- Prevent stripping of binaries in a slightly more robust way
1f47ac5
- Fix release tag to be ready for future beta/rc versions
1f47ac5
- Define RPM macros in global scope
1f47ac5
- BuildRequire libcap-devel so that we use the system library rather than the
1f47ac5
  bundled one, and eliminate log messages like:
1f47ac5
  kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
1f47ac5
70e21c2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.2-3.1
a0cf253
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a0cf253
adb8af5
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2.1
adb8af5
- Update the tcp_wrappers BR to be just /usr/include/tcpd.h instead.
adb8af5
a942137
* Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2
a942137
- Fix tcp_wrappers-devel BR conditional.
a942137
d961c67
* Mon Apr  6 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-1
d961c67
- Update to 1.3.2.
d961c67
- Include mod_wrap (#479813).
d961c67
- Tried to include mod_wrap2* modules but build failed.
d961c67
d961c67
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
5f557a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5f557a4
Caolan McNamara 059114f
* Sat Jan 24 2009 Caolán McNamara 1.3.2-0.3.rc3
1f47ac5
- Rebuild for dependencies
Caolan McNamara 059114f
6dd6604
* Fri Jan  2 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-0.2.rc3
6dd6604
- Update default configuration to have a lit of available modules and more
6dd6604
  example configuration for them.
6dd6604
9d71c20
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 1.3.2-0.1.rc3
9d71c20
- Update to 1.3.2rc3 (fixes security issue #464127)
9d71c20
- Exclude new pkgconfig file, as we already exclude header files (if someone
9d71c20
  ever needs to rebuild something against this proftpd, just ask and I'll split
9d71c20
  out a devel package... but it seems pretty useless currently).
9d71c20
- Remove no longer needed find-umode_t patch.
9d71c20
0eccf2e
* Fri Aug  8 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-6
0eccf2e
- Add mod_ban support (#457289, Philip Prindeville).
0eccf2e
0eccf2e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
f32163c
- Autorebuild for GCC 4.3
f32163c
c8dd5d7
* Wed Feb 13 2008 Matthias Saou <http://freshrpms.net/> 1.3.1-4
c8dd5d7
- Pass --enable-shadow to also have it available, not just PAM (#378981).
c8dd5d7
- Add mod_ifsession as DSO (#432539).
c8dd5d7
279fbd0
* Mon Dec 17 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-3
279fbd0
- Rebuild for new openssl, patch from Paul Howarth.
279fbd0
279fbd0
* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-2
279fbd0
- Include openldap schema file for quota support (Fran Taylor, #291891).
279fbd0
- Include FDS compatible LDIF file for quota support (converted).
279fbd0
- Prefix source welcome.msg for consistency.
c37d1ee
0931d8f
* Tue Oct  9 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-1
0931d8f
- Update to 1.3.1 final.
0931d8f
- Remove all patches (upstream).
0931d8f
23b76f9
* Sun Aug 19 2007 Matthias Saou <http://freshrpms.net/> 1.3.1-0.2.rc3
01d405b
- Update to 1.3.1rc3 (the only version to fix #237533 aka CVE-2007-2165).
01d405b
- Remove all patches, none are useful anymore.
01d405b
- Patch sstrncpy.c for config.h not being included (reported upstream #2964).
01d405b
- Patch mod_sql_mysql.c to fix a typo (already fixed in CVS upstream).
01d405b
- Exclude new headers, at least until some first 3rd party module shows up.
01d405b
- Clean up old leftover CVS strings from our extra files.
01d405b
- LSB-ize the init script (#247033).
01d405b
- Explicitly pass --enable-openssl since configure tells us "(default=no)".
23b76f9
- Include patch to fix open calls on F8.
01d405b
6516939
* Sun Aug 12 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-8
6516939
- Fix logrotate entry to silence error when proftpd isn't running (#246392).
6516939
130af7b
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-7
130af7b
- Include patch to fix "open" calls with recent glibc.
130af7b
e4e6100
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-6
e4e6100
- Update License field.
e4e6100
80c354f
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-5
80c354f
- Remove _smp_mflags to (hopefully) fix build failure.
80c354f
367eb33
* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
367eb33
- Fix PAM entry for F7+ (#244168). Still doesn't work with selinux, though.
367eb33
367eb33
* Fri May  4 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
367eb33
- Fix auth bypass vulnerability (#237533, upstream #2922)... not! :-(
367eb33
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
07dd947
* Wed Apr  6 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
07dd947
* Thu 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
07dd947
* Mon Apr  2 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
035b7c0
* Thu Oct 07 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