Index: head/dns/dnswalk/Makefile =================================================================== --- head/dns/dnswalk/Makefile (revision 440706) +++ head/dns/dnswalk/Makefile (revision 440707) @@ -1,36 +1,36 @@ # Created by: Matthew Hunt # $FreeBSD$ PORTNAME= dnswalk PORTVERSION= 2.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= SF MAINTAINER= mark@foster.cc COMMENT= DNS debugger - requests a zone transfer and analyzes the result OPTIONS_DEFINE= DOCS EXAMPLES RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS NO_WRKSUBDIR= YES NO_BUILD= YES USES= perl5 shebangfix perl_OLD_CMD= /usr/contrib/bin/perl SHEBANG_FILES= dnswalk makereports do-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/do-dnswalk \ ${WRKSRC}/makereports \ ${WRKSRC}/sendreports \ ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README \ ${WRKSRC}/dnswalk.errors \ ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/dnswalk.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/dnswalk ${STAGEDIR}${PREFIX}/bin .include Index: head/dns/dnswalk/files/patch-dnswalk =================================================================== --- head/dns/dnswalk/files/patch-dnswalk (nonexistent) +++ head/dns/dnswalk/files/patch-dnswalk (revision 440707) @@ -0,0 +1,32 @@ +--- dnswalk.orig 2017-05-12 19:34:32 UTC ++++ dnswalk +@@ -56,9 +56,9 @@ sub dowalk { + return unless $domain; + print "Checking $domain\n"; + @subdoms=&doaxfr($domain); +- &check_zone($domain) if (defined(@zone) && @zone); ++ &check_zone($domain) if (@zone); + undef @zone; +- return if (!(defined(@subdoms) && @subdoms)); ++ return if (! @subdoms); + @sortdoms = sort byhostname @subdoms; + local ($subdom); + if ($opt_r) { +@@ -84,7 +84,7 @@ sub doaxfr { + my $res = new Net::DNS::Resolver; + $res->nameservers($server); + @zone=$res->axfr($domain); +- unless (defined(@zone) && @zone) { ++ unless (@zone) { + print STDERR "failed\n"; + &printerr("FAIL", + "Zone transfer of $domain from $server failed: ". +@@ -104,7 +104,7 @@ sub doaxfr { + print STDERR "done.\n"; + last SERVER; + } # foreach # +- unless (defined(@zone) && @zone) { ++ unless (@zone) { + &printerr("BAD","All zone transfer attempts of $domain failed!\n"); + return undef; + } Property changes on: head/dns/dnswalk/files/patch-dnswalk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property