diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-11 22:04:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:08:23 +0000 |
commit | ca6cb22715113c1ba8b88a652cd8aa343305b3bf (patch) | |
tree | 58e4feee5961dd909ef1c64ee98fb4909063237b /meta/recipes-connectivity/portmap/portmap/tcpd-config.patch | |
parent | 8d8e035daa1d420f8aa8525b81bed4dd5719d290 (diff) | |
download | poky-ca6cb22715113c1ba8b88a652cd8aa343305b3bf.tar.gz |
portmap: remove obsolete lines
* The SRC_URI and S in portmap.inc was for portmap 5, but we don't have
it any more.
* Remove DEPENDS = "virtual/fakeroot-native" and fakeroot before
do_install.
* Remove sbindir = "/sbin" and use "${base_sbindir}" in FILES.
* Move patches from dir portmap-6.0 to portmap.
(From OE-Core rev: b341066d625d5ff7980a4bdffb338fc83940502b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap/tcpd-config.patch')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap/tcpd-config.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap/tcpd-config.patch b/meta/recipes-connectivity/portmap/portmap/tcpd-config.patch new file mode 100644 index 0000000000..2f25058095 --- /dev/null +++ b/meta/recipes-connectivity/portmap/portmap/tcpd-config.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From: Mike Frysinger <vapier@gentoo.org> | ||
4 | Date: Sun, 13 May 2007 21:17:32 +0000 (-0400) | ||
5 | Subject: fix building with tcpd support disabled | ||
6 | X-Git-Url: http://neil.brown.name/git?p=portmap;a=commitdiff_plain;h=7847207aed1b44faf077eed14a9ac9c68244eba5 | ||
7 | |||
8 | fix building with tcpd support disabled | ||
9 | |||
10 | Make sure pmap_check.c only includes tcpd.h when HOSTS_ACCESS is defined. | ||
11 | |||
12 | Signed-off-by: Timothy Redaelli <drizzt@gentoo.org> | ||
13 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
14 | Signed-off-by: Neil Brown <neilb@suse.de> | ||
15 | --- | ||
16 | |||
17 | diff --git a/pmap_check.c b/pmap_check.c | ||
18 | index 84f2c12..443a822 100644 | ||
19 | --- a/pmap_check.c | ||
20 | +++ b/pmap_check.c | ||
21 | @@ -44,7 +44,9 @@ | ||
22 | #include <netinet/in.h> | ||
23 | #include <rpc/rpcent.h> | ||
24 | #endif | ||
25 | +#ifdef HOSTS_ACCESS | ||
26 | #include <tcpd.h> | ||
27 | +#endif | ||
28 | #include <arpa/inet.h> | ||
29 | #include <grp.h> | ||
30 | |||