1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 1.5.0.

Make a shared directory 1777 instead of 777.
Respect ${PREFIX}.

Submitted by:	Alex Perel <veers@disturbed.net>
This commit is contained in:
Brian Feldman 2000-08-17 03:40:58 +00:00
parent 93385a5216
commit 4e04ff0f8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31696
8 changed files with 44 additions and 20 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= domtools
PORTVERSION= 1.4.0
PORTVERSION= 1.5.0
CATEGORIES= net
MASTER_SITES= http://www.domtools.com/pub/
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -18,13 +18,15 @@ USE_PERL5= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/domtools${PORTVERSION}/
MAKE_ENV+= PDEST=${PREFIX}
# XXX - patches/patch-aa modifies Makefile
# and so does the post-patch target
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
${SED} -e 's#/usr/bin/perl#${PERL5}#' \
${SED} -e 's#/usr/bin/perl#${PERL5}#' -e '/^PDEST=/d' \
< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
post-install:

View File

@ -1 +1 @@
MD5 (domtools1.4.0.tar.gz) = 4075410e4556d24dc19854afedecc635
MD5 (domtools1.5.0.tar.gz) = 839442a8302279ed9ced5f7241a70e10

View File

@ -1,5 +1,5 @@
--- ../domtools.orig/Makefile Thu Mar 18 11:48:08 1999
+++ Makefile Sat Jun 12 22:31:17 1999
--- 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.
@ -33,14 +33,21 @@
#INSTALL=/usr/ucb/install
#INSTALL=/usr/local/gnu/bin/install
#INSTALL=/stor/gnu/aix/bin/install
@@ -148,8 +148,8 @@
@@ -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=awk # BSDI, Linux
+#GAWKPROG=gawk # many systems
+GAWKPROG=/usr/bin/awk # BSDI, Linux
+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 \

View File

@ -3,9 +3,11 @@ domtools/bin/addr2net
domtools/bin/addr2mask
domtools/bin/axfr
domtools/bin/basedomain
domtools/bin/bits2mask
domtools/bin/check1101
domtools/bin/domsort
domtools/bin/f2iaddr
domtools/bin/geniplist
domtools/bin/gw
domtools/bin/hinfo
domtools/bin/hosts
@ -15,6 +17,7 @@ domtools/bin/ipsort
domtools/bin/isequal
domtools/bin/issubdom
domtools/bin/makestatic
domtools/bin/mask2bits
domtools/bin/netkillzeros
domtools/bin/netmask
domtools/bin/network

View File

@ -6,7 +6,7 @@
#
PORTNAME= domtools
PORTVERSION= 1.4.0
PORTVERSION= 1.5.0
CATEGORIES= net
MASTER_SITES= http://www.domtools.com/pub/
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -18,13 +18,15 @@ USE_PERL5= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/domtools${PORTVERSION}/
MAKE_ENV+= PDEST=${PREFIX}
# XXX - patches/patch-aa modifies Makefile
# and so does the post-patch target
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
${SED} -e 's#/usr/bin/perl#${PERL5}#' \
${SED} -e 's#/usr/bin/perl#${PERL5}#' -e '/^PDEST=/d' \
< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
post-install:

View File

@ -1 +1 @@
MD5 (domtools1.4.0.tar.gz) = 4075410e4556d24dc19854afedecc635
MD5 (domtools1.5.0.tar.gz) = 839442a8302279ed9ced5f7241a70e10

View File

@ -1,5 +1,5 @@
--- ../domtools.orig/Makefile Thu Mar 18 11:48:08 1999
+++ Makefile Sat Jun 12 22:31:17 1999
--- 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.
@ -33,14 +33,21 @@
#INSTALL=/usr/ucb/install
#INSTALL=/usr/local/gnu/bin/install
#INSTALL=/stor/gnu/aix/bin/install
@@ -148,8 +148,8 @@
@@ -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=awk # BSDI, Linux
+#GAWKPROG=gawk # many systems
+GAWKPROG=/usr/bin/awk # BSDI, Linux
+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 \

View File

@ -3,9 +3,11 @@ domtools/bin/addr2net
domtools/bin/addr2mask
domtools/bin/axfr
domtools/bin/basedomain
domtools/bin/bits2mask
domtools/bin/check1101
domtools/bin/domsort
domtools/bin/f2iaddr
domtools/bin/geniplist
domtools/bin/gw
domtools/bin/hinfo
domtools/bin/hosts
@ -15,6 +17,7 @@ domtools/bin/ipsort
domtools/bin/isequal
domtools/bin/issubdom
domtools/bin/makestatic
domtools/bin/mask2bits
domtools/bin/netkillzeros
domtools/bin/netmask
domtools/bin/network