atto-netbsd-git
CLEAN
maintainer modinfo
0 votes
scanned 2026-10-31 00:07:41.364992
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from the official NetBSD source repository, compiles the project's own source code, and installs only the resulting binary, man page, and license; the flagged low-vote and recent upload are metadata concerns, not security risks.
1 higher static finding superseded - not the current verdict (shown for transparency)
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: Sebastian Korotkiewicz <skorotkiewicz@gmail.com>
2
pkgname=atto-netbsd-git
3
pkgver=20261030065351.gbf6cefce
4
pkgrel=2
5
pkgdesc='Small Emacs-like terminal editor from NetBSD'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/NetBSD/src/tree/trunk/usr.bin/atto'
8
license=('LicenseRef-Public-Domain')
9
depends=('glibc>=2.38' 'ncurses')
10
makedepends=('git')
11
# The unrelated AUR Nano wallet also installs /usr/bin/atto.
12
conflicts=('atto')
13
options=(!debug)
14
source=('LICENSE')
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd "$srcdir/src"
19
# Use a timestamp because depth-one history cannot provide a commit count.
20
git log -1 --format='%cd.g%h' --date=format:%Y%m%d%H%M%S
21
}
22
23
prepare() {
24
cd "$srcdir"
25
# shortcut: custom sparse fetching bypasses helper devel tracking; use native sources when makepkg supports sparse Git clones.
26
if [[ -d src/.git ]]; then
27
git -C src fetch --depth 1 origin trunk
28
git -C src checkout --detach FETCH_HEAD
29
else
30
git clone --filter=blob:none --no-checkout --depth 1 https://github.com/NetBSD/src.git
31
cd src
32
git sparse-checkout set usr.bin/atto
33
git checkout trunk
34
fi
35
}
36
37
build() {
38
cd "$srcdir/src/usr.bin/atto"
39
cc $CPPFLAGS $CFLAGS -D_DEFAULT_SOURCE -o atto *.c $LDFLAGS -lncursesw
40
}
41
42
package() {
43
cd "$srcdir/src/usr.bin/atto"
44
install -Dm755 atto "$pkgdir/usr/bin/atto"
45
install -Dm644 atto.1 "$pkgdir/usr/share/man/man1/atto.1"
46
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47
}
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 00:07:41 | Clean | 2 |
| 2026-10-30 21:57:10 | Low | 1 |