head	1.5;
access;
symbols
	pkgsrc-2026Q3:1.5.0.2
	pkgsrc-2026Q3-base:1.5;
locks; strict;
comment	@# @;


1.5
date	2026.09.05.19.10.05;	author bsiegert;	state Exp;
branches;
next	1.4;
commitid	9ZfzZiM9sH3jXsUG;

1.4
date	2026.08.31.19.19.10;	author bsiegert;	state Exp;
branches;
next	1.3;
commitid	w58ayX00lU4maPTG;

1.3
date	2026.08.30.15.03.27;	author wiz;	state Exp;
branches;
next	1.2;
commitid	BACyzFor4hVOMFTG;

1.2
date	2026.08.22.15.19.18;	author bsiegert;	state Exp;
branches;
next	1.1;
commitid	y6FJlsYJaKI18ESG;

1.1
date	2026.08.22.11.35.29;	author tnn;	state Exp;
branches;
next	;
commitid	ZlFRgW1bnratTCSG;


desc
@@


1.5
log
@Revbump all Go packages after go127 update
@
text
@# $NetBSD: Makefile,v 1.4 2026/08/31 19:19:10 bsiegert Exp $

DISTNAME=	grafana-prometheus-datasource-13.1.9
PKGREVISION=	2
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GITHUB:=grafana/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/grafana/grafana-prometheus-datasource
COMMENT=	Prometheus data source for Grafana
LICENSE=	gnu-agpl-v3

DISTFILES=	${DEFAULT_DISTFILES}

FE_DISTNAME=			prometheus-13.1.9.linux_amd64.zip
DISTFILES+=			${FE_DISTNAME}
SITES.${FE_DISTNAME}=		https://github.com/grafana/grafana-prometheus-datasource/releases/download/v${PKGVERSION_NOREV}/
EXTRACT_DIR.${FE_DISTNAME}=	${WRKDIR}/linux
EXTRACT_ONLY=			${DEFAULT_DISTFILES} ${FE_DISTNAME}

USE_TOOLS+=		pax
GO_BUILD_PATTERN=	./pkg

.include "go-modules.mk"

PLUGINDIR=		share/grafana/plugins/prometheus

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}${PLUGINDIR}
	cd ${WRKDIR}/linux/prometheus && \
	  ${PAX} -rw . ${DESTDIR}${PREFIX}/${PLUGINDIR}/.
	${RM} -f ${DESTDIR}${PREFIX}/${PLUGINDIR}/gpx_grafana-prometheus-datasource_linux_amd64
	${RM} -f ${DESTDIR}${PREFIX}/${PLUGINDIR}/MANIFEST.txt
	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/pkg ${DESTDIR}${PREFIX}/${PLUGINDIR}/gpx_grafana-prometheus-datasource_${GO_PLATFORM}

.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
@


1.4
log
@Revbump all Go packages after go127 became the default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2026/08/30 15:03:27 wiz Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.3
log
@grafana-prometheus-datasource: update to 13.1.9.

13.1.9

🐛 Add an internal, experimental PromQL coauthoring capability for
the Monaco code editor, including its Grafana Core exposed-surface
integration. (#308)

🐛 Update broken dependency tree (#328)

13.1.8

⚙️ Bump grafana-plugin-sdk-go to v0.295.0, which sets a user agent
on all outgoing HTTP requests (#302)

⚙️ Bump grafana-plugin-sdk-go v0.296.1 (#289)

🐛 fix(QueryCache): cache relative-offset queries, not just 'now'
(#285)

🐛 fix(QueryBuilder): prevent sum by second label from reverting on
add (#300)

🐛 Introduce more devenv options for easier and more comprehensive
development (#301)

⚙️ Chore: Bump vulnerable frontend dependencies (js-cookie,
serialize-javascript, ws, uuid, form-data, brace-expansion, fast-uri,
ip-address) (#307)

🐛 Removing abstraction related logic. Abstraction PoC has concluded,
cleaning up relevant code. (#318)

🐛 Send resource requests through DataSourceWithBackend. metadataRequest
now uses getResource/postResource instead of building the legacy
/api/datasources/uid/<uid>/resources URL by hand, so resource calls
follow whichever resource API the Grafana instance is configured
to use. Its response shape is unchanged. The unused _request method
has been removed.

🐛 Improve numeric value parsing performance (#289)

🐛 Bump go v1.26.7 (#289)

🐛 Improve histogram parsing performance (#289)

🐛 Add search api support (#289)

🐛 Improve changeset creation (#289)

🐛 Fix: Convert 'one of' ad hoc filters for label lookups. Multi-value
=| / !=| ad hoc filters previously broke getTagKeys / getTagValues
with a Prometheus parse error and silently dropped all but the
first selected value. (#297)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2026/08/22 15:19:18 bsiegert Exp $
d4 1
@


1.2
log
@Revbump all Go packages after go126 update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/08/22 11:35:29 tnn Exp $
d3 1
a3 2
DISTNAME=	grafana-prometheus-datasource-13.1.7
PKGREVISION=	1
d15 1
a15 1
FE_DISTNAME=			prometheus-13.1.7.linux_amd64.zip
@


1.1
log
@www/grafana-prometheus-datasource: import grafana-prometheus-datasource-13.1.7

Grafana no longer bundles this plugin since 3.2.0 and the upstream
plugin catalog only distributes Darwin, Linux and Windows binaries,
so we need a pkgsrc package for it.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

