brother-dcp9017cdw

maintainer wlhlm · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads official Brother driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution infrastructure; despite the static analyzer flag for a 'non-standard host', this is a normal and expected source for proprietary drivers, and the checksums are verified.

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 Brother driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution infrastructure; despite the static analyzer flag for a 'non-standard host', this is a normal and expected source for proprietary drivers, and the checksums are verified.

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:21 "http://download.brother.com/welcome/dlf102666/${_brother_model}cupswrapper-$_cupswrapper_ver-0.i386.rpm"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: <aur@rot13.io>
2# Contributor: sven-to <aur@sven.to>
3# Based on AUR Package brother-dcp7055 by ewolnux <thinux@gmx.fr>
4
5_brother_model="dcp9017cdw"
6_cupswrapper_ver="1.1.4"
7
8pkgname="brother-$_brother_model"
9pkgver="1.1.3"
10pkgrel=2
11pkgdesc="LPR and CUPS driver for the Brother DCP-9017CDW"
12arch=('i686' 'x86_64')
13url="http://solutions.brother.com/linux/en_us/"
14license=('custom:brother commercial license')
15depends=('cups')
16depends_x86_64=('lib32-glibc')
17optdepends=('brscan4: sane scanning support')
18install="$pkgname.install"
19# Package Info: wget http://www.brother.com/pub/bsc/linux/infs/DCP9017CDW
20source=(
21 "http://download.brother.com/welcome/dlf102666/${_brother_model}cupswrapper-$_cupswrapper_ver-0.i386.rpm"
22 "http://download.brother.com/welcome/dlf102665/${_brother_model}lpr-$pkgver-0.i386.rpm"
23 'cupswrapper-license.txt'
24 'lpr-license.txt'
25)
26sha256sums=('c12874970464291f247561b5c7513486a7635c24d9e5a6d75b7b5d96ab24936e'
27 'cb50a840940d41cbca94e715baf0df0513be986827d2e5fec61cf645636b117b'
28 '2c6aa6a641332e5c87e971ac2a8beae13b059747bdba331bbd515914770d72d9'
29 '9d85a8aafdaac8fac80e04234ad2acf5642bbf0b91ee582d2a89519a55f6dd67')
30
31prepare() {
32 # do not install in '/usr/local'
33 if [ -d "$srcdir/usr/local/Brother" ]; then
34 install -d "$srcdir"/usr/share
35 mv "$srcdir"/usr/local/Brother/ "$srcdir"/usr/share/brother
36 rm -rf "$srcdir"/usr/local
37 sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
38 fi
39 # setup cups-directories
40 install -d "$srcdir"/usr/share/cups/model
41 install -d "$srcdir"/usr/lib/cups/filter
42 # go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
43 cd `find . -type d -name 'cupswrapper'`
44 if [ -f cupswrapper* ]; then
45 local _wrapper_source="$(echo cupswrapper*)"
46 sed -i '/^\/etc\/init.d\/cups/d' "$_wrapper_source"
47 sed -i '/^sleep/d' "$_wrapper_source"
48 sed -i '/^lpadmin/d' "$_wrapper_source"
49 sed -i 's|/usr|$srcdir/usr|g' "$_wrapper_source"
50 sed -i 's|/opt|$srcdir/opt|g' "$_wrapper_source"
51 sed -i 's|/model/Brother|/model|g' "$_wrapper_source"
52 sed -i 's|lpinfo|echo|g' "$_wrapper_source"
53 export srcdir="$srcdir"
54 ./$_wrapper_source
55 sed -i 's|$srcdir||' "$srcdir"/usr/lib/cups/filter/*lpdwrapper*
56 sed -i "s|$srcdir||" "$srcdir"/usr/lib/cups/filter/*lpdwrapper*
57 rm -- "$_wrapper_source"
58 fi
59 # /etc/printcap is managed by cups
60 find "$srcdir" -type f -name 'setupPrintcap*' -delete
61}
62
63package() {
64 cp -R "$srcdir"/usr "$pkgdir"
65 if [ -d "$srcdir"/opt ]; then cp -R "$srcdir"/opt "$pkgdir"; fi
66 install -m 644 -D cupswrapper-license.txt "$pkgdir"/usr/share/licenses/${pkgname}/cupswrapper-licence.txt
67 install -m 644 -D lpr-license.txt "$pkgdir"/usr/share/licenses/${pkgname}/lpr-licence.txt
68}
69

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