summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2284660d2d4..a43f909f324 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Aug 30 11:27:08 UTC 2017
+# Tue Sep 12 07:57:32 UTC 2017
pkgbase = nomad
pkgdesc = A Distributed, Highly Available, Datacenter-Aware Scheduler
- pkgver = 0.6.2
+ pkgver = 0.6.3
pkgrel = 1
url = https://www.nomadproject.io/
arch = i686
@@ -11,17 +11,18 @@ pkgbase = nomad
makedepends = go
makedepends = git
depends = ethtool
+ depends = lxc
optdepends = docker
optdepends = rkt
optdepends = java-runtime-headless
backup = etc/nomad/server.conf
backup = etc/nomad/client.conf
- source = https://github.com/hashicorp/nomad/archive/v0.6.2/nomad-0.6.2.tar.gz
+ source = https://github.com/hashicorp/nomad/archive/v0.6.3/nomad-0.6.3.tar.gz
source = nomad-server.service
source = nomad-server.conf
source = nomad-client.service
source = nomad-client.conf
- sha256sums = 091d95e744f99139f4b4f2ca61394b45aa44cb7ee45f62958614767e43f61158
+ sha256sums = b24b4960b8a5e5a11885dc763d05adb25c05a4f939c2492ec181984caf9755a8
sha256sums = 52b0a22c3c0c72c642a8728cb48bd8797f4f6a12990e11bbb2342edcc2a9a206
sha256sums = da475bc4aa3b1493eb62f09e7f99dcc171e8ce6d74df3da30514cfdfe72a5714
sha256sums = 4c8fb7c18c67ca20e3ee07f25cf2f0c82b66c4c173275ae8d643c91cce3c0ceb
diff --git a/PKGBUILD b/PKGBUILD
index bbf973296e0..5eb3325201e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nomad
-pkgver=0.6.2
+pkgver=0.6.3
pkgrel=1
pkgdesc="A Distributed, Highly Available, Datacenter-Aware Scheduler"
arch=('i686' 'x86_64')
url="https://www.nomadproject.io/"
license=('MPL')
-depends=('ethtool')
+depends=('ethtool' 'lxc')
makedepends=('go' 'git')
optdepends=(
'docker'
@@ -17,7 +17,7 @@ optdepends=(
backup=(etc/nomad/{server,client}.conf)
source=(https://github.com/hashicorp/nomad/archive/v$pkgver/$pkgname-$pkgver.tar.gz
nomad-{server,client}.{service,conf})
-sha256sums=('091d95e744f99139f4b4f2ca61394b45aa44cb7ee45f62958614767e43f61158'
+sha256sums=('b24b4960b8a5e5a11885dc763d05adb25c05a4f939c2492ec181984caf9755a8'
'52b0a22c3c0c72c642a8728cb48bd8797f4f6a12990e11bbb2342edcc2a9a206'
'da475bc4aa3b1493eb62f09e7f99dcc171e8ce6d74df3da30514cfdfe72a5714'
'4c8fb7c18c67ca20e3ee07f25cf2f0c82b66c4c173275ae8d643c91cce3c0ceb'
@@ -28,18 +28,12 @@ prepare() {
cd src/github.com/hashicorp
rm -rf nomad
mv ../../../$pkgname-$pkgver nomad
- cd nomad
-
- sed -r -e 's/^GIT_COMMIT=.*/GIT_COMMIT=-/' \
- -e 's/^GIT_DIRTY=.*/GIT_DIRTY=""/' \
- -i scripts/build.sh
}
build() {
cd src/github.com/hashicorp/nomad
export GOPATH="$srcdir"
export PATH="$GOPATH/bin:$PATH"
- export NOMAD_DEV=1
if [ $CARCH == "x86_64" ]; then
export GOARCH=amd64
@@ -49,7 +43,10 @@ build() {
make bootstrap
mkdir -p bin
- CGO_ENABLED=1 go build -o bin/nomad
+ CGO_ENABLED=1 \
+ go build -ldflags '-X main.GitCommit=""' \
+ -tags lxc \
+ -o bin/nomad
}
package() {