cnijfilter-mp620
maintainer orphaned
· 7 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source tarballs from Canon's official gdlp01.c-wss.com and SourceForge, both plausible project-owned hosts; the non-whitelisted host is a standard Canon download domain used for official drivers, and the sources are built from, not executed as prebuilt binaries, with no obfuscated or malicious payloads detected.
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 package downloads source tarballs from Canon's official gdlp01.c-wss.com and SourceForge, both plausible project-owned hosts; the non-whitelisted host is a standard Canon download domain used for official drivers, and the sources are built from, not executed as prebuilt binaries, with no obfuscated or malicious payloads detected.
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/6/0100001606/01/cnijfilter-common-$pkgver-1.tar.gz \
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tom Billiet <mouse256@gmail.com>
2
# Contributor: Olivier Duclos <olivier.duclos@gmail.com>
3
4
pkgname=cnijfilter-mp620
5
pkgver=3.00
6
pkgrel=4
7
pkgdesc="Canon drivers for the MP610/MP620/MP630 printer/scanner with improved PPD files"
8
arch=('i686' 'x86_64')
9
url="http://support-asia.canon-asia.com"
10
license=('custom')
11
if [ "${CARCH}" = 'x86_64' ]; then
12
depends=('lib32-libcups' 'cups' 'lib32-popt' 'ghostscript' 'lib32-libtiff' 'lib32-libpng')
13
makedepends=('gcc-multilib')
14
else
15
depends=('cups' 'popt' 'ghostscript')
16
fi
17
conflicts=('ppd-mp620-630' 'cnijfilter-common')
18
optdepends=("cups-bjnp: network printing support")
19
install=mp620.install
20
source=(http://gdlp01.c-wss.com/gds/6/0100001606/01/cnijfilter-common-$pkgver-1.tar.gz \
21
http://gdlp01.c-wss.com/gds/1/0100000841/01/cnijfilter-common-2.80-1.tar.gz \
22
http://downloads.sourceforge.net/mp610linux/ppdMP620-630en-1.5.tar.gz \
23
http://downloads.sourceforge.net/mp610linux/ppdMP610en-1.3.tar.gz \
24
missing-include.patch
25
libpng15.patch
26
mp610.patch
27
v3.00.patch
28
ppd.patch
29
autoconf.patch
30
10-usbprinter-canon-mp6x0.rules)
31
md5sums=('b4c3dab3c491fbe3f9dc830dae401a45'
32
'1319f320f9f6651b43e43c0b09af5b73'
33
'4635702d2bade156030ebf45fec2de18'
34
'98de653a2a2f81533ce8eef1f57b9987'
35
'59572dbb7f445620d1b3ba57f9fe0760'
36
'e75b117cd7a399c0861c4e8e10c30294'
37
'8991363b2699d55cd6378f6206f43f20'
38
'e280bec37a0a2ddc45b33854c36fb8c3'
39
'9faad9f56b3a4482af40aca783e9d4fe'
40
'b26ed3654ff141a0b4a34fd037fd1c57'
41
'ee8957e16e9c146fcfce28837e9c542d')
42
43
build() {
44
if [ "${CARCH}" = 'x86_64' ]; then
45
export CC="gcc -m32"
46
export CXX="g++ -m32"
47
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
48
LIBDIR="--libdir=/usr/lib32"
49
fi
50
51
#patching
52
cd $srcdir/cnijfilter-common-$pkgver
53
rm -f 327
54
ln -s ../cnijfilter-common-2.80/327 327
55
patch -Np2 -i ../missing-include.patch
56
patch -Np2 -i ../mp610.patch
57
patch -Np1 -i ../libpng15.patch
58
patch -Np2 -i ../v3.00.patch
59
patch -Np0 -i ../autoconf.patch
60
61
cd $srcdir/ppdMP620-630en-1.5
62
patch -Np2 -i ../ppd.patch
63
64
#building²
65
cd $srcdir/cnijfilter-common-$pkgver/libs
66
./autogen.sh --prefix=/usr $LIBDIR || return 1
67
68
cd $srcdir/cnijfilter-common-$pkgver/cngpij
69
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin $LIBDIR || return 1
70
71
cd $srcdir/cnijfilter-common-$pkgver/pstocanonij
72
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin $LIBDIR || return 1
73
74
cd $srcdir/cnijfilter-common-$pkgver/backend
75
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin $LIBDIR || return 1
76
77
cd $srcdir/cnijfilter-common-$pkgver
78
make || return 1
79
80
cd $srcdir/cnijfilter-common-$pkgver/cnijfilter
81
./autogen.sh --prefix=/usr --program-suffix=mp610 $LIBDIR --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/bin || return 1
82
make || return 1
83
}
84
85
package() {
86
cd $srcdir/cnijfilter-common-$pkgver
87
make install DESTDIR=$pkgdir || return 1
88
89
if [ "${CARCH}" = 'x86_64' ]; then
90
#hack
91
mkdir -p $pkgdir/usr/lib/cups/filter
92
mv $pkgdir/usr/lib32/cups/filter/pstocanonij $pkgdir/usr/lib/cups/filter/pstocanonij
93
rmdir $pkgdir/usr/lib32/cups/filter
94
rmdir $pkgdir/usr/lib32/cups/
95
rmdir $pkgdir/usr/lib32
96
fi
97
98
install -d $pkgdir/usr/lib/bjlib
99
install 327/database/*.tbl $pkgdir/usr/lib/bjlib
100
install 327/libs_bin/*.so.* $pkgdir/usr/lib
101
install -D LICENSE-cnijfilter-3.00EN.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
102
103
cd $srcdir/cnijfilter-common-$pkgver/cnijfilter
104
make install DESTDIR=$pkgdir || return 1
105
106
# Now we install the updated PPDs from http://mp610.blogspot.com
107
cd $srcdir/ppdMP620-630en-1.5
108
install -d $pkgdir/usr/share/cups/model
109
install canonmp620-630en.ppd $pkgdir/usr/share/cups/model/
110
install cifmp610.conf $pkgdir/usr/lib/bjlib/
111
112
# install mp610 ppd, patch the version number
113
cat $srcdir/canonmp610en.ppd | sed "s/Canon MP610 series Ver.2.80en/Canon MP610 series Ver.3.00/" > $pkgdir/usr/share/cups/model/canonmp610.ppd
114
115
# install udev rules for USB users
116
install -d $pkgdir/etc/udev/rules.d/
117
install $srcdir/10-usbprinter-canon-mp6x0.rules $pkgdir/etc/udev/rules.d/
118
}
119
120
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 |