ps3-zlib
maintainer disc-kuraudo
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL is from zlib.net, the official project domain, which is not on the standard whitelist but is legitimate; this is a normal build of the project's own source, posing no execution risk beyond standard AUR packages.
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 URL is from zlib.net, the official project domain, which is not on the standard whitelist but is legitimate; this is a normal build of the project's own source, posing no execution risk beyond standard AUR packages.
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:14
source=("https://zlib.net/fossils/zlib-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Darjan Krijan [https://disc-kuraudo.eu]
2
3
_target_alias="ppu"
4
_pkgname="zlib"
5
pkgname="ps3-${_pkgname}"
6
pkgver="1.3.1"
7
pkgrel=2
8
pkgdesc="Compression library implementing the deflate compression method found in gzip and PKZIP"
9
arch=(x86_64 aarch64 powerpc64le powerpc64 powerpc riscv64)
10
url="https://www.zlib.net/"
11
license=(custom)
12
depends=(ps3-env ps3-ppu-gcc)
13
options=(!emptydirs !strip staticlibs)
14
source=("https://zlib.net/fossils/zlib-${pkgver}.tar.gz")
15
sha256sums=('9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23')
16
17
source /opt/ps3dev/ps3toolchain.sh
18
19
prepare() {
20
cd "${srcdir}/${_pkgname}-${pkgver}"
21
22
sed -e "s/^static: /static: \$(STATICLIB) # /g" -i Makefile.in
23
}
24
25
build() {
26
cd "${srcdir}/${_pkgname}-${pkgver}"
27
28
export AR="${_target_alias}-ar" CC="${_target_alias}-gcc" RANLIB="${target_alias}-ranlib"
29
export CFLAGS="-O3 -flto=auto -ffat-lto-objects -DNDEBUG"
30
local _configure_flags=(
31
--prefix="${PS3DEV}/portlibs/ppu"
32
--static
33
)
34
./configure "${_configure_flags[@]}"
35
36
make static
37
}
38
39
package() {
40
cd "${srcdir}/${_pkgname}-${pkgver}"
41
42
make DESTDIR="${pkgdir}" install
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 |