summaryrefslogtreecommitdiff
path: root/security/tcp_wrapper/files/patch-aa
blob: 7f0a07aa39b2e2adf2a3fcce9d1e3db5fd1eab5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
*** Makefile.orig	Mon Jan 30 21:51:43 1995
--- Makefile	Tue May 16 13:30:07 1995
***************
*** 46,52 ****
  #REAL_DAEMON_DIR=/usr/sbin
  #
  # BSD 4.4
! #REAL_DAEMON_DIR=/usr/libexec
  #
  # HP-UX SCO
  #REAL_DAEMON_DIR=/etc
--- 46,52 ----
  #REAL_DAEMON_DIR=/usr/sbin
  #
  # BSD 4.4
! REAL_DAEMON_DIR=/usr/libexec
  #
  # HP-UX SCO
  #REAL_DAEMON_DIR=/etc
***************
*** 317,323 ****
  # the ones provided with this source distribution. The environ.c module
  # implements setenv(), getenv(), and putenv().
  
! AUX_OBJ= setenv.o
  #AUX_OBJ= environ.o
  #AUX_OBJ= environ.o strcasecmp.o
  
--- 317,323 ----
  # the ones provided with this source distribution. The environ.c module
  # implements setenv(), getenv(), and putenv().
  
! #AUX_OBJ= setenv.o
  #AUX_OBJ= environ.o
  #AUX_OBJ= environ.o strcasecmp.o
  
***************
*** 374,380 ****
  # host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work
  # around this. The workaround does no harm on other Solaris versions.
  
! BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG
  
--- 374,380 ----
  # host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work
  # around this. The workaround does no harm on other Solaris versions.
  
! #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG
  
***************
*** 392,398 ****
  # If your system supports vsyslog(), comment out the following definition.
  # If in doubt leave it in, it won't harm.
  
! VSYSLOG	= -Dvsyslog=myvsyslog
  
  # End of the system dependencies.
  #################################
--- 392,398 ----
  # If your system supports vsyslog(), comment out the following definition.
  # If in doubt leave it in, it won't harm.
  
! #VSYSLOG	= -Dvsyslog=myvsyslog
  
  # End of the system dependencies.
  #################################
***************
*** 411,417 ****
  # Uncomment the next definition to turn on the language extensions
  # (examples: allow, deny, banners, twist and spawn).
  # 
! #STYLE	= -DPROCESS_OPTIONS	# Enable language extensions.
  
  ################################################################
  # Optional: Changing the default disposition of logfile records
--- 411,417 ----
  # Uncomment the next definition to turn on the language extensions
  # (examples: allow, deny, banners, twist and spawn).
  # 
! STYLE	= -DPROCESS_OPTIONS	# Enable language extensions.
  
  ################################################################
  # Optional: Changing the default disposition of logfile records
***************
*** 434,440 ****
  #
  # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  
! FACILITY= LOG_MAIL	# LOG_MAIL is what most sendmail daemons use
  
  # The syslog priority at which successful connections are logged.
  
--- 434,441 ----
  #
  # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  
! #FACILITY= LOG_MAIL	# LOG_MAIL is what most sendmail daemons use
! FACILITY= LOG_AUTH
  
  # The syslog priority at which successful connections are logged.
  
***************
*** 509,515 ****
  # look for access control information. Watch out for the quotes and
  # backslashes when you make changes.
  
! TABLES	= -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
  
  ####################################################
  # Optional: dealing with host name/address conflicts
--- 510,516 ----
  # look for access control information. Watch out for the quotes and
  # backslashes when you make changes.
  
! TABLES	= -DHOSTS_DENY=\"${PREFIX}/etc/hosts.deny\" -DHOSTS_ALLOW=\"${PREFIX}/etc/hosts.allow\"
  
  ####################################################
  # Optional: dealing with host name/address conflicts
***************
*** 529,535 ****
  # Paranoid mode implies hostname lookup. In order to disable hostname
  # lookups altogether, see the next section.
  
! PARANOID= -DPARANOID
  
  ########################################
  # Optional: turning off hostname lookups
--- 530,536 ----
  # Paranoid mode implies hostname lookup. In order to disable hostname
  # lookups altogether, see the next section.
  
! #PARANOID= -DPARANOID
  
  ########################################
  # Optional: turning off hostname lookups
***************
*** 605,610 ****
--- 606,625 ----
  LIB	= libwrap.a
  
  all other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk
+ 
+ install:
+ 	install -c libwrap.a ${PREFIX}/lib/libwrap.a
+ 	install -cs tcpd ${PREFIX}/libexec/tcpd
+ 	install -cs tcpdchk ${PREFIX}/sbin/tcpdchk
+ 	install -cs tcpdmatch ${PREFIX}/sbin/tcpdmatch
+ 	install -cs safe_finger ${PREFIX}/bin/safe_finger
+ 	install -c tcpd.8 ${PREFIX}/man/man8/tcpd.8
+ 	install -c tcpdchk.8 ${PREFIX}/man/man8/tcpdchk.8
+ 	install -c tcpdmatch.8 ${PREFIX}/man/man8/tcpdmatch.8
+ 	install -c hosts_access.3 ${PREFIX}/man/man3/hosts_access.3
+ 	install -c hosts_access.5 ${PREFIX}/man/man5/hosts_access.5
+ 	install -c hosts_options.5 ${PREFIX}/man/man5/hosts_options.5
+ 
  
  # Invalidate all object files when the compiler options (CFLAGS) have changed.