lurker-git
LOW
maintainer annguyenfoss
0 votes
scanned 2026-10-27 05:46:44.858863
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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.
PKGBUILD
1
# Maintainer: An Nguyen (stk) <an@linux.com>
2
PACKAGER='An Nguyen (stk) <an@linux.com>'
3
pkgname=lurker-git
4
pkgver=0.1.0.r19.g2e8371c
5
pkgrel=1
6
pkgdesc='LUKS and VeraCrypt CLI/desktop with privileged and unprivileged Linux workflows'
7
arch=('x86_64')
8
url='https://github.com/annguyenfoss/lurker'
9
license=('GPL-3.0-only' 'GPL-2.0-only' 'Apache-2.0' 'LicenseRef-TrueCrypt-3.0')
10
depends=('cryptsetup' 'btrfs-progs' 'util-linux' 'polkit' 'libxkbcommon'
11
'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrandr' 'wayland'
12
'fontconfig' 'freetype2' 'gcc-libs' 'fuse3' 'wxwidgets-common')
13
makedepends=('cargo' 'git' 'python' 'bc' 'bison' 'flex' 'libelf' 'wxwidgets-gtk3')
14
optdepends=('veracrypt: create VeraCrypt volumes in privileged mode'
15
'sudo: CLI privilege escalation and desktop terminal fallback')
16
provides=('lurker')
17
conflicts=('lurker')
18
source=('lurker::git+https://github.com/annguyenfoss/lurker.git#branch=main'
19
'veracrypt-userspace::git+https://github.com/veracrypt/VeraCrypt.git#commit=8172bc55f834485f67be271e02c1167981423621'
20
'lkl-userspace::git+https://github.com/lkl/linux.git#commit=d0f76a77e8c2ca68bd7d96190b8da09040eab072')
21
sha256sums=('SKIP' 'SKIP' 'SKIP')
22
options=('!lto')
23
24
pkgver() {
25
cd "$srcdir/lurker"
26
local version
27
version=$(sed -n '/^\[workspace.package\]/,/^\[/s/^version = "\([^"]*\)"/\1/p' Cargo.toml)
28
printf '%s.r%s.g%s' "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
29
}
30
31
prepare() {
32
cd "$srcdir/lurker"
33
export RUSTUP_TOOLCHAIN=stable
34
cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
35
# makepkg resets tracked Git sources on extraction but retains untracked
36
# stamps. Recheck/apply the patches against those freshly reset sources.
37
rm -f "$srcdir/veracrypt-userspace/.lurker-patch-sha256" \
38
"$srcdir/lkl-userspace/.lurker-patch-sha256"
39
mkdir -p "$srcdir/native"
40
ln -sfn "$srcdir/veracrypt-userspace" "$srcdir/native/veracrypt"
41
ln -sfn "$srcdir/lkl-userspace" "$srcdir/native/lkl"
42
}
43
44
build() {
45
cd "$srcdir/lurker"
46
export RUSTUP_TOOLCHAIN=stable
47
export CARGO_TARGET_DIR="$srcdir/target"
48
if [[ ${RUSTFLAGS:-} != *"--remap-path-prefix=$srcdir=/usr/src/debug/lurker"* ]]; then
49
export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=$srcdir=/usr/src/debug/lurker"
50
fi
51
cargo build --release --locked --offline --workspace
52
python scripts/build-linux-userspace.py --offline --source-dir "$srcdir/native" \
53
--output-dir "$srcdir/target/release/userspace"
54
}
55
56
check() {
57
cd "$srcdir/lurker"
58
export RUSTUP_TOOLCHAIN=stable
59
export CARGO_TARGET_DIR="$srcdir/target"
60
if [[ ${RUSTFLAGS:-} != *"--remap-path-prefix=$srcdir=/usr/src/debug/lurker"* ]]; then
61
export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=$srcdir=/usr/src/debug/lurker"
62
fi
63
cargo test --release --locked --offline --workspace
64
}
65
66
package() {
67
cd "$srcdir/lurker"
68
install -Dm755 "$srcdir/target/release/lurker" "$pkgdir/usr/bin/lurker"
69
install -Dm755 "$srcdir/target/release/lurker-desktop" "$pkgdir/usr/bin/lurker-desktop"
70
install -Dm755 "$srcdir/target/release/lurker-helper" "$pkgdir/usr/bin/lurker-helper"
71
install -Dm755 "$srcdir/target/release/userspace/lurker-veracrypt" "$pkgdir/usr/lib/lurker/userspace/lurker-veracrypt"
72
install -Dm755 "$srcdir/target/release/userspace/lurker-fs" "$pkgdir/usr/lib/lurker/userspace/lurker-fs"
73
cp -r "$srcdir/target/release/userspace/licenses" "$pkgdir/usr/lib/lurker/userspace/"
74
install -Dm644 "$srcdir/target/release/userspace/licenses/VeraCrypt.txt" "$pkgdir/usr/share/licenses/$pkgname/VeraCrypt.txt"
75
install -Dm644 "$srcdir/target/release/userspace/sources.json" "$pkgdir/usr/lib/lurker/userspace/sources.json"
76
install -Dm644 extras/linux/io.lurker.desktop.desktop "$pkgdir/usr/share/applications/io.lurker.desktop.desktop"
77
install -Dm644 extras/assets/lurker.png "$pkgdir/usr/share/pixmaps/lurker.png"
78
install -Dm644 README.md "$pkgdir/usr/share/doc/lurker/README.md"
79
install -Dm644 docs/linux-validation.md "$pkgdir/usr/share/doc/lurker/docs/linux-validation.md"
80
install -Dm644 docs/linux-userspace.md "$pkgdir/usr/share/doc/lurker/docs/linux-userspace.md"
81
}
82
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-27 05:46:44 | Low | 1 |