From sob@academ.com  Mon Jul  5 03:35:00 2010
Return-Path: <sob@academ.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6E43A106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jul 2010 03:35:00 +0000 (UTC)
	(envelope-from sob@academ.com)
Received: from academ.com (ACADEM.COM [IPv6:2001:418:6802::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 213038FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jul 2010 03:35:00 +0000 (UTC)
Received: from academ.com (localhost [127.0.0.1])
	by academ.com (8.14.4/8.14.4) with ESMTP id o653YsGt054731
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Jul 2010 22:34:54 -0500 (CDT)
	(envelope-from sob@academ.com)
Received: (from sob@localhost)
	by academ.com (8.14.4/8.14.4/Submit) id o653Yslb054730;
	Sun, 4 Jul 2010 22:34:54 -0500 (CDT)
	(envelope-from sob)
Message-Id: <201007050334.o653Yslb054730@academ.com>
Date: Sun, 4 Jul 2010 22:34:54 -0500 (CDT)
From: Stan Barber <sob@academ.com>
Reply-To: Stan Barber <sob@academ.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port submission - DNSCheck
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         148370
>Category:       ports
>Synopsis:       new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ashish
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 05 03:40:01 UTC 2010
>Closed-Date:    Wed Sep 01 07:22:48 UTC 2010
>Last-Modified:  Wed Sep 01 07:22:48 UTC 2010
>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@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@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@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@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@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@dirrm %%SITE_PERL%%/DNSCheck/Test
X@dirrm %%SITE_PERL%%/DNSCheck/Lookup
X@dirrm %%SITE_PERL%%/DNSCheck
Xshare/dnscheck/locale/en.yaml
Xshare/dnscheck/locale/sv.yaml
Xshare/dnscheck/config.yaml
Xshare/dnscheck/policy.yaml
X@dirrmtry share/dnscheck/locale
X@dirrmtry share/dnscheck
842cde48cf18b70a11b15515ca566742
exit




>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ashish 
Responsible-Changed-By: ashish 
Responsible-Changed-When: Mon Jul 5 20:53:33 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148370 

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: bug-followup@FreeBSD.org,sob@academ.com
Cc:  
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Wed, 07 Jul 2010 17:51:03 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 
 Hi Stan,
 
 Thanks for the submission.
 
 I'm confused regarding the name of the port, because in your PR its mention=
 ed
 as 'dns/checkdns-se', whereas your shar file lacks a parent directory and h=
 as
 the 'PORTNAME' set to 'DNSCheck'.
 
 Could you resubmit the shar file with ambiguities resolved, using the
 following command-line:
 
 % shar `find ${PORTNAME}`
 
 Thanks
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 =E2=80=9CWe can factor the number 15 with quantum computers. We can also
 factor the number 15 with a dog trained to bark three times.=E2=80=9D (Robe=
 rt
 Harley, sci.crypt, 2001-12-05)
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.15 (FreeBSD)
 
 iQIcBAEBCgAGBQJMNHEwAAoJEMdGz6nnT6SwDCIQAL3nAKC823EQuVLs9Qeed9Bl
 36pQVIbz3RAVkaP3mBE59vGjWl40zy/3UBbWRQbU3d3f8Q1hjQHKoxktY/LJHnvH
 Zsg/EgA4+cvlFeDpC/2RnJv8CDtSpadA0ObaxoOu4XKeko8HoJyloxMUdYRbrNW5
 hglRbnGVui3/0ahLf0pE0BnJycC+uID7AWeBtSzPm01nyIayMYdvcP4eGf+4jhnL
 d5KiAOY3CjAXSvaNyrei1QK/F0ao5lF1BcFTTBERbPaaSN33z/J5jAVLtgEbt1NX
 CaFjKsXFNDsi9HRz3zA0LBxbIYknteeqq6IKD9ozlaEwPw18bcdRSj7g0rcBFBlC
 NJA8fX6CrKpedt9VC0eiEQWAnNQpOFNPDqDylYXWJfUgm2PKQlaHvUORjo19F8y2
 0QyT+pm7O6qEeOUf5Exdq8M72wlHAV6YqmSCZm80Esa21vyUxMeTw6g6h8jNM9Cp
 RB8NXQb8ET+7llJLCx5R1toK48J9w/3K4Jy/1GUP22gG0ykFUvNnALmwZJL3xzMI
 +Yj31zMeN/3r2VXN+MAo9QHSHqI8pXBKf+jV0er0rCgg2ld7JropF3pcTnqTednV
 u8rKwzdGyM2nEgP3Fg3+utzYNrslG6NG54kq4SElSSHgPL6YUnJlPkoe2OwGmA3k
 +UzXO9nQ0XCyP6YLuyXu
 =75iW
 -----END PGP SIGNATURE-----
 --=-=-=--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Wed, 7 Jul 2010 12:39:50 -0500

 I would name it DNSCheck if that works for the ports tree. I think  =
 there is something called dnscheck that is already there. Is it possible =
 to use DNSCheck?
 
 
 On Jul 7, 2010, at 7:21 AM, Ashish SHUKLA wrote:
 
 > Hi Stan,
 >=20
 > Thanks for the submission.
 >=20
 > I'm confused regarding the name of the port, because in your PR its =
 mentioned
 > as 'dns/checkdns-se', whereas your shar file lacks a parent directory =
 and has
 > the 'PORTNAME' set to 'DNSCheck'.
 >=20
 > Could you resubmit the shar file with ambiguities resolved, using the
 > following command-line:
 >=20
 > % shar `find ${PORTNAME}`
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93We can factor the number 15 with quantum computers. We can also
 > factor the number 15 with a dog trained to bark three times.=94 =
 (Robert
 > Harley, sci.crypt, 2001-12-05)
 

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Fri, 09 Jul 2010 05:24:28 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 
 Stan Barber writes:
 > I would name it DNSCheck if that works for the ports tree. I think  there=
  is something called dnscheck that is already there. Is it possible to use =
 DNSCheck?
 
 Sorry for the delay in replying. You can rename it to DNSCheck, but then ma=
 ke
 sure executables of your port don't conflict with executables of existing
 'dnscheck' port. Why not rename it 'dns/checkdns-se' as you mentioned in the
 subject of the PR ? And adding a PREFIX like 'se-' to the executables iff t=
 hey
 conflict with 'dnscheck' port.
 
 HTH
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 =E2=80=9CAll great truths begin as blasphemies.=E2=80=9D (George Bernard Sh=
 aw,
 "Annajanska", 1919)
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.15 (GNU/Linux)
 
 iQIcBAEBCgAGBQJMNmU0AAoJEMdGz6nnT6Sw7aMP+wV7judUVxedLabf9HIPsTt7
 zeurIukno3qPPWJhd3VC+mX5gGHQ9d71wTjXgH3RZv4N6Ye6omb8T5UBjKi0gCnI
 lJAmBP/gJnAHljXK93oTIi0TTRZX7Dj342AOVkWrlBhlhHY32dzkatBfNV50dp7B
 nhR3e+AIZEC+bhI3g03SYi08dW4rhF1fm0kBNJ0y7uNQehBnXj3rcOQqWF5LZtvs
 F1THDhqAwcQkqWQr/gR8fTF+oCU7x3Qgc87aB89OZkbW2gU/8RDCPw3lkM2OvXnf
 afdWLelWwuF+Amc9wwP9uEYsdGxtt9W6QGsnBuia6TXQUVk2xnGcObbO027iOlNg
 QTTaZBpOUIG9neD5FMGWHn5ppylAZxWome0qJaD9/lyVsvSLEmcm4/qzMJCoQ847
 nLrYJwyJbg/MFVqEjPENpH0FUh8A6oGYPm7iyh7EfjeO9/ODII3Sga48FGrQmv0l
 HwKe79Ynga3PHWFdJxOQ8cymBzMgo8OTaUoF7CtelZsq0HhlvW6NlC0jzZchtvzx
 h5PhYqyT30VRMEShHRACT1ruQ2ar4R/dgLtlcc/gCdX2Z8K/lEG4lBmFq6K6K1wx
 L0lpFaT8XqISybtcna6PxML2xOkbn6v4Ovr7lmn+1AoHGeGKntiH8MggEw+eTLoG
 WDMyNQpHp3xsZ6DTKiFW
 =7ZrN
 -----END PGP SIGNATURE-----
 --=-=-=--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Tue, 13 Jul 2010 01:22:03 -0500

 I will change the name to dnscheck-se. It will make doing the =
 dnscheck-webgui port harder when I get a chance to do that, but I guess =
 that doesn't really matter. I don't think doing a prefix of "se-" makes =
 sense since this software is not specific to any language. I will just =
 have the software install itself as dnscheck-se for the share and perl =
 scripts it installs.
 
 On Jul 8, 2010, at 6:54 PM, Ashish SHUKLA wrote:
 
 > Stan Barber writes:
 >> I would name it DNSCheck if that works for the ports tree. I think  =
 there is something called dnscheck that is already there. Is it possible =
 to use DNSCheck?
 >=20
 > Sorry for the delay in replying. You can rename it to DNSCheck, but =
 then make
 > sure executables of your port don't conflict with executables of =
 existing
 > 'dnscheck' port. Why not rename it 'dns/checkdns-se' as you mentioned =
 in the
 > subject of the PR ? And adding a PREFIX like 'se-' to the executables =
 iff they
 > conflict with 'dnscheck' port.
 >=20
 > HTH
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93All great truths begin as blasphemies.=94 (George Bernard Shaw,
 > "Annajanska", 1919)
 

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Fri, 16 Jul 2010 13:12:44 +0530

 Stan Barber writes:
 > I will change the name to dnscheck-se. It will make doing the
 > dnscheck-webgui port harder when I get a chance to do that, but I guess that
 > doesn't really matter. I don't think doing a prefix of "se-" makes sense
 > since this software is not specific to any language. I will just have the
 > software install itself as dnscheck-se for the share and perl scripts it
 > installs.
 
 Sorry for the late reply. I suggested 'se-' prefix because your PR
 submission's subject carries that. Just submit the updated shar file.
 
 Thanks
 -- 
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 “I think, therefore I am… I think.” (Nordom, videogame "Torment",
 1999)

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Wed, 28 Jul 2010 21:52:48 -0500

 --Apple-Mail-9--730425615
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 ok. I have revised the name to dnscheckengine since the language is not =
 relevant to the port.=20
 
 The new shar is attached.
 
 Let me know if there are further questions/concerns/corrections/etc.
 
 --Apple-Mail-9--730425615
 Content-Disposition: attachment;
 	filename=dnscheckengine.shar
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="dnscheckengine.shar"
 Content-Transfer-Encoding: 7bit
 
 # 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:
 #
 #	dnscheckengine
 #	dnscheckengine/pkg-plist
 #	dnscheckengine/Makefile
 #	dnscheckengine/pkg-message
 #	dnscheckengine/pkg-descr
 #	dnscheckengine/files
 #	dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 #	dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 #	dnscheckengine/pkg-install
 #	dnscheckengine/distinfo
 #	dnscheckengine/pkg-deinstall
 #
 echo c - dnscheckengine
 mkdir -p dnscheckengine > /dev/null 2>&1
 echo x - dnscheckengine/pkg-plist
 sed 's/^X//' >dnscheckengine/pkg-plist << 'fe731db4d9813609cbbb22b63512de61'
 Xlibexec/dnscheck/dnscheck
 Xlibexec/dnscheck/dnscheck-12hourmailer
 Xlibexec/dnscheck/dnscheck-dispatcher
 Xlibexec/dnscheck/dnscheck-hostsyntax
 Xlibexec/dnscheck/dnscheck-preflight
 Xlibexec/dnscheck/dnscheck-zonediff
 X@dirrm libexec/dnscheck
 Xbin/dnscheckengine
 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@dirrm %%SITE_PERL%%/DNSCheck/Test
 X@dirrm %%SITE_PERL%%/DNSCheck/Lookup          
 X@dirrm %%SITE_PERL%%/DNSCheck
 Xshare/dnscheck/locale/en.yaml
 Xshare/dnscheck/locale/sv.yaml
 Xshare/dnscheck/config.yaml
 Xshare/dnscheck/policy.yaml
 X@dirrmtry share/dnscheck/locale
 X@dirrmtry share/dnscheck
 fe731db4d9813609cbbb22b63512de61
 echo x - dnscheckengine/Makefile
 sed 's/^X//' >dnscheckengine/Makefile << '6711d87bb2649d3dbefba0f4a4ca76e4'
 X# New ports collection makefile for:  dnscheckengine
 X# Date created:        28 July 2010
 X# Whom:                dnscheckengine-port@academ.com (Stan Barber)
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	dnscheckengine
 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/
 XDISTNAME=	DNSCheck-1.1
 X
 XMAINTAINER=	dnscheckengine-port@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
 XCONFIGURE_SCRIPT+=	Makefile.PL INSTALLSITESCRIPT=${PREFIX}/libexec/dnscheck
 X
 XWRKSRC=		${WRKDIR}/engine
 X#
 XDOCSDIR=	${PREFIX}/share/doc/DNSCheck
 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>
 6711d87bb2649d3dbefba0f4a4ca76e4
 echo x - dnscheckengine/pkg-message
 sed 's/^X//' >dnscheckengine/pkg-message << 'd1cf34dcd1786c5842c45afa7e1f83c6'
 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 dnscheckengine. There is some other software that is included 
 Xthat the developers at the .SE registry use to manage the process by
 Xwhich they do domain delegation. These generally require MYSQL support 
 Xto work and are disabled by default. If you want to learn more about them, 
 Xthey are all PERL-based and have integrated perldoc information. However, 
 XI have not tested them extensively and can't advise on their suitability as of
 Xthis writing. All the scripts install into PREFIX/libexec/dnscheck. 
 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 future port. 
 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 dnscheckengine-port@academ.com.
 X
 XStan Barber
 XAcadem Consulting Services
 Xhttp://www.stanbarber.com
 Xhttp://www.academ.com
 X
 d1cf34dcd1786c5842c45afa7e1f83c6
 echo x - dnscheckengine/pkg-descr
 sed 's/^X//' >dnscheckengine/pkg-descr << 'b85eb6a799f41e762dd9f2ef1054ca7f'
 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/
 b85eb6a799f41e762dd9f2ef1054ca7f
 echo c - dnscheckengine/files
 mkdir -p dnscheckengine/files > /dev/null 2>&1
 echo x - dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 sed 's/^X//' >dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh << '0a1b743f418a6b1112df92d8ddb3c69f'
 X*** contrib/dnscheck-dispatcher.sh	Tue Jun 29 04:15:59 2010
 X--- contrib/dnscheck-dispatcher.sh	Mon Jul 26 21:17:51 2010
 X***************
 X*** 20,26 ****
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/bin/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 X--- 20,26 ----
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/libexec/dnscheck/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 0a1b743f418a6b1112df92d8ddb3c69f
 echo x - dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 sed 's/^X//' >dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl << '3addd789a803edc1d468fc459583f837'
 X*** apps/dnscheck-dispatcher.pl	Tue Jun 29 04:15:59 2010
 X--- apps/dnscheck-dispatcher.pl	Sun Jul  4 19:22:42 2010
 X***************
 X*** 43,49 ****
 X    %running
 X    %reaped
 X    %problem
 X!   $debug
 X    $verbose
 X    $check
 X    $limit
 X--- 43,49 ----
 X    %running
 X    %reaped
 X    %problem
 X!   $user
 X    $verbose
 X    $check
 X    $limit
 X***************
 X*** 54,59 ****
 X--- 54,60 ----
 X    $exit_timeout
 X    $savelevel
 X    %levels
 X+   $debug
 X  ];
 X  
 X  %running   = ();
 X***************
 X*** 75,81 ****
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! 
 X  # Kick everything off
 X  main();
 X  
 X--- 76,83 ----
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! # user to run as
 X! $user = 'nobody';
 X  # Kick everything off
 X  main();
 X  
 X***************
 X*** 124,130 ****
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X! 
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X--- 126,135 ----
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X!     my $uid;
 X!     unless ($uid = (getpwnam($user))[2]) {
 X! 	die "Attempt to run dispatcher as non-existent user or as root\n";
 X!     }
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X***************
 X*** 149,154 ****
 X--- 154,161 ----
 X      open PIDFILE, '>', $pidfile or die "Failed to open PID file: $!";
 X      print PIDFILE $$;
 X      close PIDFILE;
 X+ # become non-root
 X+     $>= $uid;
 X      $SIG{CHLD} = \&REAPER;
 X      $SIG{TERM} = sub { $running = 0 };
 X      $SIG{HUP}  = sub {
 3addd789a803edc1d468fc459583f837
 echo x - dnscheckengine/pkg-install
 sed 's/^X//' >dnscheckengine/pkg-install << '4477de778b5c3a58a99db3e0d510ead8'
 X#!/bin/sh
 X# $FreeBSD$ 
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 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-se-dispatcher to run at startup.***'
 X    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 X    fi
 X# install a link to put the dnscheck engine into the regular $PATH for more users
 X
 Xln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
 X
 Xfi
 Xexit 0
 4477de778b5c3a58a99db3e0d510ead8
 echo x - dnscheckengine/distinfo
 sed 's/^X//' >dnscheckengine/distinfo << 'de8f5b4f2ff328afa70222e50faf2082'
 XMD5 (DNSCheck-1.1.tar.gz) = a2ab54833e7aae696d5b716028de2ce0
 XSHA256 (DNSCheck-1.1.tar.gz) = 456fcb885ca7fd2de7219295988975cd0d311622d73cd112505fba132fe6194e
 XSIZE (DNSCheck-1.1.tar.gz) = 427599
 de8f5b4f2ff328afa70222e50faf2082
 echo x - dnscheckengine/pkg-deinstall
 sed 's/^X//' >dnscheckengine/pkg-deinstall << '4fc3e39e2219b6d3ca028abe4c169322'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 X
 X
 Xif [ "$2" != "DEINSTALL" ]; then
 X    exit 0
 Xfi
 Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 X    echo '===>   Stopping dnscheck dispatcher if it is running'
 X    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 X    echo '===>   Removing startup script for dnscheck dispatcher'
 X    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 Xfi
 X
 X
 Xexit 0
 4fc3e39e2219b6d3ca028abe4c169322
 exit
 
 
 --Apple-Mail-9--730425615
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=windows-1252
 
 
 
 On Jul 16, 2010, at 2:42 AM, Ashish SHUKLA wrote:
 
 > Stan Barber writes:
 >> I will change the name to dnscheck-se. It will make doing the
 >> dnscheck-webgui port harder when I get a chance to do that, but I =
 guess that
 >> doesn't really matter. I don't think doing a prefix of "se-" makes =
 sense
 >> since this software is not specific to any language. I will just have =
 the
 >> software install itself as dnscheck-se for the share and perl scripts =
 it
 >> installs.
 >=20
 > Sorry for the late reply. I suggested 'se-' prefix because your PR
 > submission's subject carries that. Just submit the updated shar file.
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93I think, therefore I am=85 I think.=94 (Nordom, videogame =
 "Torment",
 > 1999)
 
 
 --Apple-Mail-9--730425615--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Wed, 28 Jul 2010 21:54:09 -0500

 One more thing-- I have insured that this installation will not step on =
 the existing port named dnscheck in the current ports tree.=

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sat, 07 Aug 2010 16:55:30 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 
 Hi Stan,
 
 Following are the files left after deinstall.
 
 #v+
 % sudo make deinstall PREFIX=3D/var/tmp/$(make -V PORTNAME)
 =3D=3D=3D>  Deinstalling for dns/dnscheckengine
 =3D=3D=3D>   Deinstalling dnscheckengine-1.1
 % find /var/tmp/$(make -V PORTNAME) -type f
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Nameserve=
 r.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Config.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::DNS.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Consisten=
 cy.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Host.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Connectiv=
 ity.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Overview.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Address.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::DNSSEC.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SMTP.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::ASN.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Zone.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Logger.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Common.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Delegatio=
 n.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SOA.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::Resolve=
 r.3
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Mail.3
 /var/tmp/dnscheckengine/lib/perl5/site_perl/5.12.1/mach/auto/DNSCheck/.pack=
 list
 /var/tmp/dnscheckengine/man/man1/dnscheck-zonediff.1
 /var/tmp/dnscheckengine/man/man1/dnscheck-dispatcher.1
 /var/tmp/dnscheckengine/man/man1/dnscheck-preflight.1
 /var/tmp/dnscheckengine/man/man1/dnscheck-hostsyntax.1
 /var/tmp/dnscheckengine/man/man1/dnscheck.1
 /var/tmp/dnscheckengine/man/man1/dnscheck-12hourmailer.1
 #v-
 
 Also there are couple of typos in the Makefile, e.g. RUN_DEPENDSS, Spport,
 etc.
 
 Can you please fix the issues ?
 
 Thanks
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 =E2=80=9CThe Ministry of Peace concerns itself with war, the Ministry of Tr=
 uth
 with lies, the Ministry of Love with torture, and the Ministry of
 Plenty with starvation.=E2=80=9D (George Orwell, "Nineteen Eighty-Four", 19=
 49)
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (FreeBSD)
 
 iQIcBAEBCgAGBQJMXUKtAAoJEMdGz6nnT6SwaJMQAJbZz8L/0Zg2mHQWedx90RVr
 C4VFGf7VQe17beWS122FNoo9dEPncWcUX88VMxi1ZxkGE7PHZIH2girEBDXqeTQv
 J1tDxi4KGELhORiBKQGtW05dnvTdNILpvl4jU/sViGrM9fdYZmvkSY0FNbDfS+YQ
 hDCQg/9X1rnyUSoMGS+CcQGmW9pQLdfkhiOWEalzRlxExOcFVPNNf/1pfETMt/j8
 NQ9Ro+IT4EpPbATzZv7u27Gc2uE7c+HtbmqabVYXXiX+IrUmiYavVwDQB7YMssf/
 cBuFdALYElFmBmMVJg0Y78pMeScDALUc26vdRzW6/0DBIy9kJ3IgLjoMs9keGzbP
 Bf7TuF6B24yVJTwN1RZMs2LQJSKOKSEphcVCAQnY3TngdKLODeClKl6Lo9Wk3zA4
 vDplfPD+CLpvLvrisvx3pRyARkREUsMXeWzXb2MRLmf+xwFyPRs8Y0Knwbu3yDzO
 mJgg1Q/QpWcCg6hr9c9L2Ly8YzSVGBUtdnqs2k/r3tsndiJc4Sh8t2pqSxR6xEK6
 XKyBHbkl+bTD63PEIh/UV3FiVitqZgv+iTLg8Ae7h7YXzFOhbq7XEN+st6dTJWS6
 Q9jZExk4tceHpR9oqkYuq/DGFSrlemiKe40ejXYytdP9Dtg9+Gx/0+MsNMBDrfW1
 +6ua9vSgYR/cEzOemuIG
 =3sgZ
 -----END PGP SIGNATURE-----
 --=-=-=--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sat, 7 Aug 2010 12:16:10 -0500

 Acknowledged.
 
 On Aug 7, 2010, at 6:25 AM, ashish@FreeBSD.org (Ashish SHUKLA) wrote:
 
 > Hi Stan,
 >=20
 > Following are the files left after deinstall.
 >=20
 > #v+
 > % sudo make deinstall PREFIX=3D/var/tmp/$(make -V PORTNAME)
 > =3D=3D=3D>  Deinstalling for dns/dnscheckengine
 > =3D=3D=3D>   Deinstalling dnscheckengine-1.1
 > % find /var/tmp/$(make -V PORTNAME) -type f
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Nameserv=
 er.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Config.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::DNS.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Consiste=
 ncy.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Host.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Connecti=
 vity.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Overview.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Address.=
 3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::DNSSEC.3=
 
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SMTP.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::ASN.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Zone.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Logger.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Common.3=
 
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Delegati=
 on.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SOA.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::Resolv=
 er.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Mail.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/site_perl/5.12.1/mach/auto/DNSCheck/.pac=
 klist
 > /var/tmp/dnscheckengine/man/man1/dnscheck-zonediff.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-dispatcher.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-preflight.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-hostsyntax.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-12hourmailer.1
 > #v-
 >=20
 > Also there are couple of typos in the Makefile, e.g. RUN_DEPENDSS, =
 Spport,
 > etc.
 >=20
 > Can you please fix the issues ?
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =E2=80=9CThe Ministry of Peace concerns itself with war, the Ministry =
 of Truth
 > with lies, the Ministry of Love with torture, and the Ministry of
 > Plenty with starvation.=E2=80=9D (George Orwell, "Nineteen =
 Eighty-Four", 1949)

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Mon, 9 Aug 2010 16:20:23 -0500

 --Apple-Mail-18-286429534
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 Attached is an updated version. I believe it will address all the =
 problems you listed. I am wondering if it would be helpful to suggest =
 additions to the porter's handbook to make it easier to built ports for =
 perl things like this. The stuff that is there is helpful, but pretty =
 meager.
 
 
 --Apple-Mail-18-286429534
 Content-Disposition: attachment;
 	filename=dnscheckengine.shar
 Content-Type: application/octet-stream;
 	name="dnscheckengine.shar"
 Content-Transfer-Encoding: 7bit
 
 # 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:
 #
 #	dnscheckengine
 #	dnscheckengine/pkg-plist
 #	dnscheckengine/Makefile
 #	dnscheckengine/pkg-message
 #	dnscheckengine/pkg-descr
 #	dnscheckengine/files
 #	dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 #	dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 #	dnscheckengine/pkg-install
 #	dnscheckengine/distinfo
 #	dnscheckengine/pkg-deinstall
 #
 echo c - dnscheckengine
 mkdir -p dnscheckengine > /dev/null 2>&1
 echo x - dnscheckengine/pkg-plist
 sed 's/^X//' >dnscheckengine/pkg-plist << 'fe731db4d9813609cbbb22b63512de61'
 Xlibexec/dnscheck/dnscheck
 Xlibexec/dnscheck/dnscheck-12hourmailer
 Xlibexec/dnscheck/dnscheck-dispatcher
 Xlibexec/dnscheck/dnscheck-hostsyntax
 Xlibexec/dnscheck/dnscheck-preflight
 Xlibexec/dnscheck/dnscheck-zonediff
 X@dirrm libexec/dnscheck
 Xbin/dnscheckengine
 Xman/man1/dnscheck-zonediff.1
 Xman/man1/dnscheck-dispatcher.1
 Xman/man1/dnscheck-preflight.1
 Xman/man1/dnscheck-hostsyntax.1
 Xman/man1/dnscheck.1
 Xman/man1/dnscheck-12hourmailer.1
 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%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck/.packlist
 X@dirrm %%SITE_PERL%%/DNSCheck/Test
 X@dirrm %%SITE_PERL%%/DNSCheck/Lookup          
 X@dirrm %%SITE_PERL%%/DNSCheck
 X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck
 Xshare/dnscheck/locale/en.yaml
 Xshare/dnscheck/locale/sv.yaml
 Xshare/dnscheck/config.yaml
 Xshare/dnscheck/policy.yaml
 X@dirrmtry share/dnscheck/locale
 X@dirrmtry share/dnscheck
 fe731db4d9813609cbbb22b63512de61
 echo x - dnscheckengine/Makefile
 sed 's/^X//' >dnscheckengine/Makefile << '6711d87bb2649d3dbefba0f4a4ca76e4'
 X# New ports collection makefile for:  dnscheckengine
 X# Date created:        28 July 2010
 X# Whom:                dnscheckengine-port@academ.com (Stan Barber)
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	dnscheckengine
 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/
 XDISTNAME=	DNSCheck-1.1
 X
 XMAINTAINER=	dnscheckengine-port@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
 XCONFIGURE_SCRIPT+=	Makefile.PL INSTALLSITESCRIPT=${PREFIX}/libexec/dnscheck INSTALLMAN3DIR=none
 X
 XWRKSRC=		${WRKDIR}/engine
 X#
 XDOCSDIR=	${PREFIX}/share/doc/DNSCheck
 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 Support (needed for webgui)" off
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITH_MYSQL)
 XBUILD_DEPENDS+=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
 XRUN_DEPENDS+=	${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>
 6711d87bb2649d3dbefba0f4a4ca76e4
 echo x - dnscheckengine/pkg-message
 sed 's/^X//' >dnscheckengine/pkg-message << 'd1cf34dcd1786c5842c45afa7e1f83c6'
 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 dnscheckengine. There is some other software that is included 
 Xthat the developers at the .SE registry use to manage the process by
 Xwhich they do domain delegation. These generally require MYSQL support 
 Xto work and are disabled by default. If you want to learn more about them, 
 Xthey are all PERL-based and have integrated perldoc information. However, 
 XI have not tested them extensively and can't advise on their suitability as of
 Xthis writing. All the scripts install into PREFIX/libexec/dnscheck. 
 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 future port. 
 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 dnscheckengine-port@academ.com.
 X
 XStan Barber
 XAcadem Consulting Services
 Xhttp://www.stanbarber.com
 Xhttp://www.academ.com
 X
 d1cf34dcd1786c5842c45afa7e1f83c6
 echo x - dnscheckengine/pkg-descr
 sed 's/^X//' >dnscheckengine/pkg-descr << 'b85eb6a799f41e762dd9f2ef1054ca7f'
 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/
 b85eb6a799f41e762dd9f2ef1054ca7f
 echo c - dnscheckengine/files
 mkdir -p dnscheckengine/files > /dev/null 2>&1
 echo x - dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 sed 's/^X//' >dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh << '0a1b743f418a6b1112df92d8ddb3c69f'
 X*** contrib/dnscheck-dispatcher.sh	Tue Jun 29 04:15:59 2010
 X--- contrib/dnscheck-dispatcher.sh	Mon Jul 26 21:17:51 2010
 X***************
 X*** 20,26 ****
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/bin/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 X--- 20,26 ----
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/libexec/dnscheck/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 0a1b743f418a6b1112df92d8ddb3c69f
 echo x - dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 sed 's/^X//' >dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl << '3addd789a803edc1d468fc459583f837'
 X*** apps/dnscheck-dispatcher.pl	Tue Jun 29 04:15:59 2010
 X--- apps/dnscheck-dispatcher.pl	Sun Jul  4 19:22:42 2010
 X***************
 X*** 43,49 ****
 X    %running
 X    %reaped
 X    %problem
 X!   $debug
 X    $verbose
 X    $check
 X    $limit
 X--- 43,49 ----
 X    %running
 X    %reaped
 X    %problem
 X!   $user
 X    $verbose
 X    $check
 X    $limit
 X***************
 X*** 54,59 ****
 X--- 54,60 ----
 X    $exit_timeout
 X    $savelevel
 X    %levels
 X+   $debug
 X  ];
 X  
 X  %running   = ();
 X***************
 X*** 75,81 ****
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! 
 X  # Kick everything off
 X  main();
 X  
 X--- 76,83 ----
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! # user to run as
 X! $user = 'nobody';
 X  # Kick everything off
 X  main();
 X  
 X***************
 X*** 124,130 ****
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X! 
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X--- 126,135 ----
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X!     my $uid;
 X!     unless ($uid = (getpwnam($user))[2]) {
 X! 	die "Attempt to run dispatcher as non-existent user or as root\n";
 X!     }
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X***************
 X*** 149,154 ****
 X--- 154,161 ----
 X      open PIDFILE, '>', $pidfile or die "Failed to open PID file: $!";
 X      print PIDFILE $$;
 X      close PIDFILE;
 X+ # become non-root
 X+     $>= $uid;
 X      $SIG{CHLD} = \&REAPER;
 X      $SIG{TERM} = sub { $running = 0 };
 X      $SIG{HUP}  = sub {
 3addd789a803edc1d468fc459583f837
 echo x - dnscheckengine/pkg-install
 sed 's/^X//' >dnscheckengine/pkg-install << '4477de778b5c3a58a99db3e0d510ead8'
 X#!/bin/sh
 X# $FreeBSD$ 
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 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-se-dispatcher to run at startup.***'
 X    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 X    fi
 X# install a link to put the dnscheck engine into the regular $PATH for more users
 X
 Xln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
 X
 Xfi
 Xexit 0
 4477de778b5c3a58a99db3e0d510ead8
 echo x - dnscheckengine/distinfo
 sed 's/^X//' >dnscheckengine/distinfo << 'de8f5b4f2ff328afa70222e50faf2082'
 XMD5 (DNSCheck-1.1.tar.gz) = a2ab54833e7aae696d5b716028de2ce0
 XSHA256 (DNSCheck-1.1.tar.gz) = 456fcb885ca7fd2de7219295988975cd0d311622d73cd112505fba132fe6194e
 XSIZE (DNSCheck-1.1.tar.gz) = 427599
 de8f5b4f2ff328afa70222e50faf2082
 echo x - dnscheckengine/pkg-deinstall
 sed 's/^X//' >dnscheckengine/pkg-deinstall << '4fc3e39e2219b6d3ca028abe4c169322'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 X
 X
 Xif [ "$2" != "DEINSTALL" ]; then
 X    exit 0
 Xfi
 Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 X    echo '===>   Stopping dnscheck dispatcher if it is running'
 X    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 X    echo '===>   Removing startup script for dnscheck dispatcher'
 X    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 Xfi
 X
 X
 Xexit 0
 4fc3e39e2219b6d3ca028abe4c169322
 exit
 
 
 --Apple-Mail-18-286429534
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=windows-1252
 
 
 
 On Aug 7, 2010, at 6:25 AM, Ashish SHUKLA wrote:
 
 > Hi Stan,
 >=20
 > Following are the files left after deinstall.
 >=20
 > #v+
 > % sudo make deinstall PREFIX=3D/var/tmp/$(make -V PORTNAME)
 > =3D=3D=3D>  Deinstalling for dns/dnscheckengine
 > =3D=3D=3D>   Deinstalling dnscheckengine-1.1
 > % find /var/tmp/$(make -V PORTNAME) -type f
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Nameserv=
 er.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Config.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::DNS.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Consiste=
 ncy.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Host.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Connecti=
 vity.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Overview.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Address.=
 3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::DNSSEC.3=
 
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SMTP.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::ASN.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Zone.3
 > /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Logger.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Common.3=
 
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Delegati=
 on.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SOA.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::Resolv=
 er.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Mail.3
 > =
 /var/tmp/dnscheckengine/lib/perl5/site_perl/5.12.1/mach/auto/DNSCheck/.pac=
 klist
 > /var/tmp/dnscheckengine/man/man1/dnscheck-zonediff.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-dispatcher.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-preflight.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-hostsyntax.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck.1
 > /var/tmp/dnscheckengine/man/man1/dnscheck-12hourmailer.1
 > #v-
 >=20
 > Also there are couple of typos in the Makefile, e.g. RUN_DEPENDSS, =
 Spport,
 > etc.
 >=20
 > Can you please fix the issues ?
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93The Ministry of Peace concerns itself with war, the Ministry of =
 Truth
 > with lies, the Ministry of Love with torture, and the Ministry of
 > Plenty with starvation.=94 (George Orwell, "Nineteen Eighty-Four", =
 1949)
 
 
 --Apple-Mail-18-286429534--

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: Ashish SHUKLA <ashish@FreeBSD.org>,  bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Tue, 10 Aug 2010 03:28:43 +0530

 Stan Barber writes:
 > Attached is an updated version. I believe it will address all the problems you listed. I am wondering if it would be helpful to suggest additions to the porter's handbook to make it easier to built ports for perl things like this. The stuff that is there is helpful, but pretty meager.
 
 
 > # 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:
 > #
 > #	dnscheckengine
 > #	dnscheckengine/pkg-plist
 > #	dnscheckengine/Makefile
 > #	dnscheckengine/pkg-message
 > #	dnscheckengine/pkg-descr
 > #	dnscheckengine/files
 > #	dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 > #	dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 > #	dnscheckengine/pkg-install
 > #	dnscheckengine/distinfo
 > #	dnscheckengine/pkg-deinstall
 > #
 > echo c - dnscheckengine
 > mkdir -p dnscheckengine > /dev/null 2>&1
 > echo x - dnscheckengine/pkg-plist
 > sed 's/^X//' >dnscheckengine/pkg-plist << 'fe731db4d9813609cbbb22b63512de61'
 > Xlibexec/dnscheck/dnscheck
 > Xlibexec/dnscheck/dnscheck-12hourmailer
 > Xlibexec/dnscheck/dnscheck-dispatcher
 > Xlibexec/dnscheck/dnscheck-hostsyntax
 > Xlibexec/dnscheck/dnscheck-preflight
 > Xlibexec/dnscheck/dnscheck-zonediff
 > X@dirrm libexec/dnscheck
 > Xbin/dnscheckengine
 > Xman/man1/dnscheck-zonediff.1
 > Xman/man1/dnscheck-dispatcher.1
 > Xman/man1/dnscheck-preflight.1
 > Xman/man1/dnscheck-hostsyntax.1
 > Xman/man1/dnscheck.1
 > Xman/man1/dnscheck-12hourmailer.1
 
 There is a section[1] about MAN pages in Porters Handbook. And you can refer
 to any of existing Perl related ports[2] for reference.
 
 [...]
 
 >> % find /var/tmp/$(make -V PORTNAME) -type f
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Nameserver.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Config.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::DNS.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Consistency.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Host.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Connectivity.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Overview.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Address.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::DNSSEC.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SMTP.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::ASN.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Zone.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Logger.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Common.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Delegation.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::SOA.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Lookup::Resolver.3
 >> /var/tmp/dnscheckengine/lib/perl5/5.12.1/man/man3/DNSCheck::Test::Mail.3
 
 Although, I've not tried your port yet, but I see no mention of above man files ?
 
 Use portlint[3] to catch such issues.
 
 Looking forward to an updated port.
 
 References:
 [1]  http://www.freebsd.org/doc/en/books/porters-handbook/makefile-manpages.html
 [2]  http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/p5-Padre/Makefile?rev=1.20;content-type=text%2Fplain
 [3]  http://freshports.org/ports-mgmt/portlint
 
 Thanks
 -- 
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 “I can resist everything except temptation.” (Oscar Wilde, "Lady
 Windermere's Fan", 1892)

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Tue, 10 Aug 2010 10:19:39 -0500

 --Apple-Mail-18-351185151
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 
 Here is an updated version with the manual page issues addressed using =
 the documentation pointers you provided.
 
 
 --Apple-Mail-18-351185151
 Content-Disposition: attachment;
 	filename=dnscheckengine.shar
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="dnscheckengine.shar"
 Content-Transfer-Encoding: 7bit
 
 # 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:
 #
 #	dnscheckengine
 #	dnscheckengine/pkg-plist
 #	dnscheckengine/Makefile
 #	dnscheckengine/pkg-message
 #	dnscheckengine/pkg-descr
 #	dnscheckengine/files
 #	dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 #	dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 #	dnscheckengine/pkg-install
 #	dnscheckengine/distinfo
 #	dnscheckengine/pkg-deinstall
 #
 echo c - dnscheckengine
 mkdir -p dnscheckengine > /dev/null 2>&1
 echo x - dnscheckengine/pkg-plist
 sed 's/^X//' >dnscheckengine/pkg-plist << 'fe731db4d9813609cbbb22b63512de61'
 Xlibexec/dnscheck/dnscheck
 Xlibexec/dnscheck/dnscheck-12hourmailer
 Xlibexec/dnscheck/dnscheck-dispatcher
 Xlibexec/dnscheck/dnscheck-hostsyntax
 Xlibexec/dnscheck/dnscheck-preflight
 Xlibexec/dnscheck/dnscheck-zonediff
 X@dirrm libexec/dnscheck
 Xbin/dnscheckengine
 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%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck/.packlist
 X@dirrm %%SITE_PERL%%/DNSCheck/Test
 X@dirrm %%SITE_PERL%%/DNSCheck/Lookup          
 X@dirrm %%SITE_PERL%%/DNSCheck
 X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck
 Xshare/dnscheck/locale/en.yaml
 Xshare/dnscheck/locale/sv.yaml
 Xshare/dnscheck/config.yaml
 Xshare/dnscheck/policy.yaml
 X@dirrmtry share/dnscheck/locale
 X@dirrmtry share/dnscheck
 fe731db4d9813609cbbb22b63512de61
 echo x - dnscheckengine/Makefile
 sed 's/^X//' >dnscheckengine/Makefile << '6711d87bb2649d3dbefba0f4a4ca76e4'
 X# New ports collection makefile for:  dnscheckengine
 X# Date created:        28 July 2010
 X# Whom:                dnscheckengine-port@academ.com (Stan Barber)
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	dnscheckengine
 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/
 XDISTNAME=	DNSCheck-1.1
 X
 XMAINTAINER=	dnscheckengine-port@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
 XCONFIGURE_SCRIPT+=	Makefile.PL INSTALLSITESCRIPT=${PREFIX}/libexec/dnscheck
 X
 XWRKSRC=		${WRKDIR}/engine
 X#
 XDOCSDIR=	${PREFIX}/share/doc/DNSCheck
 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 Support (needed for webgui)" off
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITH_MYSQL)
 XBUILD_DEPENDS+=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
 XRUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
 XUSE_MYSQL=	yes
 X.endif
 X
 XMAN1= 	dnscheck-zonediff.1 \
 X	dnscheck-dispatcher.1 \
 X	dnscheck-preflight.1 \
 X	dnscheck-hostsyntax.1 \
 X	dnscheck.1 \
 X	dnscheck-12hourmailer.1
 X
 XMAN3=	DNSCheck::Test::Nameserver.3 \
 X	DNSCheck::Config.3 \
 X	DNSCheck.3 \
 X	DNSCheck::Lookup::DNS.3 \
 X	DNSCheck::Test::Consistency.3 \
 X	DNSCheck::Test::Host.3 \
 X	DNSCheck::Test::Connectivity.3 \
 X	DNSCheck::Overview.3 \
 X	DNSCheck::Test::Address.3 \
 X	DNSCheck::Test::DNSSEC.3 \
 X	DNSCheck::Test::SMTP.3 \
 X	DNSCheck::Lookup::ASN.3 \
 X	DNSCheck::Test::Zone.3 \
 X	DNSCheck::Logger.3 \
 X	DNSCheck::Test::Common.3 \
 X	DNSCheck::Test::Delegation.3 \
 X	DNSCheck::Test::SOA.3 \
 X	DNSCheck::Lookup::Resolver.3 \
 X	DNSCheck::Test::Mail.3
 X
 XMANCOMPRESSED=	no
 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>
 6711d87bb2649d3dbefba0f4a4ca76e4
 echo x - dnscheckengine/pkg-message
 sed 's/^X//' >dnscheckengine/pkg-message << 'd1cf34dcd1786c5842c45afa7e1f83c6'
 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 dnscheckengine. There is some other software that is included 
 Xthat the developers at the .SE registry use to manage the process by
 Xwhich they do domain delegation. These generally require MYSQL support 
 Xto work and are disabled by default. If you want to learn more about them, 
 Xthey are all PERL-based and have integrated perldoc information. However, 
 XI have not tested them extensively and can't advise on their suitability as of
 Xthis writing. All the scripts install into PREFIX/libexec/dnscheck. 
 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 future port. 
 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 dnscheckengine-port@academ.com.
 X
 XStan Barber
 XAcadem Consulting Services
 Xhttp://www.stanbarber.com
 Xhttp://www.academ.com
 X
 d1cf34dcd1786c5842c45afa7e1f83c6
 echo x - dnscheckengine/pkg-descr
 sed 's/^X//' >dnscheckengine/pkg-descr << 'b85eb6a799f41e762dd9f2ef1054ca7f'
 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/
 b85eb6a799f41e762dd9f2ef1054ca7f
 echo c - dnscheckengine/files
 mkdir -p dnscheckengine/files > /dev/null 2>&1
 echo x - dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 sed 's/^X//' >dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh << '0a1b743f418a6b1112df92d8ddb3c69f'
 X*** contrib/dnscheck-dispatcher.sh	Tue Jun 29 04:15:59 2010
 X--- contrib/dnscheck-dispatcher.sh	Mon Jul 26 21:17:51 2010
 X***************
 X*** 20,26 ****
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/bin/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 X--- 20,26 ----
 X  
 X  name="dnscheck_dispatcher"
 X  rcvar=`set_rcvar`
 X! command="/usr/local/libexec/dnscheck/dnscheck-dispatcher"
 X  
 X  pidfile="${utility_pidfile}"
 X  
 0a1b743f418a6b1112df92d8ddb3c69f
 echo x - dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 sed 's/^X//' >dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl << '3addd789a803edc1d468fc459583f837'
 X*** apps/dnscheck-dispatcher.pl	Tue Jun 29 04:15:59 2010
 X--- apps/dnscheck-dispatcher.pl	Sun Jul  4 19:22:42 2010
 X***************
 X*** 43,49 ****
 X    %running
 X    %reaped
 X    %problem
 X!   $debug
 X    $verbose
 X    $check
 X    $limit
 X--- 43,49 ----
 X    %running
 X    %reaped
 X    %problem
 X!   $user
 X    $verbose
 X    $check
 X    $limit
 X***************
 X*** 54,59 ****
 X--- 54,60 ----
 X    $exit_timeout
 X    $savelevel
 X    %levels
 X+   $debug
 X  ];
 X  
 X  %running   = ();
 X***************
 X*** 75,81 ****
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! 
 X  # Kick everything off
 X  main();
 X  
 X--- 76,83 ----
 X      ERROR    => 4,
 X      CRITICAL => 5,
 X  );
 X! # user to run as
 X! $user = 'nobody';
 X  # Kick everything off
 X  main();
 X  
 X***************
 X*** 124,130 ****
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X! 
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X--- 126,135 ----
 X  sub setup {
 X      my $errfile = $check->config->get("daemon")->{errorlog};
 X      my $pidfile = $check->config->get("daemon")->{pidfile};
 X!     my $uid;
 X!     unless ($uid = (getpwnam($user))[2]) {
 X! 	die "Attempt to run dispatcher as non-existent user or as root\n";
 X!     }
 X      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
 X      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X***************
 X*** 149,154 ****
 X--- 154,161 ----
 X      open PIDFILE, '>', $pidfile or die "Failed to open PID file: $!";
 X      print PIDFILE $$;
 X      close PIDFILE;
 X+ # become non-root
 X+     $>= $uid;
 X      $SIG{CHLD} = \&REAPER;
 X      $SIG{TERM} = sub { $running = 0 };
 X      $SIG{HUP}  = sub {
 3addd789a803edc1d468fc459583f837
 echo x - dnscheckengine/pkg-install
 sed 's/^X//' >dnscheckengine/pkg-install << '4477de778b5c3a58a99db3e0d510ead8'
 X#!/bin/sh
 X# $FreeBSD$ 
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 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-se-dispatcher to run at startup.***'
 X    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 X    fi
 X# install a link to put the dnscheck engine into the regular $PATH for more users
 X
 Xln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
 X
 Xfi
 Xexit 0
 4477de778b5c3a58a99db3e0d510ead8
 echo x - dnscheckengine/distinfo
 sed 's/^X//' >dnscheckengine/distinfo << 'de8f5b4f2ff328afa70222e50faf2082'
 XMD5 (DNSCheck-1.1.tar.gz) = a2ab54833e7aae696d5b716028de2ce0
 XSHA256 (DNSCheck-1.1.tar.gz) = 456fcb885ca7fd2de7219295988975cd0d311622d73cd112505fba132fe6194e
 XSIZE (DNSCheck-1.1.tar.gz) = 427599
 de8f5b4f2ff328afa70222e50faf2082
 echo x - dnscheckengine/pkg-deinstall
 sed 's/^X//' >dnscheckengine/pkg-deinstall << '4fc3e39e2219b6d3ca028abe4c169322'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X#
 X
 XPKG_PREFIX=${PKG_PREFIX:-/usr/local}
 X
 X
 Xif [ "$2" != "DEINSTALL" ]; then
 X    exit 0
 Xfi
 Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 X    echo '===>   Stopping dnscheck dispatcher if it is running'
 X    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 X    echo '===>   Removing startup script for dnscheck dispatcher'
 X    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 Xfi
 X
 X
 Xexit 0
 4fc3e39e2219b6d3ca028abe4c169322
 exit
 
 
 --Apple-Mail-18-351185151--

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sat, 14 Aug 2010 12:21:27 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 
 Hi Stan,
 
 Apologies for the delay in replying.
 
 Stan Barber writes:
 
 > Here is an updated version with the manual page issues addressed using the
 > documentation pointers you provided.
 
 Following is the output of 'portlint -A' on the shar file you sent.
 
 #v+
 WARN: pkg-plist: [11]: whitespace before end of line.
 WARN: pkg-plist: [12]: whitespace before end of line.
 WARN: pkg-plist: [14]: whitespace before end of line.
 WARN: pkg-plist: [15]: whitespace before end of line.
 WARN: pkg-plist: [16]: whitespace before end of line.
 WARN: pkg-plist: [18]: whitespace before end of line.
 WARN: pkg-plist: [19]: whitespace before end of line.
 WARN: pkg-plist: [20]: whitespace before end of line.
 WARN: pkg-plist: [22]: whitespace before end of line.
 WARN: pkg-plist: [23]: whitespace before end of line.
 WARN: pkg-plist: [24]: whitespace before end of line.
 WARN: pkg-plist: [26]: whitespace before end of line.
 WARN: pkg-plist: [27]: whitespace before end of line.
 WARN: pkg-plist: [31]: whitespace before end of line.
 FATAL: Makefile: [52]: use a tab (not space) after a variable name
 WARN: pkg-install: possible use of absolute pathname "/usr/local}".
 WARN: pkg-install: possible direct use of "/usr/local" found. if so, use ${=
 PREFIX} or ${LOCALBASE}, as appropriate.
 WARN: pkg-deinstall: possible use of absolute pathname "/usr/local}".
 WARN: pkg-deinstall: possible direct use of "/usr/local" found. if so, use =
 ${PREFIX} or ${LOCALBASE}, as appropriate.
 WARN: pkg-message: possible use of absolute pathname "/_/".
 WARN: pkg-message: possible use of absolute pathname "/usr/local/bin".
 WARN: pkg-message: possible direct use of "/usr/local" found. if so, use ${=
 PREFIX} or ${LOCALBASE}, as appropriate.
 WARN: pkg-message: seems to have unnecessary blank lines at the last part.
 1 fatal error and 22 warnings found.
 #v-
 
 I've fixed above issues with the port and attached diff file contains the
 changes I made. Please approve them so I can fix them.
 
 Let me know if you've any queries.
 
 Thanks
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 =E2=80=9COne reason why mathematics enjoys special esteem, above all other
 sciences, is that its laws are absolutely certain and indisputable,
 while those of other sciences are to some extent debatable and in
 constant danger of being overthrown by newly discovered facts.=E2=80=9D
 ("Albert Einstein", "Sidelights on Relativity", 1983)
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (FreeBSD)
 
 iQIcBAEBCgAGBQJMZjzyAAoJEMdGz6nnT6SwVC8QAIC5YebhpcxqOssIp7HlW80w
 nVULxUWp9Xcs08slsvlNIl66woJk2l/oiocvjP7ktq0UQbQOiqSmGPtBywk+Rz6R
 2j5mSM7kBFz/kRw0JmcU6faKa/MkpsrKa4kvYKneQwMcwnJvFONzBNSBmHTBPvY8
 pdLznLDLlkl2CVy3YxI+0rFIBlhE/yHG1vOgNmPWElpnkiPVG193BAesjjsBvHUv
 Wgs/zRpWmgs+t/MemsNHr1SQGRRjaxX5eKs/Yg5+y2u4XQ1s0Zs8WlJSZM0hgEgP
 071+jvJM6ZXvgtiZQ5hNpVfRBVeJddyML5I0QcPp15Jsvs/V7F0QVkWVTSY54I6N
 wYCa3GyyUkTwm9a+X4iRpLrmDpCxR0ywXV8+3oR+Y8gzvDeX9Fz/ud0iTcnTdldN
 G3zDijZYaj6alOzYCyOmx5NvyAyWW1EU44nAFaYswAe9u8hFllF2mmfokmaS1SQM
 SS3MnWslfVYx1Zyo1SDSLI5uwDDiP5tWmo2w7RowapK+DZVqMV1zKKU5QQqlV4Lg
 SQxQCKhkznbDTHdOVJv9EFOlPPLh/08nnCEPkfPs2VdLYOFTTvGzjdny/C2KVlfZ
 sdUTzoq2abZ8kBpv/IylBk6mjqHTbpBjmFGQMAjURbC+YGEoJ3jbOYhmHpucwLz5
 rPfJWf3HOJsmCgNq4fIq
 =dAUS
 -----END PGP SIGNATURE-----
 --=-=-=--

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sat, 14 Aug 2010 12:25:54 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 8bit
 
 Oops, sorry forgot to attach the diff file.
 
 -- 
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 “All happy families resemble one another, each unhappy family is
 unhappy in its own way.” (Leo Tolstoy, "Anna Karenina", (1875–1877))
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: attachment; filename=dnscheckengine.diff
 
 diff -ruN dnscheckengine.orig/Makefile dnscheckengine/Makefile
 --- dnscheckengine.orig/Makefile	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/Makefile	2010-08-14 12:08:03.000000000 +0530
 @@ -18,7 +18,7 @@
  BUILD_DEPENDS=	p5-Crypt-OpenSSL-Random>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random \
  		p5-Digest-BubbleBabble>=0:${PORTSDIR}/security/p5-Digest-BubbleBabble \
  		p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
 -		p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-INET6 \
 +		p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-Socket-INET6 \
  		p5-Net-DNS>=0.65:${PORTSDIR}/dns/p5-Net-DNS \
  		p5-Net-DNS-SEC>=0.15:${PORTSDIR}/dns/p5-Net-DNS-SEC \
  		p5-Socket6>=0.19:${PORTSDIR}/net/p5-Socket6 \
 @@ -38,10 +38,11 @@
  DOCS=	'DNSCheck Lib Descriptions.pdf' data-flow-batch.png DNSCheck.graffle data-flow-web.png call-flow.png database-schema.pdf
  DOCSDB=	indexes.sql schema.sql drop.sql
  PORTDOCS=	${DOCS} db
 +SUB_FILES=	pkg-install pkg-deinstall pkg-message
  
  OPTIONS=	MYSQL "Add MySQL Support (needed for webgui)" off
  
 -.include <bsd.port.pre.mk>
 +.include <bsd.port.options.mk>
  
  .if defined(WITH_MYSQL)
  BUILD_DEPENDS+=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
 @@ -49,7 +50,7 @@
  USE_MYSQL=	yes
  .endif
  
 -MAN1= 	dnscheck-zonediff.1 \
 +MAN1=	dnscheck-zonediff.1 \
  	dnscheck-dispatcher.1 \
  	dnscheck-preflight.1 \
  	dnscheck-hostsyntax.1 \
 @@ -79,16 +80,19 @@
  MANCOMPRESSED=	no
  
  post-patch:
 -	@${FIND} ${WRKSRC} -name \*.orig -delete
 +	@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
 +		-e 's,%%PREFIX%%,${PREFIX},g'
 +
 +pre-install:
 +	-@${FIND} ${WRKSRC} -name \*.orig -delete
  
  post-install:
  .if defined(WITH_MYSQL)
  # install startup script (if WITH_MYSQL  is defined)
 -	@[ -f  ${PREFIX}/etc/rc.d/dnscheck-dispatcher ] || \
 -		${CP} ${WRKSRC}/contrib/dnscheck-dispatcher.sh \
 +	@${INSTALL_SCRIPT} ${WRKSRC}/contrib/dnscheck-dispatcher.sh \
  		${PREFIX}/etc/rc.d/dnscheck-dispatcher
  .endif
 -	@PKG_PREFIX=${PREFIX} BATCH=${BATCH} SU_CMD="${SU_CMD}" ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
 +	@PKG_PREFIX=${PREFIX} BATCH=${BATCH} SU_CMD="${SU_CMD}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
  .if !defined(NOPORTDOCS)
  	@${MKDIR} ${DOCSDIR} ${DOCSDIR}/db
  	@${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
 @@ -96,4 +100,4 @@
  
  .endif
  	@${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 diff -ruN dnscheckengine.orig/files/patch-contrib-dnscheck-dispatcher.sh dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh
 --- dnscheckengine.orig/files/patch-contrib-dnscheck-dispatcher.sh	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/files/patch-contrib-dnscheck-dispatcher.sh	1970-01-01 05:30:00.000000000 +0530
 @@ -1,19 +0,0 @@
 -*** contrib/dnscheck-dispatcher.sh	Tue Jun 29 04:15:59 2010
 ---- contrib/dnscheck-dispatcher.sh	Mon Jul 26 21:17:51 2010
 -***************
 -*** 20,26 ****
 -  
 -  name="dnscheck_dispatcher"
 -  rcvar=`set_rcvar`
 -! command="/usr/local/bin/dnscheck-dispatcher"
 -  
 -  pidfile="${utility_pidfile}"
 -  
 ---- 20,26 ----
 -  
 -  name="dnscheck_dispatcher"
 -  rcvar=`set_rcvar`
 -! command="/usr/local/libexec/dnscheck/dnscheck-dispatcher"
 -  
 -  pidfile="${utility_pidfile}"
 -  
 diff -ruN dnscheckengine.orig/files/patch-contrib_dnscheck-dispatcher.sh dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh
 --- dnscheckengine.orig/files/patch-contrib_dnscheck-dispatcher.sh	1970-01-01 05:30:00.000000000 +0530
 +++ dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh	2010-08-14 11:56:58.000000000 +0530
 @@ -0,0 +1,14 @@
 +
 +$FreeBSD$
 +
 +--- contrib/dnscheck-dispatcher.sh.orig
 ++++ contrib/dnscheck-dispatcher.sh
 +@@ -20,7 +20,7 @@
 + 
 + name="dnscheck_dispatcher"
 + rcvar=`set_rcvar`
 +-command="/usr/local/bin/dnscheck-dispatcher"
 ++command="%%PREFIX%%/libexec/dnscheck/dnscheck-dispatcher"
 + 
 + pidfile="${utility_pidfile}"
 + 
 diff -ruN dnscheckengine.orig/files/pkg-deinstall.in dnscheckengine/files/pkg-deinstall.in
 --- dnscheckengine.orig/files/pkg-deinstall.in	1970-01-01 05:30:00.000000000 +0530
 +++ dnscheckengine/files/pkg-deinstall.in	2010-08-14 11:31:47.000000000 +0530
 @@ -0,0 +1,20 @@
 +#!/bin/sh
 +#
 +# $FreeBSD$
 +#
 +
 +PKG_PREFIX=${PKG_PREFIX:-%%PREFIX%%}
 +
 +
 +if [ "$2" != "DEINSTALL" ]; then
 +    exit 0
 +fi
 +if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 +    echo '===>   Stopping dnscheck dispatcher if it is running'
 +    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 +    echo '===>   Removing startup script for dnscheck dispatcher'
 +    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 +fi
 +
 +
 +exit 0
 diff -ruN dnscheckengine.orig/files/pkg-install.in dnscheckengine/files/pkg-install.in
 --- dnscheckengine.orig/files/pkg-install.in	1970-01-01 05:30:00.000000000 +0530
 +++ dnscheckengine/files/pkg-install.in	2010-08-14 11:31:25.000000000 +0530
 @@ -0,0 +1,18 @@
 +#!/bin/sh
 +# $FreeBSD$ 
 +#
 +
 +PKG_PREFIX=${PKG_PREFIX:-%%PREFIX%%}
 +
 +if [ "$2" = "POST-INSTALL" ];then
 +
 +if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher  ]; then
 +    echo '***Please add dns_dispatcher_enable="YES" to /etc/rc.conf to enable dnscheck-se-dispatcher to run at startup.***'
 +    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 +    fi
 +# install a link to put the dnscheck engine into the regular $PATH for more users
 +
 +ln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
 +
 +fi
 +exit 0
 diff -ruN dnscheckengine.orig/files/pkg-message.in dnscheckengine/files/pkg-message.in
 --- dnscheckengine.orig/files/pkg-message.in	1970-01-01 05:30:00.000000000 +0530
 +++ dnscheckengine/files/pkg-message.in	2010-08-14 10:36:48.000000000 +0530
 @@ -0,0 +1,34 @@
 +*************************************************************************
 +*	    _  _____ _____ _____ _   _ _____ ___ ___  _   _ 		*
 +*	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |		*
 +*	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |		*
 +*	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |		*
 +*	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|		*
 +*                                                                       *
 +*************************************************************************
 +
 +The DNSCheck software included in the port is the PERL-based engine and 
 +includes a command line utility that uses that engine in %%PREFIX%%/bin
 +called dnscheckengine. There is some other software that is included 
 +that the developers at the .SE registry use to manage the process by
 +which they do domain delegation. These generally require MYSQL support 
 +to work and are disabled by default. If you want to learn more about them, 
 +they are all PERL-based and have integrated perldoc information. However, 
 +I have not tested them extensively and can't advise on their suitability as of
 +this writing. All the scripts install into %%PREFIX%%/libexec/dnscheck. 
 +
 +This port also installs some documentation in %%DOCSDIR%%
 +that may prove useful. 
 +
 +There is also a webui that is available as an alternative frontend. I hope
 +to include it in a future port. 
 +
 +If you have questions about the basic software, please see the developer's
 +web site at http://opensource.iis.se/dnscheck. If there is a problem with 
 +the port, please let me know at dnscheckengine-port@academ.com.
 +
 +Stan Barber
 +Academ Consulting Services
 +http://www.stanbarber.com
 +http://www.academ.com
 +
 diff -ruN dnscheckengine.orig/pkg-deinstall dnscheckengine/pkg-deinstall
 --- dnscheckengine.orig/pkg-deinstall	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/pkg-deinstall	1970-01-01 05:30:00.000000000 +0530
 @@ -1,20 +0,0 @@
 -#!/bin/sh
 -#
 -# $FreeBSD$
 -#
 -
 -PKG_PREFIX=${PKG_PREFIX:-/usr/local}
 -
 -
 -if [ "$2" != "DEINSTALL" ]; then
 -    exit 0
 -fi
 -if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 -    echo '===>   Stopping dnscheck dispatcher if it is running'
 -    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 -    echo '===>   Removing startup script for dnscheck dispatcher'
 -    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 -fi
 -
 -
 -exit 0
 diff -ruN dnscheckengine.orig/pkg-install dnscheckengine/pkg-install
 --- dnscheckengine.orig/pkg-install	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/pkg-install	1970-01-01 05:30:00.000000000 +0530
 @@ -1,18 +0,0 @@
 -#!/bin/sh
 -# $FreeBSD$ 
 -#
 -
 -PKG_PREFIX=${PKG_PREFIX:-/usr/local}
 -
 -if [ "$2" = "POST-INSTALL" ];then
 -
 -if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher  ]; then
 -    echo '***Please add dns_dispatcher_enable="YES" to /etc/rc.conf to enable dnscheck-se-dispatcher to run at startup.***'
 -    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 -    fi
 -# install a link to put the dnscheck engine into the regular $PATH for more users
 -
 -ln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
 -
 -fi
 -exit 0
 diff -ruN dnscheckengine.orig/pkg-message dnscheckengine/pkg-message
 --- dnscheckengine.orig/pkg-message	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/pkg-message	1970-01-01 05:30:00.000000000 +0530
 @@ -1,34 +0,0 @@
 -*************************************************************************
 -*	    _  _____ _____ _____ _   _ _____ ___ ___  _   _ 		*
 -*	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |		*
 -*	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |		*
 -*	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |		*
 -*	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|		*
 -*                                                                       *
 -*************************************************************************
 -
 -The DNSCheck software included in the port is the PERL-based engine and 
 -includes a command line utility that uses that engine in /usr/local/bin
 -called dnscheckengine. There is some other software that is included 
 -that the developers at the .SE registry use to manage the process by
 -which they do domain delegation. These generally require MYSQL support 
 -to work and are disabled by default. If you want to learn more about them, 
 -they are all PERL-based and have integrated perldoc information. However, 
 -I have not tested them extensively and can't advise on their suitability as of
 -this writing. All the scripts install into PREFIX/libexec/dnscheck. 
 -
 -This port also installs some documentation in PREFIX/share/doc/DNSCheck
 -that may prove useful. 
 -
 -There is also a webui that is available as an alternative frontend. I hope
 -to include it in a future port. 
 -
 -If you have questions about the basic software, please see the developer's
 -web site at http://opensource.iis.se/dnscheck. If there is a problem with 
 -the port, please let me know at dnscheckengine-port@academ.com.
 -
 -Stan Barber
 -Academ Consulting Services
 -http://www.stanbarber.com
 -http://www.academ.com
 -
 diff -ruN dnscheckengine.orig/pkg-plist dnscheckengine/pkg-plist
 --- dnscheckengine.orig/pkg-plist	2010-08-14 12:14:45.000000000 +0530
 +++ dnscheckengine/pkg-plist	2010-08-14 10:31:49.000000000 +0530
 @@ -8,27 +8,27 @@
  bin/dnscheckengine
  %%SITE_PERL%%/DNSCheck.pm
  %%SITE_PERL%%/DNSCheck/Test/Address.pm
 -%%SITE_PERL%%/DNSCheck/Test/Consistency.pm  
 -%%SITE_PERL%%/DNSCheck/Test/Host.pm         
 +%%SITE_PERL%%/DNSCheck/Test/Consistency.pm
 +%%SITE_PERL%%/DNSCheck/Test/Host.pm
  %%SITE_PERL%%/DNSCheck/Test/SMTP.pm
 -%%SITE_PERL%%/DNSCheck/Test/Common.pm       
 -%%SITE_PERL%%/DNSCheck/Test/DNSSEC.pm       
 -%%SITE_PERL%%/DNSCheck/Test/Mail.pm         
 +%%SITE_PERL%%/DNSCheck/Test/Common.pm
 +%%SITE_PERL%%/DNSCheck/Test/DNSSEC.pm
 +%%SITE_PERL%%/DNSCheck/Test/Mail.pm
  %%SITE_PERL%%/DNSCheck/Test/SOA.pm
 -%%SITE_PERL%%/DNSCheck/Test/Connectivity.pm 
 -%%SITE_PERL%%/DNSCheck/Test/Delegation.pm   
 -%%SITE_PERL%%/DNSCheck/Test/Nameserver.pm   
 +%%SITE_PERL%%/DNSCheck/Test/Connectivity.pm
 +%%SITE_PERL%%/DNSCheck/Test/Delegation.pm
 +%%SITE_PERL%%/DNSCheck/Test/Nameserver.pm
  %%SITE_PERL%%/DNSCheck/Test/Zone.pm
 -%%SITE_PERL%%/DNSCheck/Config.pm       
 -%%SITE_PERL%%/DNSCheck/Logger.pm       
 -%%SITE_PERL%%/DNSCheck/Locale.pm       
 +%%SITE_PERL%%/DNSCheck/Config.pm
 +%%SITE_PERL%%/DNSCheck/Logger.pm
 +%%SITE_PERL%%/DNSCheck/Locale.pm
  %%SITE_PERL%%/DNSCheck/Overview.pod
 -%%SITE_PERL%%/DNSCheck/Lookup/ASN.pm          
 -%%SITE_PERL%%/DNSCheck/Lookup/DNS.pm          
 +%%SITE_PERL%%/DNSCheck/Lookup/ASN.pm
 +%%SITE_PERL%%/DNSCheck/Lookup/DNS.pm
  %%SITE_PERL%%/DNSCheck/Lookup/Resolver.pm
  %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck/.packlist
  @dirrm %%SITE_PERL%%/DNSCheck/Test
 -@dirrm %%SITE_PERL%%/DNSCheck/Lookup          
 +@dirrm %%SITE_PERL%%/DNSCheck/Lookup
  @dirrm %%SITE_PERL%%/DNSCheck
  @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck
  share/dnscheck/locale/en.yaml
 
 --=-=-=--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sat, 21 Aug 2010 15:56:33 -0500

 I am fine with your proposed patches being integrated with the work I =
 have submitted.
 
 On Aug 14, 2010, at 1:55 AM, Ashish SHUKLA wrote:
 
 > Oops, sorry forgot to attach the diff file.
 >=20
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93All happy families resemble one another, each unhappy family is
 > unhappy in its own way.=94 (Leo Tolstoy, "Anna Karenina", (1875=961877))=
 
 > <dnscheckengine.diff>
 

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sun, 22 Aug 2010 02:35:37 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 
 Stan Barber writes:
 > I am fine with your proposed patches being integrated with the work I hav=
 e submitted.
 
 Cool, I'll commit it today :)
 
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 =E2=80=9CAs far as the laws of mathematics refer to reality, they are not
 certain; and as far as they are certain, they do not refer to
 reality.=E2=80=9D ("Albert Einstein", "Sidelights on Relativity", 1983)
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (GNU/Linux)
 
 iQIcBAEBCgAGBQJMcD+lAAoJEMdGz6nnT6Sw5A4P/i7wvVIqV3Z1mkVRa433L1+x
 SF/oovByvXEV6bwv4nlBRAW4G3BTQY2RB7kMEeKBknrW/YcETdwboVsqzSsZSNLL
 XMxzAa+wKGUt4yGiENbHCwPvObH4K635/qSvoQIdDpnYBw2IRrhtvSXi108k1PZK
 Qe1NYgdEDut/LFXV/0mzMou3h+XVbMVsccjE07UN9LD8iSscPIFdg1Hl/Bf3NieQ
 /XsTEqcVQIL/n/1BBa0TtQvZfkMo1i93g0sOyjKRsc2nv4dbsAExP/aVcO2tk+Lv
 yxmO7OZ/VvIFzmUVlVogDBfHWy8a0en8kuCZcp3gsU8qvGEZp8gx/Xnt+HItvw7C
 3aRxyE16QAWCzZouxEYp4En0rr5E5fmEtiXolpzskIdcjHQPmmi+m6NdgUolwktq
 LRWKOwYvhaw0vfs9Kzfh+bb+pl6Lg4U0jv6PrCnXhNEKnpiXbEgfypCZGnIThezh
 TvhEuNTue47UprAlvX2tNLl6VnMamRphckC+bri57r8beY1bIY92/5TKVzydSPxq
 LsuiR77oZuNH2RsEAXdrvb81yFCNGsQQ1TKFut1Awu6cUMBK7tL89ssd5UULfrDS
 pRNyeC60UahSCyUkGdABwg1qmIYa+Qk7wYaTZo99J/MG1HAjN1PJSMbGqys49QVV
 1oPZj88A8sKkb/mNMdim
 =hx2p
 -----END PGP SIGNATURE-----
 --=-=-=--

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Stan Barber <sob@academ.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Mon, 23 Aug 2010 00:12:47 +0530

 --=-=-=
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 8bit
 
 Hi Stan,
 
 There is an installation error on 6.x release. Following is the build log:
 
 http://people.freebsd.org/~ashish/logs/dnscheckengine-1.1.log
 
 Can you fix the changes ?
 
 For your reference the updated shar file is attached.
 
 Thanks
 -- 
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 freebsd.org!ashish | http://people.freebsd.org/~ashish/
 
 “Few false ideas have more firmly gripped the minds of so many
 intelligent men than the one that, if they just tried, they could
 invent a cipher that no one could break.” (David Kahn, "The
 Codebreakers", 1967)
 
 --=-=-=
 Content-Disposition: attachment; filename=dnscheckengine.sh
 Content-Transfer-Encoding: quoted-printable
 Content-Description: shar file
 
 # 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:
 #
 #	dnscheckengine
 #	dnscheckengine/pkg-plist
 #	dnscheckengine/Makefile
 #	dnscheckengine/pkg-descr
 #	dnscheckengine/files
 #	dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh
 #	dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 #	dnscheckengine/files/pkg-install.in
 #	dnscheckengine/files/pkg-deinstall.in
 #	dnscheckengine/files/pkg-message.in
 #	dnscheckengine/distinfo
 #	dnscheckengine/.Makefile.swp
 #
 echo c - dnscheckengine
 mkdir -p dnscheckengine > /dev/null 2>&1
 echo x - dnscheckengine/pkg-plist
 sed 's/^X//' >dnscheckengine/pkg-plist << 'fe731db4d9813609cbbb22b63512de61'
 Xlibexec/dnscheck/dnscheck
 Xlibexec/dnscheck/dnscheck-12hourmailer
 Xlibexec/dnscheck/dnscheck-dispatcher
 Xlibexec/dnscheck/dnscheck-hostsyntax
 Xlibexec/dnscheck/dnscheck-preflight
 Xlibexec/dnscheck/dnscheck-zonediff
 X@dirrm libexec/dnscheck
 Xbin/dnscheckengine
 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%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck/.packlist
 X@dirrm %%SITE_PERL%%/DNSCheck/Test
 X@dirrm %%SITE_PERL%%/DNSCheck/Lookup
 X@dirrm %%SITE_PERL%%/DNSCheck
 X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNSCheck
 Xshare/dnscheck/locale/en.yaml
 Xshare/dnscheck/locale/sv.yaml
 Xshare/dnscheck/config.yaml
 Xshare/dnscheck/policy.yaml
 X@dirrmtry share/dnscheck/locale
 X@dirrmtry share/dnscheck
 fe731db4d9813609cbbb22b63512de61
 echo x - dnscheckengine/Makefile
 sed 's/^X//' >dnscheckengine/Makefile << '6711d87bb2649d3dbefba0f4a4ca76e4'
 X# New ports collection makefile for:  dnscheckengine
 X# Date created:        28 July 2010
 X# Whom:                dnscheckengine-port@academ.com (Stan Barber)
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=3D	dnscheckengine
 XPORTVERSION=3D	1.1
 XCATEGORIES=3D	dns perl5
 XMASTER_SITES=3D	http://opensource.iis.se/pub/dnscheck/ \
 X		ftp://www.ns.gen.tx.us/pub/software/dnscheck-se/
 XDISTNAME=3D	DNSCheck-1.1
 X
 XMAINTAINER=3D	dnscheckengine-port@academ.com
 XCOMMENT=3D	DNS checker from the folks that run the .SE top level domain
 X
 XBUILD_DEPENDS=3D	p5-Crypt-OpenSSL-Random>=3D0:${PORTSDIR}/security/p5-Cryp=
 t-OpenSSL-Random \
 X		p5-Digest-BubbleBabble>=3D0:${PORTSDIR}/security/p5-Digest-BubbleBabble \
 X		p5-Digest-SHA1>=3D0:${PORTSDIR}/security/p5-Digest-SHA1 \
 X		p5-IO-Socket-INET6>=3D2.51:${PORTSDIR}/net/p5-IO-Socket-INET6 \
 X		p5-Net-DNS>=3D0.65:${PORTSDIR}/dns/p5-Net-DNS \
 X		p5-Net-DNS-SEC>=3D0.15:${PORTSDIR}/dns/p5-Net-DNS-SEC \
 X		p5-Socket6>=3D0.19:${PORTSDIR}/net/p5-Socket6 \
 X		p5-Sys-Syslog>=3D0:${PORTSDIR}/sysutils/p5-Sys-Syslog \
 X		p5-Time-HiRes>=3D0:${PORTSDIR}/devel/p5-Time-HiRes \
 X		p5-YAML>=3D0:${PORTSDIR}/textproc/p5-YAML \
 X		p5-Text-Template>=3D0:${PORTSDIR}/textproc/p5-Text-Template \
 X		p5-Mail-RFC822-Address>=3D0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
 X		p5-MIME-Lite>=3D0:${PORTSDIR}/mail/p5-MIME-Lite
 X
 XPERL_CONFIGURE=3D	yes
 XCONFIGURE_SCRIPT+=3D	Makefile.PL INSTALLSITESCRIPT=3D${PREFIX}/libexec/dns=
 check
 X
 XWRKSRC=3D		${WRKDIR}/engine
 X#
 XDOCSDIR=3D	${PREFIX}/share/doc/DNSCheck
 XDOCS=3D	'DNSCheck Lib Descriptions.pdf' data-flow-batch.png DNSCheck.graff=
 le data-flow-web.png call-flow.png database-schema.pdf
 XDOCSDB=3D	indexes.sql schema.sql drop.sql
 XPORTDOCS=3D	${DOCS} db
 XSUB_FILES=3D	pkg-install pkg-deinstall pkg-message
 X
 XOPTIONS=3D	MYSQL "Add MySQL Support (needed for webgui)" off
 X
 X.include <bsd.port.options.mk>
 X
 X.if defined(WITH_MYSQL)
 XBUILD_DEPENDS+=3D	p5-DBI>=3D0:${PORTSDIR}/databases/p5-DBI
 XRUN_DEPENDS+=3D	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databas=
 es/p5-DBD-mysql
 XUSE_MYSQL=3D	yes
 X.endif
 X
 XMAN1=3D	dnscheck-zonediff.1 \
 X	dnscheck-dispatcher.1 \
 X	dnscheck-preflight.1 \
 X	dnscheck-hostsyntax.1 \
 X	dnscheck.1 \
 X	dnscheck-12hourmailer.1
 X
 XMAN3=3D	DNSCheck::Test::Nameserver.3 \
 X	DNSCheck::Config.3 \
 X	DNSCheck.3 \
 X	DNSCheck::Lookup::DNS.3 \
 X	DNSCheck::Test::Consistency.3 \
 X	DNSCheck::Test::Host.3 \
 X	DNSCheck::Test::Connectivity.3 \
 X	DNSCheck::Overview.3 \
 X	DNSCheck::Test::Address.3 \
 X	DNSCheck::Test::DNSSEC.3 \
 X	DNSCheck::Test::SMTP.3 \
 X	DNSCheck::Lookup::ASN.3 \
 X	DNSCheck::Test::Zone.3 \
 X	DNSCheck::Logger.3 \
 X	DNSCheck::Test::Common.3 \
 X	DNSCheck::Test::Delegation.3 \
 X	DNSCheck::Test::SOA.3 \
 X	DNSCheck::Lookup::Resolver.3 \
 X	DNSCheck::Test::Mail.3
 X
 XMANCOMPRESSED=3D	no
 X
 Xpost-patch:
 X	@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
 X		-e 's,%%PREFIX%%,${PREFIX},g'
 X
 Xpre-install:
 X	-@${FIND} ${WRKSRC} -name \*.orig -delete
 X
 Xpost-install:
 X.if defined(WITH_MYSQL)
 X# install startup script (if WITH_MYSQL  is defined)
 X	@${INSTALL_SCRIPT} ${WRKSRC}/contrib/dnscheck-dispatcher.sh \
 X		${PREFIX}/etc/rc.d/dnscheck-dispatcher
 X.endif
 X	@PKG_PREFIX=3D${PREFIX} BATCH=3D${BATCH} SU_CMD=3D"${SU_CMD}" ${SH} ${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.mk>
 6711d87bb2649d3dbefba0f4a4ca76e4
 echo x - dnscheckengine/pkg-descr
 sed 's/^X//' >dnscheckengine/pkg-descr << 'b85eb6a799f41e762dd9f2ef1054ca7f'
 XDNSCheck is a program that is designed to help people check, measure and=20
 Xhopefully also understand the workings of the Domain Name System. When use=
 d to=20
 Xcheck an domain (aka zone) is submitted to DNSCheck, it will investigate t=
 he
 Xgeneral health by performing various tests and sanity checks.
 X
 XWWW: http://dnscheck.iis.se/
 b85eb6a799f41e762dd9f2ef1054ca7f
 echo c - dnscheckengine/files
 mkdir -p dnscheckengine/files > /dev/null 2>&1
 echo x - dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh
 sed 's/^X//' >dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh << =
 '217ed985fb8dd5461f3f003787622273'
 X
 X$FreeBSD$
 X
 X--- contrib/dnscheck-dispatcher.sh.orig
 X+++ contrib/dnscheck-dispatcher.sh
 X@@ -20,7 +20,7 @@
 X=20
 X name=3D"dnscheck_dispatcher"
 X rcvar=3D`set_rcvar`
 X-command=3D"/usr/local/bin/dnscheck-dispatcher"
 X+command=3D"%%PREFIX%%/libexec/dnscheck/dnscheck-dispatcher"
 X=20
 X pidfile=3D"${utility_pidfile}"
 X=20
 217ed985fb8dd5461f3f003787622273
 echo x - dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
 sed 's/^X//' >dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl << '3a=
 ddd789a803edc1d468fc459583f837'
 X*** apps/dnscheck-dispatcher.pl	Tue Jun 29 04:15:59 2010
 X--- apps/dnscheck-dispatcher.pl	Sun Jul  4 19:22:42 2010
 X***************
 X*** 43,49 ****
 X    %running
 X    %reaped
 X    %problem
 X!   $debug
 X    $verbose
 X    $check
 X    $limit
 X--- 43,49 ----
 X    %running
 X    %reaped
 X    %problem
 X!   $user
 X    $verbose
 X    $check
 X    $limit
 X***************
 X*** 54,59 ****
 X--- 54,60 ----
 X    $exit_timeout
 X    $savelevel
 X    %levels
 X+   $debug
 X  ];
 X=20=20
 X  %running   =3D ();
 X***************
 X*** 75,81 ****
 X      ERROR    =3D> 4,
 X      CRITICAL =3D> 5,
 X  );
 X!=20
 X  # Kick everything off
 X  main();
 X=20=20
 X--- 76,83 ----
 X      ERROR    =3D> 4,
 X      CRITICAL =3D> 5,
 X  );
 X! # user to run as
 X! $user =3D 'nobody';
 X  # Kick everything off
 X  main();
 X=20=20
 X***************
 X*** 124,130 ****
 X  sub setup {
 X      my $errfile =3D $check->config->get("daemon")->{errorlog};
 X      my $pidfile =3D $check->config->get("daemon")->{pidfile};
 X!=20
 X      @saved_argv =3D @ARGV;    # We'll use this if we're asked to restart=
  ourselves
 X      GetOptions('debug' =3D> \$debug, 'verbose' =3D> \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X--- 126,135 ----
 X  sub setup {
 X      my $errfile =3D $check->config->get("daemon")->{errorlog};
 X      my $pidfile =3D $check->config->get("daemon")->{pidfile};
 X!     my $uid;
 X!     unless ($uid =3D (getpwnam($user))[2]) {
 X! 	die "Attempt to run dispatcher as non-existent user or as root\n";
 X!     }
 X      @saved_argv =3D @ARGV;    # We'll use this if we're asked to restart=
  ourselves
 X      GetOptions('debug' =3D> \$debug, 'verbose' =3D> \$verbose);
 X      openlog($check->config->get("syslog")->{ident},
 X***************
 X*** 149,154 ****
 X--- 154,161 ----
 X      open PIDFILE, '>', $pidfile or die "Failed to open PID file: $!";
 X      print PIDFILE $$;
 X      close PIDFILE;
 X+ # become non-root
 X+     $>=3D $uid;
 X      $SIG{CHLD} =3D \&REAPER;
 X      $SIG{TERM} =3D sub { $running =3D 0 };
 X      $SIG{HUP}  =3D sub {
 3addd789a803edc1d468fc459583f837
 echo x - dnscheckengine/files/pkg-install.in
 sed 's/^X//' >dnscheckengine/files/pkg-install.in << '800a469b6a419d0e6b27d=
 0dccc67d1f6'
 X#!/bin/sh
 X# $FreeBSD$=20
 X#
 X
 XPKG_PREFIX=3D${PKG_PREFIX:-%%PREFIX%%}
 X
 Xif [ "$2" =3D "POST-INSTALL" ];then
 X
 Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher  ]; then
 X    echo '***Please add dns_dispatcher_enable=3D"YES" to /etc/rc.conf to e=
 nable dnscheck-se-dispatcher to run at startup.***'
 X    chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
 X    fi
 X# install a link to put the dnscheck engine into the regular $PATH for mor=
 e users
 X
 Xln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnschecken=
 gine
 X
 Xfi
 Xexit 0
 800a469b6a419d0e6b27d0dccc67d1f6
 echo x - dnscheckengine/files/pkg-deinstall.in
 sed 's/^X//' >dnscheckengine/files/pkg-deinstall.in << '78f30ae581d00a92b4b=
 234b86cc1d896'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X#
 X
 XPKG_PREFIX=3D${PKG_PREFIX:-%%PREFIX%%}
 X
 X
 Xif [ "$2" !=3D "DEINSTALL" ]; then
 X    exit 0
 Xfi
 Xif [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
 X    echo '=3D=3D=3D>   Stopping dnscheck dispatcher if it is running'
 X    ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null
 X    echo '=3D=3D=3D>   Removing startup script for dnscheck dispatcher'
 X    rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop
 Xfi
 X
 X
 Xexit 0
 78f30ae581d00a92b4b234b86cc1d896
 echo x - dnscheckengine/files/pkg-message.in
 sed 's/^X//' >dnscheckengine/files/pkg-message.in << '7a00b669a941a1cecd5c8=
 a42924fb181'
 X*************************************************************************
 X*	    _  _____ _____ _____ _   _ _____ ___ ___  _   _ 		*
 X*	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |		*
 X*	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |		*
 X*	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |		*
 X*	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|		*
 X*                                                                       *
 X*************************************************************************
 X
 XThe DNSCheck software included in the port is the PERL-based engine and=20
 Xincludes a command line utility that uses that engine in %%PREFIX%%/bin
 Xcalled dnscheckengine. There is some other software that is included=20
 Xthat the developers at the .SE registry use to manage the process by
 Xwhich they do domain delegation. These generally require MYSQL support=20
 Xto work and are disabled by default. If you want to learn more about them,=
 =20
 Xthey are all PERL-based and have integrated perldoc information. However,=
 =20
 XI have not tested them extensively and can't advise on their suitability a=
 s of
 Xthis writing. All the scripts install into %%PREFIX%%/libexec/dnscheck.=20
 X
 XThis port also installs some documentation in %%DOCSDIR%%
 Xthat may prove useful.=20
 X
 XThere is also a webui that is available as an alternative frontend. I hope
 Xto include it in a future port.=20
 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=
 =20
 Xthe port, please let me know at dnscheckengine-port@academ.com.
 X
 XStan Barber
 XAcadem Consulting Services
 Xhttp://www.stanbarber.com
 Xhttp://www.academ.com
 X
 7a00b669a941a1cecd5c8a42924fb181
 echo x - dnscheckengine/distinfo
 sed 's/^X//' >dnscheckengine/distinfo << 'de8f5b4f2ff328afa70222e50faf2082'
 XMD5 (DNSCheck-1.1.tar.gz) =3D a2ab54833e7aae696d5b716028de2ce0
 XSHA256 (DNSCheck-1.1.tar.gz) =3D 456fcb885ca7fd2de7219295988975cd0d311622d=
 73cd112505fba132fe6194e
 XSIZE (DNSCheck-1.1.tar.gz) =3D 427599
 de8f5b4f2ff328afa70222e50faf2082
 echo x - dnscheckengine/.Makefile.swp
 sed 's/^X//' >dnscheckengine/.Makefile.swp << '84e8cc237dd5db6cdb58710b5762=
 dd5c'
 Xb0VIM 7.2=00=00=00=00=10=00=00=CB9fLk=98U=00=A3=16=00=00abbe=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00chateau.d.if=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00~abbe/tinderbox/ports/dns/dnschec=
 kengine/Makefile=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=0D=003210=00=00=00=00#"! =13=12U=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00tp=01=00=00=00=00=02=00=00=00=00=
 =00=00=00g=00=00=00=00=00=00=00=01=00=00=00=00=00=00=00=01=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00ad=00=002=01=00=00=EA=02=00=00=00=10=00=00g=00=00=
 =00=00=00=00=00=CB=0F=00=00=A7=0F=00=00c=0F=00=00a=0F=00=00U=0F=00=00S=0F=
 =00=00R=0F=00=009=0F=00=00(=0F=00=00=12=0F=00=00=DB=0E=00=00=A8=0E=00=00=91=
 =0E=00=00=90=0E=00=00e=0E=00=00=1F=0E=00=00=1E=0E=00=00=C5=0D=00=00{=0D=00=
 =00A=0D=00=00=01=0D=00=00=D1=00=00=99=00=00i=00=001=00=00=FC=0B=00=00=
 =D0=0B=00=00=92=0B=00=00L=0B=00=00=1C=0B=00=00=1B=0B=00=00=07=0B=00=00=BB
 X=00=00=BA
 X=00=00=A0
 X=00=00=9E
 X=00=00x
 X=00=00=F9	=00=00=D1	=00=00=BC	=00=00=8B	=00=00=8A	=00=00O	=00=00N	=00=00/	=
 =00=00.	=00=00=16	=00=00=DF=00=00=87=00=00x=00=00q=00=00p=00=00T=00=
 =00;=00=00#=00=00
 X=00=00=FC=07=00=00=E3=07=00=00=E2=07=00=00=BD=07=00=00=A7=07=00=00=99=07=
 =00=00~=07=00=00]=07=00=00C=07=00=00!=07=00=00	=07=00=00=EC=06=00=00=D0=06=
 =00=00=B6=06=00=00=9B=06=00=00=81=06=00=00k=06=00=00O=06=00=00/=06=00=00=16=
 =06=00=00=F6=05=00=00=DE=05=00=00=DD=05=00=00=CB=05=00=00=CA=05=00=00=BE=05=
 =00=00u=05=00=00U=05=00=00T=05=00=00G=05=00=00=1C=05=00=00=1B=05=00=00=0D=
 =05=00=00=F5=04=00=00=C0=04=00=00=81=04=00=00X=04=00=00Q=04=00=00=EC=03=00=
 =00=D3=03=00=00=AF=03=00=00v=03=00=009=03=00=008=03=00=001=03=00=00=01=03=
 =00=00=EA=02=00=00=E9=02=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
 =00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00.include <bsd.port.mk>=00	@=
 ${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}=00.endif=00=00	@${INSTALL_DAT=
 A} ${DOCSDB:S|^|${WRKSRC}/db/|} ${DOCSDIR}/db=00	@${INSTALL_DATA} ${DOCS:S|=
 ^|${WRKSRC}/doc/|} ${DOCSDIR}=00	@${MKDIR} ${DOCSDIR} ${DOCSDIR}/db=00.if !=
 defined(NOPORTDOCS)=00	@PKG_PREFIX=3D${PREFIX} BATCH=3D${BATCH} SU_CMD=3D"$=
 {SU_CMD}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL=00.endif=00		${PREFIX=
 }/etc/rc.d/dnscheck-dispatcher=00	@${INSTALL_SCRIPT} ${WRKSRC}/contrib/dnsc=
 heck-dispatcher.sh \=00# install startup script (if WITH_MYSQL  is defined)=
 =00.if defined(WITH_MYSQL)=00post-install:=00=00	-@${FIND} ${WRKSRC} -name =
 \*.orig -delete=00pre-install:=00=00		-e 's,%%PREFIX%%,${PREFIX},g'=00	@${G=
 REP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \=00post-=
 patch:=00=00MANCOMPRESSED=3D	no=00=00	DNSCheck::Test::Mail.3=00	DNSCheck::L=
 ookup::Resolver.3 \=00	DNSCheck::Test::SOA.3 \=00	DNSCheck::Test::Delegatio=
 n.3 \=00	DNSCheck::Test::Common.3 \=00	DNSCheck::Logger.3 \=00	DNSCheck::Te=
 st::Zone.3 \=00	DNSCheck::Lookup::ASN.3 \=00	DNSCheck::Test::SMTP.3 \=00	DN=
 SCheck::Test::DNSSEC.3 \=00	DNSCheck::Test::Address.3 \=00	DNSCheck::Overvi=
 ew.3 \=00	DNSCheck::Test::Connectivity.3 \=00	DNSCheck::Test::Host.3 \=00	D=
 NSCheck::Test::Consistency.3 \=00	DNSCheck::Lookup::DNS.3 \=00	DNSCheck.3 \=
 =00	DNSCheck::Config.3 \=00MAN3=3D	DNSCheck::Test::Nameserver.3 \=00=00	dns=
 check-12hourmailer.1=00	dnscheck.1 \=00	dnscheck-hostsyntax.1 \=00	dnscheck=
 -preflight.1 \=00	dnscheck-dispatcher.1 \=00MAN1=3D	dnscheck-zonediff.1 \=
 =00=00.endif=00USE_MYSQL=3D	yes=00RUN_DEPENDS+=3D	${SITE_PERL}/${PERL_ARCH}=
 /DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql=00BUILD_DEPENDS+=3D	p5-DBI=
 >=3D0:${PORTSDIR}/databases/p5-DBI=00.if defined(WITH_MYSQL)=00=00.include =
 <bsd.port.options.mk>=00=00OPTIONS=3D	MYSQL "Add MySQL Support (needed for =
 webgui)" off=00=00SUB_FILES=3D	pkg-install pkg-deinstall pkg-message=00PORT=
 DOCS=3D	${DOCS} db=00DOCSDB=3D	indexes.sql schema.sql drop.sql=00DOCS=3D	'D=
 NSCheck Lib Descriptions.pdf' data-flow-batch.png DNSCheck.graffle data-flo=
 w-web.png call-flow.png database-schema.pdf=00DOCSDIR=3D	${PREFIX}/share/do=
 c/DNSCheck=00#=00WRKSRC=3D		${WRKDIR}/engine=00=00CONFIGURE_SCRIPT+=3D	Make=
 file.PL INSTALLSITESCRIPT=3D${PREFIX}/libexec/dnscheck=00PERL_CONFIGURE=3D	=
 yes=00=00		p5-MIME-Lite>=3D0:${PORTSDIR}/mail/p5-MIME-Lite=00		p5-Mail-RFC8=
 22-Address>=3D0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \=00		p5-Text-Templ=
 ate>=3D0:${PORTSDIR}/textproc/p5-Text-Template \=00		p5-YAML>=3D0:${PORTSDI=
 R}/textproc/p5-YAML \=00		p5-Time-HiRes>=3D0:${PORTSDIR}/devel/p5-Time-HiRe=
 s \=00		p5-Sys-Syslog>=3D0:${PORTSDIR}/sysutils/p5-Sys-Syslog \=00		p5-Sock=
 et6>=3D0.19:${PORTSDIR}/net/p5-Socket6 \=00		p5-Net-DNS-SEC>=3D0.15:${PORTS=
 DIR}/dns/p5-Net-DNS-SEC \=00		p5-Net-DNS>=3D0.65:${PORTSDIR}/dns/p5-Net-DNS=
  \=00		p5-IO-Socket-INET6>=3D2.51:${PORTSDIR}/net/p5-IO-Socket-INET6 \=00		=
 p5-Digest-SHA1>=3D0:${PORTSDIR}/security/p5-Digest-SHA1 \=00		p5-Digest-Bub=
 bleBabble>=3D0:${PORTSDIR}/security/p5-Digest-BubbleBabble \=00BUILD_DEPEND=
 S=3D	p5-Crypt-OpenSSL-Random>=3D0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Ran=
 dom \=00=00COMMENT=3D	DNS checker from the folks that run the .SE top level=
  domain=00MAINTAINER=3D	dnscheckengine-port@academ.com=00=00DISTNAME=3D	DNS=
 Check-1.1=00		ftp://www.ns.gen.tx.us/pub/software/dnscheck-se/=00MASTER_SIT=
 ES=3D	http://opensource.iis.se/pub/dnscheck/ \=00CATEGORIES=3D	dns perl5=00=
 PORTVERSION=3D	1.1=00PORTNAME=3D	dnscheckengine=00=00#=00# $FreeBSD$=00#=00=
 # Whom:                dnscheckengine-port@academ.com (Stan Barber)=00# Dat=
 e created:        28 July 2010=00# New ports collection makefile for:  dnsc=
 heckengine=00
 84e8cc237dd5db6cdb58710b5762dd5c
 exit
 
 
 --=-=-=--

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Sun, 22 Aug 2010 21:34:20 -0500

 Acknowledged. I will get back on this tomorrow.
 
 On Aug 22, 2010, at 1:42 PM, ashish@FreeBSD.org (Ashish SHUKLA) wrote:
 
 > Hi Stan,
 >=20
 > There is an installation error on 6.x release. Following is the build =
 log:
 >=20
 > http://people.freebsd.org/~ashish/logs/dnscheckengine-1.1.log
 >=20
 > Can you fix the changes ?
 >=20
 > For your reference the updated shar file is attached.
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =E2=80=9CFew false ideas have more firmly gripped the minds of so many
 > intelligent men than the one that, if they just tried, they could
 > invent a cipher that no one could break.=E2=80=9D (David Kahn, "The
 > Codebreakers", 1967)
 > <dnscheckengine.sh>

From: Stan Barber <sob@academ.com>
To: Ashish SHUKLA <ashish@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148370: new port: dns/checkdns-se, DNS checker from the folks that run the .SE top level domain
Date: Mon, 23 Aug 2010 14:43:15 -0500

 Ok. I know what is causing the problem. It's a difference in how =
 documentation files with spaces in the names were handled under FreeBSD =
 < 7 versus how they are handled now.
 
 As I am not an expert in the differences in how ports worked in FreeBSD =
 6 and now, I don't know an easy fix for this, but I will see if I can =
 hack something together.
 
 On Aug 22, 2010, at 1:42 PM, Ashish SHUKLA wrote:
 
 > Hi Stan,
 >=20
 > There is an installation error on 6.x release. Following is the build =
 log:
 >=20
 > http://people.freebsd.org/~ashish/logs/dnscheckengine-1.1.log
 >=20
 > Can you fix the changes ?
 >=20
 > For your reference the updated shar file is attached.
 >=20
 > Thanks
 > --=20
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 =
 E74F A4B0
 > freebsd.org!ashish | http://people.freebsd.org/~ashish/
 >=20
 > =93Few false ideas have more firmly gripped the minds of so many
 > intelligent men than the one that, if they just tried, they could
 > invent a cipher that no one could break.=94 (David Kahn, "The
 > Codebreakers", 1967)
 > <dnscheckengine.sh>
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/148370: commit references a PR
Date: Wed,  1 Sep 2010 07:16:13 +0000 (UTC)

 ashish      2010-09-01 07:16:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns                  Makefile 
   Added files:
     dns/dnscheckengine   Makefile distinfo pkg-descr pkg-plist 
     dns/dnscheckengine/files patch-apps-dnscheck-dispatcher.pl 
                              patch-contrib_dnscheck-dispatcher.sh 
                              pkg-deinstall.in pkg-install.in 
                              pkg-message.in 
   Log:
   DNSCheck is a program that is designed to help people check, measure and
   hopefully also understand the workings of the Domain Name System. When used to
   check an domain (aka zone) is submitted to DNSCheck, it will investigate the
   general health by performing various tests and sanity checks.
   
   WWW: http://dnscheck.iis.se/
   
   PR:             ports/148370
   Submitted by:   dnscheckengine-port at academ.com (Stan Barber)
   Approved by:    tabthorpe (mentor)
   
   Revision  Changes    Path
   1.119     +1 -0      ports/dns/Makefile
   1.1       +104 -0    ports/dns/dnscheckengine/Makefile (new)
   1.1       +3 -0      ports/dns/dnscheckengine/distinfo (new)
   1.1       +78 -0     ports/dns/dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl (new)
   1.1       +14 -0     ports/dns/dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh (new)
   1.1       +20 -0     ports/dns/dnscheckengine/files/pkg-deinstall.in (new)
   1.1       +18 -0     ports/dns/dnscheckengine/files/pkg-install.in (new)
   1.1       +34 -0     ports/dns/dnscheckengine/files/pkg-message.in (new)
   1.1       +6 -0      ports/dns/dnscheckengine/pkg-descr (new)
   1.1       +40 -0     ports/dns/dnscheckengine/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ashish 
State-Changed-When: Wed Sep 1 07:22:48 UTC 2010 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148370 
>Unformatted:
