pentaxpj-filter

maintainer dreieck · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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:63 "${_target}::http://web.archive.org/web/20160517131113if_/http://ww1.pragana.net/pentaxpj-${_pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2
3# PKGBUILD last time manually edited: At least on 2024-12-18.
4
5_pkgname=pentaxpj-filter
6pkgname="${_pkgname}"
7epoch=0
8_pkgver=1.0.0
9pkgver="${_pkgver}"
10pkgrel=11
11pkgdesc="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.)"
12arch=('i686' 'x86_64')
13url="http://web.archive.org/web/20191225160215/http://ww1.pragana.net/gdiprinters.html#pentaxpj" # Alternative: https://www.openprinting.org/download/printing/pentaxpj
14license=(
15 'GPL-2.0-only'
16 'LicenseRef-custom:proprietary'
17)
18
19# groups=(
20# "pentaxpj"
21# )
22
23depends=(
24 "bash"
25 "ghostscript"
26 "glibc"
27)
28
29makedepends=(
30 "gzip"
31 # "tk"
32)
33
34optdepends=(
35 "foomatic-db: To generate a PPD file for this printer when adding it via CUPS."
36 "tk: For GUI to change config file for LPD usage."
37)
38
39provides=(
40 # "${_pkgname}=${pkgver}"
41 "pentax-pocketjet-2-manual=2004"
42 "pentax-pocketjet-200-manual=2004"
43 "pentax-pocketjet-ii-manual=2004"
44)
45
46# conflicts=(
47 # "${_pkgname}"
48# )
49
50# replaces=(
51 # "${_pkgname}<=${pkgver}"
52# )
53
54backup=(
55 "etc/pentaxpj.conf"
56)
57
58install="${_pkgname}.install"
59
60_target="pentaxpj-${_pkgver}.tar.gz"
61
62source=(
63 "${_target}::http://web.archive.org/web/20160517131113if_/http://ww1.pragana.net/pentaxpj-${_pkgver}.tar.gz"
64 # Alternative source at https://www.openprinting.org/download/printing/pentaxpj
65 "pentaxpj.conf.a4"
66 "pentaxpj.conf.letter"
67 "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"
68 "${install}"
69 "license_users-guide_info.txt"
70)
71
72sha256sums=(
73 "e1ea36e1cdfcc733c69709717fb1ed97f2fd0f3e3a12197309277007df1b819b"
74 "402f62fef43ca1738d7ba8e7729864326ca138fa5a57fb0b46611f05585ed4c4"
75 "a2e25b291591b31b215a7001308f76b1ea7ece2eb803a7258f821bae1223c51a"
76 "ab714ff7dac4cf61261b63836cc238873936c0816b5978d265acf49ffcb3cfcc"
77 "de2be572b05566a43a509cf770cfda3f6fb650f87abd9005a877f968e0ae29d2"
78 "385590851fdc8464f0cb844f0d93e2b625ee46772ce8fad9d287d640db7e9fc2"
79)
80
81options+=('emptydirs')
82
83build() {
84 cd "${srcdir}/pentaxpj"
85
86 make
87
88 gunzip test-page.ps.gz
89 gzip -9 test-page.ps
90}
91
92package() {
93 _instdirbase="/opt/${_pkgname}"
94 _instdir="${pkgdir}/${_instdirbase}"
95 _bindirbase="/usr/bin"
96 _bindir="${pkgdir}/${_bindirbase}"
97 _filterdirbase="/usr/lib/cups/filter"
98 _filterdir="${pkgdir}/${_filterdirbase}"
99 _spooldirbase="/var/spool/lpd"
100 _spooldir="${pkgdir}/${_spooldirbase}"
101 _etcdirbase="/etc"
102 _etcdir="${pkgdir}/${_etcdirbase}"
103 _docdirbase="/usr/share/doc/${_pkgname}"
104 _docdir="${pkgdir}/${_docdirbase}"
105 _licensedirbase="/usr/share/licenses/${pkgname}"
106 _licensedir="${pkgdir}/${_licensedirbase}"
107 _pixmapdirbase="/usr/share/pixmaps"
108 _pixmapdir="${pkgdir}/${_pixmapdirbase}"
109
110 cd "${_srcdir}"
111
112 install -v -d -m755 "${_instdir}"
113 (
114 cd pentaxpj
115 for _target in BWidget-* pentax.xpm pentaxpj pentaxpj_sh pentaxsetup test-page.ps.gz; do
116 cp -av "${_target}" "${_instdir}"/
117 done
118 chown root:lp "${_instdir}"/{pentaxsetup,pentaxpj,pentaxpj_sh}
119 chmod 754 "${_instdir}"/pentaxsetup
120 chmod 755 "${_instdir}"/{pentaxpj,pentaxpj_sh}
121
122 install -v -D -m644 README "${_docdir}"/README#
123
124 install -v -D -m644 pentax.xpm "${_pixmapdir}/pentaxpj.xpm"
125 )
126
127 for _docfile in pentaxpj.conf.* Pentax_PocketJet_II_and_PocketJet_200_users_guide.pdf; do
128 install -v -D -m644 "${srcdir}/${_docfile}" "${_docdir}/${_docfile}"
129 done
130
131 install -v -d -m755 "${_docdir}"
132 ln -sv "${_instdirbase}"/test-page.ps.gz "${_docdir}"/test-page.ps.gz
133
134 install -v -D -m664 pentaxpj.conf.a4 "${_etcdir}"/pentaxpj.conf
135
136 install -v -d -m755 "${_bindir}"
137 ln -sv "${_instdirbase}"/pentaxpj_sh "${_bindir}"/pentaxpj_sh
138 ln -sv "${_instdirbase}"/pentaxpj "${_bindir}"/pentaxpj
139 ln -sv "${_instdirbase}"/pentaxsetup "${_bindir}"/pentaxsetup
140
141 install -v -d -m755 "${_filterdir}"
142 ln -sv "${_instdirbase}"/pentaxpj_sh "${_filterdir}"/pentaxpj_sh
143
144 install -v -D -m644 license_users-guide_info.txt ${_licensedir}/license_users-guide_info.txt
145
146 install -v -d -m775 -g lp "${_spooldir}"
147}
148

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion