tif22pnm

LOW
maintainer slavicanaf 19 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from Google Code Archive (a defunct but legitimate historical host) containing buildable source code; the package builds from source and installs small converter binaries, posing minimal risk despite the non-whitelisted host.

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 source is a tarball from Google Code Archive (a defunct but legitimate historical host) containing buildable source code; the package builds from source and installs small converter binaries, posing minimal risk despite the non-whitelisted host.

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:12 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/sam2p/$pkgname-$pkgver.tar.gz do.sh.patch)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Stefan Husmann <stefan.husmann@t-systems.com>
2# Contributor: menta
3
4pkgbase=tif22pnm
5pkgname=('tif22pnm' 'png22pnm')
6pkgver=0.14
7pkgrel=2
8pkgdesc="converter used by sam2p if available"
9arch=('i686' 'x86_64')
10url="http://pts.szit.bme.hu"
11license=('GPL')
12source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/sam2p/$pkgname-$pkgver.tar.gz do.sh.patch)
13sha256sums=('d59ea3f1fdd6802e66a44fbfa8979d4e61c9fd021de36675249a877392378e01'
14 '3835af3f4f8db84744fef7e00ecbc1cca1c026e2f5794e0746af2cd0558e2127')
15
16prepare() {
17 # patching do.sh
18 # Inspiration:
19 # http://code.google.com/p/pdfsizeopt/issues/detail?id=48#c9 --> -lz flag
20 # "undefined reference to symbol 'pow@@GLIBC_2.2.5'" --> -lm flag
21 # https://aur.archlinux.org/packages.php?ID=7573
22 cd "$srcdir/$pkgbase-$pkgver"
23 patch -p0 < "$srcdir"/do.sh.patch
24}
25
26build() {
27 cd "$srcdir/$pkgbase-$pkgver"
28 ./configure --prefix="$pkgdir"/usr
29 ./do.sh compile
30}
31
32package_png22pnm() {
33 cd "$srcdir/$pkgbase-$pkgver"
34 depends=('libpng')
35 install -Dm755 png22pnm "$pkgdir"/usr/bin/png22pnm
36}
37
38package_tif22pnm() {
39 cd "$srcdir/$pkgbase-$pkgver"
40 depends=('libtiff')
41 install -Dm644 README "$pkgdir"/usr/share/tif22pnm/README
42 install -Dm755 tif22pnm "$pkgdir"/usr/bin/tif22pnm
43}
44

Scan history

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

Report a package

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

0 / 4000
Your suggestion