17
0
Files
python-ospd-openvas/python-ospd-openvas.spec
Steve Kowalik bd08a204ef - Update to 22.10.0:
* fail if KDC element has an invalid separation
  * Configuration to Limit KB usage per script
  * make error statement when SMB and KRB5 are defined more clear.
  * remove support for python 3.7 and 3.8
  * set default log level explicitely for test_port_convert
  * Make the alive_test_ports scanner preference visible for the clients.
  * gpg verification failure handling of notus advisories sha256sums
  * adjust the call to stop_scan_cleanup to pass the pid as argument
  * receive the pid as string instead of the psutil.Popen object
  * when sha256sums for notus are missing ignore instead of crash
  * queued scan count
  * ospd-openvas depends on mosquitto MQTT broker
  * Change lock file location in default config file
  * Don't crash if the pid file contains an invalid pid
  * improve handling of malformed severity vectors.
  * qod-type is in advisory not meta-data
  * ospd-feed-preparer to copy recursively for script-dependencies
  * use ~/.gnupg when /etc/openvas/gnupg is not available
  * race condition within daemon and notus
  * Stop and clean finished/running openvas process before resumming a scan
  * enable hash sum verification for notus files
  * Improve handling of unknown scan ids
  * unable to restart container after it was killed
  * Resubscribe when mqtt reconnects
  * Use the agreed default directory for notus advisories
- List directories under sitelib explicitly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ospd-openvas?expand=0&rev=8
2026-01-06 04:23:56 +00:00

91 lines
3.0 KiB
RPMSpec

#
# spec file for package python-ospd-openvas
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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/
#
Name: python-ospd-openvas
Version: 22.10.0
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
Source98: https://github.com/greenbone/ospd-openvas/releases/download/v%{version}/ospd-openvas-v%{version}.tar.gz.asc
Source99: https://www.greenbone.net/GBCommunitySigningKey.asc#/ospd-openvas.keyring
BuildRequires: %{python_module base >= 3.9}
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-core}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-defusedxml >= 0.6
Requires: python-gnupg >= 0.4.8
Requires: python-lxml >= 4.5.2
Requires: python-packaging
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}
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Deprecated >= 1.2.10}
BuildRequires: %{python_module packaging >= 20.4}
BuildRequires: %{python_module psutil >= 5.5.1}
BuildRequires: %{python_module pytest}
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
%pyproject_wheel
%install
%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
%{python_sitelib}/ospd
%{python_sitelib}/ospd_openvas
%{python_sitelib}/ospd_openvas-%{version}.dist-info
%changelog