norupo
LOW
maintainer mahmoud-ts
0 votes
scanned 2026-09-23 01:39:21.955055
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: Mahmoud Walid <modywmbadr@gmail.com>
2
#
3
# Builds Norupo from the tagged source release. Prefer `norupo-bin` if you do
4
# not want to compile Rust locally.
5
6
pkgname=norupo
7
pkgver=0.1.1
8
pkgrel=1
9
pkgdesc="Self-hosted local tunneling service (edge server + CLI agent), like ngrok"
10
arch=('x86_64' 'aarch64')
11
url="https://github.com/Mahmoud-walid/Norupo-tunnel"
12
license=('Apache-2.0')
13
depends=('gcc-libs')
14
makedepends=('cargo')
15
optdepends=(
16
'redis: shared routing table for multi-node edge deployments'
17
)
18
provides=('norupo' 'norupo-server')
19
conflicts=('norupo-bin' 'norupo-git')
20
backup=('etc/norupo/server.env')
21
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
22
sha256sums=('96c8773a3f14e087b1b1615c88c7727e5a42434d6dc615dd3ecf34aadf01ff8c')
23
24
_srcdir="Norupo-tunnel-$pkgver"
25
26
prepare() {
27
cd "$_srcdir"
28
# Vendor the dependency graph up front so build() can run with --frozen,
29
# which is what makes the package reproducible.
30
export RUSTUP_TOOLCHAIN=stable
31
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
32
}
33
34
build() {
35
cd "$_srcdir"
36
export RUSTUP_TOOLCHAIN=stable
37
export CARGO_TARGET_DIR=target
38
cargo build --frozen --release --all-features
39
}
40
41
check() {
42
cd "$_srcdir"
43
export RUSTUP_TOOLCHAIN=stable
44
# The end-to-end suite binds only loopback ports, so it is safe in a
45
# sandboxed build chroot.
46
cargo test --frozen --workspace
47
}
48
49
package() {
50
cd "$_srcdir"
51
52
install -Dm0755 "target/release/norupo" "$pkgdir/usr/bin/norupo"
53
install -Dm0755 "target/release/norupo-server" "$pkgdir/usr/bin/norupo-server"
54
55
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
56
install -Dm0644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
57
install -Dm0644 docs/ARCHITECTURE.md "$pkgdir/usr/share/doc/$pkgname/ARCHITECTURE.md"
58
install -Dm0644 docs/SCALING.md "$pkgdir/usr/share/doc/$pkgname/SCALING.md"
59
60
# Optional server unit; the CLI agent needs none of this.
61
install -Dm0644 packaging/systemd/norupo-server.service \
62
"$pkgdir/usr/lib/systemd/system/norupo-server.service"
63
install -Dm0644 packaging/systemd/server.env \
64
"$pkgdir/etc/norupo/server.env"
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-23 01:39:21 | Low | 1 |