pentaxpj-filter
The package downloads a source tarball and documentation from web.archive.org, which is a non-standard host but used here to access archived project files; the source is verified via sha256sum and consists of buildable code and static data, with no evidence of remote code execution or malicious behavior.
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 a source tarball and documentation from web.archive.org, which is a non-standard host but used here to access archived project files; the source is verified via sha256sum and consists of buildable code and static data, with no evidence of remote code execution or malicious behavior.
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:63
"${_target}::http://web.archive.org/web/20160517131113if_/http://ww1.pragana.net/pentaxpj-${_pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck
# PKGBUILD last time manually edited: At least on 2024-12-18.
_pkgname=pentaxpj-filter
pkgname="${_pkgname}"
epoch=0
_pkgver=1.0.0
pkgver="${_pkgver}"
pkgrel=11
pkgdesc="Printer filter for Pentax PocketJet 200 and PocketJet II printers. Needed in addition to the PPDs/ files that come with foomatic-db/ CUPS. Includes printer documentation. (Package 'pentaxpj-cups' is recommended over 'pentaxpj-filter', though.)"
arch=('i686' 'x86_64')
url="http://web.archive.org/web/20191225160215/http://ww1.pragana.net/gdiprinters.html#pentaxpj" # Alternative: https://www.openprinting.org/download/printing/pentaxpj
license=(
'GPL-2.0-only'
'LicenseRef-custom:proprietary'
)
# groups=(
# "pentaxpj"
# )
depends=(
"bash"
"ghostscript"
"glibc"
)
makedepends=(
"gzip"
# "tk"
)
optdepends=(
"foomatic-db: To generate a PPD file for this printer when adding it via CUPS."
"tk: For GUI to change config file for LPD usage."
)
provides=(
# "${_pkgname}=${pkgver}"
"pentax-pocketjet-2-manual=2004"
"pentax-pocketjet-200-manual=2004"
"pentax-pocketjet-ii-manual=2004"
)
# conflicts=(
# "${_pkgname}"
# )
# replaces=(
# "${_pkgname}<=${pkgver}"
# )
backup=(
"etc/pentaxpj.conf"
)
install="${_pkgname}.install"
_target="pentaxpj-${_pkgver}.tar.gz"
source=(
"${_target}::http://web.archive.org/web/20160517131113if_/http://ww1.pragana.net/pentaxpj-${_pkgver}.tar.gz"
# Alternative source at https://www.openprinting.org/download/printing/pentaxpj
"pentaxpj.conf.a4"
"pentaxpj.conf.letter"
"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"
"${install}"
"license_users-guide_info.txt"
)
sha256sums=(
"e1ea36e1cdfcc733c69709717fb1ed97f2fd0f3e3a12197309277007df1b819b"
"402f62fef43ca1738d7ba8e7729864326ca138fa5a57fb0b46611f05585ed4c4"
"a2e25b291591b31b215a7001308f76b1ea7ece2eb803a7258f821bae1223c51a"
"ab714ff7dac4cf61261b63836cc238873936c0816b5978d265acf49ffcb3cfcc"
"de2be572b05566a43a509cf770cfda3f6fb650f87abd9005a877f968e0ae29d2"
"385590851fdc8464f0cb844f0d93e2b625ee46772ce8fad9d287d640db7e9fc2"
)
options+=('emptydirs')
build() {
cd "${srcdir}/pentaxpj"
make
gunzip test-page.ps.gz
gzip -9 test-page.ps
}
package() {
_instdirbase="/opt/${_pkgname}"
_instdir="${pkgdir}/${_instdirbase}"
_bindirbase="/usr/bin"
_bindir="${pkgdir}/${_bindirbase}"
_filterdirbase="/usr/lib/cups/filter"
_filterdir="${pkgdir}/${_filterdirbase}"
_spooldirbase="/var/spool/lpd"
_spooldir="${pkgdir}/${_spooldirbase}"
_etcdirbase="/etc"
_etcdir="${pkgdir}/${_etcdirbase}"
_docdirbase="/usr/share/doc/${_pkgname}"
_docdir="${pkgdir}/${_docdirbase}"
_licensedirbase="/usr/share/licenses/${pkgname}"
_licensedir="${pkgdir}/${_licensedirbase}"
_pixmapdirbase="/usr/share/pixmaps"
_pixmapdir="${pkgdir}/${_pixmapdirbase}"
cd "${_srcdir}"
install -v -d -m755 "${_instdir}"
(
cd pentaxpj
for _target in BWidget-* pentax.xpm pentaxpj pentaxpj_sh pentaxsetup test-page.ps.gz; do
cp -av "${_target}" "${_instdir}"/
done
chown root:lp "${_instdir}"/{pentaxsetup,pentaxpj,pentaxpj_sh}
chmod 754 "${_instdir}"/pentaxsetup
chmod 755 "${_instdir}"/{pentaxpj,pentaxpj_sh}
install -v -D -m644 README "${_docdir}"/README#
install -v -D -m644 pentax.xpm "${_pixmapdir}/pentaxpj.xpm"
)
for _docfile in pentaxpj.conf.* Pentax_PocketJet_II_and_PocketJet_200_users_guide.pdf; do
install -v -D -m644 "${srcdir}/${_docfile}" "${_docdir}/${_docfile}"
done
install -v -d -m755 "${_docdir}"
ln -sv "${_instdirbase}"/test-page.ps.gz "${_docdir}"/test-page.ps.gz
install -v -D -m664 pentaxpj.conf.a4 "${_etcdir}"/pentaxpj.conf
install -v -d -m755 "${_bindir}"
ln -sv "${_instdirbase}"/pentaxpj_sh "${_bindir}"/pentaxpj_sh
ln -sv "${_instdirbase}"/pentaxpj "${_bindir}"/pentaxpj
ln -sv "${_instdirbase}"/pentaxsetup "${_bindir}"/pentaxsetup
install -v -d -m755 "${_filterdir}"
ln -sv "${_instdirbase}"/pentaxpj_sh "${_filterdir}"/pentaxpj_sh
install -v -D -m644 license_users-guide_info.txt ${_licensedir}/license_users-guide_info.txt
install -v -d -m775 -g lp "${_spooldir}"
}
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 |