#
Summary: vsftpd - Very Secure FTP Daemon
Summary(pl): Bardzo Bezpieczny Demon FTP
-Summary(pt_BR): vsftpd - Daemon Ftp Muito Seguro
+Summary(pt_BR): vsftpd - Daemon FTP Muito Seguro
Name: vsftpd
-Version: 2.0.0
+Version: 2.0.3
Release: 1
License: GPL v2
Group: Daemons
Source0: ftp://vsftpd.beasts.org/users/cevans/%{name}-%{version}.tar.gz
-# Source0-md5: 16227daec616f64e093fffeb358a50c5
+# Source0-md5: 74936cbd8e8251deb1cd99c5fb18b6f8
Source1: %{name}.inetd
Source2: %{name}.pamd
Source3: %{name}-ftpusers
Source4: ftpusers.tar.bz2
# Source4-md5: 76c80b6ec9f4d079a1e27316edddbe16
+Patch0: %{name}-builddefs.patch
+Patch1: %{name}-amd64-findlibs.patch
URL: http://vsftpd.beasts.org/
-PreReq: rc-inetd
BuildRequires: libcap-devel
+BuildRequires: libwrap-devel
+BuildRequires: openssl-devel >= 0.9.7d
Requires: FHS >= 2.3
Requires: pam >= 0.77.3
+Requires: rc-inetd
Provides: ftpserver
Obsoletes: ftpserver
Obsoletes: anonftp
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
%{__make} \
%defattr(644,root,root,755)
%doc AUDIT BENCHMARKS BUGS Changelog FAQ README REWARD SIZE SPEED TODO TUNING EXAMPLE SECURITY
%attr(755,root,root) %{_sbindir}/vsftpd
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vsftpd.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ftpd/ftpusers
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/vsftpd
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/ftp
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/vsftpd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vsftpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ftpd/ftpusers
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/vsftpd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/ftp
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/vsftpd
%attr(640,root,root) %ghost /var/log/vsftpd.log
%{_mandir}/man5/vsftpd.conf.5*
%{_mandir}/man8/vsftpd.8*