[oe-commits] ghost : vsftpd_2.0.5.bb: add build hack (dont use libpcap)

GIT User account git at amethyst.openembedded.net
Wed Apr 1 13:46:33 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: 150d6d0c2638e328e20ba6ed4d272689e7e316a9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=150d6d0c2638e328e20ba6ed4d272689e7e316a9

Author: ghost <andreas.monzner at multimedia-labs.de>
Date:   Wed Mar  4 12:37:22 2009 +0100

vsftpd_2.0.5.bb: add build hack (dont use libpcap)

---

 packages/vsftpd/vsftpd_2.0.5.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/packages/vsftpd/vsftpd_2.0.5.bb b/packages/vsftpd/vsftpd_2.0.5.bb
index eb8ce21..e6bf74f 100644
--- a/packages/vsftpd/vsftpd_2.0.5.bb
+++ b/packages/vsftpd/vsftpd_2.0.5.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
 MAINTAINER = "Oyvind Repvik <nail at nslu2-linux.org>"
 LICENSE = "GPL"
 DEPENDS = "openssl"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch;patch=1 \
@@ -20,6 +20,12 @@ do_configure() {
         mv tunables.c.new tunables.c
 }
 
+do_configure_append_opendreambox() {
+	# do not link against libcap
+	sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c
+	sed -i '/libcap/ d' vsf_findlibs.sh
+}
+
 do_compile() {
         oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}"
 }





More information about the Openembedded-commits mailing list