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
commit7f4426cd0c7a00d8f0e89d8fc00ffacacfbdb1de (patch)
tree5c13cc83505922da9d4d7df3744724fff2979861 /net-ftp/vsftpd/files
parentMoving squeak-3.10-glibc210.patch to mirrors, bug #282507 (diff)
downloadhistorical-7f4426cd0c7a00d8f0e89d8fc00ffacacfbdb1de.tar.gz
historical-7f4426cd0c7a00d8f0e89d8fc00ffacacfbdb1de.tar.bz2
historical-7f4426cd0c7a00d8f0e89d8fc00ffacacfbdb1de.zip
Need new version of caps-disabling patch to apply cleanly to 2.2.0
(bug #282494, reported by Sergey Plyukhin) Package-Manager: portage-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";