Skip to content
Browse files

Add p5-DNS-Net locked down to 0.68 (prior to some API breaking changes).

  • Loading branch information...
1 parent bbf6891 commit a55093796a055144514103e21075366a533da0d6 @mamash mamash committed Feb 27, 2014
Showing with 82 additions and 0 deletions.
  1. +15 −0 p5-Net-DNS/DESCR
  2. +48 −0 p5-Net-DNS/Makefile
  3. +6 −0 p5-Net-DNS/distinfo
  4. +13 −0 p5-Net-DNS/patches/patch-Makefile.PL
View
15 p5-Net-DNS/DESCR
@@ -0,0 +1,15 @@
+Net::DNS is a Perl interface to the DNS resolver. It allows the
+programmer to perform any type of DNS query from a Perl script.
+For details and examples, please read the Net::DNS documentation page
+('perldoc Net::DNS')
+
+Features include a simple nameserver (Net::DNS::Nameserver), dynamic
+DNS updates, signed queries (TSIG), support for DNAME resource records
+and IPv6.
+
+The author invites feedback on Net::DNS, especially on new features
+like dynamic updates und TSIG. If there's something you'd like to
+have added, please let him know (http://www.net-dns.org/).
+
+Future versions may contain some C to increase speed or for those who
+wish to link against libresolv or libbind.
View
48 p5-Net-DNS/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.53 2013/09/05 19:31:18 wiz Exp $
+
+DISTNAME= Net-DNS-0.68
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5ndn
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} \
+ http://www.net-dns.org/download/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.net-dns.org/
+COMMENT= Perl5 module for DNS resolution
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+BUILD_DEPENDS+= {p5-Test-Simple>=0.44,perl>=5.8.0}:../../devel/p5-Test-Simple
+DEPENDS+= p5-Digest-HMAC>=1.0:../../security/p5-Digest-HMAC
+DEPENDS+= p5-Digest-MD5>=2.12:../../security/p5-Digest-MD5
+DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
+DEPENDS+= p5-Net-IP>=1.20:../../net/p5-Net-IP
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Net-DNS
+PKG_SUPPORTED_OPTIONS= inet6 online-tests
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+DEPENDS+= p5-IO-Socket-INET6>=2.01:../../net/p5-IO-Socket-INET6
+DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6
+MAKE_PARAMS+= --IPv6-tests
+.else
+MAKE_PARAMS+= --no-IPv6-tests
+.endif
+
+.if !empty(PKG_OPTIONS:Monline-tests)
+MAKE_PARAMS+= --online-tests
+.else
+MAKE_PARAMS+= --no-online-tests
+.endif
+
+USE_LANGUAGES= c
+
+PERL5_PACKLIST= auto/Net/DNS/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
View
6 p5-Net-DNS/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.28 2013/09/05 19:31:18 wiz Exp $
+
+SHA1 (Net-DNS-0.68.tar.gz) = 4deaaa8ba6bca0cf0e248b4a3cc0383348349182
+RMD160 (Net-DNS-0.68.tar.gz) = 1c5201daa72ddb2d244bbb9a256ebe7ca1864f9c
+Size (Net-DNS-0.68.tar.gz) = 184715 bytes
+SHA1 (patch-Makefile.PL) = a43bfbe30623b6705416e5074acf4094e3875046
View
13 p5-Net-DNS/patches/patch-Makefile.PL
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2013/08/15 16:36:11 joerg Exp $
+
+--- Makefile.PL.orig 2013-08-15 16:24:21.000000000 +0000
++++ Makefile.PL
+@@ -191,7 +191,7 @@ unless ( defined $use_xs ) {
+ if ( test_cc() ) {
+ print "You have a working compiler.\n";
+ $use_xs = 1;
+- $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)';
++ $Makefile{'MYEXTLIB'} = '';
+ } else {
+ $use_xs = 0;
+ $Makefile{'MYEXTLIB'} = '';

0 comments on commit a550937

Please sign in to comment.
Something went wrong with that request. Please try again.