]> git.pld-linux.org Git - packages/tcp_wrappers.git/blame - tcp_wrappers-Makefile.patch
- x32 rebuild
[packages/tcp_wrappers.git] / tcp_wrappers-Makefile.patch
CommitLineData
8ff1f674
JR
1diff -urN tcp_wrappers_7.6.orig/Makefile tcp_wrappers_7.6/Makefile
2--- tcp_wrappers_7.6.orig/Makefile Mon Dec 13 13:58:15 1999
3+++ tcp_wrappers_7.6/Makefile Mon Dec 13 14:07:48 1999
4@@ -71,6 +71,7 @@
5 #
6 # HP-UX SCO Unicos
7 #REAL_DAEMON_DIR=/etc/...
8+REAL_DAEMON_DIR=/usr/sbin
9
10 # End of mandatory section
11 ##########################
12@@ -150,8 +151,8 @@
13
14 linux:
15 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
16- LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
17- NETGROUP= TLI= EXTRA_CFLAGS="-DHAVE_WEAKSYMS -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" all
d4068a2e 18+ LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
8ff1f674
JR
19+ EXTRA_CFLAGS="$(RPM_OPT_FLAGS) -DHAVE_STRERROR -DHAVE_WEAKSYMS -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" all
20
21 linux-old:
22 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
23@@ -504,7 +508,7 @@
24 # Uncomment the next definition to turn on the language extensions
25 # (examples: allow, deny, banners, twist and spawn).
26 #
27-#STYLE = -DPROCESS_OPTIONS # Enable language extensions.
28+STYLE = -DPROCESS_OPTIONS # Enable language extensions.
29
30 ################################################################
31 # Optional: Changing the default disposition of logfile records
32@@ -527,7 +531,7 @@
33 #
34 # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
35
36-FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
37+FACILITY= LOG_AUTHPRIV
38
39 # The syslog priority at which successful connections are logged.
40
41@@ -544,7 +548,7 @@
42 # and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken
43 # from /etc/hosts or from NIS maps. It does work with DNS through NIS.
44 #
45-# DOT= -DAPPEND_DOT
46+DOT= -DAPPEND_DOT
47
48 ##################################################
49 # Optional: Always attempt remote username lookups
50@@ -564,7 +568,7 @@
51 # still do selective username lookups as documented in the hosts_access.5
52 # and hosts_options.5 manual pages (`nroff -man' format).
53 #
54-#AUTH = -DALWAYS_RFC931
55+AUTH = -DALWAYS_RFC931
56 #
57 # The default username lookup timeout is 10 seconds. This may not be long
58 # enough for slow hosts or networks, but is enough to irritate PC users.
59@@ -603,7 +607,7 @@
60 # look for access control information. Watch out for the quotes and
61 # backslashes when you make changes.
62
63-TABLES = -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
64+TABLES = -DHOSTS_DENY=\"/etc/tcpd/hosts.deny\" -DHOSTS_ALLOW=\"/etc/tcpd/hosts.allow\"
65
66 ####################################################
67 # Optional: dealing with host name/address conflicts
68@@ -623,7 +627,7 @@
69 # Paranoid mode implies hostname lookup. In order to disable hostname
70 # lookups altogether, see the next section.
71
72-PARANOID= -DPARANOID
73+PARANOID= #-DPARANOID
74
75 ########################################
76 # Optional: turning off hostname lookups
77@@ -636,7 +640,7 @@
78 # In order to perform selective hostname lookups, disable paranoid
79 # mode (see previous section) and comment out the following definition.
80
81-HOSTNAME= -DALWAYS_HOSTNAME
82+HOSTNAME= #-DALWAYS_HOSTNAME
83
84 #############################################
85 # Optional: Turning on host ADDRESS checking
86@@ -661,7 +661,7 @@
87 #
88 # Uncomment the following macro definition if your getsockopt() is OK.
89 #
90-# KILL_OPT= -DKILL_IP_OPTIONS
91+KILL_OPT= -DKILL_IP_OPTIONS
92
93 ## End configuration options
94 ############################
95@@ -671,7 +672,7 @@
96
97 %.lo:; $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $*.c
98
99-CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
100+CFLAGS = -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
101 $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
102 -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
103 -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
This page took 1.890576 seconds and 4 git commands to generate.