From 9d5f7213f5e94b94109861e17db47fd1ead18670 Mon Sep 17 00:00:00 2001 From: sergei Date: Fri, 5 Dec 2003 14:27:03 +0000 Subject: - 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 Approved by: maintainer --- security/flawfinder/Makefile | 18 +++++++++--------- security/flawfinder/distinfo | 2 +- security/flawfinder/pkg-plist | 16 ++++++++++------ 3 files changed, 20 insertions(+), 16 deletions(-) (limited to 'security') 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 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%% -- cgit