Skip to contentSkip to conversation

vsftpd-2.0.5: added dependency for correct build order

PATCH In review Peter Gsellmann 3 participants 3 messages Mar 10, 2011 – Mar 12, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vsftpd-2.0.5: added dependency for correct build order

vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.

---
 recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/vsftpd/vsftpd_2.0.5.bb +3 -1
index 518628e..2486744 100644
@@ -3,6 +3,8 @@ SECTION = "console/network"
 LICENSE = "GPL"
 PR = "r2"
 
+DEPENDS = "libcap"
+
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch \
            file://nopam.patch \
@@ -20,7 +22,7 @@ do_configure() {
 }
 
 do_compile() {
-        oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}"
+        oe_runmake "LIBS=-L${STAGING_LIBDIR} -lcrypt -lcap"
 }
 
 do_install() {
Signature · 1 line
1.7.2.3
#1 lore raw
Quoted 12 lines · Peter Gsellmann

vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.

---
 recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/vsftpd/vsftpd_2.0.5.bb +0 -0
index 518628e..2486744 100644

recipes/vsftpd/vsftpd_2.0.5.bb SECTION = "console/network" · line 4

Quoted 2 lines
recipes/vsftpd/vsftpd_2.0.5.bb +0 -0
@@ -3,6 +3,8 @@ SECTION = "console/network"
 LICENSE = "GPL"
 PR = "r2"

Technically, you'll want to bump the PR as well (although for this particular change, it'll actually work without it)

Quoted 14 lines
recipes/vsftpd/vsftpd_2.0.5.bb +3 -1
+DEPENDS = "libcap"
+
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch \
            file://nopam.patch \
@@ -20,7 +22,7 @@ do_configure() {
 }
 
 do_compile() {
-        oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}"
+        oe_runmake "LIBS=-L${STAGING_LIBDIR} -lcrypt -lcap"
 }
 
 do_install() {
#2 lore raw
Quoted 8 lines · Mike Westerhof
Quoted 7 lines · Peter Gsellmann

vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.

---
 recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Quoted 11 lines

recipes/vsftpd/vsftpd_2.0.5.bb SECTION = "console/network" · line 4

Quoted 7 lines
recipes/vsftpd/vsftpd_2.0.5.bb +0 -0
index 518628e..2486744 100644
@@ -3,6 +3,8 @@ SECTION = "console/network"
 LICENSE = "GPL"
 PR = "r2"

Technically, you'll want to bump the PR as well (although for this particular change, it'll actually work without it)

Yes a PR bump is needed here.

Quoted 21 lines
Quoted 7 lines
recipes/vsftpd/vsftpd_2.0.5.bb +2 -0
+DEPENDS = "libcap"
+
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch \
            file://nopam.patch \

recipes/vsftpd/vsftpd_2.0.5.bb do_configure() { · line 28

Quoted 8 lines
recipes/vsftpd/vsftpd_2.0.5.bb +1 -1
@@ -20,7 +22,7 @@ do_configure() {
 }
 
 do_compile() {
-        oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}"
+        oe_runmake "LIBS=-L${STAGING_LIBDIR} -lcrypt -lcap"
 }
 
 do_install() {

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
-Khem