--- a/sys-cluster/nomad/Manifest Mon Mar 30 15:18:38 2020 -0400
+++ b/sys-cluster/nomad/Manifest Sat Apr 11 22:42:31 2020 -0400
@@ -1,2 +1,3 @@
DIST github.com-kardianos-govendor-e31350db9750308ce016ebef8350a8ff1e0a37d0.tar.gz 1280155 BLAKE2B af7d11600ffd019945ea98ab3e5cd8b2e13c3a4836222d286cd05cdf46fc5e069547d196fd9ec67c1a575cfd928036a66815cf2485080b9c21882594e23affdf SHA512 90d04203f7e8571e1f88da4680519712751c021271659b7b5cd2455630c8592e292808c4473a1304ef3f996213e0c9069fbd1fd6ff93e720229db44672c990a8
DIST nomad-0.10.5.tar.gz 43766198 BLAKE2B 59262459feafcc4883e789416d154fdbc953aeaa3f4d0020997d0bd0a3f226ea527abd0fa9a1552b21875e768f2ce2698383a6b592dee190644f87bccd49a359 SHA512 42f3e55d8f4882a22d017ca2059174274f8b669052c30555925f86c1511b179d6cf1fc118e7d950f9e5c7d6421e48a6001f89cacb8f56ad5e9179318263a4461
+DIST nomad-0.11.0.tar.gz 52708805 BLAKE2B 50a2c3ffc7b7f3c0ebcb05a69fe96146b649528aeb6fdf050541cd34d46a290a9da76bfe37495537b5d82fddb0d890ab48ea82544a0c28e5cc6d223750dd9f5a SHA512 1578edf4862caba5ce62a412151c9d4fae94285250895644b38df1ee33ed368c073bc467f71da482a215a4b8059930f50a519d8456159c4f0696fbbd70a9fbb5
--- a/sys-cluster/nomad/files/nomad.confd Mon Mar 30 15:18:38 2020 -0400
+++ b/sys-cluster/nomad/files/nomad.confd Sat Apr 11 22:42:31 2020 -0400
@@ -4,7 +4,7 @@
# - user (default: nomad)
# extra arguments for the consul agent
-command_args="-config-dir=/etc/nomad.d"
+command_args="-config=/etc/nomad.d"
# upstream strongly recommends > 1
GOMAXPROCS=2
--- a/sys-cluster/nomad/nomad-0.10.5.ebuild Mon Mar 30 15:18:38 2020 -0400
+++ b/sys-cluster/nomad/nomad-0.10.5.ebuild Sat Apr 11 22:42:31 2020 -0400
@@ -45,6 +45,7 @@
keepdir "${x}"
fowners ${PN}:${PN} "${x}"
done
+ keepdir "/etc/nomad.d/"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys-cluster/nomad/nomad-0.11.0.ebuild Sat Apr 11 22:42:31 2020 -0400
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="The cluster manager from Hashicorp"
+HOMEPAGE="http://nomadproject.io"
+
+#RESTRICT="strip test"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-go/go-bindata dev-go/go-bindata-assetfs"
+RDEPEND="${DEPEND}
+ acct-group/nomad
+ acct-user/nomad
+ "
+BDEPEND=""
+EGO_PN="github.com/hashicorp/${PN}"
+EGO_VENDOR=(
+ "github.com/kardianos/govendor e31350db9750308ce016ebef8350a8ff1e0a37d0"
+)
+
+inherit golang-vcs-snapshot golang-build
+
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ $EGO_VENDOR_URI"
+
+src_compile() {
+ ego_pn_check
+ # for now disable nvidia support
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
+ GO_TAGS="nonvidia ui release" \
+ emake -C "${S}/src/${EGO_PN}" "pkg/linux_amd64/${PN}"
+}
+
+src_install() {
+ dobin "${S}/src/${EGO_PN}/pkg/linux_amd64/${PN}"
+
+ local x
+ for x in /var/{lib,log}/${PN}; do
+ keepdir "${x}"
+ fowners ${PN}:${PN} "${x}"
+ done
+ keepdir "/etc/nomad.d/"
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+}