diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-analyzer/gvm-tools | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'net-analyzer/gvm-tools')
-rw-r--r-- | net-analyzer/gvm-tools/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/gvm-tools/gvm-tools-2.1.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-analyzer/gvm-tools/Manifest b/net-analyzer/gvm-tools/Manifest index 93d41e847dc6..0b082defcf95 100644 --- a/net-analyzer/gvm-tools/Manifest +++ b/net-analyzer/gvm-tools/Manifest @@ -1,3 +1,5 @@ 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 EBUILD gvm-tools-2.0.0-r1.ebuild 1205 BLAKE2B 4716e02e956dea577f1071ce9c41ea0eced59168f7f3e9db4592f9c03b6789029280ad83eae2d0f4af04da6374d18bea496f027a06e30e5dec8452da298d9d53 SHA512 38c0ffe0852d339fdf8ac0f3140341610e434c43b76490a8356569dedb6ca0d4cc5e937d10b32e5ebb83dce4259195b3092145c033a0d9c210ea317900c778a5 +EBUILD gvm-tools-2.1.0.ebuild 1003 BLAKE2B 52cfc80890f0ec9ad9a47ebca378dcc0ea7171cb3a1fc02847b3b0c5f12a3a5c9063b2f5f7d2357897ad4a65b31fcf85f0ef2f4eaab233a8e79e2f32dcf23012 SHA512 ec6ca139544605318dd9f7d6a518967e329f5b8c40a7293520bf0c1a7067320178369fda6df40a71692639de64dfa9c7623a832e63030f1bf4616d22085ddd79 MISC metadata.xml 871 BLAKE2B 65fdc24c170ca52b75a45f89d0f56447f83ce23f8860af2c87d3bf02178fe637e49fc94005f4383a576728514d78f59f6a62fc9a893b18dfe3bf9ef696738ade SHA512 66e5e2b493223a23276ed57c7685f8a151b4fdd4dfb4854d283c0f82a5b923bcbc2688bb1b9701e7934658a6ecdd0d9e036993f4f18aa5d160b330aec2bb72a5 diff --git a/net-analyzer/gvm-tools/gvm-tools-2.1.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-2.1.0.ebuild new file mode 100644 index 000000000000..233ed23869d6 --- /dev/null +++ b/net-analyzer/gvm-tools/gvm-tools-2.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 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/" +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-1.4.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 +} |