diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b740aa --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +pure-ftpd-1.0.29.tar.bz2 +/pure-ftpd-1.0.30.tar.bz2 +/pure-ftpd-1.0.32.tar.bz2 +/pure-ftpd-1.0.35.tar.bz2 +/pure-ftpd-1.0.36.tar.bz2 +/pure-ftpd-1.0.37.tar.bz2 +/pure-ftpd-1.0.39.tar.bz2 +/pure-ftpd-1.0.40.tar.bz2 +/pure-ftpd-1.0.42.tar.bz2 +/pure-ftpd-1.0.46.tar.bz2 +/pure-ftpd-1.0.47.tar.bz2 +/pure-ftpd-1.0.48.tar.bz2 +/pure-ftpd-1.0.49.tar.bz2 +/pure-ftpd-1.0.51.tar.bz2 +/pure-ftpd-1.0.52.tar.bz2 diff --git a/0001-modify-pam.patch b/0001-modify-pam.patch new file mode 100644 index 0000000..094a5d1 --- /dev/null +++ b/0001-modify-pam.patch @@ -0,0 +1,34 @@ +From 0cabf3b8b952c6117d575360f793ba63fb53c7ba Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Wed, 12 Jul 2017 12:09:38 +0200 +Subject: [PATCH 1/2] modify pam + +--- + pam/pure-ftpd | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/pam/pure-ftpd b/pam/pure-ftpd +index 6611b87..ece8733 100644 +--- a/pam/pure-ftpd ++++ b/pam/pure-ftpd +@@ -4,12 +4,13 @@ + # Install it in /etc/pam.d/pure-ftpd or add to /etc/pam.conf + + auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed ++auth include password-auth + auth required pam_shells.so + auth required pam_nologin.so + +-account required pam_stack.so service=system-auth ++account include password-auth + +-password required pam_stack.so service=system-auth +- +-session required pam_stack.so service=system-auth ++password include password-auth + ++session required pam_loginuid.so ++session include password-auth +-- +2.13.0 + diff --git a/0002-fedora-specific-config-file.patch b/0002-fedora-specific-config-file.patch new file mode 100644 index 0000000..afa6fcf --- /dev/null +++ b/0002-fedora-specific-config-file.patch @@ -0,0 +1,131 @@ +From 5dbbb2948bee45ec0115146efb4a090df00f5530 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Thu, 14 Sep 2017 16:41:12 +0200 +Subject: [PATCH] fedora specific config file + +--- + pure-ftpd.conf.in | 31 +++++++++++++++---------------- + 1 file changed, 15 insertions(+), 16 deletions(-) + +diff --git a/pure-ftpd.conf.in b/pure-ftpd.conf.in +index aeb093a..e93053a 100644 +--- a/pure-ftpd.conf.in ++++ b/pure-ftpd.conf.in +@@ -9,7 +9,7 @@ + # instead of command-line options, please run the + # following command : + # +-# @sbindir@/sbin/pure-ftpd @sysconfdir@/pure-ftpd.conf ++# @sbindir@/pure-ftpd @sysconfdir@/pure-ftpd.conf + # + # Online documentation: + # https://www.pureftpd.org/project/pure-ftpd/doc +@@ -42,7 +42,7 @@ MaxClientsNumber 50 + + + # Run as a background process +- ++# Important: this must be set to 'yes' for the systemd service to work. + Daemonize yes + + +@@ -106,34 +106,34 @@ MaxIdleTime 15 + + # LDAP configuration file (see README.LDAP) + +-# LDAPConfigFile /etc/pureftpd-ldap.conf ++# LDAPConfigFile @sysconfigdir@/pureftpd-ldap.conf + + + + # MySQL configuration file (see README.MySQL) + +-# MySQLConfigFile /etc/pureftpd-mysql.conf ++# MySQLConfigFile @sysconfigdir@/pureftpd-mysql.conf + + + # PostgreSQL configuration file (see README.PGSQL) + +-# PGSQLConfigFile /etc/pureftpd-pgsql.conf ++# PGSQLConfigFile @sysconfigdir@/pureftpd-pgsql.conf + + + # PureDB user database (see README.Virtual-Users) + +-# PureDB /etc/pureftpd.pdb ++# PureDB @sysconfigdir@/pureftpd.pdb + + + # Path to pure-authd socket (see README.Authentication-Modules) + +-# ExtAuth /var/run/ftpd.sock ++# ExtAuth @localstatedir@/run/ftpd.sock + + + + # If you want to enable PAM authentication, uncomment the following line + +-# PAMAuthentication yes ++PAMAuthentication yes + + + +@@ -238,8 +238,7 @@ Umask 133:022 + # For example, a value of 100 prevents all users whose user id is below + # 100 from logging in. If you want "root" to be able to log in, use 0. + +-MinUID 100 +- ++MinUID 1000 + + + # Allow FXP transfers for authenticated users. +@@ -277,7 +276,7 @@ AutoRename no + + # Prevent anonymous users from uploading new files (no = upload is allowed) + +-AnonymousCantUpload no ++AnonymousCantUpload yes + + + +@@ -301,21 +300,21 @@ AnonymousCantUpload no + # fw.c9x.org - jedi [13/Apr/2017:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338 + # This log file can then be processed by common HTTP traffic analyzers. + +-# AltLog clf:/var/log/pureftpd.log ++AltLog clf:@localstatedir@/log/pureftpd.log + + + + # Create an additional log file with transfers logged in a format optimized + # for statistic reports. + +-# AltLog stats:/var/log/pureftpd.log ++# AltLog stats:@localstatedir@/log/pureftpd.log + + + + # Create an additional log file with transfers logged in the standard W3C + # format (compatible with many HTTP log analyzers) + +-# AltLog w3c:/var/log/pureftpd.log ++# AltLog w3c:@localstatedir@/log/pureftpd.log + + + +@@ -346,9 +345,9 @@ AnonymousCantUpload no + + + # If your pure-ftpd has been compiled with standalone support, you can change +-# the location of the pid file. The default is /var/run/pure-ftpd.pid ++# the location of the pid file. The default is @localstatedir@/run/pure-ftpd.pid + +-# PIDFile /var/run/pure-ftpd.pid ++#PIDFile @localstatedir@/run/pure-ftpd.pid + + + +-- +2.20.1 + diff --git a/Makefile b/Makefile deleted file mode 100644 index 8f501ce..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: pure-ftpd -# $Id$ -NAME := pure-ftpd -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/pure-ftpd-with-tls-init.service b/pure-ftpd-with-tls-init.service new file mode 100644 index 0000000..aab2191 --- /dev/null +++ b/pure-ftpd-with-tls-init.service @@ -0,0 +1,10 @@ +[Unit] +Description=One-time configuration for pure-ftpd + +ConditionPathExists=|!/etc/pki/pure-ftpd/pure-ftpd.pem + +[Service] +Type=oneshot +RemainAfterExit=no + +ExecStart=/usr/bin/sscg --ca-file /etc/pki/pure-ftpd/ca.crt --cert-file /etc/pki/pure-ftpd/pure-ftpd.pem --cert-key-file /etc/pki/pure-ftpd/pure-ftpd.pem diff --git a/pure-ftpd-with-tls.service b/pure-ftpd-with-tls.service new file mode 100644 index 0000000..d7abfec --- /dev/null +++ b/pure-ftpd-with-tls.service @@ -0,0 +1,12 @@ +[Unit] +Description=Pure-FTPd FTP server +After=syslog.target network.target pure-ftpd-init.service +Requires=pure-ftpd-init.service + +[Service] +Type=forking +PIDFile=/var/run/pure-ftpd.pid +ExecStart=/usr/sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf + +[Install] +WantedBy=multi-user.target diff --git a/pure-ftpd.README.SELinux b/pure-ftpd.README.SELinux new file mode 100644 index 0000000..fc9d98c --- /dev/null +++ b/pure-ftpd.README.SELinux @@ -0,0 +1,30 @@ +============================= +SELinux support for Pure-FTPd +============================= + +With this package, Pure-FTPd is now protected in the same way VSFTPd and +ProFTPd are in Fedora. + +Read Access +----------- +To allow files to be accessed by Pure-FTPd, you need either : +- to place them in /var/ftp +- to label them with the public_content_t. To do that, you can use:: + chcon -t public_content_t file_to_publish + +Write Access +------------ +If you wish to grant write access, you have to use the public_content_rw_t +type, for example with this command:: + chcon -t public_content_rw_t file_to_publish +and you have to turn on the allow_ftpd_anon_write boolean using +system-config-securitylevel, or using the following command:: + setsebool -P allow_ftpd_anon_write 1 + +Access to home directories +-------------------------- +If you want to publish files in a user's home directory, you have to turn +on the ftp_home_dir boolean, using system-config-securitylevel, or using +the following command:: + setsebool -P ftp_home_dir 1 + diff --git a/pure-ftpd.init b/pure-ftpd.init new file mode 100644 index 0000000..b057da9 --- /dev/null +++ b/pure-ftpd.init @@ -0,0 +1,84 @@ +#!/bin/bash +# +# Startup script for the pure-ftpd FTP Server $Revision: 1.4 $ +# +# chkconfig: - 85 15 +# description: Pure-FTPd is an FTP server daemon based upon Troll-FTPd +# processname: pure-ftpd +# pidfile: /var/run/pure-ftpd.pid +# config: /etc/pure-ftpd/pure-ftpd.conf + +# Source function library. +. /etc/init.d/functions + +# Source networking configuration. +. /etc/sysconfig/network + +# Check that networking is configured. +[ ${NETWORKING} = "no" ] && exit 0 + +RETVAL=0 + +prog="pure-ftpd" + +# Path to the pure-ftp binaries. +fullpath=/usr/sbin/pure-ftpd +pureftpwho=/usr/sbin/pure-ftpwho +pure_config=/etc/pure-ftpd/pure-ftpd.conf +pure_launch_script=/usr/sbin/pure-config.pl + + +start() { + echo -n $"Starting $prog: " + daemon "$pure_launch_script $pure_config --daemonize > /dev/null" + RETVAL=$? + [ $RETVAL = 0 ] && touch /var/lock/subsys/pure-ftpd + echo +} + +stop() { + echo -n $"Stopping $prog: " + killproc pure-ftpd + RETVAL=$? + [ $RETVAL = 0 ] && rm -f /var/lock/subsys/pure-ftpd + echo +} + +# See how we were called. +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + start + ;; + reload) + echo -n $"Reloading $prog: " + killproc pure-ftpd -HUP + RETVAL=$? + echo + ;; + condrestart) + if [ -f /var/lock/subsys/pure-ftpd ] ; then + stop + # avoid race + sleep 3 + start + fi + ;; + status) + status pure-ftpd + RETVAL=$? + if [ -f $pureftpwho ] && [ $RETVAL -eq 0 ] ; then + $pureftpwho + fi + ;; + *) + echo $"Usage: pure-ftpd {start|stop|restart|reload|condrestart|status}" + RETVAL=1 +esac +exit $RETVAL diff --git a/pure-ftpd.logrotate b/pure-ftpd.logrotate new file mode 100644 index 0000000..dde31f1 --- /dev/null +++ b/pure-ftpd.logrotate @@ -0,0 +1,5 @@ +/var/log/pureftpd.log { + weekly + notifempty + missingok +} diff --git a/pure-ftpd.pureftpd.te b/pure-ftpd.pureftpd.te new file mode 100644 index 0000000..84766f4 --- /dev/null +++ b/pure-ftpd.pureftpd.te @@ -0,0 +1,29 @@ +policy_module(pureftpd, 1.0) + +require { + type ftpd_t; +} + +# Read /var/run/utmp +init_read_utmp(ftpd_t) +init_dontaudit_write_utmp(ftpd_t) + +### Allow connect to mysql +# Network connect +corenet_tcp_connect_mysqld_port(ftpd_t) +# Socket file connect +optional_policy(` + mysql_stream_connect(ftpd_t) + mysql_rw_db_sockets(ftpd_t) +') + +### Allow connect to postgresql +# Network connect +corenet_tcp_connect_postgresql_port(ftpd_t) +# Socket file connect +optional_policy(` + postgresql_stream_connect(ftpd_t) +') + +# Allow connect to ldap +sysnet_use_ldap(ftpd_t) diff --git a/pure-ftpd.service b/pure-ftpd.service new file mode 100644 index 0000000..05bb621 --- /dev/null +++ b/pure-ftpd.service @@ -0,0 +1,12 @@ +[Unit] +Description=Pure-FTPd FTP server +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/pure-ftpd.pid +ExecStart=/usr/sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf + +[Install] +WantedBy=multi-user.target + diff --git a/pure-ftpd.spec b/pure-ftpd.spec new file mode 100644 index 0000000..9159c7b --- /dev/null +++ b/pure-ftpd.spec @@ -0,0 +1,592 @@ +Name: pure-ftpd +Version: 1.0.52 +Release: 2%{?dist} +Summary: Lightweight, fast and secure FTP server +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD +URL: http://www.pureftpd.org + +Source0: http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-%{version}.tar.bz2 +Source1: pure-ftpd.service +Source2: pure-ftpd.logrotate +Source6: pure-ftpd.README.SELinux +Source7: pure-ftpd.pureftpd.te +Source8: pure-ftpd-with-tls-init.service +Source9: pure-ftpd-with-tls.service +Patch0: 0001-modify-pam.patch +Patch1: 0002-fedora-specific-config-file.patch + +Provides: ftpserver +BuildRequires: make +BuildRequires: pam-devel, libcap-devel +BuildRequires: libxcrypt-devel +%{!?_without_ldap:BuildRequires: openldap-devel} +%{!?_without_mysql:BuildRequires: mariadb-connector-c-devel} +%{!?_without_pgsql:BuildRequires: libpq-devel} +%{!?_without_tls:BuildRequires: openssl-devel} +BuildRequires: checkpolicy, selinux-policy-devel +BuildRequires: systemd +BuildRequires: git +BuildRequires: gcc +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +Requires: logrotate +%{!?_without_tls:Requires: sscg} + + +%description +Pure-FTPd is a fast, production-quality, standard-comformant FTP server, +based upon Troll-FTPd. Unlike other popular FTP servers, it has no known +security flaw, it is really trivial to set up and it is especially designed +for modern Linux and FreeBSD kernels (setfsuid, sendfile, capabilities) . +Features include PAM support, IPv6, chroot()ed home directories, virtual +domains, built-in LS, anti-warez system, bandwidth throttling, FXP, bounded +ports for passive downloads, UL/DL ratios, native LDAP and SQL support, +Apache log files and more. +Rebuild switches: +--without ldap disable ldap support +--without mysql disable mysql support +--without pgsql disable postgresql support +--without extauth disable external authentication +--without tls disable SSL/TLS + + +%package selinux +Summary: SELinux support for Pure-FTPD +Requires: %{name} = %{version} +Requires(post): policycoreutils, %{name} +Requires(preun): policycoreutils, %{name} +Requires(postun): policycoreutils + +%description selinux +This package adds SELinux enforcement to Pure-FTPD. Install it if you want +Pure-FTPd to be protected in the same way other FTP servers are in Fedora +(e.g. VSFTPd and ProFTPd) + + + +%prep +%autosetup -S git +install -pm 644 %{SOURCE6} README.SELinux +mkdir selinux +cp -p %{SOURCE7} selinux/pureftpd.te + + +%build +%configure \ + --sysconfdir=%{_sysconfdir}/%{name} \ + --with-capabilities \ + --with-sendfile \ + --with-paranoidmsg \ + --with-altlog \ + --with-puredb \ + %{!?_without_extauth:--with-extauth} \ + --with-pam \ + --with-cookie \ + --with-throttling \ + --with-ratios \ + --with-quotas \ + --with-ftpwho \ + --with-welcomemsg \ + --with-uploadscript \ + --with-virtualhosts \ + --with-virtualchroot \ + --with-diraliases \ + --with-peruserlimits \ + %{!?_without_ldap:--with-ldap} \ + %{!?_without_mysql:--with-mysql} \ + %{!?_without_pgsql:--with-pgsql} \ + --with-privsep \ + %{!?_without_tls:--with-tls --with-certfile=%{_sysconfdir}/pki/%{name}/%{name}.pem} \ + --with-rfc2640 \ + --without-bonjour \ + +%make_build + +%install +%make_install + +install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8 +install -d -m 755 $RPM_BUILD_ROOT%{_sbindir} +install -d -m 755 $RPM_BUILD_ROOT%{_unitdir} +install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} +install -d -m 755 $RPM_BUILD_ROOT%{_localstatedir}/ftp +%{!?_without_tls:install -d -m 700 $RPM_BUILD_ROOT%{_sysconfdir}/pki/%{name}} + +# Conf +install -p -m 644 pure-ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} +install -p -m 644 pureftpd-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} +install -p -m 644 pureftpd-mysql.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} +install -p -m 644 pureftpd-pgsql.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} + +# Man +install -p -m 644 man/pure-ftpd.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-ftpwho.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-mrtginfo.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-uploadscript.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-pw.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-pwconvert.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-statsdecode.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-quotacheck.8 $RPM_BUILD_ROOT%{_mandir}/man8 +install -p -m 644 man/pure-authd.8 $RPM_BUILD_ROOT%{_mandir}/man8 + +# Systemd services +%if 0%{!?_without_tls:1} +install -p -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_unitdir}/pure-ftpd-init.service +install -p -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_unitdir}/pure-ftpd.service +%else +install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/pure-ftpd.service +%endif + +# Pam +install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam.d +install -p -m 644 pam/pure-ftpd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/ + +# Logrotate +install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} + +# SELinux support +pushd selinux +echo "%{_sbindir}/pure-ftpd system_u:object_r:ftpd_exec_t:s0" > pureftpd.fc +echo '%{_localstatedir}/log/pureftpd.log system_u:object_r:xferlog_t:s0' >> pureftpd.fc +touch pureftpd.if +make -f %{_datadir}/selinux/devel/Makefile +install -p -m 644 -D pureftpd.pp $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/pureftpd.pp +popd + +# Remove unnecessary docs +rm $RPM_BUILD_ROOT%{_docdir}/%{name}/README.MacOS-X + +%post +%systemd_post pure-ftpd.service + +%preun +%systemd_preun pure-ftpd.service + +%postun +%systemd_postun_with_restart pure-ftpd.service + + +%post selinux +if [ "$1" -le "1" ]; then # Fist install + semodule -i %{_datadir}/selinux/packages/%{name}/pureftpd.pp 2>/dev/null || : + fixfiles -R pure-ftpd restore || : + /bin/systemctl condrestart pure-ftpd > /dev/null 2>&1 || : +fi + +%preun selinux +if [ "$1" -lt "1" ]; then # Final removal + semodule -r pureftpd 2>/dev/null || : + fixfiles -R pure-ftpd restore || : + /bin/systemctl condrestart pure-ftpd > /dev/null 2>&1 || : +fi + +%postun selinux +if [ "$1" -ge "1" ]; then # Upgrade + # Replaces the module if it is already loaded + semodule -i %{_datadir}/selinux/packages/%{name}/pureftpd.pp 2>/dev/null || : + # no need to restart the daemon +fi + + +%files +%doc FAQ THANKS AUTHORS HISTORY NEWS +%doc README README.Authentication-Modules README.Configuration-File +%doc README.Donations README.LDAP README.MySQL README.SELinux +%doc README.PGSQL README.TLS README.Virtual-Users +%doc pureftpd.schema +%doc %{_docdir}/%{name}/*.conf +%{_bindir}/pure-* +%{_sbindir}/pure-* +%if 0%{!?_without_tls:1} +%{_unitdir}/pure-ftpd-init.service +%{_unitdir}/pure-ftpd.service +%else +%{_unitdir}/pure-ftpd.service +%endif +%config(noreplace) %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/pam.d/%{name} +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%{!?_without_tls:%{_sysconfdir}/pki/%{name}} +%{_mandir}/man8/* +%dir /var/ftp/ + + +%files selinux +%doc README.SELinux +%{_datadir}/selinux/packages/%{name}/pureftpd.pp + + +%changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.0.52-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue May 20 2025 Jonathan Wright - 1.0.52-1 +- update to 1.0.52 rhbz#2313435 +- Fixes CVE-2024-48208 rhbz#2343476 + +* Sat Feb 01 2025 Björn Esser - 1.0.51-9 +- Add explicit BR: libxcrypt-devel + +* Sat Jan 18 2025 Fedora Release Engineering - 1.0.51-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 1.0.51-7 +- convert license to SPDX + +* Fri Jul 19 2024 Fedora Release Engineering - 1.0.51-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.51-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.0.51-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.51-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.51-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Jonathan Wright - 1.0.51-1 +- New version +- Resolves: rhbz#2026153 +- Remove usermode dependency and non-root "ftpwho" +- Resolves: rhbz#502754 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.49-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Sep 14 2021 Sahana Prasad - 1.0.49-11 +- Rebuilt with OpenSSL 3.0.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.49-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.0.49-9 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Mon Feb 08 2021 Pavel Raiskup - 1.0.49-8 +- rebuild for libpq ABI fix rhbz#1908268 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.49-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.49-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed May 06 2020 Ondřej Lysoněk - 1.0.49-5 +- Fix CVE-2020-9365 and CVE-2020-9274 +- Resolves: rhbz#1828688 +- Resolves: rhbz#1831059 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.49-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 27 2020 Ondřej Lysoněk - 1.0.49-3 +- Fix potential stack exhaustion in function listdir (CVE-2019-20176) +- Resolves: rhbz#1795152 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.49-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Apr 03 2019 Ondřej Lysoněk - 1.0.49-1 +- New version +- Resolves: rhbz#1695561 + +* Fri Mar 29 2019 Ondřej Lysoněk - 1.0.48-1 +- New version +- Resolves: rhbz#1692539 +- Resolves: rhbz#1672494 +- Resolves: rhbz#1654838 + +* Tue Feb 12 2019 Ondřej Lysoněk - 1.0.47-10 +- Temporarily disable TLSv1.3 support until it's fully fixed + +* Tue Feb 05 2019 Ondřej Lysoněk - 1.0.47-9 +- Fixed TLSv1.3 support +- Resolves: rhbz#1654838 +- Fixed postgresql authentication + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.47-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Björn Esser - 1.0.47-7 +- Rebuilt for libcrypt.so.2 (#1666033) + +* Mon Nov 19 2018 Peter Robinson 1.0.47-6 +- Fix for oversight in previous change + +* Sun Nov 18 2018 Peter Robinson 1.0.47-5 +- Drop sysv legacy bits + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.47-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Mar 15 2018 Ondřej Lysoněk - 1.0.47-3 +- Apply upstream patch to increase the size limit of the process's data segment +- https://github.com/jedisct1/pure-ftpd/issues/82 +- Resolves: rhbz#1490354 + +* Mon Feb 19 2018 Ondřej Lysoněk - 1.0.47-2 +- Add gcc to BuildRequires + +* Tue Feb 13 2018 Ondřej Lysoněk - 1.0.47-1 +- New version +- Dropped patch 0003-Allow-having-both-options-and-config-file-on-command.patch + as it was rejected by upstream +- Complain when invalid or excessive arguments are given on the command line + +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.46-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 20 2018 Björn Esser - 1.0.46-5 +- Rebuilt for switch to libxcrypt + +* Wed Oct 25 2017 Ondřej Lysoněk - 1.0.46-4 +- Depend on mariadb-connector-c-devel instead of mysql-devel +- Resolves: rhbz#1493658 + +* Wed Oct 25 2017 Ondřej Lysoněk - 1.0.46-3 +- Generate the TLS certificate using sscg in an initialization systemd service +- This is required by +- https://fedoraproject.org/wiki/Packaging:Initial_Service_Setup + +* Thu Sep 14 2017 Ondřej Lysoněk - 1.0.46-2 +- Fix loading the configuration file +- Drop unsupported UseFtpUsers option from configuration file + +* Mon Aug 14 2017 Martin Sehnoutka - 1.0.46-1 +- Rebase to 1.0.46 + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.42-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.42-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.42-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.42-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Dec 23 2015 Robert Scheck - 1.0.42-3 +- Remove executable permission bits from pure-ftpd systemd unit + +* Wed Aug 05 2015 Jaromir Capik - 1.0.42-2 +- Making mysql/postgresql policies optional (#1249109) + +* Mon Jul 27 2015 Jaromir Capik - 1.0.42-1 +- Updating to 1.0.42 (#1236253) + +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.40-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jun 15 2015 Jaromir Capik - 1.0.40-1 +- Updating to 1.0.40 (#1231498) + +* Mon Jun 01 2015 Jaromir Capik - 1.0.39-1 +- Updating to 1.0.39 (#1224479) + +* Fri Feb 27 2015 Jaromir Capik - 1.0.37-1 +- Updating to 1.0.37 + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.36-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.36-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0.36-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.0.36-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.36-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Oct 23 2012 Jaromir Capik - 1.0.36-1 +- Update to 1.0.36 + +* Mon Aug 27 2012 Jaromir Capik - 1.0.35-4 +- Migration to new systemd scriptlet macros + +* Sat Jul 21 2012 Fedora Release Engineering - 1.0.35-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Mar 13 2012 Jaromir Capik - 1.0.35-2 +- Changing MinUID from 500 to 1000 + +* Fri Jan 13 2012 Jaromir Capik - 1.0.35-1 +- Update to 1.0.35 + +* Mon Sep 12 2011 Tom Callaway - 1.0.32-2 +- convert to systemd + +* Thu May 19 2011 Michal Ingeli - 1.0.32-1 +- version 1.0.32 +- security bug fix #704283 by upstream (CVE-2011-0418) + +* Sat Mar 26 2011 Michal Ingeli - 1.0.30-2 +- bug fix for mysql passwords #690346 +- version 1.0.30 +- security bug fix #683221 by upstream + +* Wed Mar 23 2011 Dan Horák - 1.0.29-4 +- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) + +* Wed Feb 09 2011 Fedora Release Engineering - 1.0.29-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Apr 28 2010 Aurelien Bompard - 1.0.29-2 +- fix bug #586513 + +* Tue Mar 16 2010 Aurelien Bompard - 1.0.29-1 +- version 0.1.29 + +* Fri Dec 04 2009 Aurelien Bompard - 1.0.27-1 +- version 1.0.27 + +* Wed Sep 16 2009 Tomas Mraz - 1.0.22-4 +- use password-auth common PAM configuration instead of system-auth + +* Fri Aug 21 2009 Tomas Mraz - 1.0.22-3 +- rebuilt with new openssl + +* Sun Jul 26 2009 Fedora Release Engineering - 1.0.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Apr 27 2009 Aurelien Bompard 1.0.22-1 +- version 1.0.22 + +* Wed Mar 04 2009 Aurelien Bompard 1.0.21-20 +- make pam and consolehelper's conf files noreplace + +* Thu Feb 26 2009 Fedora Release Engineering - 1.0.21-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Jan 24 2009 Aurelien Bompard 1.0.21-18 +- Rebuild for mysql + +* Mon Dec 01 2008 Ignacio Vazquez-Abrams - 1.0.21-17 +- Rebuild for Python 2.6 + +* Thu Jun 05 2008 Aurelien Bompard 1.0.21-16 +- Rebuild for libcap.so.2 (bug 450086) + +* Mon Feb 18 2008 Fedora Release Engineering - 1.0.21-15 +- Autorebuild for GCC 4.3 + +* Thu Dec 06 2007 Release Engineering - 1.0.21-14 +- Rebuild for deps + +* Sun Aug 26 2007 Aurelien Bompard 1.0.21-13 +- rebuild for BuildID + +* Sat Dec 09 2006 Aurelien Bompard 1.0.21-12 +- rebuild + +* Sat Dec 09 2006 Aurelien Bompard 1.0.21-11 +- rebuild + +* Wed Aug 30 2006 Aurelien Bompard 1.0.21-9 +- rebuild + +* Fri Aug 04 2006 Aurelien Bompard 1.0.21-8 +- BuildRequire selinux-policy-devel for FC6 onwards + +* Fri Aug 04 2006 Aurelien Bompard 1.0.21-7 +- install README.SELinux with perms 644 to avoid depending on the + buildsys' umask (bug 200844) + +* Fri Jun 16 2006 Aurelien Bompard 1.0.21-6 +- add missing m4 BuildRequires + +* Sun May 14 2006 Aurelien Bompard 1.0.21-5 +- add missing BuildRequires + +* Sun May 14 2006 Aurelien Bompard 1.0.21-4 +- add SELinux support +- prevent the init script from displaying the config on startup + +* Sun Apr 09 2006 Aurelien Bompard 1.0.21-3 +- fix mysql socket location (bug 188426) + +* Wed Feb 22 2006 Aurelien Bompard 1.0.21-2 +- build option rendezvous has been renamed to bonjour +- add --with-cork +- see bug 182314 for more info, thanks to Jose Pedro Oliveira + +* Tue Feb 21 2006 Aurelien Bompard 1.0.21-1 +- version 1.0.21 + +* Sun Nov 13 2005 Aurelien Bompard 1.0.20-4 +- rebuild +- i18n in init script + +* Mon Aug 01 2005 Aurelien Bompard 1.0.20-3 +- build feature-complete by default +- add TLS support +- see bug #162849 + +* Wed Mar 23 2005 Aurelien Bompard 1.0.20-2.fc4 +- implement Jose's RFE in bug 151337: pure-ftpwho can be run + by a normal user. +- change release tag for FC4 + +* Sun Mar 13 2005 Aurelien Bompard 1.0.20-1 +- adapt to Fedora Extras (drop Epoch, change Release tag) + +* Wed Feb 16 2005 Aurelien Bompard 0:1.0.20-0.fdr.9 +- license is BSD, not GPL + +* Mon Feb 14 2005 Aurelien Bompard 0:1.0.20-0.fdr.8 +- various fixes. See bug 1573 (fedora.us) for more info. + +* Fri Feb 11 2005 Aurelien Bompard 0:1.0.20-0.fdr.7 +- fix init script +- require logrotate +- add rebuild switches to lower dependancies +- see bug 1573 (fedora.us) for more info. + +* Fri Feb 04 2005 Aurelien Bompard 0:1.0.20-0.fdr.6 +- Add the "UseFtpUsers no" directive in the config file since we don't + use it anymore + +* Wed Feb 02 2005 Aurelien Bompard 0:1.0.20-0.fdr.5 +- various spec file improvements + +* Mon Jan 31 2005 Aurelien Bompard 0:1.0.20-0.fdr.4 +- add patch for x86_64 support +- implement wishes in bug 1573 from Jose Pedro Oliveira +- don't use the ftpusers file, and thus remove conflicts with other FTP servers +- rediff config patch + +* Tue Nov 02 2004 Aurelien Bompard 0:1.0.20-0.fdr.3 +- add large file support + +* Fri Sep 24 2004 Aurelien Bompard 0:1.0.20-0.fdr.2 +- redirect %%preun output to /dev/null +- add requirements to chkconfig for the scriptlets + +* Sun Aug 01 2004 Aurelien Bompard 0:1.0.20-0.fdr.1 +- version 1.0.20 (bugfixes) + +* Mon Jun 28 2004 Aurelien Bompard 0:1.0.19-0.fdr.1 +- version 1.0.19 + +* Tue May 04 2004 Aurelien Bompard 0:1.0.18-0.fdr.1 +- version 1.0.18 +- spec file cleanups + +* Sun Oct 19 2003 Aurelien Bompard 1.0.16a-1 +- Redhatize the Mandrake RPM +- version 1.0.16a +- improve ftpusers creation script + diff --git a/sources b/sources index e69de29..920b4eb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (pure-ftpd-1.0.52.tar.bz2) = c7b6f76c1429d2cbf9d740c3408464564e023716ebf8361231ba5021f81804575049910c9874970c83c98f927cd496899e5c30625e4dee6538497f9179632c23