smolkit-git
LOW
maintainer Tilltheman
0 votes
scanned 2026-09-11 19:23:32.946823
Why flagged
The package builds from a legitimate project source on GitHub, with a SKIP'd checksum on a patch file; the risk is low as it compiles the project's own code and the patch is visible and minor in nature.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a legitimate project source on GitHub, with a SKIP'd checksum on a patch file; the risk is low as it compiles the project's own code and the patch is visible and minor in nature.
PKGBUILD
1
# Maintainer: Tillmann Severin <tillmann.zipperer@web.de>
2
pkgname=smolkit-git
3
pkgver=r117.46bbfd5
4
pkgrel=1
5
pkgdesc="A low-footprint drop-in replacement for polkit"
6
arch=('x86_64')
7
url="https://github.com/bmwcarit/smolkit"
8
license=('Apache-2.0')
9
groups=()
10
depends=('sdbus-cpp' 'rapidjson' 'glibc' 'systemd-libs' 'libstdc++')
11
makedepends=('git' 'cmake' 'ninja')
12
checkdepends=('gtest' 'python-pytest' 'python-dbus')
13
provides=("${pkgname%-git}")
14
conflicts=("${pkgname%-git}" "polkit")
15
replaces=()
16
backup=()
17
options=()
18
install=
19
source=('git+https://github.com/bmwcarit/smolkit#commit=46bbfd5c922a8d03a534398ee129ded822dfcafe'
20
'0001-Remove-FORTIFY_SOURCE-2-as-arch-uses-FORTIFY_SOURCE-.patch')
21
noextract=()
22
sha256sums=('SKIP' '1a4acc4f4037d8f730e53e45279f7466008f757434350adb689998f9845c4520')
23
24
pkgver() {
25
cd "$srcdir/${pkgname%-git}"
26
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27
}
28
29
prepare() {
30
cd "$srcdir/${pkgname%-git}"
31
patch -p1 -i "$srcdir/0001-Remove-FORTIFY_SOURCE-2-as-arch-uses-FORTIFY_SOURCE-.patch"
32
}
33
34
build() {
35
cd "$srcdir/${pkgname%-git}"
36
cmake -S . -B build -G Ninja
37
cmake --build build
38
}
39
40
check() {
41
cd "$srcdir/${pkgname%-git}"
42
cmake -S . -B build -G Ninja -DBUILD_TESTING=On
43
cmake --build build
44
cd build
45
ctest --output-on-failure
46
}
47
48
package() {
49
cd "$srcdir/${pkgname%-git}"
50
cmake --install "$srcdir/${pkgname%-git}/build" --prefix "$pkgdir"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 19:23:32 | Low | 2 |