|
|
e615632 |
diff -up tcp_wrappers_7.6/Makefile.patch1 tcp_wrappers_7.6/Makefile
|
|
|
e615632 |
--- tcp_wrappers_7.6/Makefile.patch1 1997-03-21 19:27:21.000000000 +0100
|
|
|
e615632 |
+++ tcp_wrappers_7.6/Makefile 2008-08-29 09:45:12.000000000 +0200
|
|
|
e615632 |
@@ -44,7 +44,7 @@ what:
|
|
cvsdist |
1f35f80 |
#REAL_DAEMON_DIR=/usr/etc
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
# SysV.4 Solaris 2.x OSF AIX
|
|
cvsdist |
1f35f80 |
-#REAL_DAEMON_DIR=/usr/sbin
|
|
cvsdist |
1f35f80 |
+REAL_DAEMON_DIR=/usr/sbin
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
# BSD 4.4
|
|
cvsdist |
1f35f80 |
#REAL_DAEMON_DIR=/usr/libexec
|
|
|
e615632 |
@@ -144,7 +144,7 @@ freebsd:
|
|
cvsdist |
1f35f80 |
linux:
|
|
cvsdist |
1f35f80 |
@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
|
|
cvsdist |
1f35f80 |
LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
|
|
Viktor Hercinger |
cf076b1 |
- NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER -DUSE_STRERROR" all
|
|
Viktor Hercinger |
cf076b1 |
+ NETGROUP= TLI= EXTRA_CFLAGS="$(RPM_OPT_FLAGS) -DUSE_STRERROR -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER" all
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
# This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
|
|
|
e615632 |
hpux hpux8 hpux9 hpux10:
|
|
|
e615632 |
@@ -491,7 +491,7 @@ VSYSLOG = -Dvsyslog=myvsyslog
|
|
cvsdist |
1f35f80 |
# Uncomment the next definition to turn on the language extensions
|
|
cvsdist |
1f35f80 |
# (examples: allow, deny, banners, twist and spawn).
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
-#STYLE = -DPROCESS_OPTIONS # Enable language extensions.
|
|
cvsdist |
1f35f80 |
+STYLE = -DPROCESS_OPTIONS # Enable language extensions.
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
################################################################
|
|
cvsdist |
1f35f80 |
# Optional: Changing the default disposition of logfile records
|
|
|
e615632 |
@@ -514,7 +514,8 @@ VSYSLOG = -Dvsyslog=myvsyslog
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
# The LOG_XXX names below are taken from the /usr/include/syslog.h file.
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
-FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
|
|
cvsdist |
1f35f80 |
+#FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
|
|
cvsdist |
1f35f80 |
+FACILITY= LOG_AUTHPRIV # LOG_AUTHPRIV is more appropriate for RH 2.0
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
# The syslog priority at which successful connections are logged.
|
|
cvsdist |
1f35f80 |
|
|
|
e615632 |
@@ -531,7 +532,7 @@ SEVERITY= LOG_INFO # LOG_INFO is normall
|
|
|
e615632 |
# and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken
|
|
|
e615632 |
# from /etc/hosts or from NIS maps. It does work with DNS through NIS.
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
-# DOT= -DAPPEND_DOT
|
|
cvsdist |
1f35f80 |
+DOT= -DAPPEND_DOT
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
##################################################
|
|
cvsdist |
1f35f80 |
# Optional: Always attempt remote username lookups
|
|
|
e615632 |
@@ -551,7 +552,7 @@ SEVERITY= LOG_INFO # LOG_INFO is normall
|
|
cvsdist |
1f35f80 |
# still do selective username lookups as documented in the hosts_access.5
|
|
cvsdist |
1f35f80 |
# and hosts_options.5 manual pages (`nroff -man' format).
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
-#AUTH = -DALWAYS_RFC931
|
|
cvsdist |
1f35f80 |
+AUTH = #-DALWAYS_RFC931
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
# The default username lookup timeout is 10 seconds. This may not be long
|
|
cvsdist |
1f35f80 |
# enough for slow hosts or networks, but is enough to irritate PC users.
|
|
|
e615632 |
@@ -610,7 +611,7 @@ TABLES = -DHOSTS_DENY=\"/etc/hosts.deny\
|
|
cvsdist |
1f35f80 |
# Paranoid mode implies hostname lookup. In order to disable hostname
|
|
cvsdist |
1f35f80 |
# lookups altogether, see the next section.
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
-PARANOID= -DPARANOID
|
|
cvsdist |
1f35f80 |
+PARANOID= #-DPARANOID
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
########################################
|
|
cvsdist |
1f35f80 |
# Optional: turning off hostname lookups
|
|
|
e615632 |
@@ -623,7 +624,7 @@ PARANOID= -DPARANOID
|
|
cvsdist |
1f35f80 |
# In order to perform selective hostname lookups, disable paranoid
|
|
cvsdist |
1f35f80 |
# mode (see previous section) and comment out the following definition.
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
-HOSTNAME= -DALWAYS_HOSTNAME
|
|
cvsdist |
1f35f80 |
+HOSTNAME= #-DALWAYS_HOSTNAME
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
#############################################
|
|
cvsdist |
1f35f80 |
# Optional: Turning on host ADDRESS checking
|
|
|
e615632 |
@@ -649,7 +650,7 @@ HOSTNAME= -DALWAYS_HOSTNAME
|
|
|
e615632 |
# source-routed traffic in the kernel. Examples: 4.4BSD derivatives,
|
|
|
e615632 |
# Solaris 2.x, and Linux. See your system documentation for details.
|
|
cvsdist |
1f35f80 |
#
|
|
cvsdist |
1f35f80 |
-# KILL_OPT= -DKILL_IP_OPTIONS
|
|
cvsdist |
1f35f80 |
+KILL_OPT= -DKILL_IP_OPTIONS
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
## End configuration options
|
|
cvsdist |
1f35f80 |
############################
|
|
|
e615632 |
@@ -659,7 +660,7 @@ HOSTNAME= -DALWAYS_HOSTNAME
|
|
cvsdist |
1f35f80 |
SHELL = /bin/sh
|
|
cvsdist |
1f35f80 |
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
|
cvsdist |
1f35f80 |
|
|
cvsdist |
1f35f80 |
-CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
|
|
cvsdist |
1f35f80 |
+CFLAGS = -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
|
|
cvsdist |
1f35f80 |
$(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
|
|
cvsdist |
1f35f80 |
-DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
|
|
cvsdist |
1f35f80 |
-DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
|