X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=pure-ftpd.spec;h=d13cda256795e5cf3799a7e5aee3a1f0363f9896;hb=4e492dbf0f918cef9f56ca7015dd45113145412f;hp=86e730df5a849646e09727c8e767cf0948860c44;hpb=e495e2031669b419f8d52ba3754bb944200d3876;p=packages%2Fpure-ftpd.git diff --git a/pure-ftpd.spec b/pure-ftpd.spec index 86e730d..d13cda2 100644 --- a/pure-ftpd.spec +++ b/pure-ftpd.spec @@ -13,7 +13,7 @@ Summary: Small, fast and secure FTP server Summary(pl.UTF-8): Mały, szybki i bezpieczny serwer FTP Name: pure-ftpd Version: 1.0.21 -Release: 5%{?with_extra:extra} +Release: 13%{?with_extra:extra} Epoch: 0 License: BSD-like%{?with_extra:, GLPv2 for pure-config due to libcfg+ license} Group: Daemons @@ -32,13 +32,18 @@ Patch2: %{name}-pure-pw_passwd.patch Patch3: %{name}-mysql_config.patch Patch4: %{name}-nosymlinks-hideuidmismatch.patch Patch5: %{name}-auth-can-delete-pure.patch +Patch6: %{name}-nonssl-die.patch +Patch7: %{name}-del-log-path.patch +Patch8: %{name}-anonymous.patch +Patch9: %{name}-sleep.patch +Patch10: %{name}-passwd_location.patch URL: http://www.pureftpd.org/ %{?with_extra:BuildRequires: autoconf} %{?with_extra:BuildRequires: automake} %{?with_cap:BuildRequires: libcap-devel} %{?with_extra:BuildRequires: libcfg+-devel >= 0.6.2} %{?with_mysql:BuildRequires: mysql-devel} -%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} +%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6} %{?with_tls:BuildRequires: openssl-devel} BuildRequires: pam-devel %{?with_pgsql:BuildRequires: postgresql-devel} @@ -110,6 +115,11 @@ Ten pakiet zawiera schemat Pure-FTPd pureftpd.schema dla openldapa. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p0 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %{?with_extra:%patch1 -p1} %{?with_extra:%patch2 -p1} @@ -170,7 +180,7 @@ install configuration-file/pure-ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/pureftpd %{!?with_extra:install configuration-file/pure-config.pl $RPM_BUILD_ROOT%{_sbindir}} install pureftpd.schema $RPM_BUILD_ROOT%{schemadir}/pureftpd.schema -touch $RPM_BUILD_ROOT%{_sysconfdir}/ftpusers +touch $RPM_BUILD_ROOT%{_sysconfdir}/{ftpusers,pureftpd-dir-aliases} ln -s vhosts $RPM_BUILD_ROOT%{_sysconfdir}/pure-ftpd @@ -215,6 +225,7 @@ fi %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/* %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/* %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ftpusers +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pureftpd-dir-aliases %{?with_ldap:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pureftpd-ldap.conf} %{?with_mysql:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pureftpd-mysql.conf} %{?with_pgsql:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pureftpd-pgsql.conf}