add zerotier-one package
This commit is contained in:
parent
3fc9a2afc7
commit
b8379f6bfc
2 changed files with 29 additions and 0 deletions
3
srcpkgs/zerotier-one/files/zerotier-one/run
Normal file
3
srcpkgs/zerotier-one/files/zerotier-one/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec 2>&1
|
||||||
|
exec zerotier-one
|
26
srcpkgs/zerotier-one/template
Normal file
26
srcpkgs/zerotier-one/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# template file for 'zerotier-one'
|
||||||
|
pkgname=zerotier-one
|
||||||
|
version=1.14.2
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="cargo pkg-config"
|
||||||
|
makedepends="openssl-devel libsodium-devel libnatpmp-devel http-parser-devel gcc"
|
||||||
|
short_desc="Smart ethernet switch for Earth"
|
||||||
|
maintainer="CringeTech Team <team@cringetech.net>"
|
||||||
|
license="BSL-1.1"
|
||||||
|
homepage="https://www.zerotier.com"
|
||||||
|
distfiles="https://github.com/zerotier/ZeroTierOne/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=c2f64339fccf5148a7af089b896678d655fbfccac52ddce7714314a59d7bddbb
|
||||||
|
repository=nonfree
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
vsed -i "s/sbin/bin/g" make-linux.mk
|
||||||
|
|
||||||
|
# disable SSO
|
||||||
|
vsed -i "/ZT_SSO_SUPPORTED=/s/1/0/g" make-linux.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv zerotier-one
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue