Changeset - 1e6a6b6124d4
[Not reviewed]
default
0 0 1
Nathan Brink (binki) - 16 years ago 2009-05-06 17:23:11
ohnobinki@ohnopublishing.net
net-ftp/vsftpd: imported more new patches from gentoo portage
1 file changed with 18 insertions and 0 deletions:
0 comments (0 inline, 0 general)
net-ftp/vsftpd/files/vsftpd-2.1.0-dont-link-caps.patch
Show inline comments
 
new file 100644
 
diff -ur vsftpd-2.1.0.orig/vsf_findlibs.sh vsftpd-2.1.0/vsf_findlibs.sh
 
--- vsftpd-2.1.0.orig/vsf_findlibs.sh	2009-02-23 18:32:17.000000000 +0100
 
+++ vsftpd-2.1.0/vsf_findlibs.sh	2009-02-23 18:32:23.000000000 +0100
 
@@ -42,14 +42,6 @@
 
 # For older HP-UX...
 
 locate_library /usr/lib/libsec.sl && echo "-lsec";
 
 
 
-# Look for libcap (capabilities)
 
-if locate_library /lib/libcap.so.1; then
 
-  echo "/lib/libcap.so.1";
 
-else
 
-  locate_library /usr/lib/libcap.so && echo "-lcap";
 
-  locate_library /lib/libcap.so && echo "-lcap";
 
-fi
 
-
 
 # Solaris needs this for nanosleep()..
 
 locate_library /lib/libposix4.so && echo "-lposix4";
 
 locate_library /usr/lib/libposix4.so && echo "-lposix4";
0 comments (0 inline, 0 general)