Bug 1470184

Summary: pure-ftpd 1.0.46 is released!
Product: [Fedora] Fedora Reporter: Dominik Kucher <d.kucher>
Component: pure-ftpdAssignee: Jaromír Cápík <jaromir.capik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: d.kucher, jaromir.capik, mi, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 09:38:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominik Kucher 2017-07-12 13:46:23 UTC
since pure-ftpd 1.0.42 no update to a new version was built. I have run 1.0.46 without problems on Fedora 25. 

--------------------------------------------------------------
[root@srv-dksoft:]# rpm -qa | grep pure-ftpd
pure-ftpd-1.0.46-6.fc25.20170611.dk.x86_64

--------------------------------------------------------------
[builduser@buildsrv:]$cat pure-ftpd.spec 
Name:              pure-ftpd
Version:           1.0.46
Release:           7%{?dist}
Summary:           Lightweight, fast and secure FTP server
Group:             System Environment/Daemons
License:           BSD
URL:               https://www.pureftpd.org/project/pure-ftpd
Source0:           %{name}-%{version}.tar.bz2
Source1:           %{name}.service

Provides:          ftpserver
BuildRequires:     pam-devel
BuildRequires:     perl
BuildRequires:     python
BuildRequires:     libcap-devel
BuildRequires:     mariadb-devel
BuildRequires:     checkpolicy
Requires:          usermode

%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.

%prep
%setup -q


%build
export CFLAGS="%{optflags} -fPIE -fuse-ld=gold -fuse-linker-plugin"
export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS"
export CC="gcc $CFLAGS"
export LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -pie $CFLAGS"
%configure  \
 --sysconfdir=%{_sysconfdir}/%{name} \
 --with-capabilities \
 --with-sendfile \
 --with-paranoidmsg \
 --with-altlog \
 --with-puredb \
 --with-pam \
 --with-throttling \
 --with-virtualhosts \
 --with-virtualchroot \
 --with-diraliases \
 --with-mysql \
 --with-privsep \
 --with-rfc2640 \
 --with-boring \
 --without-inetd \
 --without-sysquotas \
 --without-uploadscript \
 --without-ratios \
 --without-quotas \
 --without-ftpwho \
 --without-implicittls \
 --without-tls \
 --without-ldap \
 --without-pgsql \
 --without-peruserlimits \
 --without-usernames \
 --without-bonjour \
 --without-humor \
 --without-inetd \
 --without-debug
%{__make} %{?_smp_mflags}

%install
make install-strip DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}%{_unitdir}
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
rm %{buildroot}%{_sbindir}/pure-ftpwho %{buildroot}%{_sbindir}/pure-uploadscript
rm -rf %{buildroot}%{_mandir} %{buildroot}%{_sysconfdir}/%{name}

%post
%systemd_post

%files
%{_bindir}/pure-*
%{_sbindir}/pure-*
%{_unitdir}/%{name}.service

%changelog
* Mon May 1 2017 Domninik Kucher 
- update auf 1.0.46