c48c359c84
===================================== * Minimum required Perl version is now 5.10.1. * A couple of new tests: - That a minimal referral can fit in a 512-octet packet. - The responses come from the same IP address the question was sent to. - That NSEC or NSEC3 is used in signed zones. - That NSEC3 parameters are sane. - That RRSIG durations are sane. * CZNIC contributed a Czech translation. * Reserved IP ranges updated according to new RFCs. * All tests that made SMTP connections have been removed. * The CLI script has a --level flag to specify the lowest log level you want printed. * A new, better algorithm to check nameserver AS distribution. * Plus of course bug and stability fixes. Release Notes for DNSCheck Lib v1.3.0 ===================================== Notable changes: * The configuration file layout has changed completely! Instead of the old, complicated variant, default configuration, default policy and language files are now installed in the proper place in the Perl module tree. The user should never need to care exactly where that is. Local changes to the configuration now lives in /etc/dnscheck/config.yaml and /etc/dnscheck/policy.yaml You have to manually move and rename your old site_config.yaml and site_policy.yaml, if you have them!
66 lines
2.4 KiB
Makefile
66 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2013/06/15 21:18:49 pettai Exp $
|
|
#
|
|
|
|
DISTNAME= dotse-dnscheck-1.4.1-0-ga93f48c
|
|
PKGNAME= dnscheck-1.4.1
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= -https://github.com/dotse/dnscheck/tarball/1.4.1
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= https://github.com/dotse/dnscheck/
|
|
COMMENT= DNSCheck is a DNS quality checker
|
|
LICENSE= 2-clause-bsd
|
|
|
|
FETCH_USING= curl
|
|
|
|
DEPENDS+= p5-Net-DNS>=0.65:../../net/p5-Net-DNS
|
|
DEPENDS+= p5-Net-DNS-SEC>=0.16:../../security/p5-Net-DNS-SEC
|
|
DEPENDS+= p5-Net-IP>=1.25:../../net/p5-Net-IP
|
|
DEPENDS+= p5-TimeDate>=0.19:../../time/p5-TimeDate
|
|
DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
|
|
DEPENDS+= p5-Socket6>=0.19:../../net/p5-Socket6
|
|
DEPENDS+= p5-IO-Socket-INET6>=2.51:../../net/p5-IO-Socket-INET6
|
|
DEPENDS+= p5-Mail-RFC822-Address-[0-9]*:../../mail/p5-Mail-RFC822-Address
|
|
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
|
|
DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
|
|
DEPENDS+= p5-Config-Any-[0-9]*:../../devel/p5-Config-Any
|
|
DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir
|
|
DEPENDS+= p5-File-ShareDir-Install-[0-9]*:../../devel/p5-File-ShareDir-Install
|
|
DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp
|
|
DEPENDS+= p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS
|
|
DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite
|
|
DEPENDS+= p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template
|
|
|
|
REPLACE_PERL+= lib/DNSCheck.pm lib/DNSCheck/*.pm
|
|
REPLACE_PERL+= lib/DNSCheck/Lookup/*.pm lib/DNSCheck/Test/*.pm
|
|
REPLACE_PERL+= apps/dnscheck-packetcheck
|
|
|
|
PERL5_PACKLIST= auto/DNSCheck/.packlist
|
|
BUILDLINK_API_DEPENDS.perl+= perl>=5.6.1
|
|
|
|
WRKSRC= ${WRKDIR}/dotse-dnscheck-f058797/engine
|
|
SYSCONFDIR= `${BASENAME} ${PKG_SYSCONFDIR}`
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
#CONF_FILES= ${EGDIR}/config.yaml ${PKG_SYSCONFDIR}/${PKGBASE}/config.yaml
|
|
#CONF_FILES+= ${EGDIR}/policy.yaml ${PKG_SYSCONFDIR}/${PKGBASE}/policy.yaml
|
|
|
|
BUILD_DEFS+= IPV6_READY
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= lib/DNSCheck/Config.pm
|
|
SUBST_SED.paths+= -e s!@SYSCONFDIR@!${SYSCONFDIR}!g
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
OWN_DIRS= ${SYSCONFDIR}/${PKGBASE}
|
|
|
|
post-patch:
|
|
${RM} ${WRKSRC}/lib/DNSCheck/Config.pm.orig
|
|
|
|
#post-install:
|
|
# ${INSTALL_DATA} ${WRKSRC}/config.yaml ${DESTDIR}${EGDIR}/
|
|
# ${INSTALL_DATA} ${WRKSRC}/policy.yaml ${DESTDIR}${EGDIR}/
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|