summaryrefslogtreecommitdiffstats
path: root/meta/packages/portmap/files/no-libwrap.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/portmap/files/no-libwrap.patch
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/portmap/files/no-libwrap.patch')
-rw-r--r--meta/packages/portmap/files/no-libwrap.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/portmap/files/no-libwrap.patch b/meta/packages/portmap/files/no-libwrap.patch
new file mode 100644
index 0000000000..751200bf12
--- /dev/null
+++ b/meta/packages/portmap/files/no-libwrap.patch
@@ -0,0 +1,26 @@
1--- Makefile~ 2004-06-03 11:19:23.000000000 +0100
2+++ Makefile 2004-06-03 11:24:53.000000000 +0100
3@@ -15,9 +15,9 @@
4 # no access control tables. The local system, since it runs the portmap
5 # daemon, is always treated as an authorized host.
6
7-HOSTS_ACCESS= -DHOSTS_ACCESS
8+#HOSTS_ACCESS= -DHOSTS_ACCESS
9 #WRAP_LIB = $(WRAP_DIR)/libwrap.a
10-WRAP_LIB = -lwrap
11+#WRAP_LIB = -lwrap
12
13 # Comment out if your RPC library does not allocate privileged ports for
14 # requests from processes with root privilege, or the new portmap will
15--- pmap_check.c~ 2004-06-03 11:24:20.000000000 +0100
16+++ pmap_check.c 2004-06-03 11:24:33.000000000 +0100
17@@ -48,7 +48,9 @@
18 #endif
19 #include <sys/types.h>
20 #include <unistd.h>
21+#ifdef HOSTS_ACCESS
22 #include <tcpd.h>
23+#endif
24
25 extern char *inet_ntoa();
26