Skip to content

Commit

Permalink
security/py-pnu-vuxml: New port: FreeBSD VuXML library and query tool
Browse files Browse the repository at this point in the history
- Submitter becomes maintainer

pnu-vuxml is both a Python command-line tool and a library that can be
used to query or process the FreeBSD VuXML "database" of vulnerable
ports, making it much more user-friendly and useful.

(Dependency of upcomming Port Tree Linter port)

PR:		277766
  • Loading branch information
HubTou authored and nunotexbsd committed Mar 18, 2024
1 parent 22f91cd commit 18be097
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@
SUBDIR += py-pgpdump
SUBDIR += py-pgpy
SUBDIR += py-plaso
SUBDIR += py-pnu-vuxml
SUBDIR += py-potr
SUBDIR += py-pwntools
SUBDIR += py-pyaes
Expand Down
28 changes: 28 additions & 0 deletions security/py-pnu-vuxml/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
PORTNAME= pnu-vuxml
DISTVERSION= 1.2.0
CATEGORIES= security ports-mgmt python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= hubert.tournier@gmail.com
COMMENT= FreeBSD VuXML library and query tool
WWW= https://github.com/HubTou/vuxml

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/License

BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html2text>0:textproc/py-html2text@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pnu-libpnu>=1.3.0:devel/py-pnu-libpnu@${PY_FLAVOR}

USES= python shebangfix
USE_PYTHON= autoplist flavors pep517

SHEBANG_FILES= src/vuxml/*.py

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions security/py-pnu-vuxml/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1710705062
SHA256 (pnu-vuxml-1.2.0.tar.gz) = 5ea18b1902bef0f783718470fc844f47273f511dc04e95fe53fc5cb4f51b76f2
SIZE (pnu-vuxml-1.2.0.tar.gz) = 14300
3 changes: 3 additions & 0 deletions security/py-pnu-vuxml/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pnu-vuxml is both a Python command-line tool and a library that can be
used to query or process the FreeBSD VuXML "database" of vulnerable
ports, making it much more user-friendly and useful.

0 comments on commit 18be097

Please sign in to comment.