Package Details: kubescape-bin 3.0.8-1

Git Clone URL: https://aur.archlinux.org/kubescape-bin.git (read-only, click to copy)
Package Base: kubescape-bin
Description: kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by to NSA and CISA
Upstream URL: https://github.com/armosec/kubescape
Licenses: Apache
Provides: kubescape
Submitter: mickaelca
Maintainer: mickaelca
Last Packager: mickaelca
Votes: 2
Popularity: 0.000004
First Submitted: 2021-09-05 01:46 (UTC)
Last Updated: 2024-04-01 11:32 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

mickaelca commented on 2021-10-10 20:46 (UTC)

fixed; thanks :)

ekini commented on 2021-10-10 19:54 (UTC)

Updates are broken because the file always gets downloaded as "kubescape-ubuntu-latest", which breaks the validity check.

Here is an easy patch that fixes it:

From 2c03494b453c7a03a525c3c8742770fca0857eba Mon Sep 17 00:00:00 2001
From: Eugene Dementyev <e@dementyev.me>
Date: Mon, 11 Oct 2021 08:51:20 +1300
Subject: [PATCH] Fixes updating the package

---
 PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 8fbf7bc..770210e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('x86_64')
 url="https://github.com/armosec/kubescape"
 license=("APACHE")
 source=(
-https://github.com/armosec/kubescape/releases/download/v${pkgver}/kubescape-ubuntu-latest
+$pkgname-$pkgver::https://github.com/armosec/kubescape/releases/download/v${pkgver}/kubescape-ubuntu-latest
 )
 sha256sums=(
 ba53653ff2f87e9b0860aee9c0ffca990484fa7e1257316dc5f774272e8ba719
@@ -23,5 +23,5 @@ package () {

   mkdir -p "usr/bin"

-  install -Dm755 "$srcdir/kubescape-ubuntu-latest" "$pkgdir/usr/bin/${provides}"
+  install -Dm755 "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/bin/${provides}"
 }
-- 
2.33.0

(hopefully the formatting works...)

mickaelca commented on 2021-09-22 16:04 (UTC)

Works here

❯ git clone https://aur.archlinux.org/kubescape-bin.git
Cloning into 'kubescape-bin'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 2), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), 2.72 KiB | 2.72 MiB/s, done.
❯ cd kubescape-bin
❯ makepkg
==> Making package: kubescape-bin 1.0.85-1 (Wed 22 Sep 2021 06:03:17 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading kubescape-ubuntu-latest...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   631  100   631    0     0   6044      0 --:--:-- --:--:-- --:--:--  6067
100 39.5M  100 39.5M    0     0  70.3M      0 --:--:-- --:--:-- --:--:--  107M
==> Validating source files with sha256sums...
    kubescape-ubuntu-latest ... Passed
==> Extracting sources...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "kubescape-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: kubescape-bin 1.0.85-1 (Wed 22 Sep 2021 06:03:28 PM CEST)

awoimbee commented on 2021-09-22 15:21 (UTC)

==> Validating source files with sha256sums... kubescape-ubuntu-latest ... FAILED ==> ERROR: One or more files did not pass the validity check! Failed to build kubescape-bin