latrace
The source is a tarball from a Red Hat developer's personal subdomain, which is non-standard but plausibly official for this project; the package builds from verified source code with provided checksums and applies only benign, transparent patches.
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 Red Hat developer's personal subdomain, which is non-standard but plausibly official for this project; the package builds from verified source code with provided checksums and applies only benign, transparent patches.
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:21
"http://people.redhat.com/jolsa/latrace/dl/${pkgname}-${pkgver}.tar.bz2"
PKGBUILD
1 offending line(s) highlighted# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: philomath <philomath868 AT gmail DOT com>
# Contributor: Sebastien Binet <binet@farnsworth>
# Build conflicts with docbook-xml-dtd
# Must reinstall docbook-xml to repair
set -u
pkgname='latrace'
pkgver='0.5.11'
pkgrel='2'
pkgdesc='trace library calls and get their statistics in a manner similar to the strace utility (syscall tracing)'
arch=('i686' 'x86_64')
url='http://people.redhat.com/jolsa/latrace/index.shtml'
license=('GPL3')
depends=('glibc')
makedepends=('asciidoc' 'xmlto' 'docbook-xml' 'docbook-xsl')
_verwatch=("http://people.redhat.com/jolsa/${pkgname}/download.shtml" "dl/${pkgname}-\([0-9\.]\+\)\.tar\.bz2" 'l')
source=(
"http://people.redhat.com/jolsa/latrace/dl/${pkgname}-${pkgver}.tar.bz2"
# https://lists.fedorahosted.org/archives/list/latrace@lists.fedorahosted.org/thread/DLDXFBPDNVKTV5YUYTUBMF4D4LY7XFMP/
'latrace-patch-armv7l.patch'
# https://build.opensuse.org/package/view_file/server:monitoring/latrace/reproducible.patch?expand=1
'latrace-patch-reproducible.patch'
# https://git.pengutronix.de/cgit/ptxdist/tree/patches/latrace-0.5.11
# https://www.mail-archive.com/ptxdist@pengutronix.de/msg11703.html
#'0001-Buildsystem-fix-configure-creation.patch'
#'0002-Buildsystem-fix-cross-compilation.patch'
'latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
)
sha256sums=('3b5afacafa8c1f9f00fb911466f4e2944162aaedfd81805f54e34c22652dbdd5'
'0e07f4875bff939f973717a591f632451b70f18280ed08f3ac743210bd187486'
'91650879c793850794d5b60cc0c481127558ce3d3485fa699081c2825ad2c92f'
'8c793ecd3fc16a41d3ffe54beb7dde5c18dbf61dc4c3372e4728125b1a1a404a')
prepare() {
set -u
cd "${pkgname}-${pkgver}"
# diff -pu5 configure.ac{.orig,} > '/home/chris/build/latrace/latrace-patch-armv7l.patch'
patch -bup0 < '../latrace-patch-armv7l.patch'
# diff -pu3 doc/asciidoc.conf.in{.orig,} > '/home/chris/build/latrace/latrace-patch-reproducible.patch'
patch -bup0 < '../latrace-patch-reproducible.patch'
# diff -pu5 src/config-flex.l{.orig,} > '/home/chris/build/latrace/latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
patch -bup0 < '../latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
set +u
}
build() {
set -u
cd "${pkgname}-${pkgver}"
if [ ! -s 'configure.log' ]; then
aclocal
autoconf
sed -e 's/CONFIG_ARCH_HAVE_TEST="y"/CONFIG_ARCH_HAVE_TEST="n"/' -i 'configure'
./configure --prefix='/usr' --sysconfdir='/etc'
fi
local _nproc="$(nproc)"; _nproc=$((_nproc>4?4:_nproc))
nice make -s -j "${_nproc}"
set +u
}
package() {
set -u
cd "${pkgname}-${pkgver}"
make -j1 DESTDIR="${pkgdir}/" install
set +u
}
set +u
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |