Subject: pkg/18079: update of net/p5-Net-DNS to version 0.28
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Heinz <k.heinz.aug.zwei@onlinehome.de>
List: netbsd-bugs
Date: 08/26/2002 22:48:43
>Number:         18079
>Category:       pkg
>Synopsis:       update of net/p5-Net-DNS to version 0.28
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 13:49:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Klaus Heinz
>Release:        NetBSD 1.5.2
>Organization:
none
>Environment:
not relevant


>Description:
	While building a different package I encountered a bug which is
	fixed in version 0.28 of Net::DNS. Several other bug fixes and
	enhancements seem to make it worthwhile to update this package.

	From the Changes file (used for 'DESCR'):
	  - untested support for perl 5.004.
	  - greatly improved test suite, including online tests if Internet
	    connection is detected
	  - support for DNAME resource records
	  - Net::DNS now works with 5.005_03 again.
	  - new web site http://www.net-dns.org/
	  - support for DNSSEC (TSIG)
	  - Net::DNS::Nameserver implements a simple name server
	  - should work under Win32 (some caveats)

	'perl Makefile.PL' prompts for a decision whether to enable
	online tests if an Internet connection is detected. I have
	disabled this prompt and enabled online tests with patch-aa.

	As usual, pkglint complains about 'possible direct use of
	command "test" found' and '"DEPENDS" has to appear earlier in
	Makefile'. Everything else should be OK.

>How-To-Repeat:
	--
>Fix:
	apply the diff file and move  the 'patches' directory to
	net/p5-Net-DNS/.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	netdns0_28
#	netdns0_28/netdns.diff
#	netdns0_28/patches/
#	netdns0_28/patches/patch-aa
#
echo c - netdns0_28
mkdir -p netdns0_28 > /dev/null 2>&1
echo x - netdns0_28/netdns.diff
sed 's/^X//' >netdns0_28/netdns.diff << 'END-of-netdns0_28/netdns.diff'
Xdiff -ur p5-Net-DNS/DESCR p5-Net-DNS0.28/DESCR
X+++ p5-Net-DNS0.28/DESCR	Mon Aug 26 20:56:20 2002
X@@ -1,11 +1,18 @@
X Net::DNS is a Perl interface to the DNS resolver.  It allows the
X programmer to perform any type of DNS query from a Perl script.
X+For details and examples, please read the Net::DNS documentation page
X+('perldoc Net::DNS')
X 
X-0.01 was written mostly in C and used the system's resolver.  The
X-Perl version runs quite a bit slower, but considering that the
X-network can be a serious bottleneck when making DNS queries, the
X-speed difference may not really matter in most cases.  However,
X-future versions may contain some C to increase speed or for those
X-who wish to link against libresolv or libbind.
X+Future versions may contain some C to increase speed or for those who
X+wish to link against libresolv or libbind.
X+
X+Recent changes (apart from bug fixes/speed improvements) include
X+  - untested support for perl 5.004.
X+  - greatly improved test suite, including online tests if Internet
X+    connection is detected
X+  - support for DNAME resource records
X+  - Net::DNS now works with 5.005_03 again.
X+  - new web site http://www.net-dns.org/
X+  - support for DNSSEC (TSIG)
X+  - Net::DNS::Nameserver implements a simple name server
X+  - should work under Win32 (some caveats)
Xdiff -ur p5-Net-DNS/Makefile p5-Net-DNS0.28/Makefile
X+++ p5-Net-DNS0.28/Makefile	Mon Aug 26 22:21:59 2002
X@@ -1,20 +1,32 @@
X # $NetBSD: Makefile,v 1.5 2001/11/26 06:50:10 jlam Exp $
X #
X 
X-DISTNAME=		Net-DNS-0.12
X+DISTNAME=		Net-DNS-0.28
X PKGNAME=		p5-${DISTNAME}
X SVR4_PKGNAME=		p5ndn
X CATEGORIES=		net perl5
X+MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=Net/}		\
X+			http://www.net-dns.org/download/
X 
X MAINTAINER=		hubertf@netbsd.org
X+HOMEPAGE=		http://www.net-dns.org/
X COMMENT=		Net::DNS - Perl DNS Resolver Module
X 
X+BUILD_DEPENDS+=		p5-Test-Simple>=0.44:../../devel/p5-Test-Simple
X+
X+DEPENDS+=		p5-Digest-HMAC>=1.0:../../security/p5-Digest-HMAC
X+DEPENDS+=		p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
X+
X+BUILDLINK_DEPENDS.perl=	perl>=5.005_03
X+
X USE_BUILDLINK_ONLY=	YES
X PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/Net/DNS/.packlist
X 
X do-configure:
X 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X+
X+test: build
X+	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test
X 
X .include "../../lang/perl5/buildlink.mk"
X .include "../../mk/bsd.pkg.mk"
Xdiff -ur p5-Net-DNS/distinfo p5-Net-DNS0.28/distinfo
X+++ p5-Net-DNS0.28/distinfo	Mon Aug 26 16:06:26 2002
X@@ -1,4 +1,5 @@
X $NetBSD: distinfo,v 1.2 2001/04/21 11:23:26 wiz Exp $
X 
X-SHA1 (Net-DNS-0.12.tar.gz) = eb52cf1be39d013473a0e73ee1fab637c5329e3d
X-Size (Net-DNS-0.12.tar.gz) = 58374 bytes
X+SHA1 (Net-DNS-0.28.tar.gz) = a0705fac58f7d6a97bc8418b2dd281bbeba4b7af
X+Size (Net-DNS-0.28.tar.gz) = 81449 bytes
X+SHA1 (patch-aa) = fb4bed3ed4c1c0353716529d27929444f15f6e31
END-of-netdns0_28/netdns.diff
echo c - netdns0_28/patches/
mkdir -p netdns0_28/patches/ > /dev/null 2>&1
echo x - netdns0_28/patches/patch-aa
sed 's/^X//' >netdns0_28/patches/patch-aa << 'END-of-netdns0_28/patches/patch-aa'
X$NetBSD$
X
X+++ Makefile.PL
X@@ -24,17 +24,13 @@
X 
X 	print <<EOT;
X 
X-You appear to be directly connected to the Internet.  I have some tests
X-that try to query live nameservers.
X+You appear to be directly connected to the Internet. 
X+I will enable some tests that try to query live nameservers.
X 
X EOT
X 
X-	if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
X 		open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
X 		close(ENABLED);
X-	} else {
X-		unlink("t/online.enabled"); # just to be shure...
X-	}
X }
X 
X 
END-of-netdns0_28/patches/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted: