summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2009-08-24 05:37:00 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2009-08-24 05:37:00 +0000
commitbef9905533d632361583ab5046b71c49260f3748 (patch)
tree6c5c829e02776fd9311d62c8628a66eb781a5f1f /net-ftp/vsftpd/files
parent Moving squeak-3.10-glibc210.patch to mirrors, bug #282507 (diff)
downloadgentoo-2-bef9905533d632361583ab5046b71c49260f3748.tar.gz
gentoo-2-bef9905533d632361583ab5046b71c49260f3748.tar.bz2
gentoo-2-bef9905533d632361583ab5046b71c49260f3748.zip
Need new version of caps-disabling patch to apply cleanly to 2.2.0
(bug #282494, reported by Sergey Plyukhin) (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/vsftpd/files')
-rw-r--r--net-ftp/vsftpd/files/vsftpd-2.2.0-dont-link-caps.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd-2.2.0-dont-link-caps.patch b/net-ftp/vsftpd/files/vsftpd-2.2.0-dont-link-caps.patch
new file mode 100644
index 000000000000..debcf06279e3
--- /dev/null
+++ b/net-ftp/vsftpd/files/vsftpd-2.2.0-dont-link-caps.patch
@@ -0,0 +1,21 @@
+diff -ur vsftpd-2.2.0.orig/vsf_findlibs.sh vsftpd-2.2.0/vsf_findlibs.sh
+--- vsftpd-2.2.0.orig/vsf_findlibs.sh 2009-08-23 22:15:39.000000000 -0700
++++ vsftpd-2.2.0/vsf_findlibs.sh 2009-08-23 22:16:31.000000000 -0700
+@@ -44,17 +44,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";
+-elif locate_library /lib/libcap.so.2; then
+- echo "/lib/libcap.so.2";
+-else
+- locate_library /usr/lib/libcap.so && echo "-lcap";
+- locate_library /lib/libcap.so && echo "-lcap";
+- locate_library /lib64/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";