]> git.pld-linux.org Git - packages/vsftpd.git/blobdiff - vsftpd.spec
- not for AC + some todo's
[packages/vsftpd.git] / vsftpd.spec
index b8a6021e3aefa3e38cd5e4c8daa4a5e431b7c4e1..8ea1256f15db271335c5396931a4a5b3b59b2e50 100644 (file)
@@ -1,16 +1,21 @@
+### TODO:
+# - fix ssl build on AC
+# - default config does not work with inetd configuration
 #
 %define                _ftpdir /home/services/ftp
 #
+%bcond_with    clamav  #ClamAV scanning support
+
 Summary:       vsftpd - Very Secure FTP Daemon
 Summary(pl.UTF-8):     Bardzo Bezpieczny Demon FTP
 Summary(pt_BR.UTF-8):  vsftpd - Daemon FTP Muito Seguro
 Name:          vsftpd
-Version:       2.0.7
+Version:       2.3.2
 Release:       1
 License:       GPL v2
 Group:         Daemons
 Source0:       ftp://vsftpd.beasts.org/users/cevans/%{name}-%{version}.tar.gz
-# Source0-md5: 3e39cb7b0bee306ad7df8e3552e15297
+# Source0-md5: bad7b117d737a738738836041edc00db
 Source1:       %{name}.inetd
 Source2:       %{name}.pamd
 Source3:       %{name}-ftpusers
@@ -19,10 +24,11 @@ Source4:    ftpusers.tar.bz2
 Source5:       %{name}.init
 Patch0:                %{name}-builddefs.patch
 Patch1:                %{name}-amd64-findlibs.patch
+Patch2:                %{name}-clamav.patch
 URL:           http://vsftpd.beasts.org/
 BuildRequires: libcap-devel
 BuildRequires: libwrap-devel
-BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: openssl-devel >= 0.9.8
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      %{name}-init = %{version}-%{release}
 Requires:      filesystem >= 3.0-11
@@ -82,6 +88,9 @@ Ten pakiet pozwala na wystartowanie vsftpd jako samodzielnego demona.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%if %{with clamav}
+%patch2 -p1
+%endif
 
 %build
 %{__make} \
This page took 0.246785 seconds and 4 git commands to generate.