cnijfilter-common
maintainer tobiaswesterburg
· 37 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Canon driver tarball from an official Canon URL (pdisp01.c-wss.com), which is plausibly the project's own infrastructure despite not being on standard whitelists; building from official vendor source is normal AUR practice and not inherently dangerous.
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 90%): The source is a Canon driver tarball from an official Canon URL (pdisp01.c-wss.com), which is plausibly the project's own infrastructure despite not being on standard whitelists; building from official vendor source is normal AUR practice and not inherently dangerous.
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:24
source=("cnijfilter-source-4.10-1.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwNTg1ODAx&cmp=ACB&lang=EN"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer:
2
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
3
# Contributor: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
4
# Contributor: Stefan Hackl <stef.hackl [at the] gmail [dot] com>
5
# Contributor: Eric Le Bras <eric.lebras [at the] gmail [dot] com>
6
# Contributor: Jeroen Op 't Eynde <jeroen [at the] xprsyrslf [dot] be>
7
# Contributor: Maxqia <contrib [at the] maxqia [dot] com
8
9
pkgname=cnijfilter-common
10
_pkgname=cnijfilter
11
pkgver=4.10
12
pkgrel=6
13
_pkgreview=1
14
pkgdesc="Canon IJ Printer Driver (Common Package)"
15
url="https://www.canon-europe.com/support/pixma_software/"
16
arch=(x86_64 i686)
17
license=(LicenseRef-Canon_EULA)
18
conflicts=(lib32-cnijfilter320
19
canon-pixma-mx920-complete)
20
depends_x86_64=(lib32-libcups lib32-popt lib32-libusb lib32-libxml2 lib32-glibc)
21
depends_i686=(libcups popt libusb libxml2)
22
install=cnijfilter-common.install
23
# File size: 7683230 bytes
24
source=("cnijfilter-source-4.10-1.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwNTg1ODAx&cmp=ACB&lang=EN"
25
cups.patch
26
buildfiles.patch
27
mychanges.patch
28
keytext.patch)
29
sha512sums=('58198e92e360c71c95423bfa8278f449eb645245af1b96770323cb6f4b2b7186e5ab326d58377c20627c750d3d8c253addf637f9d18e085b1c89a81d6239ab51'
30
'ce3de5764d47809166c86cc52feeae354f459bdc1db757ee62e8c7793b4886f95d9a04caee5adefc73b3ae1752ce370668d23d9530ebf8be2b7b25066e064210'
31
'fb73e2e0653f2654a9c5211b5dc3e06ce24cd2f5bf64a27009f5446e69c7f02d78bb201f15da0f68ad01b1cb4e699c808eccb9df690ffea07b6d5a59ab5629f3'
32
'1c70fbe7da493cd44e13149baeda1d90edbbe0d9e52ca9178e70b8dc0e494f544523eefad653e2f2a4c0283f601feb549767f2eb2941cd44dc97ebc8b2b0db9a'
33
'f2b02be6c520d6a8dde25ae8d674f2b0b74d17d5657769e17409830810257325ec1929d3581332353b1d562b12c22230fea30db85cc8aaf53cb8ae4bf74619e1')
34
35
prepare() {
36
cd "${srcdir}/${_pkgname}-source-${pkgver}-${_pkgreview}/"
37
patch -p1 -i ../cups.patch
38
patch -p1 -i ../buildfiles.patch
39
patch -p1 -i ../mychanges.patch
40
patch -p1 -i ../keytext.patch
41
}
42
43
build() {
44
cd "${srcdir}/${_pkgname}-source-${pkgver}-${_pkgreview}/"
45
46
export CC="gcc -m32"
47
make common
48
}
49
50
package() {
51
cd "${srcdir}/${_pkgname}-source-${pkgver}-${_pkgreview}/"
52
53
make PACKAGEDIR=${pkgdir} installcommon
54
55
install -d ${pkgdir}/usr/lib32/bjlib
56
install -m 644 com/ini/cnnet.ini "${pkgdir}"/usr/lib32/bjlib
57
install -s -m 755 com/libs_bin32/lib*.so.* "${pkgdir}"/usr/lib32
58
install -D "LICENSE-cnijfilter-${pkgver}EN.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
59
60
if [ "${CARCH}" = 'x86_64' ]; then
61
install -d ${pkgdir}/usr/lib/bjlib
62
ln -rs ${pkgdir}/usr/lib32/bjlib/* ${pkgdir}/usr/lib/bjlib/
63
mv ${pkgdir}/usr/lib/cups/backend ${pkgdir}/usr/lib32/cups/
64
install -d ${pkgdir}/usr/lib/cups/backend
65
ln -rs ${pkgdir}/usr/lib32/cups/backend/* ${pkgdir}/usr/lib/cups/backend/
66
install -d ${pkgdir}/usr/lib/cups/filter
67
ln -s /usr/lib32/cups/filter/pstocanonij ${pkgdir}/usr/lib/cups/filter/
68
fi
69
70
install -d ${pkgdir}/usr/lib/udev/rules.d
71
install -m 644 etc/*.rules ${pkgdir}/usr/lib/udev/rules.d
72
}
73
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 |