brother-hll5210dw

LOW
maintainer bobolin 0 votes scanned 2026-08-19 15:43:34.430752
View on AUR
Why flagged

Downloads a prebuilt i386 .deb from download.brother.com, which is Brother's official download infrastructure; the checksum is provided and matches, so this is a standard vendor-binary printer driver package with no obfuscation or exfiltration concerns.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 85%): Downloads a prebuilt i386 .deb from download.brother.com, which is Brother's official download infrastructure; the checksum is provided and matches, so this is a standard vendor-binary printer driver package with no obfuscation or exfiltration concerns.

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:17 source=("https://download.brother.com/welcome/dlf105786/${_deb}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Borislav Borisov <borislav.borisov@yahoo.com>
2
3pkgname=brother-hll5210dw
4pkgver=4.0.3
5pkgrel=1
6pkgdesc="Brother HL-L5210DW CUPS printer driver"
7arch=('x86_64')
8url="https://support.brother.com/g/b/producttop.aspx?c=us_ot&lang=en&prod=hll5210dw_us_eu_as"
9license=('custom')
10depends=('cups' 'perl')
11options=('!debug')
12
13_drivername=hll5210dwpdrv
14_debrel=2
15_deb="${_drivername}-${pkgver}-${_debrel}.i386.deb"
16
17source=("https://download.brother.com/welcome/dlf105786/${_deb}")
18sha256sums=('e826f47b0b261eb20047a64ec9e506f0ad9e67187cff21a76e1924ddaf293f48')
19
20package() {
21 cd "$srcdir"
22
23 # Extract Debian package
24 bsdtar -xf "$_deb"
25
26 # Extract filesystem payload
27 bsdtar -xJf data.tar.xz -C "$pkgdir"
28
29 # Keep only the native architecture binaries
30 rm -rf "$pkgdir/opt/brother/Printers/HLL5210DW/lpd/i686"
31
32 # Remove Debian/LPR-specific setup helper
33 rm -f "$pkgdir/opt/brother/Printers/HLL5210DW/inf/setupPrintcap"
34
35 # Remove unused spool directory
36 rm -rf "$pkgdir/var"
37
38 # Select native binaries
39 ln -sf \
40 "$CARCH/rawtobr3" \
41 "$pkgdir/opt/brother/Printers/HLL5210DW/lpd/rawtobr3"
42
43 ln -sf \
44 "$CARCH/brprintconflsr3" \
45 "$pkgdir/opt/brother/Printers/HLL5210DW/lpd/brprintconflsr3"
46
47 # Driver configuration links
48 ln -sf \
49 /opt/brother/Printers/HLL5210DW/inf/brHLL5210DWrc \
50 "$pkgdir/etc/opt/brother/Printers/HLL5210DW/inf/brHLL5210DWrc"
51
52 ln -sf \
53 /opt/brother/Printers/HLL5210DW/inf/brHLL5210DWrc \
54 "$pkgdir/opt/brother/Printers/HLL5210DW/lpd/inf/brHLL5210DWrc"
55
56 # CUPS filter
57 install -dm755 "$pkgdir/usr/lib/cups/filter"
58
59 ln -sf \
60 /opt/brother/Printers/HLL5210DW/cupswrapper/lpdwrapper \
61 "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_HLL5210DW"
62
63 # CUPS PPD
64 install -dm755 "$pkgdir/usr/share/cups/model"
65
66 ln -sf \
67 /opt/brother/Printers/HLL5210DW/cupswrapper/brother-HLL5210DW-cups-en.ppd \
68 "$pkgdir/usr/share/cups/model/brother-HLL5210DW-cups-en.ppd"
69
70 # License
71 install -Dm644 \
72 "$pkgdir/opt/brother/Printers/HLL5210DW/LICENSE_ENG.txt" \
73 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
74}
75

Scan history

Scanned at (UTC)SeverityRules
2026-08-19 15:43:34 Low 3
2026-08-19 15:42:02 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion