edb478c1a4
- partially revert service changes from
c33aec8e70
, now that we ship a util-linux version
that can always handle -all or +all with setpriv(1).
- remove TODO comment: switching to using a user + adding caps to it
would break some setups and is no longer necessary. It also isn't the
recommended setup from upstream.
30 lines
835 B
Bash
30 lines
835 B
Bash
# Template file for 'yggdrasil'
|
|
pkgname=yggdrasil
|
|
version=0.3.16
|
|
revision=1
|
|
wrksrc="yggdrasil-go-${version}"
|
|
build_style=go
|
|
go_import_path=github.com/yggdrasil-network/yggdrasil-go
|
|
hostmakedepends="git"
|
|
short_desc="Experiment in scalable routing as an encrypted IPv6 overlay network"
|
|
maintainer="Jan Christian Gruenhage <jan.christian@gruenhage.xyz>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://yggdrasil-network.github.io/"
|
|
distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz"
|
|
checksum=e03595b78906b171155aaa11c922be3418bd056f8547e4d9f5123b6047316eac
|
|
|
|
do_build() {
|
|
PKGNAME=${pkgname} PKGVER=${version} ./build
|
|
}
|
|
|
|
do_install() {
|
|
vbin yggdrasil
|
|
vsv yggdrasil
|
|
}
|
|
|
|
yggdrasilctl_package() {
|
|
short_desc="Administration utility for the yggdrasil node admin API"
|
|
pkg_install() {
|
|
vbin yggdrasilctl
|
|
}
|
|
}
|