summaryrefslogtreecommitdiffstats
path: root/package/portmap/portmap-5b-optional-tcpd.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
commitdb13d321d6566c8937a7dbf872d4b4410a9d79ae (patch)
treebffd8ba57a597a2a93dcf1aa37cf9e010c510c96 /package/portmap/portmap-5b-optional-tcpd.patch
parentb4176386f4c05fd95250ba151e9b26d568b9f878 (diff)
downloadbuildroot-novena-db13d321d6566c8937a7dbf872d4b4410a9d79ae.tar.gz
buildroot-novena-db13d321d6566c8937a7dbf872d4b4410a9d79ae.zip
portmap
Diffstat (limited to 'package/portmap/portmap-5b-optional-tcpd.patch')
-rw-r--r--package/portmap/portmap-5b-optional-tcpd.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/portmap/portmap-5b-optional-tcpd.patch b/package/portmap/portmap-5b-optional-tcpd.patch
new file mode 100644
index 000000000..d5b79f26c
--- /dev/null
+++ b/package/portmap/portmap-5b-optional-tcpd.patch
@@ -0,0 +1,38 @@
+--- portmap/Makefile.orig 2004-10-31 01:54:48.073875024 -0400
++++ portmap/Makefile 2004-10-31 01:54:58.395305928 -0400
+@@ -15,8 +15,6 @@
+ # no access control tables. The local system, since it runs the portmap
+ # daemon, is always treated as an authorized host.
+
+-HOSTS_ACCESS= -DHOSTS_ACCESS
+-WRAP_LIB = $(WRAP_DIR)/libwrap.a
+
+ # Comment out if your RPC library does not allocate privileged ports for
+ # requests from processes with root privilege, or the new portmap will
+@@ -87,7 +85,7 @@
+ #
+ AUX = # daemon.o strerror.o
+
+-LIBS = -lwrap -lutil
++LIBS = -lutil
+ NSARCHS =
+ O = -Wall -O2 -pipe
+
+@@ -110,7 +108,7 @@
+
+ SHELL = /bin/sh
+
+-COPT = $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \
++COPT = $(CONST) -Dperror=xperror $(CHECK_PORT) \
+ $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
+ $(LOOPBACK) $(SETPGRP)
+ CFLAGS = $(COPT) $(O) $(NSARCHS)
+@@ -118,7 +116,7 @@
+
+ all: portmap pmap_dump pmap_set
+
+-portmap: $(OBJECTS) $(WRAP_DIR)/libwrap.a
++portmap: $(OBJECTS)
+ $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(WRAP_LIB) $(LIBS)
+
+ pmap_dump: pmap_dump.c