brother-dcp195c
maintainer severach
· 10 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, a legitimate vendor domain, to build a native package; despite the static analyzer flag for a non-whitelisted host, the source is trustworthy and the build process is transparent and typical for AUR packaging.
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, a legitimate vendor domain, to build a native package; despite the static analyzer flag for a non-whitelisted host, the source is trustworthy and the build process is transparent and typical for AUR packaging.
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/dcp195clpr-$pkgver-$_pkgrel.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: David Schury <dasc at posteo de>
2
# Contributor: Libernux <dutchman55@gmx.com>
3
pkgname="brother-dcp195c"
4
pkgver="1.1.3"
5
pkgrel=2
6
_pkgrel=1
7
pkgdesc="LPR and CUPS driver for the Brother DCP195C"
8
arch=('i686' 'x86_64')
9
url="http://solutions.brother.com/linux/en_us/"
10
license=('custom:brother commercial license')
11
depends=('cups')
12
install="$pkgname.install"
13
source=(
14
"http://www.brother.com/pub/bsc/linux/dlf/dcp195clpr-$pkgver-$_pkgrel.i386.rpm"
15
"http://www.brother.com/pub/bsc/linux/dlf/dcp195ccupswrapper-$pkgver-$_pkgrel.i386.rpm"
16
'cupswrapper-license.txt'
17
'lpr-license.txt'
18
)
19
sha256sums=('e86d73d8308e2b963c0acf3ba9be82e133b52766a41e95983a08ba55ba0879b4'
20
'806ce6646a408daca8e9f0024f7d6af59ca8186db540ed41483501495941f3ba'
21
'2c6aa6a641332e5c87e971ac2a8beae13b059747bdba331bbd515914770d72d9'
22
'9d85a8aafdaac8fac80e04234ad2acf5642bbf0b91ee582d2a89519a55f6dd67')
23
24
if test "$CARCH" == x86_64; then
25
depends+=('lib32-glibc')
26
fi
27
prepare() {
28
# do not install in '/usr/local'
29
if [ -d $srcdir/usr/local/Brother ]; then
30
install -d $srcdir/usr/share
31
mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
32
rm -rf $srcdir/usr/local
33
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
34
fi
35
# setup cups-directories
36
install -d $srcdir/usr/share/cups/model
37
install -d $srcdir/usr/lib/cups/filter
38
# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
39
cd `find . -type d -name 'cupswrapper'`
40
if [ -f cupswrapper* ]; then
41
_wrapper_source=`ls cupswrapper*`
42
fi
43
if [ ! -z $_wrapper_source ];then
44
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
45
sed -i '/^sleep/d' $_wrapper_source
46
sed -i '/^lpadmin/d' $_wrapper_source
47
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
48
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
49
sed -i 's|lpinfo|echo|g' $_wrapper_source
50
export srcdir=$srcdir
51
./$_wrapper_source
52
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
53
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
54
rm $_wrapper_source
55
fi
56
# /etc/printcap is managed by cups
57
rm `find $srcdir -type f -name 'setupPrintcap*'`
58
}
59
package() {
60
cp -R $srcdir/usr $pkgdir
61
if [ -d $srcdir/opt ]; then cp -R $srcdir/opt $pkgdir; fi
62
install -m 644 -D cupswrapper-license.txt $pkgdir/usr/share/licenses/${pkgname}/cupswrapper-licence.txt
63
install -m 644 -D lpr-license.txt $pkgdir/usr/share/licenses/${pkgname}/lpr-licence.txt
64
}
65
66
67
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 |