|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../tcp_wrappers/config.patch
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
--- ./Makefile.orig Fri Mar 21 19:27:21 1997
|
|
|
|
+++ ./Makefile Fri Apr 23 11:02:43 1999
|
|
|
|
@@ -44,7 +44,7 @@
|
|
|
|
#REAL_DAEMON_DIR=/usr/etc
|
|
|
|
#
|
|
|
|
# SysV.4 Solaris 2.x OSF AIX
|
|
|
|
-#REAL_DAEMON_DIR=/usr/sbin
|
|
|
|
+REAL_DAEMON_DIR=/usr/sbin
|
|
|
|
#
|
|
|
|
# BSD 4.4
|
|
|
|
#REAL_DAEMON_DIR=/usr/libexec
|
|
|
|
@@ -144,7 +144,7 @@
|
|
|
|
linux:
|
|
|
|
@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
|
|
|
|
LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
|
|
|
|
- NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
|
|
|
|
+ NETGROUP= TLI= EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER" all
|
|
|
|
|
|
|
|
# This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
|
|
|
|
hpux hpux8 hpux9 hpux10:
|
|
|
|
@@ -491,7 +491,7 @@
|
|
|
|
# Uncomment the next definition to turn on the language extensions
|
|
|
|
# (examples: allow, deny, banners, twist and spawn).
|
|
|
|
#
|
|
|
|
-#STYLE = -DPROCESS_OPTIONS # Enable language extensions.
|
|
|
|
+STYLE = -DPROCESS_OPTIONS # Enable language extensions.
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Optional: Changing the default disposition of logfile records
|
|
|
|
@@ -514,7 +514,7 @@
|
|
|
|
#
|
|
|
|
# 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_AUTHPRIV # LOG_MAIL is what most sendmail daemons use
|
|
|
|
|
|
|
|
# The syslog priority at which successful connections are logged.
|
|
|
|
|
|
|
|
@@ -531,7 +531,7 @@
|
|
|
|
# and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken
|
|
|
|
# from /etc/hosts or from NIS maps. It does work with DNS through NIS.
|
|
|
|
#
|
|
|
|
-# DOT= -DAPPEND_DOT
|
|
|
|
+DOT= -DAPPEND_DOT
|
|
|
|
|
|
|
|
##################################################
|
|
|
|
# Optional: Always attempt remote username lookups
|
|
|
|
@@ -610,7 +610,7 @@
|
|
|
|
# Paranoid mode implies hostname lookup. In order to disable hostname
|
|
|
|
# lookups altogether, see the next section.
|
|
|
|
|
|
|
|
-PARANOID= -DPARANOID
|
|
|
|
+PARANOID= #-DPARANOID
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# Optional: turning off hostname lookups
|
|
|
|
@@ -623,7 +623,7 @@
|
|
|
|
# In order to perform selective hostname lookups, disable paranoid
|
|
|
|
# mode (see previous section) and comment out the following definition.
|
|
|
|
|
|
|
|
-HOSTNAME= -DALWAYS_HOSTNAME
|
|
|
|
+HOSTNAME= #-DALWAYS_HOSTNAME
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
# Optional: Turning on host ADDRESS checking
|