sofka
MEDIUM
maintainer fuero
1 votes
scanned 2026-10-20 01:27:05.507443
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: fuero <fuerob@gmail.com>
2
pkgname=sofka
3
# renovate: datasource=github-releases depName=nklmilojevic/sofka
4
pkgver=0.31.13
5
pkgrel=1
6
pkgdesc='Kubernetes TUI, reimagined in Rust'
7
url='https://github.com/nklmilojevic/sofka'
8
license=('Apache-2.0' 'MIT')
9
makedepends=('cargo' 'clang')
10
depends=('glibc' 'libgcc')
11
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
12
source=(
13
"${pkgname}-${pkgver}.tar.gz::https://static.crates.io/crates/${pkgname}/${pkgname}-${pkgver}.crate"
14
cc-wrapper.sh
15
)
16
sha256sums=('cc693491932fd4d5173039de5ebdc7b36126cab8001e53928dcbcced721e8623'
17
'5cb813a99ae932d5e1273a3a4f7d109c4db9e1dd1b406512c50862a00279f1f0')
18
19
prepare() {
20
export RUSTUP_TOOLCHAIN=stable
21
cd "${pkgname}-${pkgver}"
22
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
23
}
24
25
build() {
26
export RUSTUP_TOOLCHAIN=stable
27
export CARGO_TARGET_DIR=target
28
cd "${pkgname}-${pkgver}"
29
# aws-lc-sys-0.45.0/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c:47:3: error: "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
30
# cargo:warning= 47 | #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
31
export CC=${srcdir}/cc-wrapper.sh ORIG_CC=clang
32
cargo build --frozen --release
33
}
34
35
check() {
36
export RUSTUP_TOOLCHAIN=stable
37
cd "${pkgname}-${pkgver}"
38
export CC=${srcdir}/cc-wrapper.sh ORIG_CC=clang
39
RUST_BACKTRACE=1 LANG=C LC_ALL=C cargo test --frozen
40
}
41
42
package() {
43
cd "${pkgname}-${pkgver}"
44
install -Dm0755 -t "${pkgdir}/usr/bin/" "target/release/${pkgname}"
45
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" *.md docs/*.md
46
install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
47
install -Dm644 LICENSE-APACHE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
48
}
49
Changes since previous scan
--- PKGBUILD @ 2026-10-19 00:03+++ PKGBUILD @ 2026-10-20 01:27@@ -1,7 +1,7 @@ # Maintainer: fuero <fuerob@gmail.com> pkgname=sofka # renovate: datasource=github-releases depName=nklmilojevic/sofka-pkgver=0.31.10+pkgver=0.31.13 pkgrel=1 pkgdesc='Kubernetes TUI, reimagined in Rust' url='https://github.com/nklmilojevic/sofka'@@ -13,7 +13,7 @@ "${pkgname}-${pkgver}.tar.gz::https://static.crates.io/crates/${pkgname}/${pkgname}-${pkgver}.crate" cc-wrapper.sh )-sha256sums=('07e04dd63afd426d489c4ca71ef2bd586ba89d20fe38202949a88f5c487e9d56'+sha256sums=('cc693491932fd4d5173039de5ebdc7b36126cab8001e53928dcbcced721e8623' '5cb813a99ae932d5e1273a3a4f7d109c4db9e1dd1b406512c50862a00279f1f0') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 01:27:05 | Medium | 1 |
| 2026-10-19 00:03:55 | Clean | 2 |
| 2026-10-18 13:22:09 | Medium | 1 |
| 2026-10-18 00:06:55 | Clean | 2 |
| 2026-10-17 17:19:05 | Medium | 1 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 01:21:20 | Medium | 1 |
| 2026-10-14 00:06:47 | Clean | 2 |
| 2026-10-13 03:15:27 | Medium | 1 |
| 2026-10-13 00:23:45 | Clean | 2 |
| 2026-10-12 01:11:47 | Medium | 2 |
| 2026-10-12 00:18:51 | Clean | 3 |
| 2026-10-11 02:16:32 | Medium | 2 |
| 2026-10-11 00:26:05 | Clean | 3 |
| 2026-10-10 14:14:18 | Medium | 2 |
| 2026-10-10 00:11:52 | Clean | 3 |
| 2026-10-09 02:10:17 | Medium | 2 |
| 2026-10-09 00:10:12 | Medium | 2 |
| 2026-10-07 00:21:34 | Clean | 3 |