makedeb
A scalable overlay networking tool with a focus on performance, simplicity and security
Click here to go back to the commit logs for nebula-bin.
Hash: e0a85bdae776d93d36cae369ab0f6e290f4bd3df
Message: Add support for arm64 and i386
diff --git a/.SRCINFO b/.SRCINFO
index 47fe2c0..5991367 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,25 @@
+generated-by = makedeb-makepkg
+
pkgbase = nebula-bin
pkgdesc = A scalable overlay networking tool with a focus on performance, simplicity and security
pkgver = 1.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/slackhq/nebula
arch = x86_64
+ arch = arm64
+ arch = i386
license = MIT
provides = nebula
conflicts = nebula
- source = https://github.com/slackhq/nebula/releases/download/v1.4.0/nebula-linux-amd64.tar.gz
source = https://raw.githubusercontent.com/slackhq/nebula/v1.4.0/examples/config.yml
source = https://raw.githubusercontent.com/slackhq/nebula/v1.4.0/examples/service_scripts/nebula.service
- sha256sums = d1ef37ca4d676f00df0ec83911cc2d9f1e70edc70651589210f9e97c68891b9b
sha256sums = 12602d3be4b7007d25e8a5fb0cbd14e0eaf0b5293f0eee7bab0ce949601480a1
sha256sums = 59b0a955b98022f1e8707993bbfbc4710661013233ed59567aef4803ae8f8c41
+ source_x86_64 = https://github.com/slackhq/nebula/releases/download/v1.4.0/nebula-linux-amd64.tar.gz
+ sha256sums_x86_64 = d1ef37ca4d676f00df0ec83911cc2d9f1e70edc70651589210f9e97c68891b9b
+ source_arm64 = https://github.com/slackhq/nebula/releases/download/v1.4.0/nebula-linux-arm64.tar.gz
+ sha256sums_arm64 = afb51679da0dfe56df588dc30d16d4bf9baceb166c4ed09b8fa71c12a70c33c0
+ source_i386 = https://github.com/slackhq/nebula/releases/download/v1.4.0/nebula-linux-386.tar.gz
+ sha256sums_i386 = 01b6b12db8227416e50c9d3dac59dd1b86faebf918978a4a03adb0a03c648fab
pkgname = nebula-bin
diff --git a/PKGBUILD b/PKGBUILD
index 9f13221..cf86483 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,25 @@
pkgname=nebula-bin
_pkgname=nebula
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security'
-arch=('x86_64')
+arch=('x86_64' 'arm64' 'i386')
url='https://github.com/slackhq/nebula'
license=('MIT')
provides=('nebula')
conflicts=('nebula')
-source=("${url}/releases/download/v${pkgver}/nebula-linux-amd64.tar.gz"
- "https://raw.githubusercontent.com/slackhq/nebula/v${pkgver}/examples/config.yml"
+source=("https://raw.githubusercontent.com/slackhq/nebula/v${pkgver}/examples/config.yml"
"https://raw.githubusercontent.com/slackhq/nebula/v${pkgver}/examples/service_scripts/nebula.service")
-sha256sums=('d1ef37ca4d676f00df0ec83911cc2d9f1e70edc70651589210f9e97c68891b9b'
- '12602d3be4b7007d25e8a5fb0cbd14e0eaf0b5293f0eee7bab0ce949601480a1'
+source_x86_64=("${url}/releases/download/v${pkgver}/nebula-linux-amd64.tar.gz")
+source_arm64=("${url}/releases/download/v${pkgver}/nebula-linux-arm64.tar.gz")
+source_i386=("${url}/releases/download/v${pkgver}/nebula-linux-386.tar.gz")
+sha256sums=('12602d3be4b7007d25e8a5fb0cbd14e0eaf0b5293f0eee7bab0ce949601480a1'
'59b0a955b98022f1e8707993bbfbc4710661013233ed59567aef4803ae8f8c41')
+sha256sums_x86_64=('d1ef37ca4d676f00df0ec83911cc2d9f1e70edc70651589210f9e97c68891b9b')
+sha256sums_arm64=('afb51679da0dfe56df588dc30d16d4bf9baceb166c4ed09b8fa71c12a70c33c0')
+sha256sums_i386=('01b6b12db8227416e50c9d3dac59dd1b86faebf918978a4a03adb0a03c648fab')
+
prepare() {
tar xvf "${srcdir}/nebula-linux-amd64.tar.gz"