notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
rats Source code auditing tool
2.4_1 security on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.4_1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2001-08-23 06:03:03
Last Update: 2024-02-25 13:19:53
Commit Hash: 538731c
People watching this port, also watch:: expat, popt, zip, irssi, aspell
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/rats-2.4_1/catalog.mk
  2. /usr/local/share/licenses/rats-2.4_1/LICENSE
  3. /usr/local/share/licenses/rats-2.4_1/GPLv2+
  4. bin/rats
  5. share/man/man1/rats.1.gz
  6. share/rats/rats-c.xml
  7. share/rats/rats-openssl.xml
  8. share/rats/rats-perl.xml
  9. share/rats/rats-php.xml
  10. share/rats/rats-python.xml
  11. share/rats/rats-ruby.xml
  12. share/doc/rats/README
  13. @owner
  14. @group
  15. @mode
Collapse this list.
Dependency lines:
  • rats>0:security/rats
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):
rats
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.4_12.4_12.42.4_12.4_1-2.4-
FreeBSD:13:quarterly2.4_12.4_12.42.4_12.4_12.42.42.4
FreeBSD:14:latest2.4_12.4_12.42.4_12.4_12.4-2.4
FreeBSD:14:quarterly2.4_12.4_1-2.4_12.4_12.42.42.4
FreeBSD:15:latest2.4_12.4_1n/a2.4_1n/a2.42.42.4
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
Library dependencies:
  1. 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
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/
Collapse this list.

Number of commits found: 37

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.4_1
25 Feb 2024 13:19:53
commit hash: 538731cf67f99e999783f029e373f2ff0b5dbe1fcommit hash: 538731cf67f99e999783f029e373f2ff0b5dbe1fcommit hash: 538731cf67f99e999783f029e373f2ff0b5dbe1fcommit hash: 538731cf67f99e999783f029e373f2ff0b5dbe1f files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
security/rats: Moved man to share/man

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.4
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
2.4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.4
01 Sep 2017 13:41:09
Revision:449079Original commit files touched by this commit
ehaupt search for other commits by this committer
- Update to 2.4
- Update WWW
2.3_1
08 Dec 2016 17:40:42
Revision:428144Original commit files touched by this commit
tijl search for other commits by this committer
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
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
2.3
18 Mar 2016 03:10:18
Revision:411327Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE
- Switch to options helpers
2.3
13 Nov 2014 10:38:17
Revision:372519Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
2.3
11 Jul 2014 15:13:06
Revision:361546Original commit files touched by this commit
pawel search for other commits by this committer
- Add staging support
- Convert to new LIB_DEPENDS format, options framework
2.3
04 Jul 2014 12:46:11
Revision:360609Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:355321Original commit files touched by this commit Sanity Test Failure
miwi search for other commits by this committer
- Convert gmake, bzip2 to USES

Approved by:	portmgr
2.3
20 Sep 2013 22:55:26
Revision:327769Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
2.3
03 Jul 2011 14:03:52
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
2.3
07 Oct 2010 18:31:21
Original commit files touched by this commit
lx search for other commits by this committer
Fix MASTER_SITES and WWW, update maintainer address.

Submitted by:   http://people.freebsd.org/~ehaupt/distilator/
2.3
21 Mar 2010 20:08:58
Original commit files touched by this commit
niels search for other commits by this committer
- 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
Original commit files touched by this commit
lx search for other commits by this committer
Change from fortifysoftware.com to fortify.com, to avoid getting a 302.
2.1_2
09 Sep 2007 03:39:54
Original commit files touched by this commit
lx search for other commits by this committer
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
Original commit files touched by this commit
pav search for other commits by this committer
- Adopt

PR:             ports/97860
Submitted by:   David Thiel <lx@redundancy.redundancy.org>
2.1_2
30 Jan 2006 23:20:05
Original commit files touched by this commit
kuriyama search for other commits by this committer
Chase shlib bump of libexpat.
2.1_1
25 Nov 2005 18:01:16
Original commit files touched by this commit
pav search for other commits by this committer
- Add SHA256
2.1_1
25 Nov 2005 06:02:46
Original commit files touched by this commit
linimon search for other commits by this committer
Chase URLs per distfile survey.
2.1_1
14 Mar 2004 07:58:26
Original commit files touched by this commit
kuriyama search for other commits by this committer
o Bump $LIB_DEPENDS line to chase expat's shlib version.
o Bump $PORTREVISION.
2.1
29 Jan 2004 16:13:06
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify.
2.1
12 Jul 2003 10:29:52
Original commit files touched by this commit
kris search for other commits by this committer
Drop maintainership
2.1
07 Mar 2003 06:10:51
Original commit files touched by this commit
ade search for other commits by this committer
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
Original commit files touched by this commit
arved search for other commits by this committer
Add MASTER_SITE_PACKETSTORM as additional mirror

PR:             45396
Submitted by:   Jim Geovedi <negative@magnesium.net>
2.1
14 Oct 2002 00:55:09
Original commit files touched by this commit
kris search for other commits by this committer
Update to rats-2.1
2.0
21 Sep 2002 01:55:46
Original commit files touched by this commit
kris search for other commits by this committer
Upgrade to rats-2.0

Submitted by:   Bob Fleck <bob@securesoftware.com>
1.5_1
17 Sep 2002 07:41:05
Original commit files touched by this commit
kuriyama search for other commits by this committer
Bump PORTREVISION and expat shlib.
1.5
03 Sep 2002 07:22:47
Original commit files touched by this commit
sobomax search for other commits by this committer
Correct expat shlib version number.

Submitted by:   bento
1.5
24 Aug 2002 03:23:37
Original commit files touched by this commit
kris search for other commits by this committer
Update to rats-1.5

Submitted by:   Munish Chopra <mchopra@engmail.uwaterloo.ca>
PR:             ports/40445
14 Oct 2001 10:28:18
commit hash: fp1.19671@dev.null.freshports.orgcommit hash: fp1.19671@dev.null.freshports.orgcommit hash: fp1.19671@dev.null.freshports.orgcommit hash: fp1.19671@dev.null.freshports.org files touched by this commit
kris search for other commits by this committer
Update to rats 1.3    
23 Aug 2001 12:42:48
commit hash: fp1.17694@dev.null.freshports.orgcommit hash: fp1.17694@dev.null.freshports.orgcommit hash: fp1.17694@dev.null.freshports.orgcommit hash: fp1.17694@dev.null.freshports.org files touched by this commit
kris search for other commits by this committer
Remove extraneous distfile hashes    
23 Aug 2001 10:07:29
commit hash: fp1.17684@dev.null.freshports.orgcommit hash: fp1.17684@dev.null.freshports.orgcommit hash: fp1.17684@dev.null.freshports.orgcommit hash: fp1.17684@dev.null.freshports.org files touched by this commit
kris search for other commits by this committer
Correct CATEGORIES to "security devel"    
23 Aug 2001 10:03:03
commit hash: fp1.17683@dev.null.freshports.orgcommit hash: fp1.17683@dev.null.freshports.orgcommit hash: fp1.17683@dev.null.freshports.orgcommit hash: fp1.17683@dev.null.freshports.org files touched by this commit
kris search for other commits by this committer
Add rats-1.1    

Number of commits found: 37