14
0
Files
python-ospd-openvas/python-ospd-openvas.spec

92 lines
3.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-ospd-openvas
#
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ospd-openvas
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
Version: 22.4.5
Release: 0
Summary: An OSP server implementation
License: AGPL-3.0-or-later
URL: https://github.com/greenbone/ospd-openvas
Source: https://github.com/greenbone/ospd-openvas/archive/v%{version}.tar.gz#/ospd-openvas-%{version}.tar.gz
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
Source98: https://github.com/greenbone/ospd-openvas/releases/download/v%{version}/ospd-openvas-%{version}.tar.gz.asc
Source99: https://www.greenbone.net/GBCommunitySigningKey.asc#/ospd-openvas.keyring
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module defusedxml >= 0.6}
BuildRequires: %{python_module gnupg >= 0.4.8}
BuildRequires: %{python_module lxml >= 4.5.2}
BuildRequires: %{python_module paho-mqtt >= 1.5.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module setuptools}
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
Requires: python-defusedxml >= 0.6
Requires: python-gnupg >= 0.4.8
Requires: python-lxml >= 4.5.2
Requires: python-packaging
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
Requires: python-paho-mqtt >= 1.5.1
Requires: python-psutil >= 5.5.1
Requires: python-redis >= 3.5.3
Provides: ospd-openvas = %{version}
Provides: python-ospd = %{version}
Obsoletes: python-ospd < %{version}
BuildArch: noarch
# SECTION test requirements
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
BuildRequires: %{python_module Deprecated >= 1.2.10}
BuildRequires: %{python_module packaging >= 20.4}
BuildRequires: %{python_module psutil >= 5.5.1}
BuildRequires: %{python_module pytest}
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
BuildRequires: %{python_module redis >= 3.5.3}
# /SECTION
%python_subpackages
%description
An OSP server implementation to allow GVM to remotely control OpenVAS.
%prep
%setup -q -n ospd-openvas-%{version}
%build
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
%pyproject_wheel
%install
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/ospd-openvas
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative ospd-openvas
%postun
%python_uninstall_alternative ospd-openvas
%check
%pytest
%files %{python_files}
%license COPYING
%doc CHANGELOG.md README.md
%python_alternative %{_bindir}/ospd-openvas
- update to 22.4.5: Added * Make openvas-scanner option visible for the client (#784) (#791) * Set openvas and nmap caps at container start, with some compose installations docker forgets it. * documentation about new features bd705d3 * documentation and examples for credentials 5b6b668 * description of table_driven_lsc to OSPD_PARAMS ecdb67c * log info for VT update (#619) fc3b80c * possibility to handle redis tcp connections configured in openvas 29373b7 * package_unreliable qod_type to nvti_cache 61a3a35 * use qod_type from advisory when available 47927c7 * possibility to disable advisories hashsum verification 614a2ec * gpg verification for notus (#557) d73d03d * documentation for notus-scanner (#537) 9508f09 * Notus integration (#510) 2f39d2a * notus advisories in get_vts (#518) f78c64a * merge ospd into ospd-openvas 44cc135 * smoke test for get.vts (#513) b3c0b6b Changed * version of the OSP documentation 76d5586 * Allow openvas access raw sockets and network within container 0eefae9 * Extend the <get_version/> cmd and add <check_feed/> cmd (#558) c810de8 * Use poetry as build tool for pip installations #559 f3e42c2 * Handle script timeout as script preferences instead of server preference (#509) af97d06 Bug Fixes * using empty dict as scanner-params instead of returning 404 7850833 * within python 3.9 and higher notus results are missing b42c758 * set to cvss2 when cvss3 is either not present or NULL 2963af4 * check for param to be present in calculate_vts_collection_hash 358456d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=5
2023-01-31 23:13:52 +00:00
%{python_sitelib}/ospd
%{python_sitelib}/ospd_openvas*
%changelog