xeroxprtdrv

LOW
maintainer a-st 7 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads official Xerox driver RPMs from Xerox's own support domain, which is a legitimate source for the software; the non-whitelisted host is part of Xerox's official infrastructure, and the downloaded binaries are expected build inputs for a driver package.

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 downloads official Xerox driver RPMs from Xerox's own support domain, which is a legitimate source for the software; the non-whitelisted host is part of Xerox's official infrastructure, and the downloaded binaries are expected build inputs for a driver package.

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:23 source_i686=("http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/Xeroxv5Pkg-Linuxi686-${pkgver}.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Eduard Wirch <wirch.eduard@gmail.com>
2# Contributor: Troy Engel <troyengel+arch@gmail.com>
3
4pkgname=xeroxprtdrv
5pkgver=5.20.647.4414
6pkgrel=1
7pkgdesc="Xerox Unix Print Drivers"
8arch=('i686' 'x86_64')
9url="http://www.xerox.com"
10install=${pkgname}.install
11license=('custom')
12options=('emptydirs')
13depends=('gcc-libs' 'libxinerama' 'libxcursor' 'libxdamage' 'libx11'
14 'libxau' 'libxdmcp' 'xorg-xhost' 'sed' 'awk' 'lib32-gcc-libs')
15optdepends=('cups')
16
17source=('xeroxprtdrv.license'
18 'xerox-prtdrv-xhost-permissions.desktop'
19 'service'
20 'xeroxprtmgr'
21 'XeroxQScript.patch'
22)
23source_i686=("http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/Xeroxv5Pkg-Linuxi686-${pkgver}.rpm")
24source_x86_64=("http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/Xeroxv5Pkg-Linuxx86_64-${pkgver}.rpm")
25md5sums=('0a8eb0c1480a6ccc1ddab7cbb5e1bde4'
26 'aaf22b0b7b9059f6377eba41be08fc34'
27 'd380002eef6bbbbeb43cd0691123a7d4'
28 '1976d9d3e95065820adbe417ec4e5b2d'
29 '117637c64980344ca9bb87e8a8f10938')
30md5sums_i686=('6349bae5313552d7840f0eefd10c3cea')
31md5sums_x86_64=('5922cd782b7aac681c40fb68abae0a5e')
32
33prepare() {
34 cd "$srcdir"
35
36 # bug-fixing cups filter
37 patch -p1 -i XeroxQScript.patch
38}
39
40package() {
41 cd "${srcdir}"
42
43 # remove RPM SElinux files, they delete these in RPM post-install
44 rm -f "${pkgdir}/opt/Xerox/prtsys/PatchSELinuxPolicy" \
45 "${pkgdir}/opt/Xerox/prtsys/SELinuxExceptions*.pp"
46
47 # copy the bits
48 cp -dpr opt "${pkgdir}"
49 cp -dpr usr "${pkgdir}"
50
51 # systemctl wrapper patch
52 cp service "$pkgdir/opt/Xerox/prtsys/"
53 mv "$pkgdir/opt/Xerox/prtsys/xeroxprtmgr" "$pkgdir/opt/Xerox/prtsys/xeroxprtmgr.wrapped"
54 install -m 755 xeroxprtmgr "$pkgdir/opt/Xerox/prtsys/"
55
56 # Stuff from Xerox's postinstall file
57 install -m 775 -g lp -d "$pkgdir/etc/cups/interfaces"
58 install -m 775 -g lp -d "$pkgdir/var/spool/lpd"
59 # unsing 777 so any user will be able to create a phonebook
60 install -m 777 -d "$pkgdir/opt/Xerox/prtsys/db/phonebook/user"
61
62 # commercial license
63 install -Dm0644 "../${pkgname}.license" \
64 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
65
66 install -d "$pkgdir/etc/xdg/autostart"
67 install xerox-prtdrv-xhost-permissions.desktop "$pkgdir/etc/xdg/autostart"
68}
69
70

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