tif22pnm
maintainer slavicanaf
· 19 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgbase=tif22pnm
5
pkgname=('tif22pnm' 'png22pnm')
6
pkgver=0.14
7
pkgrel=2
8
pkgdesc="converter used by sam2p if available"
9
arch=('i686' 'x86_64')
10
url="http://pts.szit.bme.hu"
11
license=('GPL')
12
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/sam2p/$pkgname-$pkgver.tar.gz do.sh.patch)
13
sha256sums=('d59ea3f1fdd6802e66a44fbfa8979d4e61c9fd021de36675249a877392378e01'
14
'3835af3f4f8db84744fef7e00ecbc1cca1c026e2f5794e0746af2cd0558e2127')
15
16
prepare() {
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
26
build() {
27
cd "$srcdir/$pkgbase-$pkgver"
28
./configure --prefix="$pkgdir"/usr
29
./do.sh compile
30
}
31
32
package_png22pnm() {
33
cd "$srcdir/$pkgbase-$pkgver"
34
depends=('libpng')
35
install -Dm755 png22pnm "$pkgdir"/usr/bin/png22pnm
36
}
37
38
package_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) | 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 |