xeroxprtdrv
maintainer a-st
· 7 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgname=xeroxprtdrv
5
pkgver=5.20.647.4414
6
pkgrel=1
7
pkgdesc="Xerox Unix Print Drivers"
8
arch=('i686' 'x86_64')
9
url="http://www.xerox.com"
10
install=${pkgname}.install
11
license=('custom')
12
options=('emptydirs')
13
depends=('gcc-libs' 'libxinerama' 'libxcursor' 'libxdamage' 'libx11'
14
'libxau' 'libxdmcp' 'xorg-xhost' 'sed' 'awk' 'lib32-gcc-libs')
15
optdepends=('cups')
16
17
source=('xeroxprtdrv.license'
18
'xerox-prtdrv-xhost-permissions.desktop'
19
'service'
20
'xeroxprtmgr'
21
'XeroxQScript.patch'
22
)
23
source_i686=("http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/Xeroxv5Pkg-Linuxi686-${pkgver}.rpm")
24
source_x86_64=("http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/Xeroxv5Pkg-Linuxx86_64-${pkgver}.rpm")
25
md5sums=('0a8eb0c1480a6ccc1ddab7cbb5e1bde4'
26
'aaf22b0b7b9059f6377eba41be08fc34'
27
'd380002eef6bbbbeb43cd0691123a7d4'
28
'1976d9d3e95065820adbe417ec4e5b2d'
29
'117637c64980344ca9bb87e8a8f10938')
30
md5sums_i686=('6349bae5313552d7840f0eefd10c3cea')
31
md5sums_x86_64=('5922cd782b7aac681c40fb68abae0a5e')
32
33
prepare() {
34
cd "$srcdir"
35
36
# bug-fixing cups filter
37
patch -p1 -i XeroxQScript.patch
38
}
39
40
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |