lshw-git

LOW
maintainer AlieeLinux 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from the project's official git repository on its own domain, which is a normal AUR practice; the non-whitelisted host is the project's own, and the source is not a prebuilt binary but built from trusted upstream code.

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 90%): The package builds from the project's official git repository on its own domain, which is a normal AUR practice; the non-whitelisted host is the project's own, and the source is not a prebuilt binary but built from trusted upstream code.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:22 source=(git+https://ezix.org/src/pkg/lshw.git)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Cyrus Troy Bazar <bazartroy531@gmail.com>
2# Contributor: 31337h4ck3r at gmail dot com
3# Contributor: katt <magunasu.b97@gmail.com>
4# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
6# Contributor: Chuck Yang <Chuck.Yang@gmail.com>
7
8pkgname=lshw-git
9_pkgname=lshw
10pkgver=B.02.20.r13.g687be8b
11pkgrel=1
12pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine"
13url=https://ezix.org/project/wiki/HardwareLiSter
14license=('GPL')
15arch=(x86_64)
16depends=(gcc-libs hwdata)
17optdepends=('gtk3: for gtk-lshw')
18makedepends=(gtk3 sqlite docbook-utils perl-sgmls git)
19conflicts=("${_pkgname}")
20provides=("${_pkgname}")
21options=(!lto)
22source=(git+https://ezix.org/src/pkg/lshw.git)
23sha256sums=('SKIP')
24
25pkgver() {
26 cd "${pkgname%-git}"
27 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
28}
29
30prepare() {
31 cd "${pkgname%-git}"
32 sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
33 sed -i '/^LDFLAGS=$/d' src/core/Makefile src/gui/Makefile
34}
35
36build() {
37 cd "${pkgname%-git}"
38 export VERSION=$pkgver
39 make SBINDIR=/usr/bin
40 make SBINDIR=/usr/bin gui
41}
42
43package() {
44 cd "${pkgname%-git}"
45 make DESTDIR="$pkgdir"/ SBINDIR=/usr/bin install
46 make DESTDIR="$pkgdir"/ SBINDIR=/usr/bin install-gui
47 install -Dm0644 src/gui/integration/gtk-lshw.desktop -t "$pkgdir"/usr/share/applications
48 install -Dm0644 src/gui/integration/gtk-lshw.pam -t "$pkgdir"/usr/share/doc/$pkgname
49 install -Dm0644 src/gui/integration/console.apps -t "$pkgdir"/usr/share/doc/$pkgname
50 rm -f "$pkgdir"/usr/share/lshw/{pci,usb}.ids
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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