pigz-replace-gzip-static
The package builds from source tarballs hosted on the project's official domain (zlib.net) and a trusted GNU mirror; both sources are verifiable and used to compile the software, not execute prebuilt binaries.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source tarballs hosted on the project's official domain (zlib.net) and a trusted GNU mirror; both sources are verifiable and used to compile the software, not execute prebuilt binaries.
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:20
source=(https://www.zlib.net/$_pkgname/$_pkgname-$pkgver.tar.gz -
PKGBUILD:21
https://mirror.truenetwork.ru/gnu/gzip/gzip-${gzip_ver}.tar.gz
PKGBUILD
2 offending line(s) highlighted# Maintainer: Aleksej Kovura <aur-b1a3 at mekboy dot ru>
pkgname=pigz-replace-gzip-static
_pkgname=pigz
gzip_ver=1.14
pkgver=2.8
pkgrel=3
pkgdesc='Parallel gzip compressor, replaces gzip'
arch=('aarch64' 'x86_64')
url='https://www.zlib.net/pigz'
license=('custom')
makedepends=('zlib-ng-compat-static' 'musl' 'gcc' 'make' 'gzip')
optdepends=('diffutils: zdiff/zcmp support'
'grep: zegrep/zfgrep/zforce/zgrep support'
'less: zless support'
'util-linux: zmore support'
'sh: running zgrep, zless etc')
conflicts=('gzip' 'pigz')
provides=('gzip' 'pigz')
source=(https://www.zlib.net/$_pkgname/$_pkgname-$pkgver.tar.gz
https://mirror.truenetwork.ru/gnu/gzip/gzip-${gzip_ver}.tar.gz
makefile.patch)
sha256sums=('eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0'
'613d6ea44f1248d7370c7ccdeee0dd0017a09e6c39de894b3c6f03f981191c6b'
'ce30449bea773f266e07ce1d2ca5e790646307f49965b5fff2a526f0fc65b4ab')
prepare() {
cd $_pkgname-$pkgver
patch -p1 <../makefile.patch
ln -s /usr/include/zlib-ng-compat-static/zconf.h
ln -s /usr/include/zlib-ng-compat-static/zlib.h
ln -s /usr/include/zlib-ng-compat-static/zlib_name_mangling.h
ln -s /usr/lib/zlib-ng-compat-static/libz.a
}
build() {
make -C $_pkgname-$pkgver CFL="$CFLAGS" LDF="$LDFLAGS" -j $(nproc) pigz
}
check() {
make -C $_pkgname-$pkgver test
}
package() {
cd $_pkgname-$pkgver
./pigz pigz.1
install -Dm644 -t "$pkgdir"/usr/share/man/man1 pigz.1.gz
install -Dm644 -t "$pkgdir"/usr/share/licenses/$_pkgname README
install -sDm755 -t "$pkgdir"/usr/bin pigz
cd "$pkgdir"/usr/bin
ln -s pigz gzip
ln -s pigz unpigz
cd "$pkgdir"/usr/share/man/man1/
ln -s pigz.1.gz gzip.1.gz
ln -s pigz.1.gz gunzip.1.gz
cd "$srcdir"/gzip-${gzip_ver}
./configure --prefix="$pkgdir"/usr # "build" sh scripts to replace @STUFF@
make install-binSCRIPTS
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |