1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/domtools/files/patch-aa
Brian Feldman 4e04ff0f8a Update to 1.5.0.
Make a shared directory 1777 instead of 777.
Respect ${PREFIX}.

Submitted by:	Alex Perel <veers@disturbed.net>
2000-08-17 03:40:58 +00:00

54 lines
1.9 KiB
Plaintext

--- Makefile.old Wed Aug 16 23:22:00 2000
+++ Makefile Wed Aug 16 23:23:05 2000
@@ -35,12 +35,12 @@
# This directory is created, below, if it doesn't exist.
# "bin" will put it in $LDEST/bin.
# "bin/domtools" (my favorite) puts it in $LDEST/bin/domtools.
-DOMBIN=bin/domtools
+DOMBIN=domtools/bin
#DOMBIN=bin
# Library sub-directory under $LDEST where other files such as awk scripts should go.
# This directory is created, below, if it doesn't exist.
-DOMLIB=lib/domtools
+DOMLIB=domtools/lib
# Do you want a world-writable Zone Cache directory, or not?
# Good points: speeds up the axfr tool substantially.
@@ -103,7 +103,7 @@
#OWNER= pab
# Group for installing Domtools directories and files.
-GROUP= bin
+GROUP= wheel
#GROUP= staff
#GROUP= oper
#GROUP= user
@@ -118,7 +118,7 @@
# BSD-style installation command that creates missing parent dirs with "-d dir".
# You specify use Gnu Install here if you have it.
# First line is for BSD or SunOS; second is for SysV like Solaris 2.
-INSTALL=install
+INSTALL=/usr/bin/install
#INSTALL=/usr/ucb/install
#INSTALL=/usr/local/gnu/bin/install
#INSTALL=/stor/gnu/aix/bin/install
@@ -148,7 +148,7 @@
# Regardless of the name, it _must_ be a gnu-based awk.
# If you don't have gawk, get it and install it; or hosttbl,networktbl,netmasktbl
# tools won't work right. Gawk is much better than awk or nawk anyway.
-GAWKPROG=gawk # many systems
+GAWKPROG=/usr/bin/awk # many systems
#GAWKPROG=awk # BSDI, Linux
#GAWKPROG=/usr/local/bin/awk
@@ -233,7 +233,7 @@
# (Very important for BIND 8 users, because zone file format changed)
# No, we don't want the sticky (text) bit set on this directory.
-if test $(ZONECACHEWANTED) -eq 1; then \
- $(INSTALL) -m 777 $(CHOWNOPT) -g $(GROUP) -d $(PDEST)/$(ZONEDIR); \
+ $(INSTALL) -m 1777 $(CHOWNOPT) -g $(GROUP) -d $(PDEST)/$(ZONEDIR); \
rm -f $(PDEST)/$(ZONEDIR)/* > /dev/null 2>&1; \
fi
for i in $(LIBS); do \