diff options
author | Qing He <qing.he@intel.com> | 2010-08-11 10:23:16 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 13:36:03 +0100 |
commit | 22ae6b193d2af1cd11a84937cc2432767782fa14 (patch) | |
tree | e5adbeb437eac526ed014a032140009cad3b6dbb /meta/packages | |
parent | 6ffc4f2e04f2d405b14f198220a3613d386489e7 (diff) | |
download | poky-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.bb | 13 |
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 @@ | |||
1 | require portmap.inc | 1 | require portmap.inc |
2 | 2 | ||
3 | PR = "r6" | 3 | DEPENDS += "tcp-wrappers" |
4 | PR = "r7" | ||
4 | 5 | ||
5 | SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ | 6 | SRC_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 | ||
10 | S = "${WORKDIR}/${PN}_${PV}/" | 11 | S = "${WORKDIR}/${BPN}_${PV}/" |
11 | 12 | ||
12 | EXTRA_OEMAKE_append = " NO_TCP_WRAPPER=1 " | 13 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" |
13 | |||
14 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS" | ||
15 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" | 14 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" |
16 | 15 | ||
17 | fakeroot do_install() { | 16 | fakeroot do_install() { |