%n tcp_wrappers %v 7.4 %c * %l * %b * %d * %f * %t tcp_wrappers_7.4.tgz %w Misc %% mkdir -p $BUILDDIR cd $BUILDDIR rm -rf ${NAME}_$VERSION tar zixvf $SRCTARDIR/$TARFILE cd ${NAME}_$VERSION patch -u -p1 <<'ENDPATCH' diff -ru2N tcp_wrappers_7.4/Makefile tcp_wrappers_MCC/Makefile --- tcp_wrappers_7.4/Makefile Mon Mar 25 18:22:25 1996 +++ tcp_wrappers_MCC/Makefile Sun Sep 22 14:29:52 1996 @@ -1,4 +1,7 @@ # @(#) Makefile 1.21 96/03/25 19:22:24 +REAL_DAEMON_DIR = /usr/libexec +LIBS = -Wl,-warn-common +default: linux what: @echo @@ -142,7 +145,15 @@ linux: - @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ - LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \ - NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all + $(MAKE) REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ + LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \ + NETGROUP= TLI= EXTRA_CFLAGS= all +install: $(LIB) all + install -m 444 $(LIB) /usr/lib + install -s -m 555 tcpd /usr/libexec + install -s -m 555 tcpdchk tcpdmatch /usr/sbin + install -m 444 hosts_access.3 /usr/man/man3 + install -m 444 hosts_access.5 /usr/man/man5 + install -m 444 tcpd.8 tcpdchk.8 tcpdmatch.8 /usr/man/man8 + gzip -9f /usr/man/man{3/hosts_access.3,5/hosts_access.5,8/*8} # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x. @@ -362,5 +373,5 @@ # implements setenv(), getenv(), and putenv(). -AUX_OBJ= setenv.o +#AUX_OBJ= setenv.o #AUX_OBJ= environ.o #AUX_OBJ= environ.o strcasecmp.o @@ -425,5 +436,5 @@ # around this. The workaround does no harm on other Solaris versions. -BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK +BUGS = -DLIBC_CALLS_STRTOK #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG @@ -443,5 +454,5 @@ # If in doubt leave it in, it won't harm. -VSYSLOG = -Dvsyslog=myvsyslog +#VSYSLOG = -Dvsyslog=myvsyslog # End of the system dependencies. @@ -501,5 +512,5 @@ # and with Solaris < 2.4. # -# DOT= -DAPPEND_DOT +DOT= -DAPPEND_DOT ################################################## @@ -618,5 +629,5 @@ # Uncomment the following macro definition if your getsockopt() is OK. # -# KILL_OPT= -DKILL_IP_OPTIONS +KILL_OPT= -DKILL_IP_OPTIONS ## End configuration options @@ -628,5 +639,5 @@ .c.o:; $(CC) $(CFLAGS) -c $*.c -CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \ +CFLAGS = -O6 -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \ $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \ -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \ ENDPATCH make * make install %%