lib32-pciutils

maintainer WoefulDerelict · 9 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a 32-bit library built from the official project's domain (mj.ucw.cz), which is the upstream maintainer's site; building from a non-whitelisted but legitimate project host is normal for AUR packages and poses low 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 source is a 32-bit library built from the official project's domain (mj.ucw.cz), which is the upstream maintainer's site; building from a non-whitelisted but legitimate project host is normal for AUR packages and poses low risk.

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:14 source=(https://mj.ucw.cz/download/linux/pci/${pkgname#lib32-}-${pkgver}.tar.gz{,.sign})

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Llewelyn Tranaearn <WoefulDerelict at GMail dot com>
2# Contributor: Daemon Lee Schmidt <DaemonLeeSchmidt at gmail dot com>
3# Contributor: Tobias Powalowski <tpowa at archlinux dot org>
4
5pkgname=lib32-pciutils
6pkgver=3.13.0
7pkgrel=1
8pkgdesc="PCI bus configuration space access library (32-bit)"
9arch=('x86_64')
10url="https://mj.ucw.cz/sw/pciutils/"
11license=('GPL2')
12depends=("${pkgname#lib32-}" 'lib32-kmod' 'lib32-systemd')
13makedepends=('git' 'lib32-gcc-libs')
14source=(https://mj.ucw.cz/download/linux/pci/${pkgname#lib32-}-${pkgver}.tar.gz{,.sign})
15sha512sums=('73f99b5c2251676368738e0dc9d82529f3516966f1658a96149768b9775a0e177d630512dc7ea33087a7fcb960a3498f0c4c1a9f7233ec1cf242b9ab087fa0d1'
16 'SKIP')
17validpgpkeys=('C466A56CADA981F4297D20C31F3D0761D9B65F0B') # Martin Mares <mj@ucw.cz>
18
19build() {
20 # Modify environment to generate 32-bit ELF. Respects flags defined in makepkg.conf
21 export CFLAGS="-m32 ${CFLAGS}"
22 export CXXFLAGS="-m32 ${CXXFLAGS}"
23 export LDFLAGS="-m32 ${LDFLAGS}"
24 export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
25
26 cd "${pkgname#lib32-}-${pkgver}"
27 make OPT="${CFLAGS}" ZLIB=no SHARED=no PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man LIBDIR=/usr/lib32 lib/libpci.a
28 cp lib/libpci.a "${srcdir}/"
29 make clean
30 make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man LIBDIR=/usr/lib32 all
31}
32
33package() {
34 cd "${pkgname#lib32-}-${pkgver}"
35 make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man LIBDIR=/usr/lib32 DESTDIR="${pkgdir}" install install-lib
36 install -m644 "${srcdir}/libpci.a" "${pkgdir}/usr/lib32/"
37 rm -rf "${pkgdir}/usr/"{bin,share,include}
38}
39

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