cnijfilter-mp640
maintainer orphaned
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Canon driver tarball from gdlp01.c-wss.com, a plausible Canon download host; despite not being on a whitelist, it is a legitimate project source with a provided checksum, and the package builds from source without executing 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 driver tarball from gdlp01.c-wss.com, a plausible Canon download host; despite not being on a whitelist, it is a legitimate project source with a provided checksum, and the package builds from source without executing 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:28
source=("http://gdlp01.c-wss.com/gds/7/0100002367/01/cnijfilter-source-3.20-1.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
2
3
pkgname=cnijfilter-mp640
4
_pkgname=cnijfilter
5
6
pkgver=3.20
7
pkgrel=5
8
_pkgreview=1
9
10
pkgdesc="Canon IJ Printer Driver (For Multifunction MP640 series)"
11
url="http://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_mp_series/pixma_mp640.aspx"
12
13
arch=('i686' 'x86_64')
14
license=('custom')
15
16
makedepends_x86_64=('gcc-multilib')
17
depends_x86_64=('lib32-gtk2')
18
19
makedepends_i686=('gcc')
20
depends_i686=('gtk2')
21
22
makedepends=('autoconf>=2.13' 'automake>=1.6')
23
depends=("${_pkgname}-common=4.10")
24
25
install=cnijfilter-mp640.install
26
27
# File size: 6552576 bytes
28
source=("http://gdlp01.c-wss.com/gds/7/0100002367/01/cnijfilter-source-3.20-1.tar.gz"
29
"id.patch"
30
"cups.patch"
31
"libpng15.patch"
32
"mychanges.patch")
33
sha512sums=('3e6e5f3ed43e4054938387298a6d116828a0928568b3a165622c5a61abe9e39a30bc6d99a336317be228a794f0a2645b8f5453939695879f209b1a061b7d9164'
34
'b75cdbdadac5fb396458dc9f14529c5e39a4fa47f97cd6a21a69b0dbac73f1b8dd90780068f6a348fcfb15939d0866dde1a1cf1ff7faaf0c443d2205a242ccd5'
35
'747b17205a95197e8235959c691ee26b0c375ec8dae516416d16a9805c5b354c7019319d8be10c0c0230cfd8301ec5ddcd292bad245216d0a860cc2e6583c1fa'
36
'0d8310867f45721150a870170172d3a0688bfba0267f627a630c105ff965d31f25dbcc31d3795874325bcb8eaeee395bf32b0648a743ff663dea6f977ab9070e'
37
'd4f98b8bb2413ebf07a325b48318a60be4e01794dbebf29788eabc6c68e98086826d3bc4651bba334cfd5af04966d01985801f7beed35ac65893d52eb8a7b246')
38
39
prepare() {
40
cd ${srcdir}/${_pkgname}-source-${pkgver}-${_pkgreview}
41
42
patch -p1 -i ${srcdir}/id.patch
43
patch -p1 -i ${srcdir}/cups.patch
44
patch -p1 -i ${srcdir}/libpng15.patch
45
46
patch -p1 -i ${srcdir}/mychanges.patch
47
}
48
49
build() {
50
cd ${srcdir}/${_pkgname}-source-${pkgver}-${_pkgreview}
51
52
export CC="gcc -m32"
53
# Required for the glib2
54
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
55
make mp640
56
}
57
58
package() {
59
cd ${srcdir}/cnijfilter-source-${pkgver}-${_pkgreview}
60
make PACKAGEDIR=${pkgdir} installmp640
61
62
install -d ${pkgdir}/usr/lib32/bjlib
63
install -d ${pkgdir}/usr/lib/bjlib
64
install -m 644 362/database/* ${pkgdir}/usr/lib32/bjlib/
65
ln -rs ${pkgdir}/usr/lib32/bjlib/* ${pkgdir}/usr/lib/bjlib/
66
install -s -m 755 362/libs_bin/*.so.* ${pkgdir}/usr/lib32/
67
68
install -D LICENSE-cnijfilter-${pkgver}EN.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${pkgver}EN.txt
69
}
70
71
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 |