pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-nvdlib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 19 01:16:31 UTC 2023

Added Files:
        pkgsrc/security/py-nvdlib: DESCR Makefile PLIST distinfo

Log Message:
security/py-nvdlib: import py-nvdlib-0.7.6

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.

### Features

- Search the NVD for CVEs using all parameters allowed by the NVD
  API (recently updated to utilize version 2 of the API). Including
  search criteria such as CVE publish and modification date, keywords,
  severity, score, or CPE name.
- Search CPE names by keywords, CPE match strings, or modification
  dates. Then pull the CVE ID's that are relevant to those CPEs.
- Retrieve details on individual CVEs, their relevant CPE names,
  and more.
- Built in rate limiting according to NIST NVD recommendations.
  Get an API key to allow for a delay argument to be passed. Otherwise
  it is 6 seconds between requests by default.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-nvdlib/DESCR \
    pkgsrc/security/py-nvdlib/Makefile pkgsrc/security/py-nvdlib/PLIST \
    pkgsrc/security/py-nvdlib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/security/py-nvdlib/DESCR
diff -u /dev/null pkgsrc/security/py-nvdlib/DESCR:1.1
--- /dev/null   Sun Nov 19 01:16:31 2023
+++ pkgsrc/security/py-nvdlib/DESCR     Sun Nov 19 01:16:31 2023
@@ -0,0 +1,18 @@
+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.
+
+### Features
+
+- Search the NVD for CVEs using all parameters allowed by the NVD
+  API (recently updated to utilize version 2 of the API). Including
+  search criteria such as CVE publish and modification date, keywords,
+  severity, score, or CPE name.
+- Search CPE names by keywords, CPE match strings, or modification
+  dates. Then pull the CVE ID's that are relevant to those CPEs.
+- Retrieve details on individual CVEs, their relevant CPE names,
+  and more.
+- Built in rate limiting according to NIST NVD recommendations.
+  Get an API key to allow for a delay argument to be passed. Otherwise
+  it is 6 seconds between requests by default.
Index: pkgsrc/security/py-nvdlib/Makefile
diff -u /dev/null pkgsrc/security/py-nvdlib/Makefile:1.1
--- /dev/null   Sun Nov 19 01:16:31 2023
+++ pkgsrc/security/py-nvdlib/Makefile  Sun Nov 19 01:16:31 2023
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2023/11/19 01:16:31 wiz Exp $
+
+DISTNAME=      nvdlib-0.7.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security python www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=vehemont/}
+GITHUB_PROJECT=        nvdlib
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Vehemont/nvdlib/
+COMMENT=       National Vulnerability Database CPE/CVE API Library for Python
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.24.0:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-responses>=0.18:../../net/py-responses
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-nvdlib/PLIST
diff -u /dev/null pkgsrc/security/py-nvdlib/PLIST:1.1
--- /dev/null   Sun Nov 19 01:16:31 2023
+++ pkgsrc/security/py-nvdlib/PLIST     Sun Nov 19 01:16:31 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/19 01:16:31 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/nvdlib/__init__.py
+${PYSITELIB}/nvdlib/__init__.pyc
+${PYSITELIB}/nvdlib/__init__.pyo
+${PYSITELIB}/nvdlib/classes.py
+${PYSITELIB}/nvdlib/classes.pyc
+${PYSITELIB}/nvdlib/classes.pyo
+${PYSITELIB}/nvdlib/cpe.py
+${PYSITELIB}/nvdlib/cpe.pyc
+${PYSITELIB}/nvdlib/cpe.pyo
+${PYSITELIB}/nvdlib/cve.py
+${PYSITELIB}/nvdlib/cve.pyc
+${PYSITELIB}/nvdlib/cve.pyo
+${PYSITELIB}/nvdlib/get.py
+${PYSITELIB}/nvdlib/get.pyc
+${PYSITELIB}/nvdlib/get.pyo
Index: pkgsrc/security/py-nvdlib/distinfo
diff -u /dev/null pkgsrc/security/py-nvdlib/distinfo:1.1
--- /dev/null   Sun Nov 19 01:16:31 2023
+++ pkgsrc/security/py-nvdlib/distinfo  Sun Nov 19 01:16:31 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/11/19 01:16:31 wiz Exp $
+
+BLAKE2s (nvdlib-0.7.6.tar.gz) = c339d83c027cc423880b7e68bc0ec93ab12bd8ffbd5bf5752b1b6a219e18e535
+SHA512 (nvdlib-0.7.6.tar.gz) = c7cf283b6926bf0ec9d34f1520bc74c410e92f233070cc27796c6ca88154826c665483894114b57a1f58ffb2c479e0d2ef85aeb3c60ae5f5d29b7afc65c679d8
+Size (nvdlib-0.7.6.tar.gz) = 541676 bytes



Home | Main Index | Thread Index | Old Index