smolkit-git

LOW
maintainer Tilltheman 0 votes scanned 2026-09-11 19:23:32.946823
View on AUR
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>
2pkgname=smolkit-git
3pkgver=r117.46bbfd5
4pkgrel=1
5pkgdesc="A low-footprint drop-in replacement for polkit"
6arch=('x86_64')
7url="https://github.com/bmwcarit/smolkit"
8license=('Apache-2.0')
9groups=()
10depends=('sdbus-cpp' 'rapidjson' 'glibc' 'systemd-libs' 'libstdc++')
11makedepends=('git' 'cmake' 'ninja')
12checkdepends=('gtest' 'python-pytest' 'python-dbus')
13provides=("${pkgname%-git}")
14conflicts=("${pkgname%-git}" "polkit")
15replaces=()
16backup=()
17options=()
18install=
19source=('git+https://github.com/bmwcarit/smolkit#commit=46bbfd5c922a8d03a534398ee129ded822dfcafe'
20 '0001-Remove-FORTIFY_SOURCE-2-as-arch-uses-FORTIFY_SOURCE-.patch')
21noextract=()
22sha256sums=('SKIP' '1a4acc4f4037d8f730e53e45279f7466008f757434350adb689998f9845c4520')
23
24pkgver() {
25 cd "$srcdir/${pkgname%-git}"
26 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27}
28
29prepare() {
30 cd "$srcdir/${pkgname%-git}"
31 patch -p1 -i "$srcdir/0001-Remove-FORTIFY_SOURCE-2-as-arch-uses-FORTIFY_SOURCE-.patch"
32}
33
34build() {
35 cd "$srcdir/${pkgname%-git}"
36 cmake -S . -B build -G Ninja
37 cmake --build build
38}
39
40check() {
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
48package() {
49 cd "$srcdir/${pkgname%-git}"
50 cmake --install "$srcdir/${pkgname%-git}/build" --prefix "$pkgdir"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-11 19:23:32 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion