pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dnscheck DNSCheck is a program that was designed t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b129569d7286
branches:  trunk
changeset: 603611:b129569d7286
user:      pettai <pettai%pkgsrc.org@localhost>
date:      Tue May 08 22:39:39 2012 +0000

description:
DNSCheck is a program that was designed to help people check, measure and
hopefully also understand the workings of the Domain Name System, DNS.
When a domain (aka zone) is submitted to DNSCheck it will investigate
the domain's general health by traversing the DNS from root (.) to
the TLD (Top Level Domain, like .SE) to eventually the nameserver(s)
that holds the information about the specified domain (like iis.se).
Some other sanity checks, for example measuring host connectivity,
validity of IP-addresses and control of DNSSEC signatures
will also be performed.

diffstat:

 net/dnscheck/DESCR            |   9 ++++++
 net/dnscheck/Makefile         |  64 +++++++++++++++++++++++++++++++++++++++++++
 net/dnscheck/PLIST            |  61 ++++++++++++++++++++++++++++++++++++++++
 net/dnscheck/distinfo         |   7 ++++
 net/dnscheck/patches/patch-aa |  16 ++++++++++
 net/dnscheck/patches/patch-ab |  15 ++++++++++
 6 files changed, 172 insertions(+), 0 deletions(-)

diffs (196 lines):

diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/DESCR        Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,9 @@
+DNSCheck is a program that was designed to help people check, measure and
+hopefully also understand the workings of the Domain Name System, DNS.
+When a domain (aka zone) is submitted to DNSCheck it will investigate
+the domain's general health by traversing the DNS from root (.) to
+the TLD (Top Level Domain, like .SE) to eventually the nameserver(s)
+that holds the information about the specified domain (like iis.se).
+Some other sanity checks, for example measuring host connectivity,
+validity of IP-addresses and control of DNSSEC signatures
+will also be performed.
diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/Makefile     Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/08 22:39:39 pettai Exp $
+#
+
+DISTNAME=      dotse-dnscheck-1.2.6-0-g86a5c69
+PKGNAME=       dnscheck-1.2.6
+CATEGORIES=    net perl5
+MASTER_SITES=  -https://github.com/dotse/dnscheck/tarball/1.2.6
+
+MAINTAINER=    pettai%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/dotse/dnscheck/
+COMMENT=       DNSCheck is a DNS quality checker
+LICENSE=       2-clause-bsd
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+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-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
+
+PERL5_PACKLIST=        auto/DNSCheck/.packlist
+BUILDLINK_API_DEPENDS.perl+=   perl>=5.6.1
+
+WRKSRC=         ${WRKDIR}/dotse-dnscheck-b73204b/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"
diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/PLIST        Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/08 22:39:39 pettai Exp $
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Config.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Locale.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Logger.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Lookup/ASN.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Lookup/DNS.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Lookup/Resolver.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Overview.pod
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Address.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Common.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Connectivity.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Consistency.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/DNSSEC.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Delegation.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Host.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Mail.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Nameserver.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/SMTP.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/SOA.pm
+${PERL5_SUB_INSTALLVENDORLIB}/DNSCheck/Test/Zone.pm
+${PERL5_SUB_INSTALLVENDORLIB}/MockBootstrap.pm
+${PERL5_SUB_INSTALLVENDORLIB}/MockResolver.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/DNSCheck/.packlist
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck-12hourmailer
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck-dispatcher
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck-hostsyntax
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck-preflight
+${PERL5_SUB_INSTALLVENDORBIN}/dnscheck-zonediff
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck-12hourmailer.1
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck-dispatcher.1
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck-hostsyntax.1
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck-preflight.1
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck-zonediff.1
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/dnscheck.1
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Config.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Locale.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Logger.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Lookup::ASN.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Lookup::DNS.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Lookup::Resolver.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Overview.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Address.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Common.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Connectivity.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Consistency.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::DNSSEC.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Delegation.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Host.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Mail.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Nameserver.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::SMTP.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::SOA.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/DNSCheck::Test::Zone.3
+share/dnscheck/locale/en.yaml
+share/dnscheck/locale/nl.yaml
+share/dnscheck/locale/sv.yaml
+share/examples/dnscheck/config.yaml
+share/examples/dnscheck/policy.yaml
diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/distinfo     Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/08 22:39:39 pettai Exp $
+
+SHA1 (dotse-dnscheck-1.2.6-0-g86a5c69.tar.gz) = da2b5e8cf84eb4416dc32a4006c901b18040b137
+RMD160 (dotse-dnscheck-1.2.6-0-g86a5c69.tar.gz) = d19ba7cd9a6311f82c03421b3928a666b09fb0b8
+Size (dotse-dnscheck-1.2.6-0-g86a5c69.tar.gz) = 1262272 bytes
+SHA1 (patch-aa) = 86cf15f480ccb95b136e4712ff0910c01459a549
+SHA1 (patch-ab) = c07651c7015c8d71e77c3ee25e852c3132e73da3
diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/patches/patch-aa     Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/05/08 22:39:39 pettai Exp $
+
+Install the configuration files in SYSCONFDIR instead of share
+
+--- Makefile.PL.orig   2012-05-08 21:31:27.000000000 +0000
++++ Makefile.PL
+@@ -77,9 +77,6 @@ FIXVARS = \
+       -DLOCALE_DIR="$(LOCALE_DIR)"
+ 
+ install_locale:
+-      install -d ${DESTDIR}/${POLICY_DIR}
+-      install -m 444 policy.yaml ${DESTDIR}/${POLICY_DIR}
+-      install -m 444 config.yaml ${DESTDIR}/${CONFIG_DIR}
+       install -d ${DESTDIR}/${LOCALE_DIR}
+       install -m 444 locale/*.yaml ${DESTDIR}/${LOCALE_DIR}
+ 
diff -r fd8c24dab9be -r b129569d7286 net/dnscheck/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnscheck/patches/patch-ab     Tue May 08 22:39:39 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2012/05/08 22:39:39 pettai Exp $
+
+Look for the configuration files in SYSCONFDIR instead of share
+
+--- ./lib/DNSCheck/Config.pm.orig      2009-04-04 13:49:09.000000000 +0200
++++ ./lib/DNSCheck/Config.pm   2009-04-04 13:49:43.000000000 +0200
+@@ -52,7 +52,7 @@
+ 
+     my %arg = @_;
+ 
+-    $self->{configdir} = catfile($Config{'siteprefix'}, 'share/dnscheck');
++    $self->{configdir} = catfile($Config{'siteprefix'}, '@SYSCONFDIR@/dnscheck');
+     $self->{configdir} = $arg{'configdir'} if defined($arg{'configdir'});
+ 
+     $self->{sitedir} = $self->{configdir};



Home | Main Index | Thread Index | Old Index