cnijfilter-mg3100
maintainer orphaned
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Canon official driver tarball from gdlp01.c-wss.com, a plausible Canon software delivery host; the package builds from source and installs compiled binaries and libraries, which is normal for a printer driver AUR package.
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 gdlp01.c-wss.com, a plausible Canon software delivery host; the package builds from source and installs compiled binaries and libraries, which is normal for a printer driver AUR package.
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:21
source=(http://gdlp01.c-wss.com/gds/8/0100003928/01/cnijfilter-source-${_pkgver}.tar.gz
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
2
# Maintainer: Doktor Schliemann <doktor.schliemann@gmail.com>
3
# Original Contributors: Fortunato Ventre (voRia) <vorione@gmail.com>
4
# Custom Processing Unlimited (CPUnltd) <CPUnltd@gmail.com>
5
# Giancarlo Bianchi <giancarlobianchi76@gmail.com>
6
# Nopsty <michi@nicce.at>
7
# Michael Unterkalmsteiner (mun) <miciu@gmx.de>
8
# Giancarlo Bianchi <giancarlobianchi76@gmail.com>
9
pkgname=cnijfilter-mg3100
10
pkgver=3.60
11
pkgrel=5
12
_pkgver=3.60-1
13
pkgdesc="Canon IJ Printer Driver (for MG3100 series)"
14
url="http://support-au.canon.com.au/contents/AU/EN/0100392802.html"
15
arch=('i686' 'x86_64')
16
license=('custom')
17
depends=('libcups' 'cups' 'popt' 'ghostscript' 'gsfonts' 'atk>=1.9.0' 'gtk2>=2.8.0' 'pango>=1.12.3' 'libpng>=1.5' 'libtiff' 'cairo>=1.0.2' 'libxml2>=2.6.24' 'fontconfig>=2.3.0' 'libxinerama')
18
makedepends=('autoconf>=2.13' 'automake>=1.6' 'tar' 'make' 'gcc')
19
conflicts=('cnijfilter-common')
20
install=cnijfilter-mg3100.install
21
source=(http://gdlp01.c-wss.com/gds/8/0100003928/01/cnijfilter-source-${_pkgver}.tar.gz
22
'build-fixes.patch'
23
'cups.patch'
24
'id.po.patch'
25
'libpng15.patch')
26
27
package() {
28
if [ "$CARCH" == "x86_64" ]; then
29
libdir=libs_bin64
30
else
31
libdir=libs_bin32
32
fi
33
34
## Patches
35
patch -p0 < build-fixes.patch
36
patch -p0 < cups.patch
37
patch -p0 < id.po.patch
38
patch -p0 < libpng15.patch
39
40
## Compile and install mg3100 stuff
41
# ppd file
42
cd ${srcdir}/cnijfilter-source-${_pkgver}/ppd
43
./autogen.sh --prefix=/usr --enable-ppdpath=/usr/share/cups/model --program-suffix=mg3100
44
make clean
45
make
46
make DESTDIR=${pkgdir} install
47
48
# cnijfilter
49
cd ${srcdir}/cnijfilter-source-${_pkgver}/cnijfilter
50
autoreconf -i
51
./autogen.sh --prefix=/usr --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/bin --program-suffix=mg3100
52
make clean
53
make
54
make DESTDIR=${pkgdir} install
55
56
# printui
57
cd ${srcdir}/cnijfilter-source-${_pkgver}/printui
58
./autogen.sh --prefix=/usr --datadir=/usr/share --program-suffix=mg3100
59
make clean
60
make
61
make DESTDIR=${pkgdir} install
62
63
# lgmon
64
cd ${srcdir}/cnijfilter-source-${_pkgver}/lgmon
65
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --program-suffix=mg3100
66
make clean
67
make
68
make DESTDIR=${pkgdir} install
69
70
# cngpijmon
71
cd ${srcdir}/cnijfilter-source-${_pkgver}/cngpijmon
72
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --datadir=/usr/share --program-suffix=mg3100
73
make clean
74
make
75
make DESTDIR=${pkgdir} install
76
77
## Compile and install common stuff
78
# libs
79
cd ${srcdir}/cnijfilter-source-${_pkgver}/libs
80
./autogen.sh --prefix=/usr
81
make clean
82
make
83
make DESTDIR=${pkgdir} install
84
85
# cngpij
86
cd ${srcdir}/cnijfilter-source-${_pkgver}/cngpij
87
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin
88
make clean
89
make
90
make DESTDIR=${pkgdir} install
91
92
# pstocanonij
93
cd ${srcdir}/cnijfilter-source-${_pkgver}/pstocanonij
94
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin
95
make clean
96
make
97
make DESTDIR=${pkgdir} install
98
99
# backend
100
cd ${srcdir}/cnijfilter-source-${_pkgver}/backend
101
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin
102
make clean
103
make
104
make DESTDIR=${pkgdir} install
105
106
# backendnet
107
cd ${srcdir}/cnijfilter-source-${_pkgver}/backendnet
108
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin LDFLAGS="-L../../com/${libdir}"
109
make clean
110
make
111
make DESTDIR=${pkgdir} install
112
113
# sm sub process
114
cd ${srcdir}/cnijfilter-source-${_pkgver}/cngpijmon/cnijnpr
115
./autogen.sh --prefix=/usr LDFLAGS="-ldl"
116
make clean
117
make
118
make DESTDIR=${pkgdir} install
119
120
# Install mg3100 libraries
121
install -d ${pkgdir}/usr/lib/
122
install -m 755 ${srcdir}/cnijfilter-source-${_pkgver}/387/${libdir}/*so.* ${pkgdir}/usr/lib/
123
install -d ${pkgdir}/usr/lib/bjlib/
124
install -m 644 ${srcdir}/cnijfilter-source-${_pkgver}/387/database/* ${pkgdir}/usr/lib/bjlib/
125
126
# Install common libraries
127
install -m 755 ${srcdir}/cnijfilter-source-${_pkgver}/com/${libdir}/*so.* ${pkgdir}/usr/lib/
128
install -m 666 ${srcdir}/cnijfilter-source-${_pkgver}/com/ini/* ${pkgdir}/usr/lib/bjlib/
129
130
# Make symbolic links for libraries
131
cd ${pkgdir}/usr/lib/
132
ln -s libcnnet.so.1.2.2 libcnnet.so
133
ln -s libcnbpcmcm387.so.8.10.1 libcnbpcmcm387.so
134
ln -s libcnbpcnclapi387.so.3.6.1 libcnbpcnclapi387.so
135
ln -s libcnbpcnclbjcmd387.so.3.3.0 libcnbpcnclbjcmd387.so
136
ln -s libcnbpcnclui387.so.3.6.1 libcnbpcnclui387.so
137
ln -s libcnbpess387.so.4.1.3 libcnbpess387.so
138
ln -s libcnbpo387.so.1.0.2 libcnbpo387.so
139
140
# Install license file
141
cd ${srcdir}/cnijfilter-source-${_pkgver}
142
install -D LICENSE-cnijfilter-${pkgver}EN.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${pkgver}EN.txt
143
}
144
md5sums=('70e412331a21f4b573b4e901c89cee18'
145
'5f4b3523f6542f0a90886e7e6264f19a'
146
'e406c2629159b9608c4552a5343471f0'
147
'e228560529d46e1f03617ba7bc9aa657'
148
'0eb3e6f17c090b07490f4a5d01de49da')
149
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 |