lshw-git

maintainer AlieeLinux · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion