summaryrefslogtreecommitdiff
path: root/portmap/no-libwrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'portmap/no-libwrap.patch')
-rw-r--r--portmap/no-libwrap.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/portmap/no-libwrap.patch b/portmap/no-libwrap.patch
index e69de29bb2..751200bf12 100644
--- a/portmap/no-libwrap.patch
+++ b/portmap/no-libwrap.patch
@@ -0,0 +1,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();
+