cnijfilter-mg2100
maintainer oberon2007
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Canon official driver tarball from a plausible Canon domain (gdlp01.c-wss.com), building from source is normal for AUR packages, and the patches are applied to fix compatibility; no execution of untrusted binaries.
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 source is a Canon official driver tarball from a plausible Canon domain (gdlp01.c-wss.com), building from source is normal for AUR packages, and the patches are applied to fix compatibility; no execution of untrusted binaries.
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:20
source=("http://gdlp01.c-wss.com/gds/8/0100003928/01/cnijfilter-source-${pkgver}-${pkgrel}.tar.gz" "cups.patch" "id.po.patch" "png.patch")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
2
# Contributor: Andrew Meakovski <meako689@gmail.com>
3
# PKGBUILD based on: Robert Mihaly <robb.mihaly@gmail.com>
4
# PKGBUILD based on: Gary Ayre <catchfire@gmail.com>
5
# PKGBUILD based on: Eric Le Bras <eric.lebras@gmail.com>
6
7
printername="mg2100"
8
printercode=386 #Codename for driver
9
pkgname=cnijfilter-${printername}
10
pkgver=3.60
11
pkgrel=1
12
pkgdesc="Canon IJ Printer Driver for Pixma ${printername} (MG2140, MG2150, etc) multifunction"
13
arch=('x86_64')
14
url="http://www.canon-europe.com/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MG_series/PIXMA_MG2140.aspx?DLtcmuri=tcm:13-863337&page=1&type=download"
15
license=('GPL2' 'LGPL2' 'custom')
16
depends=('libglade' 'cups' 'ghostscript')
17
makedepends=('autoconf>=2.13' 'automake>=1.6' 'tar' 'make' 'gcc')
18
conflicts=('cnijfilter-common')
19
install=cnijfilter-${printername}.install
20
source=("http://gdlp01.c-wss.com/gds/8/0100003928/01/cnijfilter-source-${pkgver}-${pkgrel}.tar.gz" "cups.patch" "id.po.patch" "png.patch")
21
#source=("http://files.canon-europe.com/files/soft40869/software/cnijfilter-source-${pkgver}-${pkgrel}.tar.gz" "cups.patch" "id.po.patch" "png.patch")
22
md5sums=('70e412331a21f4b573b4e901c89cee18' 'a8a716cad93bd90853129c46006f20ad' '35327dc628d1a22ed0f4db9554d67484' '55f00585a45cf14944b4542c5ab71a76')
23
24
package() {
25
cd ${srcdir}
26
tar xzf cnijfilter-source-${pkgver}-${pkgrel}.tar.gz
27
28
patch -Np0 -i $srcdir/cups.patch || return 1
29
patch -Np0 -i $srcdir/id.po.patch || return 1
30
patch -Np0 -i $srcdir/png.patch || return 1
31
32
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/backend
33
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-progpath=/usr/bin || return 1
34
make install DESTDIR=${pkgdir} || return 1
35
36
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/libs
37
./autogen.sh --prefix=/usr --program-suffix=${printername} || return 1
38
make install DESTDIR=${pkgdir} || return 1
39
40
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/pstocanonij
41
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-binpath=/usr/bin --enable-progpath=/usr/bin || return 1
42
make install DESTDIR=${pkgdir} || return 1
43
44
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/cngpij
45
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-binpath=/usr/bin --enable-progpath=/usr/bin || return 1
46
make install DESTDIR=${pkgdir} || return 1
47
48
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/ppd
49
./autogen.sh --prefix=/usr --program-suffix=${printername} || return 1
50
make install DESTDIR=${pkgdir} || return 1
51
52
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/cnijfilter
53
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/bin --enable-progpath=/usr/bin || return 1
54
make clean
55
make || return 1
56
make install DESTDIR=${pkgdir} || return 1
57
58
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/printui
59
./autogen.sh --prefix=/usr --program-suffix=${printername} --datadir=/usr/share --enable-progpath=/usr/bin || return 1
60
make clean
61
make || return 1
62
make install DESTDIR=${pkgdir} || return 1
63
64
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/lgmon
65
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-binpath=/usr/bin --enable-progpath=/usr/bin || return 1
66
make clean
67
make || return 1
68
make install DESTDIR=${pkgdir} || return 1
69
70
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}/cngpijmon
71
./autogen.sh --prefix=/usr --program-suffix=${printername} --enable-progpath=/usr/bin || return 1
72
make clean
73
make || return 1
74
make install DESTDIR=${pkgdir} || return 1
75
76
cd ${srcdir}/cnijfilter-source-${pkgver}-${pkgrel}
77
install -d ${pkgdir}/usr/lib/bjlib
78
install -m 755 ${printercode}/database/* ${pkgdir}/usr/lib/bjlib
79
install -s -m 755 ${printercode}/libs_bin64/*.so.* ${pkgdir}/usr/lib
80
install -D LICENSE-cnijfilter-${pkgver}EN.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${pkgver}EN.txt
81
ln -s /usr/lib/cups/filter/pstocanonij${printername} ${pkgdir}/usr/lib/cups/filter/pstocanonij
82
chown -R root:root ${pkgdir}/usr/
83
84
}
85
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 |