1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Take over maintainership, approved by edwin (old maintainer).

Update to the latest, 0.9.3. This version moves to a more typical
Perl-style Makefile.PL structure, and splits the functionality into
a library and a binary. This necessitates changes to the port structure,
including re-adding the pkg-plist file.

While I'm here, make portlint happy with the IGNORE statement.
This commit is contained in:
Doug Barton 2005-09-12 03:18:16 +00:00
parent 77ef3ab8ac
commit ae7664b0f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142498
3 changed files with 21 additions and 22 deletions

View File

@ -6,40 +6,35 @@
#
PORTNAME= fpdns
PORTVERSION= 0.9.1
CATEGORIES= dns
PORTVERSION= 0.9.3
CATEGORIES= dns net perl5
MASTER_SITES= http://www.rfc.se/fpdns/distfiles/
DISTNAME= Net-DNS-Fingerprint-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= edwin@mavetju.org
MAINTAINER= DougB@FreeBSD.org
COMMENT= FPDNS - Fingerprinting DNS servers
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_PERL5_RUN= yes
PERL_CONFIGURE= yes
MAN1= fpdns.1
PLIST_FILES= bin/fpdns
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Requires at least Perl version 5.6.0"
IGNORE= Requires at least Perl version 5.6.0
.endif
pre-extract:
@${MKDIR} ${WRKDIR}
post-patch:
file= ${WRKSRC}/blib/man1/fpdns.1
post-build:
@${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
${WRKDIR}/fpdns.1 > ${WRKDIR}/fpdns.1.sed
@${MV} ${WRKDIR}/fpdns.1.sed ${WRKDIR}/fpdns.1
${file} > ${file}.sed
@${MV} ${file}.sed ${file}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/fpdns.pl ${PREFIX}/bin/fpdns
${INSTALL_MAN} ${WRKDIR}/fpdns.1 ${PREFIX}/man/man1
post-install:
${RM} ${SITE_PERL}/${PERL_ARCH}/auto/Net/DNS/Fingerprint/.packlist
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
MD5 (fpdns-0.9.1.tar.gz) = 731498ff6f2aab274b414ca60a22aacb
SIZE (fpdns-0.9.1.tar.gz) = 8583
MD5 (fpdns-0.9.1.tar.gz.sig) = 9991d049d2f710d61207f62bd866e846
SIZE (fpdns-0.9.1.tar.gz.sig) = 72
MD5 (Net-DNS-Fingerprint-0.9.3.tar.gz) = 16f1fbc9e5c8b935a0a48a509dc58899
SIZE (Net-DNS-Fingerprint-0.9.3.tar.gz) = 10476
MD5 (Net-DNS-Fingerprint-0.9.3.tar.gz.sig) = 421b0b767b2a343229e184549f0da19d
SIZE (Net-DNS-Fingerprint-0.9.3.tar.gz.sig) = 65

4
dns/fpdns/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/fpdns
%%SITE_PERL%%/Net/DNS/Fingerprint.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/Fingerprint
@dirrm %%SITE_PERL%%/Net/DNS