]> git.pld-linux.org Git - packages/vsftpd.git/commitdiff
- switch egrep in vsf_findlibs.sh into text mode auto/th/vsftpd-3.0.2-2
authorAdam Osuchowski <adwol@pld-linux.org>
Fri, 11 Apr 2014 10:23:48 +0000 (12:23 +0200)
committerAdam Osuchowski <adwol@pld-linux.org>
Fri, 11 Apr 2014 10:23:48 +0000 (12:23 +0200)
  (problems with matching in binary file *.o)

vsftpd-findlibs-egrep.patch [new file with mode: 0644]
vsftpd.spec

diff --git a/vsftpd-findlibs-egrep.patch b/vsftpd-findlibs-egrep.patch
new file mode 100644 (file)
index 0000000..6167406
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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";
index e5c9a7589026bd966d109b987011e136033391f7..76dc55eb39d7b22909f5c51b4b63e28bb99c8168 100644 (file)
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):    Bardzo Bezpieczny Demon FTP
 Summary(pt_BR.UTF-8):  vsftpd - Daemon FTP Muito Seguro
 Name:          vsftpd
 Version:       3.0.2
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Daemons
 Source0:       https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@ Patch0:               %{name}-builddefs.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
@@ -98,6 +99,7 @@ Ten pakiet pozwala na wystartowanie vsftpd jako samodzielnego demona.
 %if "%{pld_release}" == "ac"
 %patch3 -p1
 %endif
+%patch4 -p1
 
 %build
 %{__make} \
This page took 0.119791 seconds and 4 git commands to generate.