2 +++ p/from_local.c 2000/02/28 15:10:25
5 #include <sys/socket.h>
9 #include <netinet/in.h>
12 +++ p/Makefile 2000/02/28 15:10:25
14 # if you disagree. See `man 3 syslog' for examples. Some syslog versions
15 # do not provide this flexibility.
20 # To disable tcp-wrapper style access control, comment out the following
21 # macro definitions. Access control can also be turned off by providing
23 # With verbose logging on, HP-UX 9.x and AIX 4.1 leave zombies behind when
24 # SIGCHLD is not ignored. Enable next macro for a fix.
26 -# ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x
27 +ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x
29 # Uncomment the following macro if your system does not have u_long.
32 # libwrap.a object library. WRAP_DIR should specify the directory with
35 -WRAP_DIR= ../tcp_wrappers
38 # Auxiliary object files that may be missing from your C library.
40 -AUX = daemon.o strerror.o
41 +AUX = # daemon.o strerror.o
47 # NEXTSTEP is a little different. The following seems to work with NS 3.2
51 # Comment out if your compiler talks ANSI and understands const
56 ### End of configurable stuff.
57 ##############################
59 COPT = $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \
60 $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
61 $(LOOPBACK) $(SETPGRP)
62 -CFLAGS = $(COPT) -O $(NSARCHS)
63 +CFLAGS = $(COPT) $(O) $(NSARCHS)
64 OBJECTS = portmap.o pmap_check.o from_local.o $(AUX)
66 all: portmap pmap_dump pmap_set
68 +++ p/portmap.c 2000/02/28 15:10:25
74 - openlog("portmap", debugging ? LOG_PID | LOG_PERROR : LOG_PID,
77 + openlog("portmap", debugging ? LOG_PID | LOG_PERROR : LOG_PID, FACILITY);
79 openlog("portmap", debugging ? LOG_PID | LOG_PERROR : LOG_PID);