greatfet-git

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from the project's own Git repository, which is normal for AUR packages; the 'SKIP' checksum is acceptable for git sources, and the build process only installs project-owned udev rules and Python wheel, posing no executable or supply-chain risk.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from the project's own Git repository, which is normal for AUR packages; the 'SKIP' checksum is acceptable for git sources, and the build process only installs project-owned udev rules and Python wheel, posing no executable or supply-chain risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Drew Metzger <aur at unexceptional dot net>
2
3pkgname=greatfet-git
4pkgver=2024.0.4
5pkgrel=1
6pkgdesc="GreatFET firmware and host software"
7arch=('any')
8url="https://github.com/greatscottgadgets/greatfet"
9license=(BSD)
10depends=(
11 'ipython'
12 'python-pyusb'
13 'python-future'
14 'python-pygreat'
15 'python-cmsis-svd-git'
16 'python-pyfwup'
17)
18makedepends=(
19 'python-build'
20 'python-installer'
21 'python-pyproject-patcher'
22 'python-setuptools'
23 'python-wheel'
24)
25provides=('greatfet')
26source=("git+${url}")
27sha1sums=('SKIP')
28install=greatfet-git.install
29_gitname=greatfet
30
31pkgver() {
32 cd $_gitname
33 echo $(git describe --always --tags $(git rev-list --tags --max-count=1) | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
34}
35
36prepare() {
37 # since the latest release is outside of the main branch for some reason...
38 cd $_gitname
39 git checkout --quiet "v${pkgver}"
40
41 echo >&2 'Pinning version number'
42 export pkgver
43 python << 'EOF'
44from pyproject_patcher import patch_in_place
45with patch_in_place('host/pyproject.toml') as toml:
46 toml.set_project_version_from_env('pkgver')
47 toml.tools.setuptools_git_versioning.remove()
48EOF
49}
50
51build() {
52 python -m build --wheel --no-isolation "${_gitname}/host"
53}
54
55package() {
56 install -D -m644 "${srcdir}/${_gitname}/host/util/54-greatfet.rules" "${pkgdir}/usr/lib/udev/rules.d/54-greatfet.rules"
57 python -I -m installer --destdir="${pkgdir}" $srcdir/$_gitname/host/dist/*.whl
58}
59
60# vim:set ts=2 sw=2 et:
61

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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