aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-05 22:27:03 +0800
committersergei <sergei@FreeBSD.org>2003-12-05 22:27:03 +0800
commit9d5f7213f5e94b94109861e17db47fd1ead18670 (patch)
tree82a5300bf4125fc328cc533c825f788d67dc95f2 /security
parent557cc708568366204d76464dd6379d6211db104f (diff)
downloadfreebsd-ports-gnome-9d5f7213f5e94b94109861e17db47fd1ead18670.tar.gz
freebsd-ports-gnome-9d5f7213f5e94b94109861e17db47fd1ead18670.tar.zst
freebsd-ports-gnome-9d5f7213f5e94b94109861e17db47fd1ead18670.zip
- Update to 1.24
While I'm here: - Rearrange MASTER_SITES: PacketStorm mirros do not seem to carry versions later than 1.22 - Install examples to EXAMPLESDIR PR: 59800 Submitted by: Robin Breathe <robin@isometry.net> Approved by: maintainer
Diffstat (limited to 'security')
-rw-r--r--security/flawfinder/Makefile18
-rw-r--r--security/flawfinder/distinfo2
-rw-r--r--security/flawfinder/pkg-plist16
3 files changed, 20 insertions, 16 deletions
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index d35cc304d62b..1e50cdb5ca82 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -7,10 +7,10 @@
#
PORTNAME= flawfinder
-PORTVERSION= 1.22
+PORTVERSION= 1.24
CATEGORIES= security devel
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM} \
- http://www.dwheeler.com/flawfinder/
+MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
+ ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= jim@corebsd.or.id
@@ -19,18 +19,18 @@ COMMENT= Examines source code looking for security weaknesses
USE_PYTHON= yes
NO_BUILD= yes
-MAN1= flawfinder.1
+MAN1= flawfinder.1
+DOCS= ChangeLog README flawfinder.pdf flawfinder.ps
+EXAMPLES= test.c correct-results.html correct-results.txt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${MANPREFIX}/man/man1
-
-post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for i in README flawfinder.pdf flawfinder.ps index.html test.c
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/flawfinder/distinfo b/security/flawfinder/distinfo
index c0f43db7f1f6..6bf20d2f248e 100644
--- a/security/flawfinder/distinfo
+++ b/security/flawfinder/distinfo
@@ -1 +1 @@
-MD5 (flawfinder-1.22.tar.gz) = a6746b5e8b443e777ebd223edae33e6d
+MD5 (flawfinder-1.24.tar.gz) = 85a291ae9bf5a6eec823169057f950df
diff --git a/security/flawfinder/pkg-plist b/security/flawfinder/pkg-plist
index de3235a7058c..d39942b2fdc8 100644
--- a/security/flawfinder/pkg-plist
+++ b/security/flawfinder/pkg-plist
@@ -1,7 +1,11 @@
+@comment $FreeBSD$
bin/flawfinder
-%%PORTDOCS%%share/doc/flawfinder/README
-%%PORTDOCS%%share/doc/flawfinder/flawfinder.pdf
-%%PORTDOCS%%share/doc/flawfinder/flawfinder.ps
-%%PORTDOCS%%share/doc/flawfinder/index.html
-%%PORTDOCS%%share/doc/flawfinder/test.c
-%%PORTDOCS%%@dirrm share/doc/flawfinder
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/flawfinder.pdf
+%%PORTDOCS%%%%DOCSDIR%%/flawfinder.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/correct-results.html
+%%EXAMPLESDIR%%/correct-results.txt
+%%EXAMPLESDIR%%/test.c
+@dirrm %%EXAMPLESDIR%%