FreeBSD Bugzilla – Attachment 234351 Details for
Bug 264370
net-mgmt/prometheus2: Update to 2.36.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net-mgmt/prometheus2: Update to 2.36.0
prometheus2-2.36.0.diff (text/plain), 4.40 KB, created by
David O'Rourke
on 2022-05-31 12:59:26 UTC
(
hide
)
Description:
net-mgmt/prometheus2: Update to 2.36.0
Filename:
MIME Type:
Creator:
David O'Rourke
Created:
2022-05-31 12:59:26 UTC
Size:
4.40 KB
patch
obsolete
>diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile >index a0eb2812bbe0..ad44a5a9f18c 100644 >--- a/net-mgmt/prometheus2/Makefile >+++ b/net-mgmt/prometheus2/Makefile >@@ -1,9 +1,10 @@ > PORTNAME= prometheus > DISTVERSIONPREFIX= v >-DISTVERSION= 2.33.5 >+DISTVERSION= 2.36.0 > CATEGORIES= net-mgmt >-MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod >-DISTFILES= go.mod:gomod >+MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod \ >+ https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:ui >+DISTFILES= go.mod:gomod ${PORTNAME}-web-ui-${DISTVERSION}.tar.gz:ui > > MAINTAINER= dor.bsd@xm0.uk > COMMENT= Systems monitoring and alerting toolkit >@@ -11,10 +12,11 @@ COMMENT= Systems monitoring and alerting toolkit > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >+PATCH_DEPENDS= bash:shells/bash >+ > USES= cpe gmake go:modules > > USE_GITHUB= yes >-GH_TUPLE= ports-assets:net-mgmt_prometheus2:${DISTVERSIONFULL}:assets > USE_RC_SUBR= prometheus > > GO_MODULE= github.com/prometheus/prometheus >@@ -58,8 +60,10 @@ SOURCE_DATE_EPOCH_CMD= date -ur $$(${GREP} TIMESTAMP ${DISTINFO_FILE} | ${SED} - > '+%Y%m%d-%T' > > post-patch: >- @${LN} -s ${WRKSRC_assets}/web/ui/assets_vfsdata.go \ >- ${WRKSRC}/web/ui/assets_vfadata.go >+ @${RM} -rf ${WRKSRC}/web/ui/static >+ # A symlink isn't good enough here, copy the entire static directory over >+ @${CP} -a ${WRKDIR}/static ${WRKSRC}/web/ui/static >+ @( cd ${WRKSRC} && ${WRKSRC}/scripts/compress_assets.sh ) > > post-install: > ${MKDIR} ${STAGEDIR}${DESTDIR}${PROMETHEUS_CONSOLES_DIR} >@@ -73,8 +77,8 @@ post-install: > && ${COPYTREE_SHARE} . ${STAGEDIR}${PROMETHEUS_CONSOLES_DIR} ) > > post-install-DOCS-on: >- ${MKDIR} ${STAGEDIR}${DOCSDIR} >- ( cd ${WRKSRC}/docs \ >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ @( cd ${WRKSRC}/docs \ > && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ) > > .include <bsd.port.post.mk> >diff --git a/net-mgmt/prometheus2/distinfo b/net-mgmt/prometheus2/distinfo >index 642d88bd0068..1053cddcda8d 100644 >--- a/net-mgmt/prometheus2/distinfo >+++ b/net-mgmt/prometheus2/distinfo >@@ -1,7 +1,7 @@ >-TIMESTAMP = 1653749506 >-SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/go.mod) = 5ea7655ecbe5065b78619bac7277d2598e3301387a65cbf210a686b7955e0298 >-SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/go.mod) = 4541 >-SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/prometheus-prometheus-v2.33.5_GH0.tar.gz) = a385dab190fd4bf973a9950d6c53fa9d2b92c55ea2225a53305fe546749ddc0d >-SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/prometheus-prometheus-v2.33.5_GH0.tar.gz) = 5858953 >-SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/ports-assets-net-mgmt_prometheus2-v2.33.5_GH0.tar.gz) = af7d729e4b69d7e90d70d9e64c31ee850616417318fc1168999ef0320988a550 >-SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.33.5_GH0/ports-assets-net-mgmt_prometheus2-v2.33.5_GH0.tar.gz) = 6047050 >+TIMESTAMP = 1653992116 >+SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/go.mod) = 74e49f0f2cf67d6c9dbcb3626cb9fa12ee4b95a977f7c5763851ba5fb3f709bb >+SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/go.mod) = 9168 >+SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/prometheus-web-ui-2.36.0.tar.gz) = 0be369da6a80610d5152a626aa5d1eb9d3c3fd2a569b174c40b7bce527a7200e >+SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/prometheus-web-ui-2.36.0.tar.gz) = 4387594 >+SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/prometheus-prometheus-v2.36.0_GH0.tar.gz) = c7b3b17edc22f93c4573b42c7c892123036b518f6058a0a97637b4190f74bc3f >+SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.36.0_GH0/prometheus-prometheus-v2.36.0_GH0.tar.gz) = 6019777 >diff --git a/net-mgmt/prometheus2/pkg-message b/net-mgmt/prometheus2/pkg-message >index 10ae0129b88d..4fed5e509efa 100644 >--- a/net-mgmt/prometheus2/pkg-message >+++ b/net-mgmt/prometheus2/pkg-message >@@ -1,4 +1,13 @@ > [ >+{ >+ message: <<EOF >+TLS 1.0 and 1.1 disabled by default client-side. >+Prometheus users can override this with the min_version parameter of tls_config. >+Certificates signed with the SHA-1 hash function are rejected. This doesn't apply to self-signed root certificates. >+EOF >+ maximum_version: "2.36.0" >+ type: upgrade >+} > { > message: <<EOF > promtool: Changed rule numbering from 0-based to 1-based when reporting rule errors.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dor.bsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 264370
: 234351