* [PATCH 1/5] rpcbind: obey 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
@ 2013-05-31 2:26 ` Christopher Larson
2013-05-31 2:26 ` [PATCH 2/5] quota: " Christopher Larson
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2013-05-31 2:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb
index 1007613..f4a0367 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb
@@ -29,6 +29,9 @@ PR = "r4"
inherit autotools update-rc.d
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
+
INITSCRIPT_NAME = "rpcbind"
INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ."
--
1.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/5] quota: obey 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
2013-05-31 2:26 ` [PATCH 1/5] rpcbind: obey " Christopher Larson
@ 2013-05-31 2:26 ` Christopher Larson
2013-05-31 2:26 ` [PATCH 3/5] systemd: " Christopher Larson
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2013-05-31 2:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
meta/recipes-extended/quota/quota_4.01.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/quota/quota_4.01.bb b/meta/recipes-extended/quota/quota_4.01.bb
index 80159a9..4dc7e68 100644
--- a/meta/recipes-extended/quota/quota_4.01.bb
+++ b/meta/recipes-extended/quota/quota_4.01.bb
@@ -21,6 +21,9 @@ inherit autotools gettext
EXTRA_OEMAKE += 'STRIP=""'
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--with-tcpwrappers,--without-tcpwrappers,tcp-wrappers"
+
do_install() {
oe_runmake prefix=${D}${prefix} install
}
--
1.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 3/5] systemd: obey 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
2013-05-31 2:26 ` [PATCH 1/5] rpcbind: obey " Christopher Larson
2013-05-31 2:26 ` [PATCH 2/5] quota: " Christopher Larson
@ 2013-05-31 2:26 ` Christopher Larson
2013-05-31 2:26 ` [PATCH 4/5] portmap: " Christopher Larson
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2013-05-31 2:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
meta/recipes-core/systemd/systemd_204.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd_204.bb b/meta/recipes-core/systemd/systemd_204.bb
index e7b9f6a..5a63c7c 100644
--- a/meta/recipes-core/systemd/systemd_204.bb
+++ b/meta/recipes-core/systemd/systemd_204.bb
@@ -10,7 +10,7 @@ PROVIDES = "udev"
PE = "1"
-DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0 qemu-native util-linux"
+DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native util-linux"
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
SECTION = "base/shell"
@@ -41,7 +41,7 @@ LDFLAGS_libc-uclibc_append = " -lrt"
GTKDOC_DOCDIR = "${S}/docs/"
-PACKAGECONFIG ??= "xz"
+PACKAGECONFIG ??= "xz tcp-wrappers"
# Sign the journal for anti-tampering
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
# regardless of PACKAGECONFIG, libgcrypt is always required to expand
@@ -49,6 +49,7 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
DEPENDS += "libgcrypt"
# Compress the journal
PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
+PACKAGECONFIG[tcp-wrappers] = "--enable-tcpwrap,--disable-tcpwrap,tcp-wrappers"
CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
--
1.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 4/5] portmap: obey 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
` (2 preceding siblings ...)
2013-05-31 2:26 ` [PATCH 3/5] systemd: " Christopher Larson
@ 2013-05-31 2:26 ` Christopher Larson
2013-05-31 2:26 ` [PATCH 5/5] nfs-utils: " Christopher Larson
2013-05-31 9:26 ` [PATCH 0/5] Add " Burton, Ross
5 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2013-05-31 2:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
meta/recipes-connectivity/portmap/portmap_6.0.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb
index 07aa360..2ec6981 100644
--- a/meta/recipes-connectivity/portmap/portmap_6.0.bb
+++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb
@@ -1,6 +1,5 @@
require portmap.inc
-DEPENDS += "tcp-wrappers"
PR = "r7"
SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
@@ -13,8 +12,12 @@ SRC_URI[sha256sum] = "02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a28
S = "${WORKDIR}/${BPN}_${PV}/"
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers"
+
CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
+EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@base_contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'"
fakeroot do_install() {
install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
--
1.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 5/5] nfs-utils: obey 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
` (3 preceding siblings ...)
2013-05-31 2:26 ` [PATCH 4/5] portmap: " Christopher Larson
@ 2013-05-31 2:26 ` Christopher Larson
2013-05-31 9:26 ` [PATCH 0/5] Add " Burton, Ross
5 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2013-05-31 2:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
index 2f35094..40b897b 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
@@ -8,7 +8,7 @@ LICENSE = "MIT & GPLv2+ & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
# util-linux for libblkid
-DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers sqlite3"
+DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3"
RDEPENDS_${PN} = "rpcbind"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
@@ -45,6 +45,9 @@ EXTRA_OECONF = "--with-statduser=nobody \
--with-statdpath=/var/lib/nfs/statd \
"
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers"
+
INHIBIT_AUTO_STAGE = "1"
PACKAGES =+ "${PN}-client ${PN}-stats"
--
1.8.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG
2013-05-31 2:26 [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG Christopher Larson
` (4 preceding siblings ...)
2013-05-31 2:26 ` [PATCH 5/5] nfs-utils: " Christopher Larson
@ 2013-05-31 9:26 ` Burton, Ross
2013-05-31 13:23 ` Chris Larson
5 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2013-05-31 9:26 UTC (permalink / raw)
To: Christopher Larson; +Cc: Christopher Larson, openembedded-core
On 31 May 2013 03:26, Christopher Larson <kergoth@gmail.com> wrote:
> This makes rpcbind, quota, systemd, portmap, and nfs-utils obey the same tcp
> wrappers PACKAGECONFIG which xinetd obeys.
If many packages have the same packageconfig option, should this be a
distro feature?
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 0/5] Add 'tcp-wrappers' PACKAGECONFIG
2013-05-31 9:26 ` [PATCH 0/5] Add " Burton, Ross
@ 2013-05-31 13:23 ` Chris Larson
0 siblings, 0 replies; 8+ messages in thread
From: Chris Larson @ 2013-05-31 13:23 UTC (permalink / raw)
To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
On Fri, May 31, 2013 at 2:26 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 31 May 2013 03:26, Christopher Larson <kergoth@gmail.com> wrote:
> > This makes rpcbind, quota, systemd, portmap, and nfs-utils obey the same
> tcp
> > wrappers PACKAGECONFIG which xinetd obeys.
>
> If many packages have the same packageconfig option, should this be a
> distro feature?
It's a good point. At first I thought to avoid that due to feature
proliferation, but as you say, it would probably be a good idea.
--
Christopher Larson
[-- Attachment #2: Type: text/html, Size: 924 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread