Submitted by jsyn <jsyn@nthought.com> --- Flawfinder is a program that can scan code and identify out potential security flaws, ranking them by likely severity. Unlike ITS4, flawfinder is completely open source / free software (it's released under the GPL license). Flawfinder will miss some security problems, and point out issues that aren't really security problems, but nevertheless it can help track down security problems in code so that the code can be fixed.
33 lines
730 B
Makefile
33 lines
730 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/01 07:55:45 shell Exp $
|
|
|
|
COMMENT= "c/c++ source code auditing tool"
|
|
|
|
DISTNAME= flawfinder-0.12
|
|
CATEGORIES= devel security
|
|
NEED_VERSION= 1.413
|
|
|
|
HOMEPAGE= http://www.dwheeler.com/flawfinder/
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.dwheeler.com/flawfinder/
|
|
|
|
RUN_DEPENDS= python2.0::lang/python
|
|
|
|
NO_BUILD= Yes
|
|
|
|
post-patch:
|
|
@perl -pi.orig -e 's|/usr/bin/env |${LOCALBASE}/bin/|' \
|
|
${WRKSRC}/flawfinder
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|