git: dd255247aed5 - main - security/py-nvdlib: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 13:46:48 UTC
The branch main has been updated by jadawin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dd255247aed5e15ab78266b8fb22e4a33c216b06
commit dd255247aed5e15ab78266b8fb22e4a33c216b06
Author: Philippe Audeoud <jadawin@FreeBSD.org>
AuthorDate: 2025-06-13 12:40:21 +0000
Commit: Philippe Audeoud <jadawin@FreeBSD.org>
CommitDate: 2025-06-13 12:40:21 +0000
security/py-nvdlib: Add new port
A simple NIST NVD API wrapper library
Sponsored by: OVHCloud
---
security/Makefile | 1 +
security/py-nvdlib/Makefile | 24 ++++++++++++++++++++++++
security/py-nvdlib/distinfo | 3 +++
security/py-nvdlib/pkg-descr | 3 +++
4 files changed, 31 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 4b54b22d01ba..dc0f37cf5530 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -993,6 +993,7 @@
SUBDIR += py-noiseprotocol
SUBDIR += py-notus-scanner
SUBDIR += py-ntlm-auth
+ SUBDIR += py-nvdlib
SUBDIR += py-oauthlib
SUBDIR += py-omemo-dr
SUBDIR += py-onlykey
diff --git a/security/py-nvdlib/Makefile b/security/py-nvdlib/Makefile
new file mode 100644
index 000000000000..ac3254fbc4f1
--- /dev/null
+++ b/security/py-nvdlib/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= nvdlib
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.8.1
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jadawin@FreeBSD.org
+COMMENT= Simple NIST NVD API wrapper library
+WWW= https://github.com/vehemont/nvdlib
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3<3:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= vehemont
+GH_PROJECT= nvdlib
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-nvdlib/distinfo b/security/py-nvdlib/distinfo
new file mode 100644
index 000000000000..e20291d2dc3b
--- /dev/null
+++ b/security/py-nvdlib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749814287
+SHA256 (vehemont-nvdlib-v0.8.1_GH0.tar.gz) = 3ace471f76a47b12f3ed59848aba90f711a78a93d00310230aed9d19f017d57a
+SIZE (vehemont-nvdlib-v0.8.1_GH0.tar.gz) = 545932
diff --git a/security/py-nvdlib/pkg-descr b/security/py-nvdlib/pkg-descr
new file mode 100644
index 000000000000..64c0068ba191
--- /dev/null
+++ b/security/py-nvdlib/pkg-descr
@@ -0,0 +1,3 @@
+NVDlib is a Python library that allows you to interface with the
+NIST National Vulnerability Database (NVD), pull vulnerabilities (CVEs),
+and Common Platform Enumeration (CPEs) into easily accessible objects.