Package Details: kubescape 3.0.18-0

Git Clone URL: https://aur.archlinux.org/kubescape.git (read-only, click to copy)
Package Base: kubescape
Description: An open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters.
Upstream URL: https://github.com/kubescape/kubescape
Keywords: devops kubernetes mitre-attack nsa security vulnerability-detection
Licenses: Apache-2.0
Conflicts: kubescape-bin
Provides: kubescape
Submitter: HollowMan6
Maintainer: sven-to
Last Packager: sven-to
Votes: 1
Popularity: 0.000004
First Submitted: 2023-04-11 17:38 (UTC)
Last Updated: 2024-10-17 17:05 (UTC)

Latest Comments

nubzzz commented on 2024-05-02 20:13 (UTC)

I was unable to get this to compile under the latest version of Manjaro. I was able to patch the PKGBUILD to get it to compile though. Below is my patch.

--- PKGBUILD.old    2024-05-02 15:05:35.000000000 -0500
+++ PKGBUILD        2024-05-02 15:05:24.404006612 -0500
@@ -12,11 +12,11 @@
 provides=('kubescape')
 conflicts=('kubescape-bin')
 source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('bd20d1009eb5417b4e9b7bba1548ee7f62f0727006f0f1d377852d0659ea70152ae3b9cf1e0a3e2b770204c3d8fc4853ba940cb007ecb690afc2531af60d38f3'
-  '07d13cfd11396d2c36bc69ef4177e4962596bf92da3604f035a85940f98ae0d3614718b88fc0631c4c7007841a51deebd7da8c570c1c637d9fb5905995837519'
-  '842a648a67ff23ba9e6bf14b706ba9081164866e14000ebf3858442b7046925f05e1dbf00a7d740dc4bf32280e260730e23a9492e817094aa90736ae335ee76e')
+sha512sums=('bd20d1009eb5417b4e9b7bba1548ee7f62f0727006f0f1d377852d0659ea70152ae3b9cf1e0a3e2b770204c3d8fc4853ba940cb007ecb690afc2531af60d38f3')

 build() {
+  cd "${pkgname}-${pkgver}"
+  mkdir -p ${PWD}/cache
   export GOCACHE=${PWD}/cache
   go build -buildmode=pie -buildvcs=false -ldflags="-s -w -X github.com/${pkgname}/${pkgname}/v3/core/cautils.BuildNumber=v${pkgver}" -o ${pkgname}
 }