Accepting request 825840 from home:mnhauke
Initial package for python-gvm-tools OBS-URL: https://build.opensuse.org/request/show/825840 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gvm-tools?expand=0&rev=1
This commit is contained in:
commit
3379b00be7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
gvm-tools-2.1.0.tar.gz
Normal file
3
gvm-tools-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a368cc47d3bd4ae966b6f9b6cdbf11eee750e1ead8015655a6bf0ed7eafadec7
|
||||
size 74612
|
17
gvm-tools-2.1.0.tar.gz.sig
Normal file
17
gvm-tools-2.1.0.tar.gz.sig
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iQIcBAABAgAGBQJeurI8AAoJEJgj+qYO0eWAUxEP/iewWfPViOGWGYq8PAoEJ1+v
|
||||
EbFrphRHPNEr/hgiYeNtHwZeh2Q/BsMKuDbvu+3sthmlNlAo6muIaOteunNmGkJk
|
||||
MS6Wc+zFwdO/G0pKTxIEMzA+KQDbRu6R3sJbygtfILpNyljUxBzhWOrh9Cq+LdVt
|
||||
taK1IMUmzEUn5IxjH+/G8LgUcZq4+Vzxoz2On34t8+ZxpFvjhwHrYELOYpibkEjo
|
||||
Uvf8nT777Vf0jUIL7HZwpUMPFea40JrCUvry2k/wGK7NesSC74DYWy9p1Zo5C9dT
|
||||
4brGVaG/T/vKMsKcd24OFnLLKodHrdPLWqer3hy36y47N4PxbyGBP4V4og6GiaFh
|
||||
/TgGh1NfiiglF46sAG84kKXJUqPfd2bHyFx/1xlJnyO500Y0m8rGNCE+DJeKM/ZI
|
||||
GjXO249OpSWC9HmGUn1ZXluieFgf8bka7hOOkM0D1hmTGXVxj/NG/PFnX5EixQkT
|
||||
OGgLT4XqUE+1ygaLHZlY1XO7rUmRvxh5kL/4iML+AKePrAo0HhE9AwKPEgbayS1R
|
||||
mHvBn1Nu5TSAqpXZBV+atKD9s5OM9FzfkUdruB1bojVRLt5N5rV5pjOKHJFGU7go
|
||||
ZGEJsuHrgHgnPvTOhcie4uhxaKvfiLw4zqUdM56RgPUfeiZN/nvDdOkw9V4PiTbs
|
||||
uP8wztlMsYGQo2g2fS7U
|
||||
=SaCN
|
||||
-----END PGP SIGNATURE-----
|
29
gvm-tools.keyring
Normal file
29
gvm-tools.keyring
Normal file
@ -0,0 +1,29 @@
|
||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LZHOxqaVLQ9D8RjgdNOg7XL5
|
||||
51YmKCKDSu8BRYNFj0gwQqufQokIZmsRKdG3AxpzN9eZ4EuuhnLZTKv/De1SplnY
|
||||
3OGagDTZIYQAbN/arg2SqTKbXBLVbZcn2jz/szo6PeMW9eSCWY9YtIyfln1trb9W
|
||||
uyc2fHZ1RpcvBGH+Pw8ePG1GUA+MKNdrrHcRBbtsCgRynQNwPdp7aTXwItJ586KV
|
||||
S3uAPk+n5e8aP4PnDztDhRJDnuA2UWY24dXbUqfMVayN+kbB92TMDFBpq6x6ULUl
|
||||
UnjffKk+XoLzr/LjqHEkaPOZ2OK9SjXjd8RPARazHk4hYveSzxCM+OCQBQNvlyVr
|
||||
JLGOtYCVah4rDsiCiDp/mrNwT5NqVaK8yABk/QlE2EakssXxfliAkse6/up1ymLm
|
||||
nuG0KyrrSztoS5YGzyn+ZX9tCZ2L8QDFhjpmkb+1JfDBdAlwdXyBNl0XqKfEp6IU
|
||||
2T+z+0nas6NTqwLJ/QVH5Hn9nKTmfjaFQSsPhvUeN2jatNmgle8UFihBUrw7f0DX
|
||||
xMbJc0howgAT0zg+T3FHINZfmjChlAHbd3B/1crJAeIHnEyVtrcV/dNrc4qXEKNs
|
||||
hrwIQ1cRTJcY
|
||||
=+bJs
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
4
python-gvm-tools.changes
Normal file
4
python-gvm-tools.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 11 08:12:59 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Initial package, version 2.1.0
|
85
python-gvm-tools.spec
Normal file
85
python-gvm-tools.spec
Normal file
@ -0,0 +1,85 @@
|
||||
#
|
||||
# spec file for package python-gvm-tools
|
||||
#
|
||||
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-gvm-tools
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: Tools to control a GSM/GVM over GMP or OSP
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/greenbone/gvm-tools/
|
||||
Source: https://files.pythonhosted.org/packages/source/g/gvm-tools/gvm-tools-%{version}.tar.gz
|
||||
Source98: https://github.com/greenbone/gvm-tools/releases/download/v%{version}/gvm-tools-%{version}.tar.gz.sig
|
||||
Source99: https://www.greenbone.net/GBCommunitySigningKey.asc#/gvm-tools.keyring
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-python-gvm >= 1.4.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-gvm >= 1.4.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The Greenbone Vulnerability Management Tools gvm-tools are a collection
|
||||
of tools that help with remote controlling a Greenbone Security Manager
|
||||
(GSM) appliance and its underlying Greenbone Vulnerability Manager (GVM).
|
||||
The tools aid in accessing the communication protocols GMP (Greenbone
|
||||
Management Protocol) and OSP (Open Scanner Protocol).
|
||||
|
||||
This module is comprised of interactive and non-interactive clients.
|
||||
The programming language Python is supported directly for interactive
|
||||
scripting. But it is also possible to issue remote GMP/OSP commands
|
||||
without programming in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n gvm-tools-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/gvm-cli
|
||||
%python_clone -a %{buildroot}%{_bindir}/gvm-pyshell
|
||||
%python_clone -a %{buildroot}%{_bindir}/gvm-script
|
||||
# Remove tests from sitelib
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative gvm-cli gvm-pyshell gvm-script
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative gvm-cli gvm-pyshell gvm-script
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%python_alternative %{_bindir}/gvm-cli
|
||||
%python_alternative %{_bindir}/gvm-pyshell
|
||||
%python_alternative %{_bindir}/gvm-script
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user