mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 04:04:17 +02:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=gsa
|
|
pkgver=24.4.0
|
|
pkgrel=0
|
|
pkgdesc="Greenbone Security Assistant - The web frontend for the Greenbone Vulnerability Management (GVM) framework "
|
|
url="https://github.com/greenbone/gsa"
|
|
# riscv64: NonErrorEmittedError: (Emitted value instead of an instance of Error) [object Object]
|
|
# armhf, armv7, s390x, x86, ppc64le, loongarch64: rollup module not supported
|
|
# Error: Your current platform "linux" and architecture $arch combination is not yet supported by the native Rollup build
|
|
arch="noarch !armhf !armv7 !riscv64 !s390x !x86 !ppc64le !loongarch64"
|
|
license="AGPL-3.0-or-later"
|
|
options="net !check"
|
|
makedepends="nodejs npm"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gsa/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
rm -rf build
|
|
npm ci
|
|
}
|
|
|
|
build() {
|
|
npm run build
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/gvm/gsad/web/
|
|
cp -r build/* "$pkgdir"/usr/share/gvm/gsad/web/
|
|
}
|
|
|
|
sha512sums="
|
|
b9c9c06927d9ca208d8446fd6067f6f85e776aac41cd93cd2d76258fddb94f46535115120f62ce69105c9d423b6a2e781f4c1a5437e8ef5b13ab5b2f16747dd3 gsa-24.4.0.tar.gz
|
|
"
|