git: ea327b04cf60 - main - security/py-ospd-openvas: update to 21.4.4

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:44:29 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea327b04cf60b3c1ff5e903171b40c5175ceb524

commit ea327b04cf60b3c1ff5e903171b40c5175ceb524
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-05-22 05:35:17 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-05-22 05:42:13 +0000

    security/py-ospd-openvas: update to 21.4.4
    
    ChangeLog at:   https://github.com/greenbone/ospd-openvas/releases/tag/v21.4.4
---
 security/py-ospd-openvas/Makefile       | 13 ++++--
 security/py-ospd-openvas/distinfo       |  6 +--
 security/py-ospd-openvas/files/setup.py | 58 +++++++++++++++++++++++++
 security/py-ospd-openvas/pkg-plist      | 75 +++++++++++++++++++++++++++++++++
 4 files changed, 145 insertions(+), 7 deletions(-)

diff --git a/security/py-ospd-openvas/Makefile b/security/py-ospd-openvas/Makefile
index 578bf015bd76..8614c3d7e50b 100644
--- a/security/py-ospd-openvas/Makefile
+++ b/security/py-ospd-openvas/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ospd-openvas
-DISTVERSION=	21.4.3
+DISTVERSION=	21.4.4
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security python
 #MASTER_SITES=	CHEESESHOP
@@ -11,18 +11,20 @@ COMMENT=	Scanner wrapper for OSP (Open Scanner Protocol)
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ospd>=0:security/py-ospd@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}deprecated>0:devel/py-deprecated@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
 		openvas:security/openvas
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	greenbone
 GH_PROJECT=	${PORTNAME}
 
-USES=		python:3.6+
+USES=		python:3.8+
 USE_PYTHON=	distutils
 
 NO_ARCH=	yes
@@ -33,6 +35,9 @@ GROUPS=		${USERS}
 USE_RC_SUBR=	${PORTNAME:S/-/_/}
 SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
 
+post-extract:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}
+
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/run/ospd
 
diff --git a/security/py-ospd-openvas/distinfo b/security/py-ospd-openvas/distinfo
index 8bb47adb40ce..bafe81d47be3 100644
--- a/security/py-ospd-openvas/distinfo
+++ b/security/py-ospd-openvas/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635389821
-SHA256 (greenbone-ospd-openvas-v21.4.3_GH0.tar.gz) = e36884f3a4f1824d07e8cfff94e1eaf36c8c0162b4d6d9ae902ddb1ebd1be52d
-SIZE (greenbone-ospd-openvas-v21.4.3_GH0.tar.gz) = 91272
+TIMESTAMP = 1651533145
+SHA256 (greenbone-ospd-openvas-v21.4.4_GH0.tar.gz) = 81d6b498706586c13a08429922f8f194927bc32a60cbdb867ad533e93b67449d
+SIZE (greenbone-ospd-openvas-v21.4.4_GH0.tar.gz) = 173368
diff --git a/security/py-ospd-openvas/files/setup.py b/security/py-ospd-openvas/files/setup.py
new file mode 100644
index 000000000000..ea7960e7d3af
--- /dev/null
+++ b/security/py-ospd-openvas/files/setup.py
@@ -0,0 +1,58 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2014-2021 Greenbone Networks GmbH
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+from setuptools import setup, find_packages
+
+from ospd_openvas import __version__
+
+setup(
+    name='ospd-openvas',
+    version=__version__,
+    packages=find_packages(exclude=['tests*']),
+    url='https://github.com/greenbone/ospd-openvas',
+    author='Greenbone Networks GmbH',
+    author_email='info@greenbone.net',
+    license='AGPLv3+',
+    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
+    classifiers=[
+        # How mature is this project? Common values are
+        # 3 - Alpha
+        # 4 - Beta
+        # 5 - Production/Stable
+        'Development Status :: 5 - Production/Stable',
+        # Indicate who your project is intended for
+        'Intended Audience :: Developers',
+        'Intended Audience :: System Administrators',
+        # Pick your license as you wish (should match "license" above)
+        'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
+        # Specify the Python versions you support here. In particular, ensure
+        # that you indicate whether you support Python 2, Python 3 or both.
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+    ],
+    python_requires='>=3.7',
+    install_requires=[
+        'ospd>=21.4.0',
+        'redis>=3.0.1',
+        'psutil',
+        'packaging',
+    ],
+    entry_points={'console_scripts': ['ospd-openvas=ospd_openvas.daemon:main']},
+    test_suite="tests",
+)
diff --git a/security/py-ospd-openvas/pkg-plist b/security/py-ospd-openvas/pkg-plist
index a47dff5fd3e7..8be59cab7478 100644
--- a/security/py-ospd-openvas/pkg-plist
+++ b/security/py-ospd-openvas/pkg-plist
@@ -1,4 +1,79 @@
 bin/ospd-openvas
+%%PYTHON_SITELIBDIR%%/ospd/__init__.py
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/__version__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/__version__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/config%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/config%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/cvss%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/cvss%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/datapickler%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/datapickler%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/errors%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/errors%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/logger%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/logger%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/main%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/main%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/misc%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/misc%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/network%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/network%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/ospd%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/ospd%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/ospd_ssh%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/ospd_ssh%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/parser%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/parser%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/protocol%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/protocol%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/resultlist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/resultlist%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/scan%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/scan%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/server%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/server%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/timer%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/timer%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/vtfilter%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/vtfilter%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/vts%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/vts%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/xml%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__pycache__/xml%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/__version__.py
+%%PYTHON_SITELIBDIR%%/ospd/command/__init__.py
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/command%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/command%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/initsubclass%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/initsubclass%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/registry%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/__pycache__/registry%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/ospd/command/command.py
+%%PYTHON_SITELIBDIR%%/ospd/command/initsubclass.py
+%%PYTHON_SITELIBDIR%%/ospd/command/registry.py
+%%PYTHON_SITELIBDIR%%/ospd/config.py
+%%PYTHON_SITELIBDIR%%/ospd/cvss.py
+%%PYTHON_SITELIBDIR%%/ospd/datapickler.py
+%%PYTHON_SITELIBDIR%%/ospd/errors.py
+%%PYTHON_SITELIBDIR%%/ospd/logger.py
+%%PYTHON_SITELIBDIR%%/ospd/main.py
+%%PYTHON_SITELIBDIR%%/ospd/misc.py
+%%PYTHON_SITELIBDIR%%/ospd/network.py
+%%PYTHON_SITELIBDIR%%/ospd/ospd.py
+%%PYTHON_SITELIBDIR%%/ospd/ospd_ssh.py
+%%PYTHON_SITELIBDIR%%/ospd/parser.py
+%%PYTHON_SITELIBDIR%%/ospd/protocol.py
+%%PYTHON_SITELIBDIR%%/ospd/resultlist.py
+%%PYTHON_SITELIBDIR%%/ospd/scan.py
+%%PYTHON_SITELIBDIR%%/ospd/server.py
+%%PYTHON_SITELIBDIR%%/ospd/timer.py
+%%PYTHON_SITELIBDIR%%/ospd/vtfilter.py
+%%PYTHON_SITELIBDIR%%/ospd/vts.py
+%%PYTHON_SITELIBDIR%%/ospd/xml.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__init__.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc