Skip to contentSkip to conversation

define and use tcp-wrappers DISTRO_FEATURE

PATCH In review [email protected] 2 participants 5 messages Jan 21, 2013 – Jan 28, 2013

lore
Share & tools
lore
#0 lore raw

v2 cover define and use tcp-wrappers DISTRO_FEATURE

From: "Roy.Li" <[email protected]>

*** 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(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/2 xinetd: enable tcp-wrappers support by DISTRO_FEATURE

From: "Roy.Li" <[email protected]>

---
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +4 -1
index 3bde512..0c0079b 100644
@@ -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
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH v2 2/2 bitbake.conf: add tcp-wrappers to default DISTRO_FEATURES_BACKFILL

In reply to [email protected]

From: "Roy.Li" <[email protected]>

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

---
 meta/conf/bitbake.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index 2dc50ca..8894bf8 100644
@@ -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"
Signature · 1 line
1.7.10.4
#3 lore raw
In reply to [email protected]

ping !

Quoted 20 lines · On 01/21/2013 10:36 AM, [email protected] wrote:

From: "Roy.Li" <[email protected]>

*** 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(-)
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#4 lore raw
Quoted 23 lines · Rongqing Li

ping !

Quoted 19 lines · On 01/21/2013 10:36 AM, [email protected] wrote:

From: "Roy.Li" <[email protected]>

*** 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