aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2004-12-14 01:45:52 +0000
committerDoug Barton <dougb@FreeBSD.org>2004-12-14 01:45:52 +0000
commit67c2e2413831351e36adaee16444b93145aab10c (patch)
tree77b14e665651b7827f85d98abd28ee7e13ce5864 /dns
parent738dbaa8abdbb501014f6879255f2eebf3aac18d (diff)
downloadports-67c2e2413831351e36adaee16444b93145aab10c.tar.gz
ports-67c2e2413831351e36adaee16444b93145aab10c.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/fpdns/Makefile20
-rw-r--r--dns/fpdns/distinfo6
-rw-r--r--dns/fpdns/files/patch-fpdns.pl10
-rw-r--r--dns/fpdns/pkg-plist1
4 files changed, 19 insertions, 18 deletions
diff --git a/dns/fpdns/Makefile b/dns/fpdns/Makefile
index fdfcef228308..d2fecd0c6fd8 100644
--- a/dns/fpdns/Makefile
+++ b/dns/fpdns/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= fpdns
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.1
CATEGORIES= dns
MASTER_SITES= http://www.rfc.se/fpdns/distfiles/
-DISTFILES= ${PORTNAME}-${PORTVERSION}.gz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= edwin@mavetju.org
COMMENT= FPDNS - Fingerprinting DNS servers
@@ -18,17 +19,26 @@ WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_PERL5_RUN= 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"
.endif
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/fpdns.pl
+pre-extract:
+ @${MKDIR} ${WRKDIR}
+
+post-patch:
+ @${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
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/fpdns.pl ${PREFIX}/bin/fpdns
+ ${INSTALL_MAN} ${WRKDIR}/fpdns.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>
diff --git a/dns/fpdns/distinfo b/dns/fpdns/distinfo
index 8d635435ef0c..9d6406bdd651 100644
--- a/dns/fpdns/distinfo
+++ b/dns/fpdns/distinfo
@@ -1,2 +1,4 @@
-MD5 (fpdns-0.9.0.gz) = 03c351915aaa654e6dcaa61a69783477
-SIZE (fpdns-0.9.0.gz) = 5393
+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
diff --git a/dns/fpdns/files/patch-fpdns.pl b/dns/fpdns/files/patch-fpdns.pl
deleted file mode 100644
index 80c36846737b..000000000000
--- a/dns/fpdns/files/patch-fpdns.pl
+++ /dev/null
@@ -1,10 +0,0 @@
---- fpdns.pl.orig Sun Jul 4 00:21:01 2004
-+++ fpdns.pl Sun Jul 4 00:21:33 2004
-@@ -461,6 +461,7 @@
- -t time (set query timeout) [5]
- -v (show version)
-
-+See http://www.rfc.se/fpdns/ for more information about $progname.
- EOF
- exit 2;
-
diff --git a/dns/fpdns/pkg-plist b/dns/fpdns/pkg-plist
deleted file mode 100644
index 85ad4b6b67c0..000000000000
--- a/dns/fpdns/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/fpdns