Update flawfinder to 1.26. Don't set PY_PATCHPLIST, as it is useless.

Don't include python/extension.mk, as it is also useless.  Don't set
NO_CONFIGURE, because it makes PYTHON_PATCH_SCRIPTS useless.  Don't set
MAKEFILE, as we don't actually use the included makefile for anything.

Changes since 1.24:
* Added more support for Microsoft's approach to internationalization.
* Added two new rules for GLib functions, "g_get_home_dir" and
  g_get_tmp_dir".
* Added curl_getenv().
* Added several rules for input functions (for -I) -
  recv, recvfrom, recvmsg, fread, and readv.
* Tightened the false positive test slightly; if a name is
  followed by = or - or + it's unlikely to be a function call,
  so it'll be quietly discarded.
* Modified the summary report format slightly.
* Modified the getpass text to remove an extraneous character.
* Added rules for cuserid, getlogin, getpass, mkstemp, getpw, memalign,
  as well as the obsolete functions gsignal, ssignal, ulimit, usleep.
* Modified text for strncat to clarify it.
* Fixed error in --columns format, so that the output is simply
  "filename:linenumber:columnnumber" when --columns (-C) is used.
* Eliminated "Number of" phrase in the footer report
* Added more statistical information to the footer report.
* Added shortcut single-letter commands (-D for --dataonly,
  -Q for --quiet, -C for --columns), so that invoking from
  editors is easier.
* Tries to autoremove some false positives.  In particular, a function
  name followed immediately by "=" (ignoring whitespace)
  is automatically considered to be a variable and NOT a function,
  and thus doesn't register as a hit.  There are exotic cases
  where this won't be correct, but they're pretty unlikely in
  real code.
* Added a "--falsepositive" (-F) option, which tries to remove
  many more likely false positives.
This commit is contained in:
snj 2004-06-23 16:19:41 +00:00
parent 446d85b407
commit 24d928e694
2 changed files with 6 additions and 12 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.8 2004/02/14 14:21:17 wiz Exp $ # $NetBSD: Makefile,v 1.9 2004/06/23 16:19:41 snj Exp $
#
DISTNAME= flawfinder-1.24 DISTNAME= flawfinder-1.26
CATEGORIES= security devel CATEGORIES= security devel
MASTER_SITES= http://www.dwheeler.com/flawfinder/ MASTER_SITES= http://www.dwheeler.com/flawfinder/
@ -9,17 +8,12 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.dwheeler.com/flawfinder/ HOMEPAGE= http://www.dwheeler.com/flawfinder/
COMMENT= Python program to find flaws in C/C++ programs COMMENT= Python program to find flaws in C/C++ programs
PYTHON_PATCH_SCRIPTS= flawfinder
PY_PATCHPLIST= yes
NO_CONFIGURE= # defined
NO_BUILD= # defined NO_BUILD= # defined
MAKEFILE= makefile PYTHON_PATCH_SCRIPTS= flawfinder
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1
.include "../../lang/python/application.mk" .include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.4 2004/02/14 14:21:17 wiz Exp $ $NetBSD: distinfo,v 1.5 2004/06/23 16:19:41 snj Exp $
SHA1 (flawfinder-1.24.tar.gz) = 600e59a113327ad54875ed8a657146613bd59013 SHA1 (flawfinder-1.26.tar.gz) = 18e773dc5b200b3189185fda6e723665f8e4348c
Size (flawfinder-1.24.tar.gz) = 97222 bytes Size (flawfinder-1.26.tar.gz) = 130412 bytes