librnd4-svn
MEDIUM
maintainer taotieren
0 votes
scanned 2026-09-10 15:20:39.512721
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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
Changes since previous scan
--- PKGBUILD @ 2026-06-22 08:12+++ PKGBUILD @ 2026-09-10 15:20@@ -1,7 +1,7 @@ # Maintainer: taotieren <admin@taotieren.com> pkgname=librnd4-svn-pkgver=r38262+pkgver=r38278 pkgrel=1 pkgdesc="free/open source, flexible, modular two-dimensional CAD engine" arch=($CARCH)@@ -10,7 +10,6 @@ provides=('librnd4=4.1.1' 'librnd3' 'librnd') conflicts=('librnd4=4.1.1' 'librnd3' 'librnd') depends=(- glibc sh # fungw )Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-10 15:20:39 | Medium | 1 |
| 2026-06-22 08:12:41 | Clean | 2 |
| 2026-06-22 00:29:40 | Low | 2 |
| 2026-06-21 00:26:06 | Low | 2 |
| 2026-06-20 00:50:07 | Low | 2 |
| 2026-06-20 00:18:46 | Medium | 2 |
| 2026-06-19 23:51:18 | Medium | 2 |
| 2026-06-19 19:07:35 | Medium | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |