cnijfilter-e510
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from Canon's official distribution host (gdlp01.c-wss.com) which is not on the whitelist but is plausibly Canon's legitimate download infrastructure; the source is checksummed and built locally, which is standard for AUR packages.
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 a source tarball from Canon's official distribution host (gdlp01.c-wss.com) which is not on the whitelist but is plausibly Canon's legitimate download infrastructure; the source is checksummed and built locally, which is standard for AUR packages.
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:18
source=("http://gdlp01.c-wss.com/gds/6/0100005266/01/${_archive_name}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Roman Beslik <me@beroal.in.ua>
2
# Contributor: Bernhard Landauer <oberon@manjaro.org>
3
# Contributor: Tristelune <tristelune at archlinux dot info>
4
5
_model=e510
6
_pkgname=cnijfilter
7
pkgname=cnijfilter-${_model}
8
pkgver=3.80
9
pkgrel=3
10
_pkgreview=2
11
pkgdesc="Canon IJ Printer Driver (For PIXMA E510 series)"
12
url="https://www.canon-europe.com/support/consumer_products/products/printers/inkjet/other_pixma/pixma_e514.aspx"
13
arch=('i686' 'x86_64')
14
license=('custom')
15
depends=('libpng<=1.7.0' 'libtiff' 'gtk2' 'popt')
16
makedepends=('findutils' 'gawk')
17
_archive_name=${_pkgname}-source-${pkgver}-${_pkgreview}
18
source=("http://gdlp01.c-wss.com/gds/6/0100005266/01/${_archive_name}.tar.gz"
19
'cups.patch'
20
'libpng15.patch'
21
'configures.patch')
22
sha512sums=('693dad98b8e69bb4bbad3c62a600b0be5073e8765756cd57722038089387ffe532d01daf5a74d3a8aa93fdc14f7de0326b8aa67acce24d105b0dcb25dfd94be5'
23
'447be6afc113074c7401c8ffd603e01d7c127708f0038c5e3bb45c9b63543c477f4ee85806d8b90b886a60312936bfa9bedb19cfef6d688eaedbcd7f1fb9f526'
24
'0fb36eca8d6db03e5e55d03a81cf2b6bbcf203529611530429cf727582f83ba1db23165082ba2430ee88075cbcaacb13f9bb384c4fd20b23b91c6dc9d0e9cb09'
25
'2a5af45a1978ae37dfb5f6ef7c549be0fed2fc50df8acdb565bf9568fa3c0b2beb4441fef9c49ecf9b22f62acf0dd7cc91e48ab3642d2c26ff10f0cbd8071e13')
26
27
if [ "$CARCH" == "x86_64" ]; then
28
_libdir=libs_bin64
29
else
30
_libdir=libs_bin32
31
fi
32
33
prepare() {
34
cd "${_pkgname}-source-${pkgver}-${_pkgreview}"
35
patch -p1 -i ${srcdir}/cups.patch
36
patch -p1 -i ${srcdir}/libpng15.patch
37
patch -p1 -i ${srcdir}/configures.patch
38
}
39
40
build() {
41
## Compile and install ${_model} stuff
42
# ppd file
43
cd "${srcdir}/${_archive_name}/ppd"
44
./autogen.sh --prefix=/usr --enable-ppdpath=/usr/share/cups/model --program-suffix=${_model}
45
make
46
# cnijfilter
47
cd "${srcdir}/${_archive_name}/cnijfilter"
48
./autogen.sh --prefix=/usr --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/bin --program-suffix=${_model}
49
make
50
# lgmon
51
cd "${srcdir}/${_archive_name}/lgmon"
52
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --program-suffix=${_model}
53
make
54
# cngpijmon
55
cd "${srcdir}/${_archive_name}/cngpijmon"
56
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --datadir=/usr/share --program-suffix=${_model}
57
make
58
59
# cngpijmnt
60
cd "${srcdir}/${_archive_name}/cngpijmnt"
61
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --datadir=/usr/share --program-suffix=${_model}
62
make
63
64
## Compile common stuff
65
# libs
66
cd "${srcdir}/${_archive_name}/libs"
67
./autogen.sh --prefix=/usr
68
make
69
# cngpij, pstocanonij, backend
70
for _c in cngpij pstocanonij backend; do
71
cd "${srcdir}/${_archive_name}/${_c}"
72
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin
73
make
74
done
75
# backendnet
76
cd "${srcdir}/${_archive_name}/backendnet"
77
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin LDFLAGS="-L../../com/${_libdir}"
78
make
79
# sm sub process
80
cd "${srcdir}/${_archive_name}/cngpijmon/cnijnpr"
81
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin LIBS="-ldl"
82
make
83
# maintenance
84
cd "${srcdir}/${_archive_name}/maintenance"
85
./autogen.sh --prefix=/usr --datadir=/usr/share --program-suffix=${_model}
86
make
87
}
88
89
package() {
90
# get id of printer model
91
_cmd=$(find ${srcdir}/${_archive_name} -type f -name cif${_model}.conf -path '*[\d]*' -printf '%P' \
92
| gawk -F/ '{print $1}')
93
_id=${_cmd}
94
echo ${pkgdir}
95
96
97
for dir in ppd cnijfilter lgmon cngpijmon cngpijmnt libs cngpij pstocanonij backend backendnet cngpijmon/cnijnpr maintenance; do
98
cd "${srcdir}/${_archive_name}/${dir}"
99
make install DESTDIR="${pkgdir}"
100
done
101
102
# Install ${_id} libraries
103
install -d ${pkgdir}/usr/lib/
104
cp -P ${srcdir}/${_archive_name}/${_id}/${_libdir}/*so* ${pkgdir}/usr/lib/
105
install -d ${pkgdir}/usr/lib/bjlib/
106
install -m 644 ${srcdir}/${_archive_name}/${_id}/database/* ${pkgdir}/usr/lib/bjlib/
107
# Install common libraries
108
cp -P ${srcdir}/${_archive_name}/com/${_libdir}/*so* ${pkgdir}/usr/lib/
109
install -m 666 ${srcdir}/${_archive_name}/com/ini/* ${pkgdir}/usr/lib/bjlib/
110
111
# Install license file
112
cd ${srcdir}/${_archive_name}
113
install -d ${pkgdir}/usr/share/licenses/${pkgname}/
114
install -m 644 LICENSE-* ${pkgdir}/usr/share/licenses/${pkgname}/
115
}
116
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 |