NetBSD Problem Report #18079

Received: (qmail 10395 invoked by uid 605); 26 Aug 2002 20:48:52 -0000
Message-Id: <20020826224843.A3704@silence.homedns.org>
Date: Mon, 26 Aug 2002 22:48:43 +0200
From: Klaus Heinz <k.heinz.aug.zwei@onlinehome.de>
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: update of net/p5-Net-DNS to version 0.28
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 20:49:00 +0000 2002
>Closed-Date:    Mon Sep 09 13:23:19 +0000 2002
>Last-Modified:  Mon Sep 09 13:23:19 +0000 2002
>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-DNS/DESCR	Wed Oct 31 23:57:20 2001
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 manual page.
X+For details and examples, please read the Net::DNS documentation page
X+('perldoc Net::DNS')
X 
X-As of version 0.02, Net::DNS is written entirely in Perl.  Version
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-DNS/Makefile	Mon Dec 10 15:59:49 2001
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+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-DNS/distinfo	Sat Apr 21 13:23:26 2001
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.orig	Sat Aug 10 06:06:27 2002
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:

From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: Klaus Heinz <k.heinz.aug.zwei@onlinehome.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/18079: update of net/p5-Net-DNS to version 0.28
Date: Fri, 6 Sep 2002 13:41:19 +0200

 On Mon, Aug 26, 2002 at 10:48:43PM +0200, Klaus Heinz wrote:
 > 	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.

 The update looks ok, except for the DESCR file -- the DESCR file
 should just describe the current abilities of the package, changes
 should not be noted explicitly (who knows when it will be updated
 again ;) ).

 Otherwise, it looks ok to commit -- please do so.

 Thanks,
  Thomas

 -- 
 Thomas Klausner - wiz@danbala.ifoer.tuwien.ac.at
 Main Rule of Usenet:  Never argue with idiots.  They drag you down to
 their level, then beat you with experience.

From: Klaus Heinz <k.heinz.sep.zwei@onlinehome.de>
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
Cc: Klaus Heinz <k.heinz.aug.zwei@onlinehome.de>, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/18079: update of net/p5-Net-DNS to version 0.28
Date: Mon, 9 Sep 2002 15:19:03 +0200

 Hi Thomas Klausner, you wrote:

 > The update looks ok, except for the DESCR file -- the DESCR file
 > should just describe the current abilities of the package, changes

 Hopefully, the DESCR is now more appropriate.

 > Otherwise, it looks ok to commit -- please do so.

 Done.

 One additional patch was added for a bug ('illegal division by zero' in
 Resolver.pm) in Net::DNS 0.28, which is supposed to be fixed in the next
 release.

 ciao
      Klaus

State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Mon Sep 9 06:21:32 PDT 2002 
State-Changed-Why:  
Update committed by the submitter, thanks! :) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.