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
py-bandit Tool for finding common security issues in Python code
1.7.8 devel on this many watch lists=0 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 1.7.6Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-01-03 20:40:58
Last Update: 2024-03-12 19:42:10
Commit Hash: 1b5016e
Also Listed In: python security
License: APACHE20
WWW:
https://github.com/PyCQA/bandit
Description:
Bandit is a tool for finding common security issues in Python code. To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Bandit has finished scanning all the files it generates a report.
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
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}bandit>0:devel/py-bandit@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-bandit/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-bandit
  • pkg install py39-bandit
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-bandit listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-bandit
Package flavors (<flavor>: <package>)
  • py39: py39-bandit
distinfo:
TIMESTAMP = 1710197593 SHA256 (bandit-1.7.8.tar.gz) = 36de50f720856ab24a24dbaa5fee2c66050ed97c1477e0a1159deab1775eab6b SIZE (bandit-1.7.8.tar.gz) = 1983678

Packages (timestamps in pop-ups are UTC):
py37-bandit
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.7.0---1.7.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-bandit
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.7.81.7.8-1.7.81.7.8---
FreeBSD:13:quarterly1.7.61.7.61.7.51.7.61.7.81.7.61.7.61.7.6
FreeBSD:14:latest1.7.81.7.81.7.41.7.81.7.81.7.5-1.7.5
FreeBSD:14:quarterly1.7.61.7.8-1.7.61.7.81.7.61.7.61.7.6
FreeBSD:15:latest1.7.81.7.8n/a1.7.7n/a1.7.71.7.71.7.7
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-pbr>=2.0.0 : devel/py-pbr@py39
  2. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  3. python3.9 : lang/python39
Test dependencies:
  1. py39-beautifulsoup>=4.8.0 : www/py-beautifulsoup@py39
  2. py39-coverage>=4.5.4 : devel/py-coverage@py39
  3. py39-fixtures>=3.0.0 : devel/py-fixtures@py39
  4. py39-flake8>=4.0.0 : devel/py-flake8@py39
  5. pylint-py39>=1.9.4 : devel/pylint@py39
  6. py39-testscenarios>=0.5.0 : devel/py-testscenarios@py39
  7. py39-testtools>=2.3.0 : devel/py-testtools@py39
  8. py39-tomli>=1.1.0 : textproc/py-tomli@py39
  9. py39-pytest>=7,1 : devel/py-pytest@py39
  10. python3.9 : lang/python39
Runtime dependencies:
  1. py39-colorama>=0.3.9 : devel/py-colorama@py39
  2. py39-gitpython>=3.1.30 : devel/py-gitpython@py39
  3. py39-rich>0 : textproc/py-rich@py39
  4. py39-stevedore>=1.20.0 : devel/py-stevedore@py39
  5. py39-yaml>=5.3.1 : devel/py-yaml@py39
  6. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  7. python3.9 : lang/python39
This port is required by:
for Run
  1. devel/py-prospector

Configuration Options:
No options to configure
Options name:
devel_py-bandit
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/b/bandit/
  2. https://pypi.org/packages/source/b/bandit/
Collapse this list.

Number of commits found: 31

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.8
12 Mar 2024 19:42:10
commit hash: 1b5016ebf973ab34537436258f5888b31d265231commit hash: 1b5016ebf973ab34537436258f5888b31d265231commit hash: 1b5016ebf973ab34537436258f5888b31d265231commit hash: 1b5016ebf973ab34537436258f5888b31d265231 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: update 1.7.7 → 1.7.8

Reported by:	portscout
1.7.7
24 Jan 2024 08:25:57
commit hash: 38d3f364e71cb900efc8f42bf193ff61577fcb2dcommit hash: 38d3f364e71cb900efc8f42bf193ff61577fcb2dcommit hash: 38d3f364e71cb900efc8f42bf193ff61577fcb2dcommit hash: 38d3f364e71cb900efc8f42bf193ff61577fcb2d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: update 1.7.6 → 1.7.7

Reported by:	portscout
1.7.6
23 Dec 2023 22:57:29
commit hash: e396fb2982fbb6fa5abe6269eb9ee39fd3d0a417commit hash: e396fb2982fbb6fa5abe6269eb9ee39fd3d0a417commit hash: e396fb2982fbb6fa5abe6269eb9ee39fd3d0a417commit hash: e396fb2982fbb6fa5abe6269eb9ee39fd3d0a417 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: update 1.7.5 → 1.7.6

Reported by:	portscout
1.7.5
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
1.7.5
11 Mar 2023 09:16:15
commit hash: 2fca152511bb0d80b5ce876728a5e00a8c7d4562commit hash: 2fca152511bb0d80b5ce876728a5e00a8c7d4562commit hash: 2fca152511bb0d80b5ce876728a5e00a8c7d4562commit hash: 2fca152511bb0d80b5ce876728a5e00a8c7d4562 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: Update 1.7.4 → 1.7.5

Reported by:	portscout
1.7.4
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
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)
1.7.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)
1.7.4
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.7.4
24 Apr 2022 01:45:31
commit hash: 10b81897eea77daaba0378fdfb78156dddc39d20commit hash: 10b81897eea77daaba0378fdfb78156dddc39d20commit hash: 10b81897eea77daaba0378fdfb78156dddc39d20commit hash: 10b81897eea77daaba0378fdfb78156dddc39d20 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: Update 1.7.1 -> 1.7.4

Reported by:	portscout
1.7.1
13 Nov 2021 21:59:23
commit hash: 05f08f55dc980fd69932b205b8d5bf5bc95e60a5commit hash: 05f08f55dc980fd69932b205b8d5bf5bc95e60a5commit hash: 05f08f55dc980fd69932b205b8d5bf5bc95e60a5commit hash: 05f08f55dc980fd69932b205b8d5bf5bc95e60a5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-bandit: Update 1.7.0 -> 1.7.1

Reported by:	portscout
1.7.0_1
29 Apr 2021 17:53:44
commit hash: 5c99e255148f3ae5601582c3dc3dd08222dd43e6commit hash: 5c99e255148f3ae5601582c3dc3dd08222dd43e6commit hash: 5c99e255148f3ae5601582c3dc3dd08222dd43e6commit hash: 5c99e255148f3ae5601582c3dc3dd08222dd43e6 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
Unbreak ports after devel/py-gitpython's PORTNAME change

PR: 		255489
Fixes:		f133c410c6d97254810f4f0fbd329e42b9eaf3a1
Approved by:	lwhsu, portmgr (blanket)
Differential Revision:	https://reviews.freebsd.org/D30039
1.7.0
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.
1.7.0
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.7.0
21 Dec 2020 01:30:39
Revision:558789Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.6.2 -> 1.7.0
1.6.2
27 Jul 2019 07:06:39
Revision:507391Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.6.1 -> 1.6.2

Reported by:	repology
1.6.1
20 Jun 2019 03:29:12
Revision:504613Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.6.0 -> 1.6.1

Reported by:	portscout
1.6.0
11 May 2019 03:51:27
Revision:501218Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.5.1 -> 1.6.0

Reported by:	portscout
1.5.1
09 Sep 2018 16:59:01
Revision:479308Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.5.0 -> 1.5.1

Reported by:	portscout
1.5.0
18 Aug 2018 07:13:22
Revision:477481Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-bandit: Update 1.4.0 -> 1.5.0

Reported by:	portscout
1.4.0
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
1.4.0
25 Feb 2018 00:40:37
Revision:462887Original commit files touched by this commit
yuri search for other commits by this committer
Replaced my old rawbw.com maintainer's address with yuri@FreeBSD.org

98 ports are affected.

Approved by:	tcberner (mentor, implicit)
1.4.0
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4.0
06 Feb 2017 20:15:17
Revision:433514Original commit files touched by this commit
olivierd search for other commits by this committer
Update to 1.4.0

PR:		216709
Submitted by:	Yuri Victorovich (maintainer)
1.3.0
03 Dec 2016 17:23:53
Revision:427628Original commit files touched by this commit
olivierd search for other commits by this committer
Update to 1.3.0

PR:		215022
Submitted by:	Yuri Victorovich (maintainer)
1.2.0
20 Nov 2016 16:02:08
Revision:426600Original commit files touched by this commit
olivierd search for other commits by this committer
Update to 1.2.0

PR:		214662
Submitted by:	Yuri Victorovich (maintainer)
1.1.0
18 Aug 2016 09:32:33
Revision:420393Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 1.1.0

PR:		211915
Submitted by:	yuri@rawbw.com (maintainer)
1.0.1
20 May 2016 17:48:22
Revision:415565Original commit files touched by this commit
pi search for other commits by this committer
devel/py-bandit: 0.17.3 -> 1.0.1

- Adding accurate docs for new bandit config
- Fixing a bug exposed with try, except, ... tests
- Ensure error exit codes fail integrations
- Calm down try,except,pass and try,except,continue
- Normalizing & editing command-line help text
- Added try_except_continue plugin
- Adding test IDs to test doc titles
- Fixing documentation for hardcoded password tests
- Delete the config, we dont need it now and its also invalid
- Improving config handling
- Blacklists now check node types are valid
- Fix OpenStack coverage tool
- Moving test summary to end of screen results
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.17.3
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.17.3
02 Mar 2016 22:49:05
Revision:409977Original commit files touched by this commit
rakuco search for other commits by this committer
Update to 0.17.3.

PR:		207650
Submitted by:	yuri@rawbw.com (maintainer)
0.16.1
03 Jan 2016 20:40:50
Revision:405184Original commit files touched by this commit
pi search for other commits by this committer
New port: devel/py-bandit

Bandit is a tool for finding common security issues in Python code.
To do this Bandit processes each file, builds an AST from it, and runs
appropriate plugins against the AST nodes. Once Bandit has finished scanning
all the files it generates a report.

WWW: https://github.com/stackforge/bandit

PR:		201386
Submitted by:	yuri@rawbw.com
Reviewed by:	koobs

Number of commits found: 31