3ed053c98f
Upstream changes: 1.18 Sep 21, 2018 Documentation revised to remove ambigous use of "answer" which has been used to refer to both the answer section of a packet and the entire reply packet received from a nameserver. Fix rt.cpan.org #127018 Net::DNS::ZoneFile->parse() fails if include directory specified. Fix rt.cpan.org #127012 DNS resolution broken when options ndots used in /etc/resolv.conf
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.85 2018/10/20 14:32:42 wen Exp $
|
|
|
|
DISTNAME= Net-DNS-1.18
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
|
MASTER_SITES+= 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}
|
|
|
|
DEPENDS+= p5-Digest-HMAC>=1.0:../../security/p5-Digest-HMAC
|
|
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"
|