public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE
@ 2013-01-21  2:36 rongqing.li
  2013-01-21  2:36 ` [PATCH 1/2] xinetd: enable tcp-wrappers support by DISTRO_FEATURE rongqing.li
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: rongqing.li @ 2013-01-21  2:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.macdonald, martin.jansa

From: "Roy.Li" <rongqing.li@windriver.com>

*** BLURB HERE ***
The following changes since commit 5892db9a34c188b8a9bdaa86e19ba62a7f4793b5:

  oprofile: set correct kernel path (2013-01-20 13:13:54 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib enable_tcp_wrapper_for_xinetd
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=enable_tcp_wrapper_for_xinetd

Roy.Li (2):
  xinetd: enable tcp-wrappers support by DISTRO_FEATURE
  bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL

 meta/conf/bitbake.conf                        |    2 +-
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
1.7.10.4




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

* [PATCH 1/2] xinetd: enable tcp-wrappers support by DISTRO_FEATURE
  2013-01-21  2:36 [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE rongqing.li
@ 2013-01-21  2:36 ` rongqing.li
  2013-01-21  2:36 ` [PATCH 2/2] bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL rongqing.li
  2013-01-28 11:56 ` [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE Rongqing Li
  2 siblings, 0 replies; 5+ messages in thread
From: rongqing.li @ 2013-01-21  2:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.macdonald, martin.jansa

From: "Roy.Li" <rongqing.li@windriver.com>

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
index 3bde512..0c0079b 100644
--- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
+++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
@@ -7,7 +7,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"
 
 DEPENDS = ""
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
       file://xinetd.init \
@@ -28,6 +28,9 @@ INITSCRIPT_PARAMS = "defaults"
 
 EXTRA_OECONF="--disable-nls"
 
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'tcp-wrappers', 'tcp-wrappers', '', d)}"
+PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers"
+
 do_configure() {
 	# Looks like configure.in is broken, so we are skipping
 	# rebuilding configure and are just using the shipped one
-- 
1.7.10.4




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

* [PATCH 2/2] bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL
  2013-01-21  2:36 [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE rongqing.li
  2013-01-21  2:36 ` [PATCH 1/2] xinetd: enable tcp-wrappers support by DISTRO_FEATURE rongqing.li
@ 2013-01-21  2:36 ` rongqing.li
  2013-01-28 11:56 ` [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE Rongqing Li
  2 siblings, 0 replies; 5+ messages in thread
From: rongqing.li @ 2013-01-21  2:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.macdonald, martin.jansa

From: "Roy.Li" <rongqing.li@windriver.com>

tcp-wrappers DISTRO_FEATURES only is used in xinetd currently, but other
packages maybe need it to enable tcp-wrapper support, like vsftpd.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
 meta/conf/bitbake.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2dc50ca..8894bf8 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -738,7 +738,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
 IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}"
 
-DISTRO_FEATURES_BACKFILL = "pulseaudio"
+DISTRO_FEATURES_BACKFILL = "pulseaudio tcp-wrappers"
 DISTRO_FEATURES_append = "${@oe.utils.features_backfill("DISTRO_FEATURES",d)}"
 
 MACHINE_FEATURES_BACKFILL = "rtc"
-- 
1.7.10.4




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

* Re: [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE
  2013-01-21  2:36 [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE rongqing.li
  2013-01-21  2:36 ` [PATCH 1/2] xinetd: enable tcp-wrappers support by DISTRO_FEATURE rongqing.li
  2013-01-21  2:36 ` [PATCH 2/2] bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL rongqing.li
@ 2013-01-28 11:56 ` Rongqing Li
  2013-01-28 12:41   ` Richard Purdie
  2 siblings, 1 reply; 5+ messages in thread
From: Rongqing Li @ 2013-01-28 11:56 UTC (permalink / raw)
  To: openembedded-core; +Cc: martin.jansa, joe.macdonald

ping !


On 01/21/2013 10:36 AM, rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> *** BLURB HERE ***
> The following changes since commit 5892db9a34c188b8a9bdaa86e19ba62a7f4793b5:
>
>    oprofile: set correct kernel path (2013-01-20 13:13:54 +0000)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib enable_tcp_wrapper_for_xinetd
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=enable_tcp_wrapper_for_xinetd
>
> Roy.Li (2):
>    xinetd: enable tcp-wrappers support by DISTRO_FEATURE
>    bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL
>
>   meta/conf/bitbake.conf                        |    2 +-
>   meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    5 ++++-
>   2 files changed, 5 insertions(+), 2 deletions(-)
>

-- 
Best Reagrds,
Roy | RongQing Li



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

* Re: [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE
  2013-01-28 11:56 ` [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE Rongqing Li
@ 2013-01-28 12:41   ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2013-01-28 12:41 UTC (permalink / raw)
  To: Rongqing Li; +Cc: joe.macdonald, martin.jansa, openembedded-core

On Mon, 2013-01-28 at 19:56 +0800, Rongqing Li wrote:
> ping !
> 
> 
> On 01/21/2013 10:36 AM, rongqing.li@windriver.com wrote:
> > From: "Roy.Li" <rongqing.li@windriver.com>
> >
> > *** BLURB HERE ***
> > The following changes since commit 5892db9a34c188b8a9bdaa86e19ba62a7f4793b5:
> >
> >    oprofile: set correct kernel path (2013-01-20 13:13:54 +0000)
> >
> > are available in the git repository at:
> >
> >    git://git.pokylinux.org/poky-contrib enable_tcp_wrapper_for_xinetd
> >    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=enable_tcp_wrapper_for_xinetd
> >
> > Roy.Li (2):
> >    xinetd: enable tcp-wrappers support by DISTRO_FEATURE
> >    bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL
> >
> >   meta/conf/bitbake.conf                        |    2 +-
> >   meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    5 ++++-
> >   2 files changed, 5 insertions(+), 2 deletions(-)

I don't see the need to make this a DISTRO_FEATURE at this point. Please
just make it a PACKAGECONFIG options for the package in question.

Cheers,

Richard




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

end of thread, other threads:[~2013-01-28 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-21  2:36 [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE rongqing.li
2013-01-21  2:36 ` [PATCH 1/2] xinetd: enable tcp-wrappers support by DISTRO_FEATURE rongqing.li
2013-01-21  2:36 ` [PATCH 2/2] bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL rongqing.li
2013-01-28 11:56 ` [PATCH 0/2 v2] define and use tcp-wrappers DISTRO_FEATURE Rongqing Li
2013-01-28 12:41   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox