mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Update to 0.9.1, the latest version, which includes a man page.
And while I'm here: 1. Download the PGP .sig file, in case the user wants to verify the package 2. Switch to PLIST_FILES for the one file this port installs 3. Replace the lone patch file with a ${SED} command For those keeping score at home, that's 3 inodes gone with one commit! :) Approved by: edwin (maintainer)
This commit is contained in:
parent
738dbaa8ab
commit
67c2e24138
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123977
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -1 +0,0 @@
|
||||
bin/fpdns
|
Loading…
Reference in New Issue
Block a user