norupo

LOW
maintainer mahmoud-ts 0 votes scanned 2026-09-23 01:39:21.955055
View on AUR
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
6pkgname=norupo
7pkgver=0.1.1
8pkgrel=1
9pkgdesc="Self-hosted local tunneling service (edge server + CLI agent), like ngrok"
10arch=('x86_64' 'aarch64')
11url="https://github.com/Mahmoud-walid/Norupo-tunnel"
12license=('Apache-2.0')
13depends=('gcc-libs')
14makedepends=('cargo')
15optdepends=(
16 'redis: shared routing table for multi-node edge deployments'
17)
18provides=('norupo' 'norupo-server')
19conflicts=('norupo-bin' 'norupo-git')
20backup=('etc/norupo/server.env')
21source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
22sha256sums=('96c8773a3f14e087b1b1615c88c7727e5a42434d6dc615dd3ecf34aadf01ff8c')
23
24_srcdir="Norupo-tunnel-$pkgver"
25
26prepare() {
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
34build() {
35 cd "$_srcdir"
36 export RUSTUP_TOOLCHAIN=stable
37 export CARGO_TARGET_DIR=target
38 cargo build --frozen --release --all-features
39}
40
41check() {
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
49package() {
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)SeverityRules
2026-09-23 01:39:21 Low 1

Report a package

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

0 / 4000
Your suggestion