- update to dlint 1.4.1 and take maintainership.

ok sthen@
This commit is contained in:
rui 2008-02-16 10:44:00 +00:00
parent 68756da5e9
commit 5ad92fbdd4
3 changed files with 40 additions and 11 deletions

View File

@ -1,14 +1,15 @@
# $OpenBSD: Makefile,v 1.7 2008/01/04 17:48:36 espie Exp $
# $OpenBSD: Makefile,v 1.8 2008/02/16 10:44:00 rui Exp $
COMMENT= DNS zone verification tool
DISTNAME= dlint1.4.0
PKGNAME= dlint-1.4.0
CATEGORIES= net
V= 1.4.1
DISTNAME= dlint${V}
PKGNAME= dlint-${V}
CATEGORIES= net
HOMEPAGE= http://www.domtools.com/dns/dlint.shtml
HOMEPAGE= http://www.domtools.com/
MAINTAINER= Jason Peel <jsyn@openbsd.org>
MAINTAINER= Rui Reis <rui@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes

View File

@ -1,5 +1,5 @@
MD5 (dlint1.4.0.tar.gz) = n8aSq0Ya8TKlKieo2uHgeg==
RMD160 (dlint1.4.0.tar.gz) = SevRM2UbFajao1YBx/BMw9H0B+Y=
SHA1 (dlint1.4.0.tar.gz) = XtKdQlmBbCSkcRdlFBa8rAF58DU=
SHA256 (dlint1.4.0.tar.gz) = 7pqVX6oM07XtucYj1I+pMU3esAs0/5q6CK5zeBT/Xlw=
SIZE (dlint1.4.0.tar.gz) = 23007
MD5 (dlint1.4.1.tar.gz) = 1uGjQ1bmeZnccp1/ZpXeKw==
RMD160 (dlint1.4.1.tar.gz) = k9mu5Hfvl6tW/s+TJbuGjRb3IAc=
SHA1 (dlint1.4.1.tar.gz) = QRuRkIBC+ESqoDlqvCbUYkMShzE=
SHA256 (dlint1.4.1.tar.gz) = U7mNiN2Sd9ygLF0pPRCzH//R+pFak/fNrRFNx+3Fxng=
SIZE (dlint1.4.1.tar.gz) = 23009

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-dlint,v 1.1 2008/02/16 10:44:00 rui Exp $
--- dlint.orig Sun Jun 10 18:48:36 2007
+++ dlint Sat Feb 16 09:49:06 2008
@@ -319,10 +319,10 @@ i=1
badns=true
while test $i -le `wc -l < $TMPNS`; do
badns=false
- ns=`tail --lines=+$i $TMPNS | head -1`
+ ns=`tail -n +$i $TMPNS | head -1`
echo ";; trying nameserver $ns"
-#echo "XX @$ns $domain AXFR"
- dig @$ns $domain AXFR $digopts 2> $TMPERR | $rrfilt > $TMPZONE
+#echo "XX @$ns $domain AXF"
+ dig @$ns $domain AXF $digopts 2> $TMPERR | $rrfilt > $TMPZONE
# Ignore run-time errors that aren't real errors:
# (BIND 9.0.1 default build in RedHat Linux 7.0)
grep -v setsockopt $TMPERR > $TMPERR2
@@ -567,8 +567,8 @@ fi
#
if $recurse; then
-#echo "XX @$ns $domain AXFR"
- dig @$ns $domain AXFR $digopts | $rrfilt | awk '$2=="NS" {print $1}' | grep -iv "^$domain\$" | sort -u > $TMPSUBDOMS
+#echo "XX @$ns $domain AXF"
+ dig @$ns $domain AXF $digopts | $rrfilt | awk '$2=="NS" {print $1}' | grep -iv "^$domain\$" | sort -u > $TMPSUBDOMS
if test -s $TMPSUBDOMS; then
i=1
len=`wc -l < $TMPSUBDOMS`