electric-eye

LOW
maintainer jamesmcm 0 votes scanned 2026-11-01 18:01:05.785766
View on AUR
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: James McMurray <jamesmcm03@gmail.com>
2pkgname=electric-eye
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="Explain what applications are doing with eBPF-based Linux activity monitoring"
6arch=('x86_64')
7url="https://github.com/jamesmcm/electric-eye"
8license=('MIT')
9depends=('gcc-libs' 'sqlite' 'systemd-libs' 'pacman')
10makedepends=('rustup' 'clang' 'llvm' 'lld' 'bpf-linker' 'pkgconf' 'systemd')
11install=electric-eye.install
12# Keep the BPF object intact, but do not ship the daemon's debug sources in the
13# main package.
14options=('!strip' '!debug')
15backup=('etc/electric-eye/allowlist.conf' 'etc/electric-eye/config.toml')
16source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
17sha256sums=('4f9e31b12199f2d5ec810438e48f082f9e33c2014a99ee41889545dbd0cb4db7')
18
19build() {
20 cd "$pkgname-$pkgver"
21 source scripts/arch-toolchain.sh
22
23 # The eBPF crate is a separate workspace built for bpfel-unknown-none. It is
24 # pinned to the nightly whose bundled LLVM matches bpf-linker; see
25 # docs/TOOLCHAIN.md before changing either pin.
26 rustup toolchain install stable --profile minimal
27 rustup default stable
28 rustup toolchain install nightly-2026-01-20 --profile minimal --component rust-src
29 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=$srcdir=/build --remap-path-prefix=$HOME/.cargo=/build/cargo --remap-path-prefix=$HOME/.rustup=/build/rustup"
30 cargo xtask build-ebpf
31 cargo build --release --locked -p electric-eyed -p electric-eye-cli
32}
33
34check() {
35 cd "$pkgname-$pkgver"
36 source scripts/arch-toolchain.sh
37 cargo test --workspace --locked
38}
39
40package() {
41 cd "$pkgname-$pkgver"
42
43 install -Dm755 target/release/electric-eyed "$pkgdir/usr/bin/electric-eyed"
44 install -Dm755 target/release/electric-eye "$pkgdir/usr/bin/electric-eye"
45 install -Dm644 target/bpfel-unknown-none/release/electric-eye-ebpf \
46 "$pkgdir/usr/lib/electric-eye/electric-eye-ebpf"
47 install -Dm644 packaging/systemd/electric-eye.service \
48 "$pkgdir/usr/lib/systemd/system/electric-eye.service"
49 install -Dm644 packaging/sysusers/electric-eye.conf \
50 "$pkgdir/usr/lib/sysusers.d/electric-eye.conf"
51 install -Dm644 packaging/allowlist.conf \
52 "$pkgdir/etc/electric-eye/allowlist.conf"
53 install -Dm644 config/default.toml "$pkgdir/etc/electric-eye/config.toml"
54 install -Dm644 .opencode/skills/electric-eye/SKILL.md \
55 "$pkgdir/usr/share/electric-eye/skills/electric-eye/SKILL.md"
56 install -Dm644 .opencode/skills/electric-eye/references/queries.md \
57 "$pkgdir/usr/share/electric-eye/skills/electric-eye/references/queries.md"
58 install -Dm644 README.md "$pkgdir/usr/share/doc/electric-eye/README.md"
59 install -Dm644 docs/PERFORMANCE.md "$pkgdir/usr/share/doc/electric-eye/PERFORMANCE.md"
60 install -Dm644 packaging/man/electric-eye.1 "$pkgdir/usr/share/man/man1/electric-eye.1"
61 install -Dm644 packaging/man/electric-eyed.8 "$pkgdir/usr/share/man/man8/electric-eyed.8"
62 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
63}
64
65# vim: set ft=sh:
66

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 18:01:05 Low 1

Report a package

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

0 / 4000
Your suggestion