brother-mfc-j460dw
maintainer orphaned
· 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 download subdomain, which is a standard source for this vendor's drivers; despite the static analyzer flag for a non-whitelisted host, the source is legitimate and the build process only extracts and relocates files, posing no execution or supply-chain risk.
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 download subdomain, which is a standard source for this vendor's drivers; despite the static analyzer flag for a non-whitelisted host, the source is legitimate and the build process only extracts and relocates files, posing no execution or supply-chain risk.
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://download.brother.com/welcome/dlf102538/mfcj460dwlpr-$pkgver-$pkgrel.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ronald Gil <me@ronaldgil.com>
2
# Copied from the MFC-J5910DW package created by Libernux <dutchman55@gmx.com>
3
pkgname="brother-mfc-j460dw"
4
pkgver="1.0.0"
5
pkgrel=0
6
pkgdesc="LPR and CUPS driver for the Brother MFC-J460DW"
7
arch=('i686' 'x86_64')
8
url="http://solutions.brother.com/linux/en_us/"
9
license=('custom:brother commercial license')
10
depends=('cups')
11
optdepends=('brscan4' 'brscan-skey')
12
install="$pkgname.install"
13
source=(
14
"http://download.brother.com/welcome/dlf102538/mfcj460dwlpr-$pkgver-$pkgrel.i386.rpm"
15
"http://download.brother.com/welcome/dlf102539/mfcj460dwcupswrapper-$pkgver-$pkgrel.i386.rpm"
16
'cupswrapper-license.txt'
17
'lpr-license.txt'
18
)
19
md5sums=('9d14b32b44551df81c2cf1f1d0ec7dc9'
20
'6ab0a419ac295472a09318b9537253ae'
21
'97ad0cffd216059e9d1d3121899d8646'
22
'8fd9dfb02716f9334bf07a119fa2e486')
23
24
if test "$CARCH" == x86_64; then
25
depends+=('lib32-glibc')
26
fi
27
28
prepare() {
29
# do not install in '/usr/local'
30
if [ -d $srcdir/usr/local/Brother ]; then
31
install -d $srcdir/usr/share
32
mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
33
rm -rf $srcdir/usr/local
34
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
35
fi
36
37
# setup cups-directories
38
install -d $srcdir/usr/share/cups/model
39
install -d $srcdir/usr/lib/cups/filter
40
41
# go to the cupswrapper directory and find the source file from which to generate a ppd- and wrapper-file
42
cd `find . -type d -name 'cupswrapper'`
43
if [ -f cupswrapper* ]; then
44
_wrapper_source=`ls cupswrapper*`
45
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
46
sed -i '/^sleep/d' $_wrapper_source
47
sed -i '/^lpadmin/d' $_wrapper_source
48
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
49
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
50
sed -i 's|/model/Brother|/model|g' $_wrapper_source
51
sed -i 's|lpinfo|echo|g' $_wrapper_source
52
export srcdir=$srcdir
53
./$_wrapper_source
54
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
55
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
56
rm $_wrapper_source
57
fi
58
59
# /etc/printcap is managed by cups
60
rm `find $srcdir -type f -name 'setupPrintcap*'`
61
}
62
63
package() {
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) | 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 |