aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2005-09-12 03:18:16 +0000
committerDoug Barton <dougb@FreeBSD.org>2005-09-12 03:18:16 +0000
commitae7664b0f81777fbef2c06c55655aae1f71f87f7 (patch)
tree69ada329f88d29a1887348bd954a3191a10f196b /dns
parent77ef3ab8ac0b8d22c02f0d4c1f8f518b739bb43b (diff)
downloadports-ae7664b0f81777fbef2c06c55655aae1f71f87f7.tar.gz
ports-ae7664b0f81777fbef2c06c55655aae1f71f87f7.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/fpdns/Makefile31
-rw-r--r--dns/fpdns/distinfo8
-rw-r--r--dns/fpdns/pkg-plist4
3 files changed, 21 insertions, 22 deletions
diff --git a/dns/fpdns/Makefile b/dns/fpdns/Makefile
index 1f95881a4fcc..8792a0b42e67 100644
--- a/dns/fpdns/Makefile
+++ b/dns/fpdns/Makefile
@@ -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
-MAN1= fpdns.1
+PERL_CONFIGURE= yes
-PLIST_FILES= bin/fpdns
+MAN1= fpdns.1
.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>
diff --git a/dns/fpdns/distinfo b/dns/fpdns/distinfo
index 9d6406bdd651..4db955b72a59 100644
--- a/dns/fpdns/distinfo
+++ b/dns/fpdns/distinfo
@@ -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
diff --git a/dns/fpdns/pkg-plist b/dns/fpdns/pkg-plist
new file mode 100644
index 000000000000..646cf9f71f09
--- /dev/null
+++ b/dns/fpdns/pkg-plist
@@ -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