diff options
author | Jonas Licht <jonas.licht@fem.tu-ilmenau.de> | 2021-03-18 23:24:29 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-22 15:33:55 +0200 |
commit | c800efd3121eac60394703d20e683d4544eb7e26 (patch) | |
tree | b611b0f84ae0b88074c1bbd792abae7c5552fd0f /net-analyzer/gvm-tools | |
parent | net-analyzer/python-gvm: version bump to 21.1.3 (diff) | |
download | gentoo-c800efd3121eac60394703d20e683d4544eb7e26.tar.gz gentoo-c800efd3121eac60394703d20e683d4544eb7e26.tar.bz2 gentoo-c800efd3121eac60394703d20e683d4544eb7e26.zip |
net-analyzer/gvm-tools: version bump to 21.1.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/gvm-tools')
-rw-r--r-- | net-analyzer/gvm-tools/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/gvm-tools/Manifest b/net-analyzer/gvm-tools/Manifest index c1bb1f18ae10..0d1e3086dfdc 100644 --- a/net-analyzer/gvm-tools/Manifest +++ b/net-analyzer/gvm-tools/Manifest @@ -1,2 +1,3 @@ DIST gvm-tools-2.0.0.tar.gz 114592 BLAKE2B 73532138f4153ce625e68d4feb477bea4504be910266d6dac113caff1da096bc6072649ddc456b3348e1aba79c9b7e147ba019a70e4163267c474850019a076e SHA512 0adf7e06b1208c91fbc02dab42593280c95f6572e27d96d6f8777d710747a9e427c79678d9aef785b7ecd6d4fd30e79a1c063fe4256025ac0616c1d242f45025 DIST gvm-tools-2.1.0.tar.gz 128144 BLAKE2B d9dd1857446912bd26a0b5efa38cc34c77bfe9959aaa9ab42ea8518ef9231e5877317319ac8e924b14a5382c80cb00c70d0413635506355eb111b84b5715bf4e SHA512 80933ab8303c1ff77451a9fafd9331b6a0b4c3ae40c4ea318171b6b9e969fb6f20c6970d021a14db1bf8ff816c7f779e2eb750bf84f9093055273f58ad04cda2 +DIST gvm-tools-21.1.0.tar.gz 147382 BLAKE2B e7e4bd2e552d07790a21df5eba8370a0b7ae38e2960a53ece98572ac17b258cf7d74e0f1c0fd53382d9b97f18a43bcc6acecbdf861ea871602d72cfeb3c0b407 SHA512 4a02d84045642d018a52e0a17d9a4b683108e1140c512daed48403e56e996dd2487ffe914bc2fbf454c244c51500cff5a934e43feee18f76088ba1912ef84c3f diff --git a/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild new file mode 100644 index 000000000000..b5ee35fcc16b --- /dev/null +++ b/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +inherit distutils-r1 + +DESCRIPTION="Remote control for Greenbone Vulnerability Manager, previously named openvas-cli" +HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/gvm-tools/" +SRC_URI="https://github.com/greenbone/gvm-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=net-analyzer/python-gvm-20.0.0[${PYTHON_USEDEP}] + !net-analyzer/openvas-cli + !net-analyzer/openvas-tools" + +DEPEND=" + ${RDEPEND}" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # Fixing tests + # Use correct socket path + sed -i "s/\/usr\/local\/var\/run\/gvmd.sock/\/var\/run\/gvmd.sock/g" tests/test_parser.py || die + # ignore help formating + sed -i "s/class HelpFormatting/@unittest.skip('ignoring help formatting')\nclass HelpFormatting/g" tests/test_parser.py || die +} |