]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/portmap/files/no-libwrap.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / portmap / files / no-libwrap.patch
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