Port details |
- py-stix2-patterns Python library to validate STIX 2 Patterns
- 2.0.0 security =2 2.0.0Version of this port present on the latest quarterly branch.
- Maintainer: antoine@FreeBSD.org
- Port Added: 2018-11-24 21:35:24
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/oasis-open/cti-pattern-validator
- Description:
- The STIX 2 Pattern Validator is a software tool for checking the syntax of the
Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
STIX to express conditions (prepresented with the Cyber Observable data model)
that indicate particular cyber threat activity. The repository contains source
code, an ANTLR grammar, automated tests and associated documentation for the
tool. The validator can be used as a command-line tool or as a Python library
which can be included in other applications.
- ¦ ¦ ¦ ¦
- 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}stix2-patterns>0:security/py-stix2-patterns@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-stix2-patterns/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-stix2-patterns
- pkg install py39-stix2-patterns
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-stix2-patterns listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-stix2-patterns
- Package flavors (<flavor>: <package>)
- py39: py39-stix2-patterns
- distinfo:
- TIMESTAMP = 1660724515
SHA256 (oasis-open-cti-pattern-validator-v2.0.0_GH0.tar.gz) = 952cdea1e3c82c582ef37c971b3a4796eb4c38044da04a85c51dc7a95df1235f
SIZE (oasis-open-cti-pattern-validator-v2.0.0_GH0.tar.gz) = 58721
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-antlr4-python3-runtime>=0 : devel/py-antlr4-python3-runtime@py39
- py39-six>=0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- security/py-stix2
Configuration Options:
- No options to configure
- Options name:
- security_py-stix2-patterns
- 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 |
2.0.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.0.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.0.0 17 Aug 2022 08:41:50 |
Antoine Brodin (antoine) |
security/py-stix2-patterns: update to 2.0.0 |
1.3.2 27 Jun 2021 09:44:06 |
Antoine Brodin (antoine) |
security/py-stix2-patterns: update to 1.3.2 |
1.3.1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.3.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.3.1 26 Jul 2020 09:11:03 |
antoine |
Update to 1.3.1 |
1.3.0 07 Mar 2020 12:45:15 |
antoine |
Update to 1.3.0 |
1.2.1 27 Nov 2019 12:09:58 |
antoine |
Update to 1.2.1 |
1.1.0 24 Nov 2018 21:31:54 |
antoine |
New port: security/py-stix2-patterns
The STIX 2 Pattern Validator is a software tool for checking the syntax of the
Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
STIX to express conditions (prepresented with the Cyber Observable data model)
that indicate particular cyber threat activity. The repository contains source
code, an ANTLR grammar, automated tests and associated documentation for the
tool. The validator can be used as a command-line tool or as a Python library
which can be included in other applications.
WWW: https://github.com/oasis-open/cti-pattern-validator |