PORTNAME= consul DISTVERSION= 1.19.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://raw.githubusercontent.com/hashicorp/consul/${DISTVERSIONFULL}/ DISTFILES= go.mod \ api/go.mod \ envoyextensions/go.mod \ proto-public/go.mod \ sdk/go.mod \ troubleshoot/go.mod MAINTAINER= bofh@FreeBSD.org COMMENT= Service discovery and configuration made easy WWW= https://www.consul.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= consul GO_MODULE= github.com/hashicorp/consul GO_BUILDFLAGS= -ldflags="-s \ -X github.com/hashicorp/consul/version.GitCommit=${GITID} \ -X github.com/hashicorp/consul/version.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ " ETCDIR= ${PREFIX}/etc/consul.d SUB_LIST= CONSUL_DBDIR=${CONSUL_DBDIR} \ GROUP=${CONSUL_GROUP} \ USER=${CONSUL_USER} USERS= ${CONSUL_USER} GROUPS= ${CONSUL_GROUP} PLIST_FILES= bin/consul CONSUL_USER?= consul CONSUL_GROUP?= consul CONSUL_DBDIR?= /var/db/${PORTNAME} GITID= 9fc827c # 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