ports/148370: new port submission - DNSCheck

Stan Barber sob at academ.com
Mon Jul 5 03:40:02 UTC 2010


>Number:         148370
>Category:       ports
>Synopsis:       new port submission - DNSCheck
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 05 03:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stan Barber
>Release:        FreeBSD 7.3-RELEASE-p1 i386
>Organization:
Academ Consulting Services
>Environment:
System: FreeBSD academ.com 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #0: Wed May 26 04:29:05 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	new port - dns/checkdns-se
>How-To-Repeat:
	This is the dnscheck software from the .SE registry
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	files
#	pkg-descr
#	pkg-install
#	pkg-message
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:   dnscheck-se
X# Date created:        1 July 2010
X# Whom:                dnscheck-se-port at academ.com (Stan Barber)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	DNSCheck
XPORTVERSION=	1.1
XCATEGORIES=	dns perl5
XMASTER_SITES=	http://opensource.iis.se/pub/dnscheck/ \
X		ftp://www.ns.gen.tx.us/pub/software/dnscheck-se/
X
XMAINTAINER=	dnscheck-se-port at academ.com
XCOMMENT=	DNS checker from the folks that run the .SE top level domain
X
XBUILD_DEPENDS=	p5-Crypt-OpenSSL-Random>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random \
X		p5-Digest-BubbleBabble>=0:${PORTSDIR}/security/p5-Digest-BubbleBabble \
X		p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
X		p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-INET6 \
X		p5-Net-DNS>=0.65:${PORTSDIR}/dns/p5-Net-DNS \
X		p5-Net-DNS-SEC>=0.15:${PORTSDIR}/dns/p5-Net-DNS-SEC \
X		p5-Socket6>=0.19:${PORTSDIR}/net/p5-Socket6 \
X		p5-Sys-Syslog>=0:${PORTSDIR}/sysutils/p5-Sys-Syslog \
X		p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \
X		p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \
X		p5-Text-Template>=0:${PORTSDIR}/textproc/p5-Text-Template \
X		p5-Mail-RFC822-Address>=0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
X		p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite
X
XPERL_CONFIGURE=	yes
XWRKSRC=		${WRKDIR}/engine
X#
XDOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
XDOCS=	'DNSCheck Lib Descriptions.pdf' data-flow-batch.png DNSCheck.graffle data-flow-web.png call-flow.png database-schema.pdf
XDOCSDB=	indexes.sql schema.sql drop.sql
XPORTDOCS=	${DOCS} db
X
XOPTIONS=	MYSQL "Add MySQL Spport (needed for webgui)" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MYSQL)
XRUN_DEPENDSS+=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
XRUN_DEPENDSS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
XUSE_MYSQL=	yes
X.endif
X
Xpost-patch:
X	@${FIND} ${WRKSRC} -name \*.orig -delete
X
Xpost-install:
X.if defined(WITH_MYSQL)
X# install startup script (if WITH_MYSQL  is defined)
X	@[ -f  ${PREFIX}/etc/rc.d/dnscheck-dispatcher ] || \
X		${CP} ${WRKSRC}/contrib/dnscheck-dispatcher.sh \
X		${PREFIX}/etc/rc.d/dnscheck-dispatcher
X.endif
X	@PKG_PREFIX=${PREFIX} BATCH=${BATCH} SU_CMD="${SU_CMD}" ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR} ${DOCSDIR}/db
X	@${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
X	@${INSTALL_DATA} ${DOCSDB:S|^|${WRKSRC}/db/|} ${DOCSDIR}/db
X
X.endif
X	@${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
X.include <bsd.port.post.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XMD5 (DNSCheck-1.1.tar.gz) = a2ab54833e7aae696d5b716028de2ce0
XSHA256 (DNSCheck-1.1.tar.gz) = 456fcb885ca7fd2de7219295988975cd0d311622d73cd112505fba132fe6194e
XSIZE (DNSCheck-1.1.tar.gz) = 427599
57677d168a5ec21bdf22c9501f075a8f
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XDNSCheck is a program that is designed to help people check, measure and 
Xhopefully also understand the workings of the Domain Name System. When used to 
Xcheck an domain (aka zone) is submitted to DNSCheck, it will investigate the
Xgeneral health by performing various tests and sanity checks.
X
XWWW: http://dnscheck.iis.se/
7f9555c3c1089940396b503dd37f3979
echo x - pkg-install
sed 's/^X//' >pkg-install << '24f54cb3ab3c9030c012cff1b405b198'
X#!/bin/sh
X# $FreeBSD$ 
X#
X
Xif [ "$2" = "POST-INSTALL" ];then
X
Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher  ]; then
X    echo 'please add dns_dispatcher_enable="YES" to /etc/rc.conf to enable dnscheck-dispatcher to run at startup.'
X    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
X    fi
X
Xfi
Xexit 0
24f54cb3ab3c9030c012cff1b405b198
echo x - pkg-message
sed 's/^X//' >pkg-message << '90c81c06929c43140502a9f17b449376'
X*************************************************************************
X*	    _  _____ _____ _____ _   _ _____ ___ ___  _   _ 		*
X*	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |		*
X*	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |		*
X*	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |		*
X*	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|		*
X*                                                                       *
X*************************************************************************
X
XThe DNSCheck software included in the port is the PERL-based engine and 
Xincludes a command line utility that uses that engine in /usr/local/bin
Xcalled dnscheck. There are some other software that is included that the
Xdevelopers at the .SE registry use to manage the process by which they
Xdo domain delegation. These generally require MYSQL support to work and
Xare disabled by default. If you want to learn more about them, they are
Xall PERL-based and have integrated perldoc information. However, I have
Xnot tested them extensively and can't advise on their suitability as of
Xthis writing.
X
XThis port also installs some documentation in PREFIX/share/doc/DNSCheck
Xthat may prove useful. 
X
XThere is also a webui that is available as an alternative frontend. I hope
Xto include it in a further revision of this port, but I am concerned about 
Xsome security issues related to it, so I have not included it in this
Xinitial release.
X
XIf you have questions about the basic software, please see the developer's
Xweb site at http://opensource.iis.se/dnscheck. If there is a problem with 
Xthe port, please let me know at dnscheck-se-port at academ.com.
X
XStan Barber
XAcadem Consulting Services
Xhttp://www.stanbarber.com
Xhttp://www.academ.com
X
90c81c06929c43140502a9f17b449376
echo x - pkg-plist
sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742'
X at unexec $D/etc/rc.d/dnscheck-dispatcher stop > /dev/null 2>&1 || true
Xbin/dnscheck
Xbin/dnscheck-12hourmailer
Xbin/dnscheck-dispatcher
Xbin/dnscheck-hostsyntax
Xbin/dnscheck-preflight
Xbin/dnscheck-zonediff
Xetc/rc.d/dnscheck-dispatcher
X%%SITE_PERL%%/DNSCheck.pm
X%%SITE_PERL%%/DNSCheck/Test/Address.pm
X%%SITE_PERL%%/DNSCheck/Test/Consistency.pm
X%%SITE_PERL%%/DNSCheck/Test/Host.pm
X%%SITE_PERL%%/DNSCheck/Test/SMTP.pm
X%%SITE_PERL%%/DNSCheck/Test/Common.pm
X%%SITE_PERL%%/DNSCheck/Test/DNSSEC.pm
X%%SITE_PERL%%/DNSCheck/Test/Mail.pm
X%%SITE_PERL%%/DNSCheck/Test/SOA.pm
X%%SITE_PERL%%/DNSCheck/Test/Connectivity.pm
X%%SITE_PERL%%/DNSCheck/Test/Delegation.pm
X%%SITE_PERL%%/DNSCheck/Test/Nameserver.pm
X%%SITE_PERL%%/DNSCheck/Test/Zone.pm
X%%SITE_PERL%%/DNSCheck/Config.pm
X%%SITE_PERL%%/DNSCheck/Logger.pm
X%%SITE_PERL%%/DNSCheck/Locale.pm
X%%SITE_PERL%%/DNSCheck/Overview.pod
X%%SITE_PERL%%/DNSCheck/Lookup/ASN.pm
X%%SITE_PERL%%/DNSCheck/Lookup/DNS.pm
X%%SITE_PERL%%/DNSCheck/Lookup/Resolver.pm
X at dirrm %%SITE_PERL%%/DNSCheck/Test
X at dirrm %%SITE_PERL%%/DNSCheck/Lookup
X at dirrm %%SITE_PERL%%/DNSCheck
Xshare/dnscheck/locale/en.yaml
Xshare/dnscheck/locale/sv.yaml
Xshare/dnscheck/config.yaml
Xshare/dnscheck/policy.yaml
X at dirrmtry share/dnscheck/locale
X at dirrmtry share/dnscheck
842cde48cf18b70a11b15515ca566742
exit




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list