summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-08-11 10:23:16 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-13 13:36:03 +0100
commit22ae6b193d2af1cd11a84937cc2432767782fa14 (patch)
treee5adbeb437eac526ed014a032140009cad3b6dbb /meta/packages
parent6ffc4f2e04f2d405b14f198220a3613d386489e7 (diff)
downloadpoky-22ae6b193d2af1cd11a84937cc2432767782fa14.tar.gz
portmap: enable tcp-wrappers support
this enables the hosts access control facility (i.e. /etc/hosts.allow and /etc/hosts.deny) changes: - enable tcp-wrappers by change make flags and cppflags - rename patch no-tcpd-support to avoid confusion - minor cleanups Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/portmap/portmap-6.0/tcpd-config.patch (renamed from meta/packages/portmap/portmap-6.0/no-tcpd-support.patch)0
-rw-r--r--meta/packages/portmap/portmap_6.0.bb13
2 files changed, 6 insertions, 7 deletions
diff --git a/meta/packages/portmap/portmap-6.0/no-tcpd-support.patch b/meta/packages/portmap/portmap-6.0/tcpd-config.patch
index da55f3799d..da55f3799d 100644
--- a/meta/packages/portmap/portmap-6.0/no-tcpd-support.patch
+++ b/meta/packages/portmap/portmap-6.0/tcpd-config.patch
diff --git a/meta/packages/portmap/portmap_6.0.bb b/meta/packages/portmap/portmap_6.0.bb
index 7f580a7676..49ac1d8332 100644
--- a/meta/packages/portmap/portmap_6.0.bb
+++ b/meta/packages/portmap/portmap_6.0.bb
@@ -1,17 +1,16 @@
1require portmap.inc 1require portmap.inc
2 2
3PR = "r6" 3DEPENDS += "tcp-wrappers"
4PR = "r7"
4 5
5SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ 6SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
6 file://destdir-no-strip.patch;apply=yes \ 7 file://destdir-no-strip.patch \
7 file://no-tcpd-support.patch;apply=yes \ 8 file://tcpd-config.patch \
8 file://portmap.init" 9 file://portmap.init"
9 10
10S = "${WORKDIR}/${PN}_${PV}/" 11S = "${WORKDIR}/${BPN}_${PV}/"
11 12
12EXTRA_OEMAKE_append = " NO_TCP_WRAPPER=1 " 13CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
13
14CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
15CFLAGS += "-Wall -Wstrict-prototypes -fPIC" 14CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
16 15
17fakeroot do_install() { 16fakeroot do_install() {