Index: head/sysutils/nomad/Makefile =================================================================== --- head/sysutils/nomad/Makefile (revision 426761) +++ head/sysutils/nomad/Makefile (revision 426762) @@ -1,84 +1,83 @@ # $FreeBSD$ PORTNAME= nomad -PORTVERSION= 0.4.0 +PORTVERSION= 0.5.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 CATEGORIES= sysutils -MAINTAINER= john@pcbsd.org +MAINTAINER= jhixson@gmail.com COMMENT= Cluster manager and scheduler LICENSE= MPL -BUILD_DEPENDS= go>=1.4:lang/go -RUN_DEPENDS= go>=1.4:lang/go +BUILD_DEPENDS= go>=1.7:lang/go +RUN_DEPENDS= go>=1.7:lang/go ONLY_FOR_ARCHS= amd64 USES= compiler USE_GITHUB= yes GH_ACCOUNT= hashicorp:DEFAULT kardianos:govendor mitchellh:gox \ golang:tools axw:gocov matm:gocov_html ugorji:go GH_PROJECT= govendor:govendor gox:gox tools:tools gocov:gocov \ gocov-html:gocov_html go:go -GH_TAGNAME= 36255b7:govendor 6e9ee79:gox 0d2bde8:tools \ - f5b2b5c:gocov b729399:gocov_html b94837a:go +GH_TAGNAME= v1.0.8:govendor v0.3.0:gox 8b84dae:tools \ + c77561c:gocov v1.1:gocov_html faddd61:go USE_RC_SUBR= nomad USERS= nomad GROUPS= nomad STRIP= post-patch: @${MKDIR} ${WRKSRC}/src/github.com/hashicorp/nomad .for src in .gitignore .travis.yml api CHANGELOG.md client command \ commands.go demo dist GNUmakefile helper ISSUE_TEMPLATE.md jobspec \ LICENSE main_test.go main.go nomad README.md scheduler scripts \ testutil Vagrantfile vendor version.go website @${MV} ${WRKSRC}/${src} \ ${WRKSRC}/src/github.com/hashicorp/nomad .endfor @${MKDIR} ${WRKSRC}/src/github.com/axw @${MKDIR} ${WRKSRC}/src/github.com/kardianos @${MKDIR} ${WRKSRC}/src/github.com/matm @${MKDIR} ${WRKSRC}/src/github.com/mitchellh @${MKDIR} ${WRKSRC}/src/github.com/ugorji @${MKDIR} ${WRKSRC}/src/golang.org/x @${MKDIR} ${WRKSRC}/src/gopkg.in/matm/v1 @${MV} ${WRKSRC_govendor} \ ${WRKSRC}/src/github.com/kardianos/govendor @${MV} ${WRKSRC_gox} \ ${WRKSRC}/src/github.com/mitchellh/gox @${MV} ${WRKSRC_gocov} \ ${WRKSRC}/src/github.com/axw/gocov @${MV} ${WRKSRC_go} \ ${WRKSRC}/src/github.com/ugorji/go @${MV} ${WRKSRC_gocov_html} \ ${WRKSRC}/src/gopkg.in/matm/v1/gocov-html @${MV} ${WRKSRC_tools} \ ${WRKSRC}/src/golang.org/x/tools do-build: @cd ${WRKSRC}/src/github.com/hashicorp/nomad; \ ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/nomad do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/nomad/bin/nomad ${STAGEDIR}${PREFIX}/bin/nomad ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nomad ${INSTALL_DATA} ${WRKSRC}/src/github.com/hashicorp/nomad/dist/client.hcl \ ${STAGEDIR}${PREFIX}/etc/nomad/client.hcl.sample ${INSTALL_DATA} ${WRKSRC}/src/github.com/hashicorp/nomad/dist/server.hcl \ ${STAGEDIR}${PREFIX}/etc/nomad/server.hcl.sample .include .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/sysutils/nomad/distinfo =================================================================== --- head/sysutils/nomad/distinfo (revision 426761) +++ head/sysutils/nomad/distinfo (revision 426762) @@ -1,14 +1,15 @@ -SHA256 (hashicorp-nomad-v0.4.0_GH0.tar.gz) = b9098781812b93a77ffdfadecd0d3fc8fd5f73dce4b48cd76495b0124bd8cfe5 -SIZE (hashicorp-nomad-v0.4.0_GH0.tar.gz) = 14668057 -SHA256 (kardianos-govendor-36255b7_GH0.tar.gz) = 6ca5ab2341a516e5a0b6285aecb02c886ab680daf8594c2f41fa8bdb654540ab -SIZE (kardianos-govendor-36255b7_GH0.tar.gz) = 106747 -SHA256 (mitchellh-gox-6e9ee79_GH0.tar.gz) = 27da8bad72f941f75d21be1a750aa0808004a95ad85f9ecf51f4af177d2c5bf7 -SIZE (mitchellh-gox-6e9ee79_GH0.tar.gz) = 15382 -SHA256 (golang-tools-0d2bde8_GH0.tar.gz) = b1b02559564a8445659dd9537984b5de04061564edfa3f29a2363e5cac035ce6 -SIZE (golang-tools-0d2bde8_GH0.tar.gz) = 1540259 -SHA256 (axw-gocov-f5b2b5c_GH0.tar.gz) = 839169e5c2c0583fa686e05affa4685a55e4b9b4ac08d571550cd2254fd0958c -SIZE (axw-gocov-f5b2b5c_GH0.tar.gz) = 12575 -SHA256 (matm-gocov-html-b729399_GH0.tar.gz) = 227555a0346c27daa21ef7da1bcf27af1c5715dd86fb74e4014a4f16ed9f2ec5 -SIZE (matm-gocov-html-b729399_GH0.tar.gz) = 125862 -SHA256 (ugorji-go-b94837a_GH0.tar.gz) = 51138e1177780f2b0204dbd03c6e40356bf493375652d880fb2c68f8e5daced8 -SIZE (ugorji-go-b94837a_GH0.tar.gz) = 167304 +TIMESTAMP = 1479585907 +SHA256 (hashicorp-nomad-v0.5.0_GH0.tar.gz) = a7d9126b4ce7937dbf3c72f14172261ddf59e88f4c2e4b7167601ab3ca421059 +SIZE (hashicorp-nomad-v0.5.0_GH0.tar.gz) = 17718704 +SHA256 (kardianos-govendor-v1.0.8_GH0.tar.gz) = 7e887b84c7a9278473f39ae8a74440ffc17b329aa193e9304d170d458f8785c7 +SIZE (kardianos-govendor-v1.0.8_GH0.tar.gz) = 114321 +SHA256 (mitchellh-gox-v0.3.0_GH0.tar.gz) = 29dc6b689f670a5444cc54cd9111549ccb01501901bc9197d0e1325a35157802 +SIZE (mitchellh-gox-v0.3.0_GH0.tar.gz) = 13735 +SHA256 (golang-tools-8b84dae_GH0.tar.gz) = ec2ab2f9ef0f6df7fbc12faba1fcd42768d9f50ff0f595d4201deaa2f9414d0f +SIZE (golang-tools-8b84dae_GH0.tar.gz) = 2192701 +SHA256 (axw-gocov-c77561c_GH0.tar.gz) = 47451bdf1a1704f3c08dc66b24572ead4f76b5bd21f802ed0ec7a3e049ebf3f9 +SIZE (axw-gocov-c77561c_GH0.tar.gz) = 12516 +SHA256 (matm-gocov-html-v1.1_GH0.tar.gz) = 0a0bc1168671c17c57eb3a0fd759c625d154bdd420aefac6e10e42d0116dff98 +SIZE (matm-gocov-html-v1.1_GH0.tar.gz) = 125858 +SHA256 (ugorji-go-faddd61_GH0.tar.gz) = f86b83ac7113121a99d6db8a5f1035ab877a62519257b2976ee98120be26cf40 +SIZE (ugorji-go-faddd61_GH0.tar.gz) = 168810 Index: head/sysutils/nomad/files/nomad.in =================================================================== --- head/sysutils/nomad/files/nomad.in (revision 426761) +++ head/sysutils/nomad/files/nomad.in (revision 426762) @@ -1,55 +1,55 @@ #!/bin/sh # $FreeBSD: head/sysutils/nomad/files/nomad.in 386655 2015-05-18 02:05:03Z swills $ # # PROVIDE: nomad # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # nomad_enable (bool): Set to NO by default. # Set it to YES to enable nomad. # nomad_user (user): Set user to run nomad. # Default is "nomad". # nomad_group (group): Set group to run nomad. # Default is "nomad". # nomad_dir (dir): Set dir to run nomad in. # Default is "/var/tmp/nomad". # nomad_env (dir): Set environment variables used with nomad # Default is "". . /etc/rc.subr name=nomad rcvar=nomad_enable load_rc_config $name : ${nomad_enable:="NO"} : ${nomad_user:="nomad"} : ${nomad_group:="nomad"} : ${nomad_dir:="/var/tmp/nomad"} : ${nomad_env:=""} pidfile=/var/run/nomad.pid procname="%%PREFIX%%/bin/nomad" command="/usr/sbin/daemon" -command_args="-f -p ${pidfile} /usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} -config=%%PREFIX%%/etc/nomad ${nomad_args}" +command_args="-f -p ${pidfile} /usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}" start_precmd=nomad_startprecmd nomad_startprecmd() { if [ ! -e ${pidfile} ]; then install -o ${nomad_user} -g ${nomad_group} /dev/null ${pidfile}; fi if [ ! -d ${nomad_dir} ]; then install -d -o ${nomad_user} -g ${nomad_group} ${nomad_dir} fi } run_rc_command "$1"