From 933a8ecac74b19caa11e8d2b72453779c31567d8 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Sat, 12 Sep 2026 15:15:39 +0300 Subject: [PATCH] New package: mycelium-0.7.10 --- srcpkgs/mycelium/files/mycelium/run | 8 ++++++++ srcpkgs/mycelium/template | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 srcpkgs/mycelium/files/mycelium/run create mode 100644 srcpkgs/mycelium/template diff --git a/srcpkgs/mycelium/files/mycelium/run b/srcpkgs/mycelium/files/mycelium/run new file mode 100755 index 00000000000000..79d851b456eeb3 --- /dev/null +++ b/srcpkgs/mycelium/files/mycelium/run @@ -0,0 +1,8 @@ +#!/bin/sh +exec 2>&1 +modprobe tun +[ -r ./conf ] && . ./conf +exec setpriv --ambient-caps +net_admin,+net_raw \ + --inh-caps +net_admin,+net_raw \ + --bounding-set -all,+net_admin,+net_raw \ + mycelium ${OPTS} diff --git a/srcpkgs/mycelium/template b/srcpkgs/mycelium/template new file mode 100644 index 00000000000000..1fa93fc0e050f6 --- /dev/null +++ b/srcpkgs/mycelium/template @@ -0,0 +1,21 @@ +# Template file for 'mycelium' +pkgname=mycelium +version=0.7.10 +revision=1 +build_style=cargo +# the myceliumd daemon crate is not part of the root workspace +make_build_args="--manifest-path myceliumd/Cargo.toml" +make_install_args="--path myceliumd" +hostmakedepends="pkg-config" +makedepends="openssl-devel" +short_desc="End-to-end encrypted IPv6 overlay network" +maintainer="John Mitrich " +license=Apache-2.0 +homepage="https://github.com/threefoldtech/mycelium" +changelog="https://raw.githubusercontent.com/threefoldtech/mycelium/main/CHANGELOG.md" +distfiles="https://github.com/threefoldtech/mycelium/archive/refs/tags/v${version}.tar.gz" +checksum=cc5d624366dd90b1b96d91faddeb3cbe5862128da5b3628f9327a3dfdc9db5d6 + +post_install() { + vsv mycelium +}