1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/security/tcp_wrapper/files/patch-aa

164 lines
5.4 KiB
Plaintext

*** Makefile.orig Mon Jan 30 21:51:43 1995
--- Makefile Tue Oct 10 19:15:46 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,626 ----
LIB = libwrap.a
all other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk
+
+ install:
+ install -o bin -g bin -c tcpd.h ${PREFIX}/include/tcpd.h
+ install -o bin -g bin -c libwrap.a ${PREFIX}/lib/libwrap.a
+ install -o bin -g bin -cs tcpd ${PREFIX}/libexec/tcpd
+ install -o bin -g bin -cs tcpdchk ${PREFIX}/sbin/tcpdchk
+ install -o bin -g bin -cs tcpdmatch ${PREFIX}/sbin/tcpdmatch
+ install -o bin -g bin -cs safe_finger ${PREFIX}/bin/safe_finger
+ install -o bin -g bin -c tcpd.8 ${PREFIX}/man/man8/tcpd.8
+ install -o bin -g bin -c tcpdchk.8 ${PREFIX}/man/man8/tcpdchk.8
+ install -o bin -g bin -c tcpdmatch.8 ${PREFIX}/man/man8/tcpdmatch.8
+ install -o bin -g bin -c hosts_access.3 ${PREFIX}/man/man3/hosts_access.3
+ install -o bin -g bin -c hosts_access.5 ${PREFIX}/man/man5/hosts_access.5
+ install -o bin -g bin -c hosts_options.5 ${PREFIX}/man/man5/hosts_options.5
+
# Invalidate all object files when the compiler options (CFLAGS) have changed.