summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/portmap/files/no-libwrap.patch
blob: 751200bf12ee710d2f5e1a574c454943060a326b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile~	2004-06-03 11:19:23.000000000 +0100
+++ Makefile	2004-06-03 11:24:53.000000000 +0100
@@ -15,9 +15,9 @@
 # no access control tables. The local system, since it runs the portmap
 # daemon, is always treated as an authorized host.
 
-HOSTS_ACCESS= -DHOSTS_ACCESS
+#HOSTS_ACCESS= -DHOSTS_ACCESS
 #WRAP_LIB = $(WRAP_DIR)/libwrap.a
-WRAP_LIB = -lwrap
+#WRAP_LIB = -lwrap
 
 # Comment out if your RPC library does not allocate privileged ports for
 # requests from processes with root privilege, or the new portmap will
--- pmap_check.c~	2004-06-03 11:24:20.000000000 +0100
+++ pmap_check.c	2004-06-03 11:24:33.000000000 +0100
@@ -48,7 +48,9 @@
 #endif
 #include <sys/types.h>
 #include <unistd.h>
+#ifdef HOSTS_ACCESS
 #include <tcpd.h>
+#endif
 
 extern char *inet_ntoa();