2018-05-24 19:12:51 +00:00
|
|
|
PORTNAME= redis_exporter
|
2021-10-26 08:09:25 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2024-03-29 13:54:31 +00:00
|
|
|
DISTVERSION= 1.58.0
|
2018-05-24 19:12:51 +00:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
MAINTAINER= arcade@b1t.name
|
|
|
|
COMMENT= Prometheus exporter for redis stats
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://github.com/oliver006/redis_exporter
|
2018-05-24 19:12:51 +00:00
|
|
|
|
|
|
|
LICENSE= MIT
|
2019-06-29 14:58:25 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2018-05-24 19:12:51 +00:00
|
|
|
|
2024-03-29 13:54:31 +00:00
|
|
|
USES= go:modules,1.22
|
2018-05-24 19:12:51 +00:00
|
|
|
|
2021-10-03 17:57:47 +00:00
|
|
|
USE_RC_SUBR= redis_exporter
|
2020-03-20 12:30:41 +00:00
|
|
|
|
2023-04-13 09:56:45 +00:00
|
|
|
GO_MODULE= github.com/oliver006/redis_exporter
|
2019-06-29 14:58:25 +00:00
|
|
|
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"
|
2018-05-24 19:12:51 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/redis_exporter
|
|
|
|
|
2019-05-11 22:39:47 +00:00
|
|
|
LD_FLAG_X_PREFIX= -X main
|
2023-03-23 01:31:19 +00:00
|
|
|
LD_FLAG_STRING= ${STRIP} ${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION}
|
2019-04-12 16:22:39 +00:00
|
|
|
|
2018-05-24 19:12:51 +00:00
|
|
|
.include <bsd.port.mk>
|