New package: nebula-1.1.0

This commit is contained in:
Noel Cower 2019-12-01 12:35:31 -08:00 committed by Helmut Pozimski
parent 224dee6ff3
commit 43a3176129
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger --tag nebula --priority daemon.info

View file

@ -0,0 +1,6 @@
#!/bin/sh
set --
NEBULA_CONFIG=/etc/nebula
[ -r ./conf ] && . ./conf
exec 2>&1
exec nebula -config "${NEBULA_CONFIG}" "$@"

22
srcpkgs/nebula/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'nebula'
pkgname=nebula
version=1.1.0
revision=1
build_style=go
make_dirs="/etc/nebula 0750 root root"
go_import_path=github.com/slackhq/nebula
go_package="${go_import_path}/cmd/nebula ${go_import_path}/cmd/nebula-cert"
go_ldflags="-X main.Build=${version}"
hostmakedepends="git"
short_desc="Scalable overlay networking tool"
maintainer="Noel Cower <ncower@nil.dev>"
license="MIT"
homepage="https://github.com/slackhq/nebula"
distfiles="https://github.com/slackhq/nebula/archive/v${version}.tar.gz"
checksum=ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd
post_install() {
vlicense LICENSE
vsconf examples/config.yml
vsv nebula
}