cnijfilter-ts7450series
maintainer lesebas
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Canon driver tarball from Canon's official gdlp01.c-wss.com domain, which is a standard host for Canon downloads; building from official vendor source is normal AUR packaging with low risk.
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 Canon's official gdlp01.c-wss.com domain, which is a standard host for Canon downloads; building from official vendor source is normal AUR packaging with low risk.
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:13
source=("https://gdlp01.c-wss.com/gds/1/0100010921/01/cnijfilter2-source-$pkgver-1.tar.gz" 'keytext.c.patch' 'libcnnet2.patch')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: lesebas <sebdeligny@gmail.com>
2
pkgname=cnijfilter-ts7450series
3
pkgver=6.10
4
pkgrel=3
5
pkgdesc="Canon IJ Printer Driver for Linux for Pixma 7450 series and other based on 6.10 version"
6
arch=('i686' 'x86_64')
7
url="https://www.canon.com.au/home-printers"
8
license=('GPL' 'custom:canon')
9
depends=('cups' 'libxml2' 'ghostscript')
10
makedepends=('automake' 'autoconf')
11
provides=('tocanonij' 'tocnpwg' 'cnijlgmon3')
12
conflicts=('cnijfilter' 'cnijfilter-mg3600' 'cnijfilter2')
13
source=("https://gdlp01.c-wss.com/gds/1/0100010921/01/cnijfilter2-source-$pkgver-1.tar.gz" 'keytext.c.patch' 'libcnnet2.patch')
14
md5sums=('207715a8b1fd0f727670a87ac46ce46d' '4384f5e566f0c88055f51727419d6945' '45312570d89e21b12358a2d7bea3a4a0')
15
16
[[ "$CARCH" == "x86_64" ]] && _arch="64" || _arch="32"
17
18
prepare() {
19
patch -Np1 -i ../keytext.c.patch
20
patch -Np1 -i ../libcnnet2.patch
21
cd "cnijfilter2-source-$pkgver-1"
22
sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c'
23
}
24
25
build() {
26
cd "cnijfilter2-source-$pkgver-1"
27
28
pushd cmdtocanonij2
29
./autogen.sh --prefix=/usr \
30
--datadir=/usr/share \
31
LDFLAGS="-L../../com/libs_bin$_arch"
32
make
33
popd
34
35
pushd cmdtocanonij3
36
./autogen.sh --prefix=/usr \
37
--datadir=/usr/share \
38
LDFLAGS="-L../../com/libs_bin$_arch"
39
make
40
popd
41
42
pushd cnijbe2
43
./autogen.sh --prefix=/usr \
44
--enable-progpath=/usr/bin
45
make
46
popd
47
48
pushd lgmon3
49
./autogen.sh --prefix=/usr \
50
--enable-libpath=/usr/lib/bjlib2 \
51
--enable-progpath=/usr/bin \
52
--datadir=/usr/share \
53
LDFLAGS="-L../../com/libs_bin$_arch"
54
make #CFLAGS="${CFLAGS} -fcommon"
55
popd
56
57
pushd rastertocanonij
58
./autogen.sh --prefix=/usr \
59
--enable-progpath=/usr/bin
60
make
61
popd
62
63
pushd tocanonij
64
./autogen.sh --prefix=/usr
65
make
66
popd
67
68
pushd tocnpwg
69
./autogen.sh --prefix=/usr
70
make
71
popd
72
}
73
74
check() {
75
cd "cnijfilter2-source-$pkgver-1"
76
77
pushd cmdtocanonij2
78
make check
79
popd
80
81
pushd cmdtocanonij3
82
make check
83
popd
84
85
pushd cnijbe2
86
make check
87
popd
88
89
pushd lgmon3
90
make check
91
popd
92
93
pushd rastertocanonij
94
make check
95
popd
96
97
pushd tocanonij
98
make check
99
popd
100
101
pushd tocnpwg
102
make check
103
popd
104
}
105
106
package() {
107
mkdir -p "$pkgdir/usr/lib/bjlib2"
108
mkdir -p "$pkgdir/usr/bin"
109
mkdir -p "$pkgdir/usr/lib/cups/filter"
110
mkdir -p "$pkgdir/usr/lib/cups/backend"
111
mkdir -p "$pkgdir/usr/share/cups/model"
112
113
cd "cnijfilter2-source-$pkgver-1"
114
115
install -m644 com/ini/cnnet.ini "$pkgdir/usr/lib/bjlib2"
116
install -sm755 com/libs_bin$_arch/*.so.* "$pkgdir/usr/lib"
117
install -Dm644 doc/LICENSE-cnijfilter-${pkgver}EN.txt \
118
"$pkgdir/usr/share/licenses/cnijfilter2/LICENSE"
119
120
pushd ppd
121
install -m644 *.ppd "$pkgdir/usr/share/cups/model"
122
popd
123
124
pushd cmdtocanonij2
125
make DESTDIR="$pkgdir/" install
126
popd
127
128
pushd cmdtocanonij3
129
make DESTDIR="$pkgdir/" install
130
popd
131
132
pushd cnijbe2
133
make DESTDIR="$pkgdir/" install
134
popd
135
136
pushd lgmon3
137
make DESTDIR="$pkgdir/" install
138
popd
139
140
pushd rastertocanonij
141
make DESTDIR="$pkgdir/" install
142
popd
143
144
pushd tocanonij
145
make DESTDIR="$pkgdir/" install
146
popd
147
148
pushd tocnpwg
149
make DESTDIR="$pkgdir/" install
150
popd
151
}
152
153
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 |