mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
New package: nebula-1.1.0
This commit is contained in:
parent
224dee6ff3
commit
43a3176129
3 changed files with 30 additions and 0 deletions
2
srcpkgs/nebula/files/nebula/log/run
Executable file
2
srcpkgs/nebula/files/nebula/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger --tag nebula --priority daemon.info
|
6
srcpkgs/nebula/files/nebula/run
Executable file
6
srcpkgs/nebula/files/nebula/run
Executable 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
22
srcpkgs/nebula/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue