pdflib-lite
The source is a tarball from a personal server, but it is the official PDFlib-Lite library source code being built, not an executable; the realistic worst case of a swapped source is building malicious code, but the package otherwise follows standard build practices and installs documentation and examples as data.
Triggered rules
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 a personal server, but it is the official PDFlib-Lite library source code being built, not an executable; the realistic worst case of a swapped source is building malicious code, but the package otherwise follows standard build practices and installs documentation and examples as data.
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:14
source=(http://ponce.cc/slackware/sources/repo/${_pkgnamecaps}-${pkgver}.tar.gz LICENSE.pdf)
PKGBUILD
1 offending line(s) highlighted# Maintainer: Connor Behan <connor.behan@gmail.com>
# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
pkgname=pdflib-lite
_pkgnamecaps=PDFlib-Lite
pkgver=7.0.5p3
_basepkgver=${pkgver/p*/}
pkgrel=4
pkgdesc="PDF manipulation library."
url="https://www.pdflib.com"
arch=('i686' 'x86_64')
depends=('glibc')
provides=('pdflib')
source=(http://ponce.cc/slackware/sources/repo/${_pkgnamecaps}-${pkgver}.tar.gz LICENSE.pdf)
license=(custom:pdflib-lite)
build() {
cd "$srcdir"/$_pkgnamecaps-$pkgver
./configure --prefix=/usr
make
}
package() {
cd "$srcdir"/$_pkgnamecaps-$pkgver
make prefix="$pkgdir"/usr install
## Copy files required by the license
# Documentation
mkdir -p "$pkgdir"/usr/share/pdflib-lite/doc
cp ./doc/pdflib/* "$pkgdir"/usr/share/pdflib-lite/doc
# License
mkdir -p "$pkgdir"/usr/share/licenses/pdflib-lite
cp -H ../LICENSE.pdf "$pkgdir"/usr/share/licenses/pdflib-lite/LICENSE.pdf
# Examples
make -C ./bind/pdflib clean
cp -R ./bind/pdflib/{c,cpp,java} "$pkgdir"/usr/share/pdflib-lite
find "$pkgdir"/usr/share/pdflib-lite \( \
-name Makefile \
-o -name *.dsp \
-o -name *.dsw \
-o -name *.sln \
-o -name *.vcproj \
\) -exec rm {} \;
}
sha512sums=('c33c330f22a9be7dc9a7a32f6fcabec37fe89c76105d4b870e94a0528c4de7885dcdeae775424e30aef9618d49f01d802dbece6f01451493a531bb2effb3f556'
'a1d2324cca423a8dd95cb95772ef9600dbb65951d0fef90b79205c6303067dd7024c8c41936bf6e72258fcdcb747370f56912ae4c606c0d082d86be2f2b9d545')
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 |