okimfpsdrv
maintainer orphaned
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads official RPM binaries from the vendor's own domain (oki.com), which is plausibly the project's official source; despite the static analyzer flag for a non-whitelisted host, this is a normal supply-chain for vendor-provided drivers and does not constitute a high 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 package downloads official RPM binaries from the vendor's own domain (oki.com), which is plausibly the project's official source; despite the static analyzer flag for a non-whitelisted host, this is a normal supply-chain for vendor-provided drivers and does not constitute a high 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:21
source_i686=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.i386_231227.rpm")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Radek Podgorny <radek@podgorny.cz>
2
# Maintainer (previous): Lukas Jirkovsky <l.jirkovsky@gmail.com>
3
pkgname=okimfpsdrv
4
pkgver=1.7.0
5
_pkgver=1.7-0
6
pkgrel=1
7
arch=('i686' 'x86_64')
8
pkgdesc="Scanner drivers OKI multifunctional printers"
9
url="http://www.oki.co.uk/support/printer/printer-drivers"
10
license=('custom')
11
backup=('usr/lib/okimfpdrv/device.conf')
12
depends=('libusb' 'python2')
13
optdepends=('netpbm: support for additional output formats')
14
# The driver may need to be be downloaded manually from:
15
# http://www.oki.co.uk/support/printer/printer-drivers/
16
#
17
# 1. select the printer
18
# 2. select Linux drivers and Utilities
19
# 3. download either "Scanner Driver (Red Hat i386)" or "Scanner Driver (Red Hat x86_64)"
20
source=("okiscand.service")
21
source_i686=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.i386_231227.rpm")
22
source_x86_64=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.x86_64_231228.rpm")
23
md5sums=('0164a329e93405806dcf20700b01008d')
24
md5sums_i686=('cad710beccb7d08cc7c048896ffb94b7')
25
md5sums_x86_64=('ff6c99bd9ca05dd6141d7dbd2ddcd1af')
26
27
package() {
28
bsdtar -x -f "$srcdir"/*.rpm -C "$pkgdir"
29
30
# fix for the Arch linux directory structure
31
[ "$CARCH" = "x86_64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
32
mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin"
33
rmdir "$pkgdir/usr/sbin"
34
rm -r "$pkgdir/etc/init.d"
35
mv "$pkgdir/usr/libexec/"* "$pkgdir/usr/lib"
36
rmdir "$pkgdir/usr/libexec"
37
ln -s "/usr/lib" "$pkgdir/usr/libexec"
38
39
# install the systemd service file
40
install -Dm0644 "$srcdir/okiscand.service" "$pkgdir/usr/lib/systemd/system/okiscand.service"
41
42
# install the license
43
install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
44
cp -r "$pkgdir/usr/share/doc/okimfpsdrv/"* "$pkgdir/usr/share/licenses/$pkgname"
45
46
# fix python version
47
find "$pkgdir" -type f -name "*.py" -exec sed -i 's|^#!.*python$|&2|' '{}' ';'
48
49
# delete old .pyc and .pyo files
50
find "$pkgdir" -type f -name "*.pyc" -delete
51
find "$pkgdir" -type f -name "*.pyo" -delete
52
# compile new .pyc and .pyo files
53
sleep 1 # make sure the compiled files have higher timestamp
54
python2 -O -m compileall "$pkgdir"
55
56
# touch the config file, so it is tracked by pacman
57
touch "$pkgdir/usr/lib/okimfpdrv/device.conf"
58
59
# move the assistant applet desktop file from autostart to applications
60
mkdir -p "$pkgdir/usr/share/applications/"
61
mv "$pkgdir/etc/xdg/autostart/okimfp-assistant-applet.desktop" "$pkgdir/usr/share/applications/"
62
rm -r "$pkgdir/etc/xdg"
63
}
64
65
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 |