[oe] [PATCH] vsftpd-2.0.5: added dependency for correct build order

Khem Raj raj.khem at gmail.com
Fri Mar 11 23:55:07 UTC 2011


On (11/03/11 14:32), Mike Westerhof wrote:
> On 3/10/2011 8:53 AM, Peter Gsellmann wrote:
> > vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.
> > 
> > Signed-off-by: Peter Gsellmann <pgsellmann at portner-elektronik.at>
> > ---
> >  recipes/vsftpd/vsftpd_2.0.5.bb |    4 +++-
> >  1 files changed, 3 insertions(+), 1 deletions(-)
> > 
> > diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb
> > index 518628e..2486744 100644
> > --- a/recipes/vsftpd/vsftpd_2.0.5.bb
> > +++ b/recipes/vsftpd/vsftpd_2.0.5.bb
> > @@ -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.

> 
> > +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() {
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
-Khem




More information about the Openembedded-devel mailing list