summaryrefslogtreecommitdiff
path: root/security/tcp_wrapper
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-06-20 17:47:45 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-06-20 17:47:45 +0000
commit1413c0ca16b5167270c16c2d385e48985897edfe (patch)
tree1b74095c5adeaee07b10aaa3c321921b01120f99 /security/tcp_wrapper
parentUpgrade to 1.6.1. (diff)
Add -DNETGROUP to the compile-time flags so that entries in /etc/netgroup
(or one provided via NIS) can be used when setting up access restriction. PR: 3277 Submitted by: James FitzGibbon <james@nexis.net>
Notes
Notes: svn path=/head/; revision=7023
Diffstat (limited to 'security/tcp_wrapper')
-rw-r--r--security/tcp_wrapper/files/patch-aa25
1 files changed, 21 insertions, 4 deletions
diff --git a/security/tcp_wrapper/files/patch-aa b/security/tcp_wrapper/files/patch-aa
index 1b84b07b3529..44d368e3dc17 100644
--- a/security/tcp_wrapper/files/patch-aa
+++ b/security/tcp_wrapper/files/patch-aa
@@ -1,5 +1,5 @@
-*** Makefile.orig Mon Mar 25 19:22:25 1996
---- Makefile Fri Jan 3 10:41:45 1997
+*** Makefile.orig Tue Mar 26 03:22:25 1996
+--- Makefile Sat Jun 21 02:40:03 1997
***************
*** 46,52 ****
#REAL_DAEMON_DIR=/usr/sbin
@@ -18,6 +18,23 @@
# HP-UX SCO Unicos
#REAL_DAEMON_DIR=/etc
***************
+*** 137,143 ****
+
+ freebsd:
+ @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
+! LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
+ EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
+
+ linux:
+--- 137,143 ----
+
+ freebsd:
+ @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
+! LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP=-DNETGROUP TLI= \
+ EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
+
+ linux:
+***************
*** 361,367 ****
# the ones provided with this source distribution. The environ.c module
# implements setenv(), getenv(), and putenv().
@@ -153,12 +170,12 @@
SHELL = /bin/sh
! PREFIX = /usr/local
-
+!
! .SUFFIXES: .c .so .o
!
! .c.so:
! ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
-!
+
! CFLAGS += -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
$(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
-DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \