diff options
Diffstat (limited to 'openembedded/packages/portmap/files/no-libwrap.patch')
-rw-r--r-- | openembedded/packages/portmap/files/no-libwrap.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/openembedded/packages/portmap/files/no-libwrap.patch b/openembedded/packages/portmap/files/no-libwrap.patch new file mode 100644 index 0000000000..751200bf12 --- /dev/null +++ b/openembedded/packages/portmap/files/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(); + |