summaryrefslogtreecommitdiff
path: root/net/p5-Net-DNS
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2002-10-06 02:37:56 +0000
committerheinz <heinz@pkgsrc.org>2002-10-06 02:37:56 +0000
commit4f03088dbf421d46bda15fa206b6abebad997158 (patch)
treef8f8168a17a893d50b018d529874e6abad9401be /net/p5-Net-DNS
parentab4f832c634fe04577488dd32e87318dcd36bb30 (diff)
downloadpkgsrc-4f03088dbf421d46bda15fa206b6abebad997158.tar.gz
- Depends on perl >=5.6.0 instead of 5.005_3
- Uses buildlink2 and module.mk now. - Removed patch-ab (bug fixed is fixed in this version).
Diffstat (limited to 'net/p5-Net-DNS')
-rw-r--r--net/p5-Net-DNS/Makefile15
-rw-r--r--net/p5-Net-DNS/distinfo7
-rw-r--r--net/p5-Net-DNS/patches/patch-ab17
3 files changed, 9 insertions, 30 deletions
diff --git a/net/p5-Net-DNS/Makefile b/net/p5-Net-DNS/Makefile
index 87a022dd3db..d7b00678de2 100644
--- a/net/p5-Net-DNS/Makefile
+++ b/net/p5-Net-DNS/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2002/09/09 00:22:22 heinz Exp $
+# $NetBSD: Makefile,v 1.7 2002/10/06 02:37:56 heinz Exp $
#
-DISTNAME= Net-DNS-0.28
+DISTNAME= Net-DNS-0.29
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ndn
CATEGORIES= net perl5
@@ -13,20 +13,17 @@ HOMEPAGE= http://www.net-dns.org/
COMMENT= Net::DNS - Perl DNS Resolver Module
BUILD_DEPENDS+= p5-Test-Simple>=0.44:../../devel/p5-Test-Simple
-
DEPENDS+= p5-Digest-HMAC>=1.0:../../security/p5-Digest-HMAC
DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
-BUILDLINK_DEPENDS.perl= perl>=5.005_03
+BUILDLINK_DEPENDS.perl= perl>=5.6.0
+USE_BUILDLINK2= YES
-USE_BUILDLINK_ONLY= YES
+PERL5_CONFIGURE= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Net/DNS/.packlist
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test
-.include "../../lang/perl5/buildlink.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Net-DNS/distinfo b/net/p5-Net-DNS/distinfo
index 74334c62b64..4e1d9ea2ef2 100644
--- a/net/p5-Net-DNS/distinfo
+++ b/net/p5-Net-DNS/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/09/09 00:22:22 heinz Exp $
+$NetBSD: distinfo,v 1.4 2002/10/06 02:37:56 heinz Exp $
-SHA1 (Net-DNS-0.28.tar.gz) = a0705fac58f7d6a97bc8418b2dd281bbeba4b7af
-Size (Net-DNS-0.28.tar.gz) = 81449 bytes
+SHA1 (Net-DNS-0.29.tar.gz) = 4189c34c996d502c3aafc95488c0beb7ec8236f5
+Size (Net-DNS-0.29.tar.gz) = 81640 bytes
SHA1 (patch-aa) = fb4bed3ed4c1c0353716529d27929444f15f6e31
-SHA1 (patch-ab) = 9e8e7d1e826bcc605a650d29d24fb4a4e380f074
diff --git a/net/p5-Net-DNS/patches/patch-ab b/net/p5-Net-DNS/patches/patch-ab
deleted file mode 100644
index 4d4f63637b7..00000000000
--- a/net/p5-Net-DNS/patches/patch-ab
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2002/09/09 00:24:12 heinz Exp $
-
---- lib/Net/DNS/Resolver.pm.orig Wed Aug 21 02:11:40 2002
-+++ lib/Net/DNS/Resolver.pm
-@@ -815,9 +815,10 @@
- my $sel = Net::DNS::Select->new($os, $sock);
-
- # Perform each round of retries.
-- for (my $i = 0;
-+ # length of nameserver array _cannot_ be 0, see the check above
-+ for (my $i = 0, my $numns = scalar(@ns);
- $i < $self->{'retry'};
-- ++$i, $retrans *= 2, $timeout = int($retrans / ($#ns + 1))) {
-+ ++$i, $retrans *= 2, $timeout = int($retrans / $numns)) {
-
- $timeout = 1 if ($timeout < 1);
-