portmap-5b-optional-tcpd.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- portmap/Makefile.orig 2004-10-31 01:54:48.073875024 -0400
  2. +++ portmap/Makefile 2004-10-31 01:54:58.395305928 -0400
  3. @@ -15,8 +15,6 @@
  4. # no access control tables. The local system, since it runs the portmap
  5. # daemon, is always treated as an authorized host.
  6. -HOSTS_ACCESS= -DHOSTS_ACCESS
  7. -WRAP_LIB = $(WRAP_DIR)/libwrap.a
  8. # Comment out if your RPC library does not allocate privileged ports for
  9. # requests from processes with root privilege, or the new portmap will
  10. @@ -87,7 +85,7 @@
  11. #
  12. AUX = # daemon.o strerror.o
  13. -LIBS = -lwrap -lutil
  14. +LIBS = -lutil
  15. NSARCHS =
  16. O = -Wall -O2 -pipe
  17. @@ -110,7 +108,7 @@
  18. SHELL = /bin/sh
  19. -COPT = $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \
  20. +COPT = $(CONST) -Dperror=xperror $(CHECK_PORT) \
  21. $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
  22. $(LOOPBACK) $(SETPGRP)
  23. CFLAGS = $(COPT) $(O) $(NSARCHS)
  24. @@ -118,7 +116,7 @@
  25. all: portmap pmap_dump pmap_set
  26. -portmap: $(OBJECTS) $(WRAP_DIR)/libwrap.a
  27. +portmap: $(OBJECTS)
  28. $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(WRAP_LIB) $(LIBS)
  29. pmap_dump: pmap_dump.c