All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vsftpd-2.0.5: added dependency for correct build order
@ 2011-03-10 14:53 Peter Gsellmann
  2011-03-11 20:32 ` Mike Westerhof
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Gsellmann @ 2011-03-10 14:53 UTC (permalink / raw)
  To: openembedded-devel

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

Signed-off-by: Peter Gsellmann <pgsellmann@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"
 
+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() {
-- 
1.7.2.3




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] vsftpd-2.0.5: added dependency for correct build order
  2011-03-10 14:53 [PATCH] vsftpd-2.0.5: added dependency for correct build order Peter Gsellmann
@ 2011-03-11 20:32 ` Mike Westerhof
  2011-03-11 23:55   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Westerhof @ 2011-03-11 20:32 UTC (permalink / raw)
  To: openembedded-devel

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@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)


> +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() {




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] vsftpd-2.0.5: added dependency for correct build order
  2011-03-11 20:32 ` Mike Westerhof
@ 2011-03-11 23:55   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2011-03-11 23:55 UTC (permalink / raw)
  To: openembedded-devel

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@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
-Khem



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-12  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 14:53 [PATCH] vsftpd-2.0.5: added dependency for correct build order Peter Gsellmann
2011-03-11 20:32 ` Mike Westerhof
2011-03-11 23:55   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.