pentaxpj-cups
The package downloads source code and documentation from non-whitelisted but plausible project-related hosts (openprinting.org, archive.org, web.archive.org); the content consists of PPD files, a CUPS filter, and user manuals—non-executable data or project-owned buildable source—posing no remote code execution or supply-chain risk.
Triggered rules
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 code and documentation from non-whitelisted but plausible project-related hosts (openprinting.org, archive.org, web.archive.org); the content consists of PPD files, a CUPS filter, and user manuals—non-executable data or project-owned buildable source—posing no remote code execution or supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:44
"${_target}::https://www.openprinting.org/download/printing/pentaxpj/pocketjet_cups/pocketjet_CUPS.tar.gz" -
PKGBUILD:46
"Pentax_PocketJet_II_and_PocketJet_200_users_guide.pdf::http://web.archive.org/web/20071017093018/http://www.megatron.fr/imprimantes/pdf/manuels/thermal/#pentax/doc_pocketjet_II-200_user_guide_e.pdf" -
PKGBUILD:47
"Pentax_PocketJet_3_and_PocketJet_3plus_users_guide.pdf::https://archive.org/download/manualsbase-id-384912/384912.pdf"
PKGBUILD
3 offending line(s) highlighted# Maintainer: dreieck
# PKGBUILD last time manually edited: At least on 2024-12-18.
_pkgname=pentaxpj-cups
pkgname="${_pkgname}"
epoch=0
pkgver=2.0.0
pkgrel=1
pkgdesc="PPD files and printer filter for Pentax PocketJet 200, PocketJet II, PocketJet 3 and PocketJet 3plus printers."
arch=('i686' 'x86_64')
url="https://www.openprinting.org/download/printing/pentaxpj/pocketjet_cups/"
license=(
'GPL-2.0-only'
'LicenseRef-custom:proprietary'
)
# groups=(
# "pentaxpj"
# )
depends=(
"glibc"
"libcups"
)
makedepends=(
"libcups" # For 'cups-config'
)
provides=(
# "${_pkgname}=${pkgver}"
"pentax-pocketjet-2-manual=2004"
"pentax-pocketjet-200-manual=2004"
"pentax-pocketjet-ii-manual=2004"
"pentax-pocketjet-3-manual=2004"
"pentax-pocketjet-3plus-manual=2004"
)
_target="${_pkgname}-${pkgver}.tar.gz"
_gccfixuppatch="${_pkgname}-${pkgver}-gcc-fixup.patch"
source=(
"${_target}::https://www.openprinting.org/download/printing/pentaxpj/pocketjet_cups/pocketjet_CUPS.tar.gz"
"${_gccfixuppatch}::https://www.openprinting.org/download/printing/pentaxpj/pocketjet_cups/pocketjet-fix.patch"
"Pentax_PocketJet_II_and_PocketJet_200_users_guide.pdf::http://web.archive.org/web/20071017093018/http://www.megatron.fr/imprimantes/pdf/manuels/thermal/#pentax/doc_pocketjet_II-200_user_guide_e.pdf"
"Pentax_PocketJet_3_and_PocketJet_3plus_users_guide.pdf::https://archive.org/download/manualsbase-id-384912/384912.pdf"
"license_users-guide_info.txt"
)
sha256sums=(
"3c395dfebbdcd0c93b6cf6c714e16940b80ba2580728400238beb9a3486fc9f5"
"fe981425bda813d4e659a384efe0584446cc9dc89af1d1f7905ac87e92a402d9"
"ab714ff7dac4cf61261b63836cc238873936c0816b5978d265acf49ffcb3cfcc"
"18fbf3edaea8ee10e9dd12741b5fb4122b3bb207c1dc63c173b958293691b4db"
"385590851fdc8464f0cb844f0d93e2b625ee46772ce8fad9d287d640db7e9fc2"
)
options+=('emptydirs')
prepare() {
cd "${srcdir}/pocketjet_CUPS"
patch -Np0 -i "${srcdir}/${_gccfixuppatch}"
# './configure' is needed for 'pkgver()'.
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin
}
pkgver() {
cd "${srcdir}/pocketjet_CUPS"
grep -E '^[[:space:]]*#define[[:space:]]+VERSION' config.h | awk '{print $3}' | tr -d \"\'
}
build() {
cd "${srcdir}/pocketjet_CUPS"
make
}
package() {
cd "${srcdir}/pocketjet_CUPS"
install -Dvm755 -t "${pkgdir}/$(cups-config --serverbin)/filter"/ rastertopocketjet
install -Dvm644 -t "${pkgdir}/$(cups-config --datadir)/model"/pentaxpj/ *.ppd
install -Dvm644 -t "${pkgdir}/usr/share/doc/${_pkgname}"/ AUTHORS INSTALL NEWS README "${srcdir}"/{Pentax_PocketJet_II_and_PocketJet_200_users_guide.pdf,Pentax_PocketJet_3_and_PocketJet_3plus_users_guide.pdf}
install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING "${srcdir}/license_users-guide_info.txt"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |