diff options
| author | Christopher Larson <chris_larson@mentor.com> | 2013-05-30 19:26:28 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-31 08:06:56 +0100 |
| commit | 25bf08a0e7c7b1b415f622ab68bc8b144b6a5ec0 (patch) | |
| tree | 59f5b81cf64bce1a7a5415e82164823d35cc66f2 | |
| parent | d63a32b4044663424feff3d26307b61d45a01d0a (diff) | |
| download | poky-25bf08a0e7c7b1b415f622ab68bc8b144b6a5ec0.tar.gz | |
portmap: obey 'tcp-wrappers' PACKAGECONFIG
(From OE-Core rev: a5d9fde36c5912a28b3a5a582e709902a27247ba)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-connectivity/portmap/portmap_6.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb index 07aa3601fa..2ec6981559 100644 --- a/meta/recipes-connectivity/portmap/portmap_6.0.bb +++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | require portmap.inc | 1 | require portmap.inc |
| 2 | 2 | ||
| 3 | DEPENDS += "tcp-wrappers" | ||
| 4 | PR = "r7" | 3 | PR = "r7" |
| 5 | 4 | ||
| 6 | SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ | 5 | SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ |
| @@ -13,8 +12,12 @@ SRC_URI[sha256sum] = "02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a28 | |||
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/${BPN}_${PV}/" | 13 | S = "${WORKDIR}/${BPN}_${PV}/" |
| 15 | 14 | ||
| 15 | PACKAGECONFIG ??= "tcp-wrappers" | ||
| 16 | PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" | ||
| 17 | |||
| 16 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" | 18 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" |
| 17 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" | 19 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" |
| 20 | EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@base_contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'" | ||
| 18 | 21 | ||
| 19 | fakeroot do_install() { | 22 | fakeroot do_install() { |
| 20 | install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d | 23 | install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d |
