1 diff -ruN tcp_wrappers_7.6.orig/Makefile tcp_wrappers_7.6/Makefile
2 --- tcp_wrappers_7.6.orig/Makefile 2003-08-21 01:43:39.000000000 +0200
3 +++ tcp_wrappers_7.6/Makefile 2003-08-21 01:43:35.000000000 +0200
6 # SysV.4 Solaris 2.x OSF AIX
7 #REAL_DAEMON_DIR=/usr/sbin
9 +REAL_DAEMON_DIR=/usr/sbin
11 #REAL_DAEMON_DIR=/usr/libexec
14 # (examples: allow, deny, banners, twist and spawn).
16 #STYLE = -DPROCESS_OPTIONS # Enable language extensions.
17 +STYLE = -DPROCESS_OPTIONS
19 ################################################################
20 # Optional: Changing the default disposition of logfile records
22 # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
24 FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
27 # The syslog priority at which successful connections are logged.
30 # lookups altogether, see the next section.
35 ########################################
36 # Optional: turning off hostname lookups
38 # mode (see previous section) and comment out the following definition.
40 HOSTNAME= -DALWAYS_HOSTNAME
43 #############################################
44 # Optional: Turning on host ADDRESS checking
46 # Solaris 2.x, and Linux. See your system documentation for details.
48 # KILL_OPT= -DKILL_IP_OPTIONS
49 +KILL_OPT= -DKILL_IP_OPTIONS
51 ## End configuration options
52 ############################
54 # Protection against weird shells or weird make programs.
57 -.c.o:; $(CC) $(CFLAGS) -c $*.c
58 +.c.o:; $(CC) $(CFLAGS) -o $*.o -c $*.c
60 -CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
62 +CFLAGS = $(COPTS) -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
63 $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
64 -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
65 -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
69 @set +e; test -n "$(REAL_DAEMON_DIR)" || { make; exit 1; }
70 - @set +e; echo $(CFLAGS) >/tmp/cflags.$$$$ ; \
71 - if cmp cflags /tmp/cflags.$$$$ ; \
72 - then rm /tmp/cflags.$$$$ ; \
73 - else mv /tmp/cflags.$$$$ cflags ; \
74 + @set +e; echo $(CFLAGS) >cflags.new ; \
75 + if cmp cflags cflags.new ; \
76 + then rm cflags.new ; \
77 + else mv cflags.new cflags ; \
78 fi >/dev/null 2>/dev/null
79 + @if [ ! -d shared ]; then mkdir shared; fi