brother-hl-l3295cdw
MEDIUM
maintainer aaronsb
1 votes
scanned 2026-10-09 04:10:27.772257
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:18
"https://download.brother.com/welcome/dlf105748/hll3295cdwpdrv-$pkgver-1.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Aaron Bockelie <aaron@bockelie.com>
2
# namcap reports ELF files outside of a valid path ('opt/'). This is true, however most brother AUR packages are structured this way.
3
# The Brother printer drivers are proprietary and are distributed as RPM or DEB.
4
pkgname=brother-hl-l3295cdw
5
pkgver=3.5.1
6
pkgrel=1
7
pkgdesc="LPR and CUPS driver for the Brother HL-L3295CDW"
8
arch=("i686" "x86_64")
9
url="https://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll3295cdw_us&os=127"
10
license=('LicenseRef-Brother Industries Ltd EULA')
11
depends=('cups' 'ghostscript' 'perl')
12
# The 32-bit version of glibc is required for the 32-bit version of the driver
13
if test "$CARCH" == x86_64; then
14
depends+=('lib32-glibc' 'lib32-gcc-libs')
15
fi
16
install="$pkgname.install"
17
source=(
18
"https://download.brother.com/welcome/dlf105748/hll3295cdwpdrv-$pkgver-1.i386.rpm"
19
"cupswrapper-license.txt"
20
"lpr-license.txt"
21
)
22
23
# md5sums for the source files
24
md5sums=(
25
"ab06b2c771502b7716f1608aa977d8a6"
26
"97ad0cffd216059e9d1d3121899d8646"
27
"5e87a3dc0f3e3438c088eda0f3565f0d"
28
)
29
30
prepare() {
31
# install is creating the directories for the symlinks in all cases except for the license files.
32
install -d "$srcdir/usr/share/cups/model"
33
install -d "$srcdir/usr/lib/cups/filter"
34
}
35
36
package(){
37
# Extract the RPM
38
cp -R "$srcdir/opt" "$pkgdir/opt"
39
# Extract the lpd filter and config files based on the $CARCH variable - i686 or x86_64
40
ln -s "/opt/brother/Printers/hll3295cdw/lpd/$CARCH/brhll3295cdwfilter" "$pkgdir/opt/brother/Printers/hll3295cdw/lpd/brhll3295cdwfilter"
41
ln -s "/opt/brother/Printers/hll3295cdw/lpd/$CARCH/brprintconf_hll3295cdw" "$pkgdir/opt/brother/Printers/hll3295cdw/lpd/brprintconf_hll3295cdw"
42
43
# Create the symlinks in the /usr/bin directory for the executable processors
44
install -d "$pkgdir/usr/bin"
45
ln -s "/opt/brother/Printers/hll3295cdw/lpd/$CARCH/brhll3295cdwfilter" "$pkgdir/usr/bin/brhll3295cdwfilter"
46
ln -s "/opt/brother/Printers/hll3295cdw/lpd/$CARCH/brprintconf_hll3295cdw" "$pkgdir/usr/bin/brprintconf_hll3295cdw"
47
48
# Create the symlinks in the /usr/lib/cups/filter directory for the CUPS filter
49
install -d "$pkgdir/usr/lib/cups/filter/"
50
ln -s "/opt/brother/Printers/hll3295cdw/cupswrapper/brother_lpdwrapper_hll3295cdw" "$pkgdir/usr/lib/cups/filter"
51
52
# Create the symlink in the /usr/share/cups/model directory for the PPD file
53
install -d "$pkgdir/usr/share/cups/model/"
54
ln -s "/opt/brother/Printers/hll3295cdw/cupswrapper/brother_hll3295cdw_printer_en.ppd" "$pkgdir/usr/share/cups/model"
55
56
# Directly Install the license files
57
install -Dm644 "$srcdir/opt/brother/Printers/hll3295cdw/LICENSE_ENG.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
58
install -Dm644 "$srcdir/opt/brother/Printers/hll3295cdw/LICENSE_JPN.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_JPN.txt"
59
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-09 04:10:27 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |