diff options
author | max <max@FreeBSD.org> | 1997-06-21 01:47:45 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-21 01:47:45 +0800 |
commit | bec67c9bea8f34d0864792acca744dea3134e795 (patch) | |
tree | 9407cb0fc4664ac2a7cc0df0fc7210863e059603 /security/tcp_wrapper | |
parent | f5246b1c62049dafb604e2cc94257f9eade33263 (diff) | |
download | freebsd-ports-gnome-bec67c9bea8f34d0864792acca744dea3134e795.tar.gz freebsd-ports-gnome-bec67c9bea8f34d0864792acca744dea3134e795.tar.zst freebsd-ports-gnome-bec67c9bea8f34d0864792acca744dea3134e795.zip |
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>
Diffstat (limited to 'security/tcp_wrapper')
-rw-r--r-- | security/tcp_wrapper/files/patch-aa | 25 |
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) \ |