New package: yggdrasil-0.2.7
This commit is contained in:
parent
3ef3c00577
commit
f82ca63a0c
3 changed files with 37 additions and 0 deletions
6
srcpkgs/yggdrasil/files/yggdrasil/run
Executable file
6
srcpkgs/yggdrasil/files/yggdrasil/run
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
if [ -f /etc/yggdrasil.conf ]; then
|
||||
exec /usr/bin/yggdrasil --useconffile /etc/yggdrasil.conf
|
||||
else
|
||||
exec /usr/bin/yggdrasil --autoconf
|
||||
fi
|
30
srcpkgs/yggdrasil/template
Normal file
30
srcpkgs/yggdrasil/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'yggdrasil'
|
||||
pkgname=yggdrasil
|
||||
version=0.2.7
|
||||
revision=1
|
||||
wrksrc="yggdrasil-go-${version}"
|
||||
build_style=go
|
||||
go_import_path=github.com/yggdrasil-network/yggdrasil-go
|
||||
hostmakedepends="go git"
|
||||
short_desc="An 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=4feff2b8c62b507269e8f9176964f46acdb550171e94f6d9cbfc351cf9cc6544
|
||||
|
||||
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
|
||||
}
|
||||
}
|
1
srcpkgs/yggdrasilctl
Symbolic link
1
srcpkgs/yggdrasilctl
Symbolic link
|
@ -0,0 +1 @@
|
|||
yggdrasil
|
Loading…
Reference in a new issue