vsftpd: Fix dependencies. Fix uclibc support.
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Wed, 23 May 2007 14:10:29 +0000 (14:10 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Wed, 23 May 2007 14:10:29 +0000 (14:10 +0000)
packages/vsftpd/vsftpd-2.0.5/syscall.patch [new file with mode: 0644]
packages/vsftpd/vsftpd_2.0.5.bb

diff --git a/packages/vsftpd/vsftpd-2.0.5/syscall.patch b/packages/vsftpd/vsftpd-2.0.5/syscall.patch
new file mode 100644 (file)
index 0000000..b91cd53
--- /dev/null
@@ -0,0 +1,12 @@
+Index: vsftpd-2.0.5/sysdeputil.c
+===================================================================
+--- vsftpd-2.0.5.orig/sysdeputil.c     2007-05-20 21:20:01.000000000 +0200
++++ vsftpd-2.0.5/sysdeputil.c  2007-05-20 21:20:28.000000000 +0200
+@@ -159,7 +159,6 @@
+ #include <linux/capability.h>
+ #include <errno.h>
+ #include <syscall.h>
+-_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data)
+ /* Gross HACK to avoid warnings - linux headers overlap glibc headers */
+ #undef __NFDBITS
+ #undef __FDMASK
index 81aec46..fc10d27 100644 (file)
@@ -1,12 +1,12 @@
 DESCRIPTION = "Secure ftp daemon"
 SECTION = "console/network"
 LICENSE = "GPL"
-DEPENDS = "openssl"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch;patch=1 \
            file://nopam.patch;patch=1 \
+           file://syscall.patch;patch=1 \
            file://init \
            file://vsftpd.conf"
 
@@ -20,7 +20,7 @@ do_configure() {
 }
 
 do_compile() {
-        oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}"
+        oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}"
 }
 
 do_install() {