From 77c98f62c2f08837b340c3f1022017c117b9c327 Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Sat, 14 Oct 2023 16:16:53 +0200 Subject: net-analyzer/gsa: add 22.7.1, drop 22.7.0 Signed-off-by: Giuseppe Foti Closes: https://github.com/gentoo/gentoo/pull/33332 Signed-off-by: Florian Schmaus --- net-analyzer/gsa/Manifest | 4 ++-- net-analyzer/gsa/gsa-22.7.0.ebuild | 49 -------------------------------------- net-analyzer/gsa/gsa-22.7.1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 51 deletions(-) delete mode 100644 net-analyzer/gsa/gsa-22.7.0.ebuild create mode 100644 net-analyzer/gsa/gsa-22.7.1.ebuild (limited to 'net-analyzer/gsa') diff --git a/net-analyzer/gsa/Manifest b/net-analyzer/gsa/Manifest index 85d3f4b8ba23..63a1e52cdb0c 100644 --- a/net-analyzer/gsa/Manifest +++ b/net-analyzer/gsa/Manifest @@ -1,4 +1,4 @@ DIST gsa-21.4.2-node_modules.tar.gz 86572528 BLAKE2B 1aec3d8636241d7cd4ca591133cdadd26d349bf4342ee1595a678871617b4b3a763348a7a0e6d44b50780f330362131d7ba72953a40f53e79b1f9709775999fb SHA512 c44f3822864b9f68cbfe0e4052b2295ab74cb2c429cd9aa667b19b8cfb423c49dc65b1455f785abecdc4329f31b43fe368b0bd5276b4ad95d5fa2e208bb4a4ec DIST gsa-21.4.4.tar.gz 2471442 BLAKE2B b3ac937a87038d93e90223f7c33d087b0dbb043c4fcaa8a00c9d44148e686c064fdcc311899b7b3b4084658d23193bc128fb809f22621583898551f4348ece6f SHA512 5a7b45132a049adf608ccd8988d69a415290cc57d6e7537835a78e19aafb5dfdf204197576f69277726587efaccce189c1ccab55c43e5a0a7855c538b3bc4b67 -DIST gsa-22.7.0.tar.gz 3593214 BLAKE2B 9a9b4969735c8c05c67f490c98a008816ad6602c6a7a7cceaa611783087da63bde5fbeebe42f171e917820f5c7a79b1a486b41f0c945749c737aa3f4f47ec94c SHA512 e9832666c6218b5d8af9e7af5e088f3dc1e12eac0cbc06c1ccaf268e34a377a5892761dc6a41278c5342a30b008a58c10a36a5b10ee955a77bd55d9dfecfbd44 -DIST gsa-node-modules-22.7.0.tar.xz 27964004 BLAKE2B cbc7120763124deb79ddbcb12037ad8a031ef4de972086866a8393fef39c109a30e90d5f6d7948a55aca518c1ebc3ae46c12ad5440bc89002254bec64f5253e7 SHA512 594f0ffce70514bae8334d749f4e690cdb040b81c8a91238e5bbac18088a0866fe8a78be8a323b813cb5c751e69419c80da611ba7f619797dd9b502c320529b4 +DIST gsa-22.7.1.tar.gz 3607415 BLAKE2B eef4d67f7fa5368eac3b0ea74196c16c4a1d9087a5e7e8012f67bb92682a63be85edca5cba2839d7303a2dee593433058b8272916f9876efc8e185fd5d7d9304 SHA512 0716c29197467a4b3443e14cd07f69bc3bf128efd7244fbadb65824294b00f45e249f47b0be7368256fa600e836503b4351caa16696cb313138076f1f40fd38a +DIST gsa-node-modules-22.7.1.tar.xz 27819872 BLAKE2B cb1d7e4bb18f87430f948e18f8eb3e77b3d431475cc007df55041baabce2d855db8295ab90ffafaef4001173e1dbf98916a5d67dcd3dd7672e1caf766c92fa0e SHA512 dac4f2f886e060b1a17f0174851191989e53b78232c9829b7c05da9b05e9eea99b13e458123dd15acdd6be0000d80f964820f766a93ab081fcd27d40f325d68d diff --git a/net-analyzer/gsa/gsa-22.7.0.ebuild b/net-analyzer/gsa/gsa-22.7.0.ebuild deleted file mode 100644 index a45132ee3340..000000000000 --- a/net-analyzer/gsa/gsa-22.7.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_NODE_N="node-modules" -MY_NODE_D="node_modules" -MY_NODE_PV="${PV}" - -DESCRIPTION="Greenbone Security Assistant" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gsa" -SRC_URI=" - https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/greenbone/${PN}/releases/download/v${PV}/${PN}-${MY_NODE_N}-${PV}.tar.xz -" - -SLOT="0" -LICENSE="AGPL-3+" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - >=net-libs/nodejs-14.0.0[ssl] - >=sys-apps/yarn-1.15.2 -" - -MY_NODE_DIR="${S}/${MY_NODE_D}/" - -src_prepare() { - default - # We will use pre-generated npm stuff. - mv "${WORKDIR}/${MY_NODE_D}" "${MY_NODE_DIR}" || die "couldn't move node_modules" - - # Make SVGR not traverse the path up to / looking for a - # configuration file. Fixes - # Error: EACCES: permission denied, open '/.config/svgrrc' - # in case a directory /.config exists, see https://bugs.gentoo.org/909731 - echo "runtimeConfig: false" > .svgrrc.yml || die -} - -src_compile() { - # setting correct PATH for finding react-js - NODE_ENV=production PATH="${PATH}:${MY_NODE_DIR}/.bin/" \ - yarn --offline build || die -} - -src_install() { - insinto "usr/share/gvm/gsad/web" - doins -r build/* -} diff --git a/net-analyzer/gsa/gsa-22.7.1.ebuild b/net-analyzer/gsa/gsa-22.7.1.ebuild new file mode 100644 index 000000000000..a45132ee3340 --- /dev/null +++ b/net-analyzer/gsa/gsa-22.7.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_NODE_N="node-modules" +MY_NODE_D="node_modules" +MY_NODE_PV="${PV}" + +DESCRIPTION="Greenbone Security Assistant" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gsa" +SRC_URI=" + https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/greenbone/${PN}/releases/download/v${PV}/${PN}-${MY_NODE_N}-${PV}.tar.xz +" + +SLOT="0" +LICENSE="AGPL-3+" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + >=net-libs/nodejs-14.0.0[ssl] + >=sys-apps/yarn-1.15.2 +" + +MY_NODE_DIR="${S}/${MY_NODE_D}/" + +src_prepare() { + default + # We will use pre-generated npm stuff. + mv "${WORKDIR}/${MY_NODE_D}" "${MY_NODE_DIR}" || die "couldn't move node_modules" + + # Make SVGR not traverse the path up to / looking for a + # configuration file. Fixes + # Error: EACCES: permission denied, open '/.config/svgrrc' + # in case a directory /.config exists, see https://bugs.gentoo.org/909731 + echo "runtimeConfig: false" > .svgrrc.yml || die +} + +src_compile() { + # setting correct PATH for finding react-js + NODE_ENV=production PATH="${PATH}:${MY_NODE_DIR}/.bin/" \ + yarn --offline build || die +} + +src_install() { + insinto "usr/share/gvm/gsad/web" + doins -r build/* +} -- cgit v1.2.3-65-gdbad