diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile index 13438e1d72b1..d1dd2237968b 100644 --- a/sysutils/nomad/Makefile +++ b/sysutils/nomad/Makefile @@ -1,43 +1,47 @@ PORTNAME= nomad DISTVERSIONPREFIX= v DISTVERSION= 1.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://raw.githubusercontent.com/hashicorp/nomad/${DISTVERSIONFULL}/ DISTFILES= go.mod \ api/go.mod +PATCH_SITES= https://github.com/hashicorp/nomad/commit/ +PATCHFILES= 2c86fe02834dc17a518d6e485aed66e971f7ed68.patch:-p1 \ + ed748105c9284e7c1d0feec20bb450d1d3c7007d.patch:-p1 + MAINTAINER= jhixson@FreeBSD.org COMMENT= Cluster manager and scheduler WWW= https://www.nomadproject.io/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:1.22,modules CPE_VENDOR= hashicorp USE_GITHUB= yes GH_ACCOUNT= hashicorp USE_RC_SUBR= nomad GO_MODULE= github.com/hashicorp/nomad GO_BUILDFLAGS= -tags ui \ -ldflags "-X main.GitDescribe=${DISTVERSIONFULL}" USERS= nomad GROUPS= nomad post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/nomad ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/client1.hcl ${STAGEDIR}${PREFIX}/etc/nomad/client1.hcl.sample ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/client2.hcl ${STAGEDIR}${PREFIX}/etc/nomad/client2.hcl.sample ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/server.hcl ${STAGEDIR}${PREFIX}/etc/nomad/server.hcl.sample # Bring DISTINFO_FILE into scope so we can get the timestamp. .include SOURCE_DATE_EPOCH_CMD= date -ur \ $$(${GREP} -m1 TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \ '+%Y-%m-%dT%H:%M:%SZ' .include diff --git a/sysutils/nomad/distinfo b/sysutils/nomad/distinfo index 0ca7b1043fef..aeeb2fe7b624 100644 --- a/sysutils/nomad/distinfo +++ b/sysutils/nomad/distinfo @@ -1,7 +1,11 @@ -TIMESTAMP = 1719734388 +TIMESTAMP = 1720895514 SHA256 (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/go.mod) = 337e0baea6cdf6d1048dad7dd0b001d234bb5bfd6892252c15a2050bf953269e SIZE (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/go.mod) = 14729 SHA256 (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/api/go.mod) = fbcc54abdb959be14d0e44d080a001ae030b97170f79ba4bd3bd78d277f053bf SIZE (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/api/go.mod) = 666 SHA256 (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/hashicorp-nomad-v1.8.1_GH0.tar.gz) = 4e6c3b97030c0d836180fa636d7c401adac43c0ac0322fd18e4033c679b9b4bb SIZE (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/hashicorp-nomad-v1.8.1_GH0.tar.gz) = 26295940 +SHA256 (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/2c86fe02834dc17a518d6e485aed66e971f7ed68.patch) = bafd4b3789d1e750203762b6f71beddcf8cbd78a52ce42de403c6473fced7559 +SIZE (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/2c86fe02834dc17a518d6e485aed66e971f7ed68.patch) = 1101 +SHA256 (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/ed748105c9284e7c1d0feec20bb450d1d3c7007d.patch) = d438ef866eeeea66f36c44f0ea3999374b500a5f69ceef4e8c6559db2127a877 +SIZE (go/sysutils_nomad/hashicorp-nomad-v1.8.1_GH0/ed748105c9284e7c1d0feec20bb450d1d3c7007d.patch) = 809