lshw-git

LOW
maintainer AlieeLinux 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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