| Port details |
- py-stix2 Python library to produce and consume STIX 2 JSON content
- 3.0.2 security
=0 2.1.0_1Version of this port present on the latest quarterly branch. - Maintainer: antoine@FreeBSD.org
 - Port Added: 2018-11-24 21:43:48
- Last Update: 2026-04-21 15:47:37
- Commit Hash: 4ebfbd6
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/oasis-open/cti-python-stix2
- Description:
- Python APIs for serializing and de-serializing STIX 2 JSON content, along with
higher-level APIs for common tasks, including data markings, versioning, and for
resolving STIX IDs across multiple data sources.
¦ ¦ ¦ ¦ 
- 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.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}stix2>0:security/py-stix2@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-stix2/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-stix2
- pkg install py311-stix2
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 py311-stix2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-stix2
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1776692614
SHA256 (stix2-3.0.2.tar.gz) = 5bdaf3b7bd956a35b629c62b2c64fde8b2ce6f329b43ce09e12f672956507645
SIZE (stix2-3.0.2.tar.gz) = 141614
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:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pytz>=0,1 : devel/py-pytz@py311
- py311-requests>=0 : www/py-requests@py311
- py311-simplejson>=0 : devel/py-simplejson@py311
- py311-stix2-patterns>=2.1.2 : security/py-stix2-patterns@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_py-stix2
- USES:
- python
- 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 |
3.0.2 21 Apr 2026 15:47:37
    |
Po-Chuan Hsieh (sunpoet)  |
security/py-stix2: Update to 3.0.2
- Change MASTER_SITES to PYPI
- Convert to USE_PYTHON=pep517
Changes: https://github.com/oasis-open/cti-python-stix2/releases
PR: 291071
Approved by: antoine (maintainer) |
2.1.0_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
2.1.0 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
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> |
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.1.0 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.1.0 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.1.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.1.0 01 Dec 2020 14:45:20
  |
antoine  |
Update to 2.1.0 |
2.0.2 26 Jul 2020 09:11:24
  |
antoine  |
Update to 2.0.2 |
1.4.0 04 Apr 2020 11:45:02
  |
antoine  |
Update to 1.4.0 |
1.3.1 07 Mar 2020 12:45:41
  |
antoine  |
Update to 1.3.1 |
1.3.0 28 Jan 2020 11:20:40
  |
antoine  |
Update to 1.3.0 |
1.2.1 19 Oct 2019 20:06:54
  |
antoine  |
Update to 1.2.1 |
1.1.3 28 Aug 2019 14:14:10
  |
antoine  |
Update to 1.1.3 |
1.1.1 27 Jan 2019 21:37:34
  |
antoine  |
Update to 1.1.1 |
1.1.0 20 Dec 2018 19:53:56
  |
antoine  |
Update to 1.1.0 |
1.0.4 24 Nov 2018 21:43:02
  |
antoine  |
New port: security/py-stix2
Python APIs for serializing and de-serializing STIX 2 JSON content, along with
higher-level APIs for common tasks, including data markings, versioning, and for
resolving STIX IDs across multiple data sources.
WWW: https://github.com/oasis-open/cti-python-stix2 |