Summary: Small, fast and secure FTP server
Summary(pl): Ma³y, szybki i bezpieczny serwer FTP
Name: pure-ftpd
-Version: 1.0.20
-Release: 11%{?with_extra:extra}
+Version: 1.0.21
+Release: 1%{?with_extra:extra}
Epoch: 0
License: BSD-like%{?with_extra:, GLPv2 for pure-config due to libcfg+ license}
Group: Daemons
Source0: ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: e928e9e15adf6b52bfe6183fdad20144
+# Source0-md5: 0ec8ab71e6e9ead67d431fc75402847e
Source1: %{name}.pamd
Source2: %{name}.init
Source3: ftpusers.tar.bz2
Patch0: %{name}-config.patch
Patch1: %{name}-path_to_ssl_cert_in_config.patch
Patch2: %{name}-pure-pw_passwd.patch
-Patch3: %{name}-userlength.patch
-Patch4: %{name}-mysql_config.patch
-Patch5: %{name}-nosymlinks-hideuidmismatch.patch
-Patch6: %{name}-auth-can-delete-pure.patch
+Patch3: %{name}-mysql_config.patch
+Patch4: %{name}-nosymlinks-hideuidmismatch.patch
+Patch5: %{name}-auth-can-delete-pure.patch
URL: http://www.pureftpd.org/
%{?with_extra:BuildRequires: autoconf}
%{?with_extra:BuildRequires: automake}
%prep
%setup -q -a 4
%patch0 -p0
+%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch6 -p1
-%{?with_longusername:%patch3 -p1}
%{?with_extra:%patch1 -p1}
%{?with_extra:%patch2 -p1}
%build
+# drop --without-cork for Th
%configure \
+ --without-cork \
--with-boring \
--with-altlog \
--with-cookie \