latrace
maintainer severach
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
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 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)
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:21
"http://people.redhat.com/jolsa/latrace/dl/${pkgname}-${pkgver}.tar.bz2"
PKGBUILD
1 offending line(s) highlighted
1
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
3
# Contributor: philomath <philomath868 AT gmail DOT com>
4
# Contributor: Sebastien Binet <binet@farnsworth>
5
6
# Build conflicts with docbook-xml-dtd
7
# Must reinstall docbook-xml to repair
8
9
set -u
10
pkgname='latrace'
11
pkgver='0.5.11'
12
pkgrel='2'
13
pkgdesc='trace library calls and get their statistics in a manner similar to the strace utility (syscall tracing)'
14
arch=('i686' 'x86_64')
15
url='http://people.redhat.com/jolsa/latrace/index.shtml'
16
license=('GPL3')
17
depends=('glibc')
18
makedepends=('asciidoc' 'xmlto' 'docbook-xml' 'docbook-xsl')
19
_verwatch=("http://people.redhat.com/jolsa/${pkgname}/download.shtml" "dl/${pkgname}-\([0-9\.]\+\)\.tar\.bz2" 'l')
20
source=(
21
"http://people.redhat.com/jolsa/latrace/dl/${pkgname}-${pkgver}.tar.bz2"
22
# https://lists.fedorahosted.org/archives/list/latrace@lists.fedorahosted.org/thread/DLDXFBPDNVKTV5YUYTUBMF4D4LY7XFMP/
23
'latrace-patch-armv7l.patch'
24
# https://build.opensuse.org/package/view_file/server:monitoring/latrace/reproducible.patch?expand=1
25
'latrace-patch-reproducible.patch'
26
# https://git.pengutronix.de/cgit/ptxdist/tree/patches/latrace-0.5.11
27
# https://www.mail-archive.com/ptxdist@pengutronix.de/msg11703.html
28
#'0001-Buildsystem-fix-configure-creation.patch'
29
#'0002-Buildsystem-fix-cross-compilation.patch'
30
'latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
31
)
32
sha256sums=('3b5afacafa8c1f9f00fb911466f4e2944162aaedfd81805f54e34c22652dbdd5'
33
'0e07f4875bff939f973717a591f632451b70f18280ed08f3ac743210bd187486'
34
'91650879c793850794d5b60cc0c481127558ce3d3485fa699081c2825ad2c92f'
35
'8c793ecd3fc16a41d3ffe54beb7dde5c18dbf61dc4c3372e4728125b1a1a404a')
36
37
prepare() {
38
set -u
39
cd "${pkgname}-${pkgver}"
40
# diff -pu5 configure.ac{.orig,} > '/home/chris/build/latrace/latrace-patch-armv7l.patch'
41
patch -bup0 < '../latrace-patch-armv7l.patch'
42
# diff -pu3 doc/asciidoc.conf.in{.orig,} > '/home/chris/build/latrace/latrace-patch-reproducible.patch'
43
patch -bup0 < '../latrace-patch-reproducible.patch'
44
# diff -pu5 src/config-flex.l{.orig,} > '/home/chris/build/latrace/latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
45
patch -bup0 < '../latrace-patch-0003-Fix-scanner-config-for-flex-2.6.x.patch'
46
set +u
47
}
48
49
build() {
50
set -u
51
cd "${pkgname}-${pkgver}"
52
if [ ! -s 'configure.log' ]; then
53
aclocal
54
autoconf
55
sed -e 's/CONFIG_ARCH_HAVE_TEST="y"/CONFIG_ARCH_HAVE_TEST="n"/' -i 'configure'
56
./configure --prefix='/usr' --sysconfdir='/etc'
57
fi
58
local _nproc="$(nproc)"; _nproc=$((_nproc>4?4:_nproc))
59
nice make -s -j "${_nproc}"
60
set +u
61
}
62
63
package() {
64
set -u
65
cd "${pkgname}-${pkgver}"
66
make -j1 DESTDIR="${pkgdir}/" install
67
set +u
68
}
69
set +u
70
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 |