Changeset View
Changeset View
Standalone View
Standalone View
databases/redis_exporter/Makefile
# Created by: Jev Björsell <ports@ecadlabs.com> | # Created by: Jev Björsell <ports@ecadlabs.com> | ||||
PORTNAME= redis_exporter | PORTNAME= redis_exporter | ||||
PORTVERSION= 1.27.1 | PORTVERSION= 1.29.0 | ||||
DISTVERSIONPREFIX=v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= databases | CATEGORIES= databases | ||||
MAINTAINER= arcade@b1t.name | MAINTAINER= arcade@b1t.name | ||||
COMMENT= Prometheus exporter for redis stats | COMMENT= Prometheus exporter for redis stats | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
USES= go:modules | USES= go:modules | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= oliver006 | GH_ACCOUNT= oliver006 | ||||
GH_TUPLE= \ | GH_TUPLE= beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ | ||||
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ | |||||
cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 \ | cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 \ | ||||
golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ | golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ | ||||
golang:sys:ebe580a85c40:golang_sys/vendor/golang.org/x/sys \ | golang:sys:ebe580a85c40:golang_sys/vendor/golang.org/x/sys \ | ||||
gomodule:redigo:v1.8.5:gomodule_redigo/vendor/github.com/gomodule/redigo \ | gomodule:redigo:v1.8.5:gomodule_redigo/vendor/github.com/gomodule/redigo \ | ||||
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ | matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ | ||||
mna:redisc:v1.3.2:gomodule_redisc/vendor/github.com/mna/redisc \ | |||||
prometheus:client_golang:v1.11.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ | prometheus:client_golang:v1.11.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ | ||||
prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ | prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ | ||||
prometheus:common:v0.26.0:prometheus_common/vendor/github.com/prometheus/common \ | prometheus:common:v0.26.0:prometheus_common/vendor/github.com/prometheus/common \ | ||||
prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ | prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ | ||||
protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ | protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ | ||||
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus | sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus | ||||
USE_RC_SUBR= redis_exporter | USE_RC_SUBR= redis_exporter | ||||
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" | GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" | ||||
PLIST_FILES= bin/redis_exporter | PLIST_FILES= bin/redis_exporter | ||||
LD_FLAG_X_PREFIX= -X main | LD_FLAG_X_PREFIX= -X main | ||||
LD_FLAG_STRING= -s \ | LD_FLAG_STRING= -s ${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION} | ||||
${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION} | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |