SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

35
devel/rats/Makefile Normal file
View file

@ -0,0 +1,35 @@
COMMENT= source code auditing tool
DISTNAME= rats-2.4
EXTRACT_SUFX= .tgz
CATEGORIES= devel security
# was https://www.fortify.com/ssa-elements/threat-intelligence/rats.html
HOMEPAGE= https://github.com/andrew-d/rough-auditing-tool-for-security
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB += c expat
MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/
FIX_CRLF_FILES= *
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --libdir=${WRKINST}${PREFIX}/share/rats \
--datadir=${WRKINST}${PREFIX}/share/rats
MAKE_FLAGS= CFLAGS='${CFLAGS} \
-DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \
-DDATADIR=\"${LOCALBASE}/share/rats\"'
ALL_TARGET= rats
NO_TEST= Yes
USE_GMAKE= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
.include <bsd.port.mk>

2
devel/rats/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (rats-2.4.tgz) = IWOtERBwVC2UHCO5jT2iMfE88GX1Dy5MpAZzmWVwd2o=
SIZE (rats-2.4.tgz) = 393114

10
devel/rats/pkg/DESCR Normal file
View file

@ -0,0 +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, 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.

11
devel/rats/pkg/PLIST Normal file
View file

@ -0,0 +1,11 @@
@bin bin/rats
@man man/man1/rats.1
share/doc/rats/
share/doc/rats/README
share/rats/
share/rats/rats-c.xml
share/rats/rats-openssl.xml
share/rats/rats-perl.xml
share/rats/rats-php.xml
share/rats/rats-python.xml
share/rats/rats-ruby.xml