Port details
rats Source code auditing tool
2.4_1 security Σ =4 2.4_1Version of this port present on the latest quarterly branch. Maintainer: mauroeldritch@gmail.com Port Added: 2001-08-23 06:03:03
Last Update: 2025-07-20 08:53:39
Commit Hash: df880b8
People watching this port, also watch: irssi , gmake , png , gettext , bison Also Listed In: devel
License: GPLv2+
WWW: https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml Description: # 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, 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. ¦ ¦ ¦ ¦
Manual pages: #
pkg-plist: as obtained via: make generate-plist # USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
To install the port : # cd /usr/ports/security/rats/ && make install clean To add the package , run one of these commands: pkg install security/rats pkg install rats NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.PKGNAME: rats Flavors: # there is no flavor information for this port. distinfo: # TIMESTAMP = 1504272826
SHA256 (rats-2.4.tgz) = 2163ad111070542d941c23b98d3da231f13cf065f50f2e4ca40673996570776a
SIZE (rats-2.4.tgz) = 393114
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
gmake>=4.4.1 : devel/gmake
Library dependencies: #
libexpat.so : textproc/expat2
There are no ports dependent upon this port #
Configuration Options : #
===> The following configuration options are available for rats-2.4_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings Options name : #
security_rats USES: #
gmake tar:tgz
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
2.4_1 20 Jul 2025 08:53:39
Zsolt Udvari (uzsolt) Author: Mauro Eldritch
*/*: Take maintainership
Submitter takes maintainership:
security/2fa
security/aws-vault
security/fragroute
security/rats
security/secure_delete
security/smurflog
security/sqlninja
security/ssss
security/wipe
www/cgiwrap
PR: 288339
2.4_1 25 Feb 2024 13:19:53
Muhammad Moinur Rahman (bofh)
security/rats: Moved man to share/man
Approved by: portmgr (blanket)
07 Sep 2022 21:58:51
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
2.4 07 Sep 2022 21:10:59
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
2.4 20 Jul 2022 14:22:56
Tobias C. Berner (tcberner)
security: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net >
* Aaron Dalton <aaron@FreeBSD.org >
* Adam Weinberger <adamw@FreeBSD.org >
* Ade Lovett <ade@FreeBSD.org >
* Aldis Berjoza <aldis@bsdroot.lv >
* Alex Dupre <ale@FreeBSD.org >
* Alex Kapranoff <kappa@rambler-co.ru >
* Alex Samorukov <samm@freebsd.org >
* Alexander Botero-Lowry <alex@foxybanana.com >
* Alexander Kriventsov <avk@vl.ru >
* Alexander Leidinger <netchild@FreeBSD.org > (Only the first 15 lines of the commit message are shown above )
2.4 06 Apr 2021 14:31:07
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
2.4 01 Sep 2017 13:41:09
ehaupt
- Update to 2.4
- Update WWW
2.3_1 08 Dec 2016 17:40:42
tijl
Remove libexpat.so.6 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps. Bump dependent ports that have not
been bumped since.
2.3 01 Apr 2016 14:25:18
mat
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight
2.3 18 Mar 2016 03:10:18
amdmi3
- Add LICENSE
- Switch to options helpers
2.3 13 Nov 2014 10:38:17
antoine
Cleanup plist
2.3 11 Jul 2014 15:13:06
pawel
- Add staging support
- Convert to new LIB_DEPENDS format, options framework
2.3 04 Jul 2014 12:46:11
bapt
Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)
With hat: portmgr
2.3 26 May 2014 12:50:41
miwi
- Convert gmake, bzip2 to USES
Approved by: portmgr
2.3 20 Sep 2013 22:55:26
bapt
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
2.3 03 Jul 2011 14:03:52
ohauer
-remove MD5
2.3 07 Oct 2010 18:31:21
lx
Fix MASTER_SITES and WWW, update maintainer address.
Submitted by: http://people.freebsd.org/~ehaupt/distilator/
2.3 21 Mar 2010 20:08:58
niels
- Update to version 2.3
- Now supports Ruby
Reviewed by: lx (maintainer)
Approved by: itetcu (mentor)
2.1_2 12 Aug 2008 21:06:15
lx
Change from fortifysoftware.com to fortify.com, to avoid getting a 302.
2.1_2 09 Sep 2007 03:39:54
lx
RATS is under new ownership, so change download and WWW info.
PR: ports/116194
Submitted by: bf <bf2006a@yahoo.com >
Approved by: lx
2.1_2 25 May 2006 21:57:24
pav
- Adopt
PR: ports/97860
Submitted by: David Thiel <lx@redundancy.redundancy.org >
2.1_2 30 Jan 2006 23:20:05
kuriyama
Chase shlib bump of libexpat.
2.1_1 25 Nov 2005 18:01:16
pav
- Add SHA256
2.1_1 25 Nov 2005 06:02:46
linimon
Chase URLs per distfile survey.
2.1_1 14 Mar 2004 07:58:26
kuriyama
o Bump $LIB_DEPENDS line to chase expat's shlib version.
o Bump $PORTREVISION.
2.1 29 Jan 2004 16:13:06
trevor
SIZEify.
2.1 12 Jul 2003 10:29:52
kris
Drop maintainership
2.1 07 Mar 2003 06:10:51
ade
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti.
2.1 15 Feb 2003 14:24:08
arved
Add MASTER_SITE_PACKETSTORM as additional mirror
PR: 45396
Submitted by: Jim Geovedi <negative@magnesium.net >
2.1 14 Oct 2002 00:55:09
kris
Update to rats-2.1
2.0 21 Sep 2002 01:55:46
kris
Upgrade to rats-2.0
Submitted by: Bob Fleck <bob@securesoftware.com >
1.5_1 17 Sep 2002 07:41:05
kuriyama
Bump PORTREVISION and expat shlib.
1.5 03 Sep 2002 07:22:47
sobomax
Correct expat shlib version number.
Submitted by: bento
1.5 24 Aug 2002 03:23:37
kris
Update to rats-1.5
Submitted by: Munish Chopra <mchopra@engmail.uwaterloo.ca >
PR: ports/40445
14 Oct 2001 10:28:18
kris
Update to rats 1.3
23 Aug 2001 12:42:48
kris
Remove extraneous distfile hashes
23 Aug 2001 10:07:29
kris
Correct CATEGORIES to "security devel"
23 Aug 2001 10:03:03
kris
Add rats-1.1