librnd4-svn
LOW
maintainer taotieren
0 votes
scanned 2026-10-25 00:20:48.567348
Why flagged
The source is a Subversion checkout from the project's own domain (svn.repo.hu), which is plausibly official; building from source is normal for AUR, even if the host isn't whitelisted.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a Subversion checkout from the project's own domain (svn.repo.hu), which is plausibly official; building from source is normal for AUR, even if the host isn't whitelisted.
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
source=("svn://svn.repo.hu/librnd/trunk")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: taotieren <admin@taotieren.com>
2
3
pkgname=librnd4-svn
4
pkgver=r38278
5
pkgrel=1
6
pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
7
arch=($CARCH)
8
url="http://www.repo.hu/projects/librnd"
9
license=('LGPL-2.0-or-later')
10
provides=('librnd4=4.1.1' 'librnd3' 'librnd')
11
conflicts=('librnd4=4.1.1' 'librnd3' 'librnd')
12
depends=(
13
sh
14
# fungw
15
)
16
makedepends=(
17
subversion
18
)
19
optdepends=(
20
)
21
source=("svn://svn.repo.hu/librnd/trunk")
22
sha256sums=('SKIP')
23
24
pkgver() {
25
cd "$srcdir/trunk/"
26
local ver="$(svnversion)"
27
printf "r%s" "${ver//[[:alpha:]]/}"
28
}
29
30
prepare() {
31
cd "$srcdir/trunk/"
32
33
# Fix: C17 forbids implicit int<->pointer conversion
34
# draw_web2.c:81,96: void* assigned to int
35
# draw_web2.c:311: int cast to void*
36
sed -i '/#include "draw_web2.h"/a #include <stdint.h>' \
37
src/librnd/plugins/lib_exp_text/draw_web2.c
38
sed -i 's/int page = pctx->search\.array\[n+1\];/int page = (int)(intptr_t)pctx->search.array[n+1];/' \
39
src/librnd/plugins/lib_exp_text/draw_web2.c
40
sed -i 's/(void \*)pctx->page_idx)/(void \*)(intptr_t)pctx->page_idx)/' \
41
src/librnd/plugins/lib_exp_text/draw_web2.c
42
}
43
44
build() {
45
cd "$srcdir/trunk/"
46
./configure --prefix=/usr
47
make LDFLAGS="-Wl,-z,now -Wl,-z,relro"
48
}
49
50
package() {
51
cd "$srcdir/trunk/"
52
make DESTDIR="$pkgdir/" install
53
}
54
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |