diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-27 11:30:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-27 11:30:42 +0100 |
commit | ddb6fbc11e863756a24e1dc866c63dec00eac6fa (patch) | |
tree | 697bafc13819641c0cb81d469945e2a773adca86 /net-analyzer/gsa | |
parent | e466209c898f09389f2308d193286ff62b46c1dc (diff) |
gentoo auto-resync : 27:09:2023 - 11:30:42
Diffstat (limited to 'net-analyzer/gsa')
-rw-r--r-- | net-analyzer/gsa/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/gsa/gsa-22.7.0.ebuild | 49 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-analyzer/gsa/Manifest b/net-analyzer/gsa/Manifest index d513ae1e545a..259df3ce565b 100644 --- a/net-analyzer/gsa/Manifest +++ b/net-analyzer/gsa/Manifest @@ -4,7 +4,10 @@ DIST gsa-22.5.0-node_modules.tar.xz 26394052 BLAKE2B 77e74ccacecd681e846884af463 DIST gsa-22.5.0.tar.gz 3586703 BLAKE2B 33d9f5e32ccc33e4c1d24665bd7ba0819dc22281772c7ebba24d8c82f93bcc21e8b90f3e0666b9ed8846e2a88417f8bf5999619577c15c307485a7ce3243d104 SHA512 2f119f3d8b213cb10abc7b2a25052e943518f8a2c5950f6eb6e5227bf30f7467ddbcf78bbed5f499b96a0bb517c5033f38477f332a14f449b7b04e7b7902843b DIST gsa-22.5.3-node_modules.tar.xz 23161212 BLAKE2B 4bd48e37034cbe8b142392247f7c3231d97bea3d2327833f5d9fbe6b964b5a8f0f61a7d8db0750291fd750fb24bf401e0a6691123e876d76da68810662779df6 SHA512 2863e937bdfad8207a57d03d67f0fb573435845823ce2533fab4002ac25e37903ab21d6e53f272d39bfb900d4793c907d33d56dfe1b88469ad5a4ffcd3201613 DIST gsa-22.5.3.tar.gz 3620562 BLAKE2B 1b2104bea4d5cb39d9faab05e0e6b1ac0b15c6d342f2066808b3b00fb9e4a07efd8d792eeb2ec1507172e3188770ba428ff5d2a913d00db40d28f899bea23d9f SHA512 fb7ee8b65cfac67789fe392c5734ef2267f80a9f6ac42272e02f21b266f7933c06d5aef33bfa1bedf2782016e26ca849a764f7150ecc8cc6fa8d206c6dd1ae71 +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 EBUILD gsa-21.4.4.ebuild 1036 BLAKE2B 9b929e395348dd2ab4eb93a377d23feb32689be41a95df04bde261860081f981349f122256e9f1133e277ed5b9c2e995100ee2e8c5cb4e692f4333877bb3b6d7 SHA512 9fe0def0a89ad904eeb9fe729e4a260ce186e6de1ef1f8cba36700b14bad32c2d37bb8f0f6d857146700dd84dce15747033cec93649b7bbdb3582e7da5be796e EBUILD gsa-22.5.0.ebuild 1228 BLAKE2B be936887cbe2723c0c89003595507cb75db951b116acffc41998ae11b5052b0053ba021ad5390df9e9835dd7341947b1f0895c5f94bbb77e372d592cdf3b94e9 SHA512 d88984e01cb9446d1e202cadedbd679c9741c89326d63997942e2646885373d7b2ceb0c9bd5e3576fae87d684c455cc3ed96d6ba7bc91c07e612deecfe94f436 EBUILD gsa-22.5.3.ebuild 1228 BLAKE2B be936887cbe2723c0c89003595507cb75db951b116acffc41998ae11b5052b0053ba021ad5390df9e9835dd7341947b1f0895c5f94bbb77e372d592cdf3b94e9 SHA512 d88984e01cb9446d1e202cadedbd679c9741c89326d63997942e2646885373d7b2ceb0c9bd5e3576fae87d684c455cc3ed96d6ba7bc91c07e612deecfe94f436 +EBUILD gsa-22.7.0.ebuild 1275 BLAKE2B 6c1d9d0ee047059ec1aa4d25d1acec8473905dd88d7f7e55eb06259cd0df857a2676be3cc31f892dd5b3169e99b3f600d961bb8dd454827475ecd0e6861ca0c5 SHA512 63dd71d381c4650ce2ee4b62ae5d6cfbf793731ca5c397df7261a6ed6c80ea63f912a1d49dc3b5bd238d963eb5a7fce9b75e839624b0d27d280c153e6bf3b923 MISC metadata.xml 971 BLAKE2B 92a5deb08a91782bb2de586d1aa5dde2365748bfab065b310c369cbdab1e468d6ea4ab57df8e0a97a02f8b96613302cd8ec9c878c2ddacdf922fd5973f759643 SHA512 623adaaee62c9c2e27be7a6741edab7a770ab49902eb094bc71711fc822e3108d851fe0420c6744ed9ef91c8da7c57e518c884381e6f3952387c6e2636e46f5e diff --git a/net-analyzer/gsa/gsa-22.7.0.ebuild b/net-analyzer/gsa/gsa-22.7.0.ebuild new file mode 100644 index 000000000000..a45132ee3340 --- /dev/null +++ b/net-analyzer/gsa/gsa-22.7.0.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/* +} |