]> git.pld-linux.org Git - packages/tcp_wrappers.git/blame - tcp_wrappers-Makefile.patch
- rediffed
[packages/tcp_wrappers.git] / tcp_wrappers-Makefile.patch
CommitLineData
e5dd8bfa
MK
1diff -urNp -x '*.orig' tcp_wrappers_7.6.org/Makefile tcp_wrappers_7.6/Makefile
2--- tcp_wrappers_7.6.org/Makefile 2021-05-10 00:37:26.282798762 +0200
3+++ tcp_wrappers_7.6/Makefile 2021-05-10 00:37:26.357798762 +0200
4@@ -71,6 +71,7 @@ what:
8ff1f674
JR
5 #
6 # HP-UX SCO Unicos
7 #REAL_DAEMON_DIR=/etc/...
8+REAL_DAEMON_DIR=/usr/sbin
9
10 # End of mandatory section
11 ##########################
e5dd8bfa 12@@ -150,8 +151,8 @@ netbsd:
8ff1f674
JR
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) \
e5dd8bfa 23@@ -515,7 +516,7 @@ AR = ar
8ff1f674
JR
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
e5dd8bfa 32@@ -538,7 +539,7 @@ AR = ar
8ff1f674
JR
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
e5dd8bfa 41@@ -555,7 +556,7 @@ SEVERITY= LOG_INFO # LOG_INFO is normall
8ff1f674
JR
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
e5dd8bfa 50@@ -575,7 +576,7 @@ SEVERITY= LOG_INFO # LOG_INFO is normall
8ff1f674
JR
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.
e5dd8bfa 59@@ -614,7 +615,7 @@ ACCESS = -DHOSTS_ACCESS
8ff1f674
JR
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
e5dd8bfa 68@@ -634,7 +635,7 @@ TABLES = -DHOSTS_DENY=\"/etc/hosts.deny\
8ff1f674
JR
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
e5dd8bfa 77@@ -647,7 +648,7 @@ PARANOID= -DPARANOID
8ff1f674
JR
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
e5dd8bfa
MK
86@@ -673,7 +674,7 @@ HOSTNAME= -DALWAYS_HOSTNAME
87 # source-routed traffic in the kernel. Examples: 4.4BSD derivatives,
88 # Solaris 2.x, and Linux. See your system documentation for details.
8ff1f674
JR
89 #
90-# KILL_OPT= -DKILL_IP_OPTIONS
91+KILL_OPT= -DKILL_IP_OPTIONS
92
93 ## End configuration options
94 ############################
e5dd8bfa 95@@ -685,7 +686,7 @@ SHELL = /bin/sh
8ff1f674 96
e5dd8bfa 97 %.lo:; $(LIBTOOL) --tag=CC --mode=compile $(CC) $(CFLAGS) -c $*.c
8ff1f674
JR
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 0.0939950000000001 seconds and 4 git commands to generate.