tweaks taken from Antti Harri's diff:

- correct GPL version number
- drop maintainer, Antti discussed this with jsyn@ some time ago
- no need for groff
- mention Ruby in DESCR, reformat
This commit is contained in:
sthen 2011-12-19 22:35:34 +00:00
parent 4a86b02949
commit 2311980f29
2 changed files with 17 additions and 18 deletions

View File

@ -1,25 +1,23 @@
# $OpenBSD: Makefile,v 1.20 2011/12/19 22:28:59 rpointel Exp $
# $OpenBSD: Makefile,v 1.21 2011/12/19 22:35:34 sthen Exp $
COMMENT= source code auditing tool
DISTNAME= rats-2.3
CATEGORIES= devel security
REVISION= 0
CATEGORIES= devel security
HOMEPAGE= https://www.fortify.com/ssa-elements/threat-intelligence/rats.html
MAINTAINER= Jason Peel <jsyn@openbsd.org>
# GPL
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c expat
WANTLIB += c expat
MASTER_SITES= https://www.fortify.com/downloads2/public/
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --libdir=${WRKINST}${PREFIX}/share/rats \
--datadir=${WRKINST}${PREFIX}/share/rats
@ -28,8 +26,8 @@ MAKE_FLAGS= CFLAGS='${CFLAGS} \
-DDATADIR=\"${LOCALBASE}/share/rats\"'
ALL_TARGET= rats
USE_GROFF = Yes
NO_REGRESS= Yes
USE_GMAKE= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats

View File

@ -1,9 +1,10 @@
This is RATS, a rough auditing tool for security, developed by
Secure Software Solutions. It is a tool for scanning source code
(C, C++, Perl, PHP, and Python) and flagging common security related
programming errors such as buffer overflows and TOCTOU (Time Of
Check, Time Of Use) race conditions. As its name implies, the tool
performs only a rough analysis of source code. It will not find
every error and will also find things that are not errors. Manual
inspection of your code is still necessary, but greatly aided with
this tool.
This is RATS, a rough auditing tool for security, developed by Secure
Software Solutions. It is a tool for scanning source code (C, C++, Perl,
PHP, Ruby and Python) and flagging common security related programming
errors such as buffer overflows and TOCTOU (Time Of Check, Time Of Use)
race conditions.
As its name implies, the tool performs only a rough analysis of source
code. It will not find every error and will also find things that are
not errors. Manual inspection of your code is still necessary, but
greatly aided with this tool.