diff --git a/README.md b/README.md index f4feeb1..f4c6362 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ Currently, files in the repository are _only_ built for x86_64. I would like to extend it to other arches at some point but it is not a priority for me, and I do not know enough about the xbps build system to make it easily possible. +The repository can be added to xbps by adding the following to a file called (for example) `/etc/xbps.d/20-custom-repositories.conf`: + +```conf +repository=https://marty-oehme.github.io/void-templates +``` + +Then all packages herein can be installed. + ## ROADMAP - [x] Create new builds for all contained packages @@ -24,12 +32,13 @@ and I do not know enough about the xbps build system to make it easily possible. - [x] bemoji - [x] ripgrep-all -- [x] filtile (/src instead of bin) -- [x] dotter (/src instead of bin) -- [x] git-bug (/src) +- [x] filtile (bin build only) +- [x] dotter +- [x] git-bug - [ ] bugwarrior - only in pypi for now - [ ] viddy / hwatch -- [ ] netbird / protonvpn / piactl +- [x] netbird (bin build only. After install, enable service, then run 'netbird up') +- [ ] protonvpn / piactl - - [ ] taskopen - [ ] dstask diff --git a/srcpkgs/netbird-bin/files/netbird/log/run b/srcpkgs/netbird-bin/files/netbird/log/run new file mode 100755 index 0000000..36a49bd --- /dev/null +++ b/srcpkgs/netbird-bin/files/netbird/log/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec vlogger -t netbird -p daemon diff --git a/srcpkgs/netbird-bin/files/netbird/run b/srcpkgs/netbird-bin/files/netbird/run new file mode 100755 index 0000000..ac58530 --- /dev/null +++ b/srcpkgs/netbird-bin/files/netbird/run @@ -0,0 +1,4 @@ +#!/bin/sh + +exec 2>&1 +exec netbird --log-file=console service run diff --git a/srcpkgs/netbird-bin/template b/srcpkgs/netbird-bin/template new file mode 100644 index 0000000..d49d529 --- /dev/null +++ b/srcpkgs/netbird-bin/template @@ -0,0 +1,21 @@ +# Template file for 'netbird-bin' +pkgname=netbird-bin +version=0.39.1 +revision=1 +archs="x86_64" +short_desc="Connect your devices into a secure WireGuard-based overlay network with SSO, MFA and granular access controls." +maintainer="Marty Oehme " +license="BSD-3-Clause" +homepage="https://github.com/netbirdio/netbird" +distfiles="${homepage}/releases/download/v${version}/netbird_${version}_linux_amd64.tar.gz" +checksum=ac4dbf589cf33dc1c347a6dba569cdcaf8a6915f88c6a7baffdb35fcf9b954f0 + +do_install() { + vbin netbird +} + +post_install() { + vsv netbird + vlicense LICENSE + vdoc README.md +}