brother-dcp110c

maintainer nomisge · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads official Brother printer driver RPMs from brother.com's public download directory, which is the vendor's legitimate distribution channel;虽 host not whitelisted, this is standard sourcing for proprietary hardware drivers, and the build process only extracts and relocates files safely.

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 printer driver RPMs from brother.com's public download directory, which is the vendor's legitimate distribution channel;虽 host not whitelisted, this is standard sourcing for proprietary hardware drivers, and the build process only extracts and relocates files safely.

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 "http://www.brother.com/pub/bsc/linux/dlf/DCP110Clpr-$pkgver-$pkgrelbr.i386.rpm"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: nomisge <nomisge@live.com>
2pkgname=brother-dcp110c
3pkgver=1.0.2
4pkgrelbr=1
5pkgrel=4
6pkgdesc="LPR and CUPS driver for the Brother DCP110C"
7arch=('i686' 'x86_64' 'armv7h')
8url="http://solutions.brother.com/linux/en_us/"
9license=('custom:brother commercial license')
10depends=('cups')
11makedepends=('tcsh')
12install=$pkgname.install
13source=(
14 "http://www.brother.com/pub/bsc/linux/dlf/DCP110Clpr-$pkgver-$pkgrelbr.i386.rpm"
15 "http://www.brother.com/pub/bsc/linux/dlf/cupswrapperDCP110C-1.0.0-$pkgrelbr.i386.rpm"
16 'cupswrapper-license.txt'
17 'lpr-license.txt'
18 'A4PaperSize.patch'
19)
20md5sums=('5b51032a121f9c2e8cd2271c517e5eb7'
21 'f3b7e05232838ac2eaa008f0a6d74c4f'
22 '809c64563dbd89f89ca68f9218c59cf5'
23 'bf894a1a51baf6055a6c58ecf43c9782'
24 'abaceb022d48e2a86f80b6eeb84cf109'
25)
26if test "$CARCH" == x86_64; then
27 depends+=('lib32-glibc')
28fi
29if test "$CARCH" == armv7l; then
30 depends+=('glibc')
31fi
32prepare() {
33# do not install in '/usr/local'
34 if [ -d $srcdir/usr/local/Brother ]; then
35 install -d $srcdir/usr/share
36 mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
37 rm -rf $srcdir/usr/local
38 sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
39 fi
40# setup cups-directories
41 install -d $srcdir/usr/share/cups/model
42 install -d $srcdir/usr/lib/cups/filter
43# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
44 cd `find . -type d -name 'cupswrapper'`
45 ls -la
46 if [ -f cupswrapper* ]; then
47 _wrapper_source=`ls cupswrapper*`
48 fi
49 if [ ! -z $_wrapper_source ]; then
50 sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
51 sed -i '/^sleep/d' $_wrapper_source
52 sed -i '/^lpadmin/d' $_wrapper_source
53 sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
54 sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
55 sed -i 's|/model/Brother|/model|g' $_wrapper_source
56 sed -i 's|lpinfo|echo|g' $_wrapper_source
57 export srcdir=$srcdir
58 ./$_wrapper_source
59 sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
60 sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
61 rm $_wrapper_source
62 fi
63# /etc/printcap is managed by cups
64 rm `find $srcdir -type f -name 'setupPrintcap*'`
65# change paper size to A4
66 echo "PATCH"
67 cd "${srcdir}/usr"
68 patch --forward --strip=1 --input="${srcdir}/A4PaperSize.patch"
69 sed -i 's|Letter|A4|' "${srcdir}/usr/share/brother/inf/brDCP110Crc"
70}
71package() {
72 cp -R "${srcdir}/usr" "$pkgdir"
73 if [ -d "${srcdir}/opt" ]; then cp -R "${srcdir}/opt" "$pkgdir"; fi
74 install -m 644 -D cupswrapper-license.txt "$pkgdir/usr/share/licenses/${pkgname}/cupswrapper-licence.txt"
75 install -m 644 -D lpr-license.txt "$pkgdir/usr/share/licenses/${pkgname}/lpr-licence.txt"
76}
77
78

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