X-Git-Url: http://git.pld-linux.org/?p=packages%2Fvsftpd.git;a=blobdiff_plain;f=vsftpd.spec;h=f3f88db5503452f9b3326dfbca8f9bcea2e9a7c9;hp=8ea1256f15db271335c5396931a4a5b3b59b2e50;hb=9f41143169bd621d468b405f59c3117411c6a081;hpb=f1145564dce19992f7452e78d46cad5931c6e9a0 diff --git a/vsftpd.spec b/vsftpd.spec index 8ea1256..f3f88db 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -1,5 +1,4 @@ ### TODO: -# - fix ssl build on AC # - default config does not work with inetd configuration # %define _ftpdir /home/services/ftp @@ -11,7 +10,7 @@ Summary(pl.UTF-8): Bardzo Bezpieczny Demon FTP Summary(pt_BR.UTF-8): vsftpd - Daemon FTP Muito Seguro Name: vsftpd Version: 2.3.2 -Release: 1 +Release: 2 License: GPL v2 Group: Daemons Source0: ftp://vsftpd.beasts.org/users/cevans/%{name}-%{version}.tar.gz @@ -25,10 +24,15 @@ Source5: %{name}.init Patch0: %{name}-builddefs.patch Patch1: %{name}-amd64-findlibs.patch Patch2: %{name}-clamav.patch +Patch3: %{name}-switch_sha256_to_sha1.patch URL: http://vsftpd.beasts.org/ BuildRequires: libcap-devel BuildRequires: libwrap-devel +%if "%{pld_release}" == "ac" +BuildRequires: openssl-devel >= 0.9.7d +%else BuildRequires: openssl-devel >= 0.9.8 +%endif BuildRequires: rpmbuild(macros) >= 1.268 Requires: %{name}-init = %{version}-%{release} Requires: filesystem >= 3.0-11 @@ -91,6 +95,9 @@ Ten pakiet pozwala na wystartowanie vsftpd jako samodzielnego demona. %if %{with clamav} %patch2 -p1 %endif +%if "%{pld_release}" == "ac" +%patch3 -p1 +%endif %build %{__make} \