librnd4-svn

LOW
maintainer taotieren 0 votes scanned 2026-10-25 00:20:48.567348
View on AUR
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
3pkgname=librnd4-svn
4pkgver=r38278
5pkgrel=1
6pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
7arch=($CARCH)
8url="http://www.repo.hu/projects/librnd"
9license=('LGPL-2.0-or-later')
10provides=('librnd4=4.1.1' 'librnd3' 'librnd')
11conflicts=('librnd4=4.1.1' 'librnd3' 'librnd')
12depends=(
13 sh
14 # fungw
15)
16makedepends=(
17 subversion
18)
19optdepends=(
20)
21source=("svn://svn.repo.hu/librnd/trunk")
22sha256sums=('SKIP')
23
24pkgver() {
25 cd "$srcdir/trunk/"
26 local ver="$(svnversion)"
27 printf "r%s" "${ver//[[:alpha:]]/}"
28}
29
30prepare() {
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
44build() {
45 cd "$srcdir/trunk/"
46 ./configure --prefix=/usr
47 make LDFLAGS="-Wl,-z,now -Wl,-z,relro"
48}
49
50package() {
51 cd "$srcdir/trunk/"
52 make DESTDIR="$pkgdir/" install
53}
54

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion