ueransim
LOW
maintainer lori28167
0 votes
scanned 2026-09-08 07:16:32.151301
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Lorenzo Cozzaglio <info@lori28167.it>
2
3
pkgname=ueransim
4
pkgver=3.3.0
5
pkgrel=1
6
pkgdesc="Open source 5G UE and RAN (gNodeB) implementation"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/aligungr/UERANSIM"
9
license=('AGPL-3.0-or-later')
10
depends=('lksctp-tools' 'gcc-libs' 'glibc')
11
makedepends=('cmake')
12
backup=('etc/ueransim/custom-gnb.yaml'
13
'etc/ueransim/custom-ue.yaml'
14
'etc/ueransim/free5gc-gnb.yaml'
15
'etc/ueransim/free5gc-ue.yaml'
16
'etc/ueransim/open5gs-gnb.yaml'
17
'etc/ueransim/open5gs-ue.yaml')
18
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
19
sha256sums=('80b17bb4959dc4d841ea41a6b6b8d694c58497fa79dc13edc14b677e6c0548f6')
20
21
_srcdir="UERANSIM-$pkgver"
22
23
prepare() {
24
# nr-binder preloads the shim from the current directory; point it at the
25
# installed library instead.
26
sed -i 's|LD_PRELOAD=\./libdevbnd\.so|LD_PRELOAD=/usr/lib/libdevbnd.so|' \
27
"$_srcdir/tools/nr-binder"
28
}
29
30
build() {
31
cmake -B build -S "$_srcdir" \
32
-DCMAKE_BUILD_TYPE=None \
33
-DCMAKE_INSTALL_PREFIX=/usr \
34
-Wno-dev
35
cmake --build build
36
}
37
38
package() {
39
install -Dm755 -t "$pkgdir/usr/bin" \
40
build/nr-gnb build/nr-ue build/nr-cli
41
install -Dm755 "$_srcdir/tools/nr-binder" "$pkgdir/usr/bin/nr-binder"
42
install -Dm755 build/libdevbnd.so "$pkgdir/usr/lib/libdevbnd.so"
43
44
install -Dm644 -t "$pkgdir/etc/ueransim" "$_srcdir"/config/*.yaml
45
install -Dm644 -t "$pkgdir/usr/share/ueransim" \
46
"$_srcdir/tools/rls-wireshark-dissector.lua"
47
48
install -Dm644 "$_srcdir/README.md" \
49
"$pkgdir/usr/share/doc/$pkgname/README.md"
50
install -Dm644 "$_srcdir/LICENSE" \
51
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-08 07:16:32 | Low | 1 |