(problems with matching in binary file *.o)
--- /dev/null
+--- vsftpd-3.0.2/vsf_findlibs.sh.orig 2014-04-11 12:18:03.231578533 +0200
++++ vsftpd-3.0.2/vsf_findlibs.sh 2014-04-11 12:19:03.988273239 +0200
+@@ -2,7 +2,7 @@
+ # Cheesy hacky location of additional link libraries.
+
+ locate_library() { [ ! "$1*" = "`echo $1*`" ]; }
+-find_func() { egrep $1 $2 >/dev/null; }
++find_func() { egrep -qa $1 $2; }
+
+ if find_func hosts_access tcpwrap.o; then
+ echo "-lwrap";
Summary(pt_BR.UTF-8): vsftpd - Daemon FTP Muito Seguro
Name: vsftpd
Version: 3.0.2
Summary(pt_BR.UTF-8): vsftpd - Daemon FTP Muito Seguro
Name: vsftpd
Version: 3.0.2
License: GPL v2
Group: Daemons
Source0: https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
License: GPL v2
Group: Daemons
Source0: https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
Patch1: %{name}-amd64-findlibs.patch
Patch2: %{name}-clamav.patch
Patch3: %{name}-switch_sha256_to_sha1.patch
Patch1: %{name}-amd64-findlibs.patch
Patch2: %{name}-clamav.patch
Patch3: %{name}-switch_sha256_to_sha1.patch
+Patch4: %{name}-findlibs-egrep.patch
URL: https://security.appspot.com/vsftpd.html
BuildRequires: libcap-devel
BuildRequires: libwrap-devel
URL: https://security.appspot.com/vsftpd.html
BuildRequires: libcap-devel
BuildRequires: libwrap-devel
%if "%{pld_release}" == "ac"
%patch3 -p1
%endif
%if "%{pld_release}" == "ac"
%patch3 -p1
%endif