diff options
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-21.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 b0e8889eeaae..ef5e6ab805ad 100644 --- a/net-analyzer/gvm-tools/Manifest +++ b/net-analyzer/gvm-tools/Manifest @@ -1,5 +1,7 @@ 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 EBUILD gvm-tools-2.0.0-r1.ebuild 1203 BLAKE2B 40af74b0c324424888dde0804dcd5a0682d9d1526d1bfbac089a43d7986d33b14e89b86d4f3dc569a46f55028477d8429f8a6a7971c0b78e9ee2fbc96be19eb4 SHA512 4d38d1bb3893cedcec1bca8d4bc170646383fd50627ba546dc87394882f6eea54fce71e89b1d561f26216b32887b512a27d4e65864cfbdb793ef793429c854bf EBUILD gvm-tools-2.1.0.ebuild 1003 BLAKE2B 52cfc80890f0ec9ad9a47ebca378dcc0ea7171cb3a1fc02847b3b0c5f12a3a5c9063b2f5f7d2357897ad4a65b31fcf85f0ef2f4eaab233a8e79e2f32dcf23012 SHA512 ec6ca139544605318dd9f7d6a518967e329f5b8c40a7293520bf0c1a7067320178369fda6df40a71692639de64dfa9c7623a832e63030f1bf4616d22085ddd79 +EBUILD gvm-tools-21.1.0.ebuild 1044 BLAKE2B 7a4e97ca38c219d2a18648880c802ff6a9efec1686b1f1e0579fffe2a43b7b9dc0274c5b11a3b3573c558bc0edcbe3395e99559cad61bf56fff1060cef92fba2 SHA512 d2c52361515eb45394e7daece00de1309f89a8b124ea42eabf66d6dc1d755640243527d454d2db035e2efeeeab6e5a9e79884601ad301e85980655e8613cc150 MISC metadata.xml 901 BLAKE2B cff38bf64d7b6a7ecd7f5100ec845c5c704fe33734e7e396b11a1fc8814c87121f61b733eca0c467b512be81e70ee20fa1acac75f664b3c1056c3ff94a89c2a0 SHA512 ddfda9b82910c11a826e40d864870ac9cc4de279dc06f7f8e6d7b92af9d9374b11d3d78e2a2e2af35ad3f7712c57e2adaea6f53e88ff3daa3a0d5fb2cb2574f1 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 +} |