Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions srcpkgs/mycelium/files/mycelium/run
Original file line number Diff line number Diff line change
@@ -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}
21 changes: 21 additions & 0 deletions srcpkgs/mycelium/template
Original file line number Diff line number Diff line change
@@ -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 <johnmitrich@gmail.com>"
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
}