From 4a36b077b20c20d9d89165263c63d4c40a21b0a6 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sun, 22 Nov 2020 16:46:30 +0000 Subject: [PATCH] MFH: r554855 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit net-mgmt/pushgateway: Update to 0.10.0 This release changes the storage format. v0.10 can read the storage format of v0.5–v0.9. It will then persist the new format so that a downgrade won't be possible anymore[1]. [1] https://github.com/prometheus/pushgateway/releases/tag/v0.10.0 For this port 0.10.0, it is intended to replace it with a version >= 1.3.x from about four weeks on. So there will be four weeks for the migration. PR: 250587 Submitted by: Gabriel Dutra <0xdutra@gmail.com> (new maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D27165 Approved by: ports-secteam (fluffy) --- net-mgmt/pushgateway/Makefile | 46 ++++++++++++++++++---------------- net-mgmt/pushgateway/distinfo | 30 +++++++++++----------- net-mgmt/pushgateway/pkg-plist | 1 - 3 files changed, 39 insertions(+), 38 deletions(-) delete mode 100644 net-mgmt/pushgateway/pkg-plist diff --git a/net-mgmt/pushgateway/Makefile b/net-mgmt/pushgateway/Makefile index c97a87ecca14..00ad7e594e02 100644 --- a/net-mgmt/pushgateway/Makefile +++ b/net-mgmt/pushgateway/Makefile @@ -3,11 +3,10 @@ PORTNAME= pushgateway DISTVERSIONPREFIX= v -DISTVERSION= 0.9.1 -PORTREVISION= 1 +DISTVERSION= 0.10.0 CATEGORIES= net-mgmt -MAINTAINER= aduitsis@cpan.org +MAINTAINER= 0xdutra@gmail.com COMMENT= Prometheus push acceptor for ephemeral and batch jobs LICENSE= APACHE20 @@ -16,25 +15,28 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake go:modules USE_GITHUB= yes GH_ACCOUNT= prometheus -GH_TUPLE= \ - alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \ - alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \ - alecthomas:units:c3de453c63f4:alecthomas_units/vendor/github.com/alecthomas/units \ - beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ - go-kit:kit:v0.9.0:go_kit_kit/vendor/github.com/go-kit/kit \ - go-logfmt:logfmt:v0.4.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ - golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ - golang:sys:cbf593c0f2f3:golang_sys/vendor/golang.org/x/sys \ - julienschmidt:httprouter:v1.2.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \ - kr:logfmt:b84e30acd515:kr_logfmt/vendor/github.com/kr/logfmt \ - matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ - pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ - prometheus:client_golang:v1.1.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ - prometheus:client_model:fd36f4220a90:prometheus_client_model/vendor/github.com/prometheus/client_model \ - prometheus:common:v0.6.0:prometheus_common/vendor/github.com/prometheus/common \ - prometheus:procfs:v0.0.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ - shurcooL:httpfs:8d4bc4ba7749:shurcool_httpfs/vendor/github.com/shurcooL/httpfs \ - shurcooL:vfsgen:6a9ea43bcacd:shurcool_vfsgen/vendor/github.com/shurcooL/vfsgen + +PLIST_FILES= bin/pushgateway + +GH_TUPLE= \ + alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \ + alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \ + alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \ + beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ + go-kit:kit:v0.9.0:go_kit_kit/vendor/github.com/go-kit/kit \ + go-logfmt:logfmt:v0.4.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ + golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ + golang:sys:06d7bd2c5f4f:golang_sys/vendor/golang.org/x/sys \ + julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \ + kr:logfmt:b84e30acd515:kr_logfmt/vendor/github.com/kr/logfmt \ + matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ + pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ + prometheus:client_golang:v1.1.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ + prometheus:client_model:14fe0d1b01d4:prometheus_client_model/vendor/github.com/prometheus/client_model \ + prometheus:common:v0.7.0:prometheus_common/vendor/github.com/prometheus/common \ + prometheus:procfs:v0.0.5:prometheus_procfs/vendor/github.com/prometheus/procfs \ + shurcooL:httpfs:8d4bc4ba7749:shurcool_httpfs/vendor/github.com/shurcooL/httpfs \ + shurcooL:vfsgen:6a9ea43bcacd:shurcool_vfsgen/vendor/github.com/shurcooL/vfsgen USE_RC_SUBR= pushgateway diff --git a/net-mgmt/pushgateway/distinfo b/net-mgmt/pushgateway/distinfo index 01386424ecb9..61d1456e8a7f 100644 --- a/net-mgmt/pushgateway/distinfo +++ b/net-mgmt/pushgateway/distinfo @@ -1,12 +1,12 @@ -TIMESTAMP = 1568986174 -SHA256 (prometheus-pushgateway-v0.9.1_GH0.tar.gz) = bb559cef0da9457120ca3a6b13dc631977cc70f3cd90d53d6b53ffa2632b0376 -SIZE (prometheus-pushgateway-v0.9.1_GH0.tar.gz) = 4743766 +TIMESTAMP = 1603850921 +SHA256 (prometheus-pushgateway-v0.10.0_GH0.tar.gz) = dba0c146398dcc7f6859b5b261d5b26a628d61ab32028de7984892cbc7e25ad4 +SIZE (prometheus-pushgateway-v0.10.0_GH0.tar.gz) = 4776112 SHA256 (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 4624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a SIZE (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 44383 SHA256 (alecthomas-template-fb15b899a751_GH0.tar.gz) = 2e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e SIZE (alecthomas-template-fb15b899a751_GH0.tar.gz) = 55339 -SHA256 (alecthomas-units-c3de453c63f4_GH0.tar.gz) = b2eb77de46e677edb150bb4bf81d213416a477525980e315264cbd70b22d0ece -SIZE (alecthomas-units-c3de453c63f4_GH0.tar.gz) = 3485 +SHA256 (alecthomas-units-f65c72e2690d_GH0.tar.gz) = ece06024b01821e013bd7158dfe8ec8cc697f586ce8d3cfaa22edde8c2f022c3 +SIZE (alecthomas-units-f65c72e2690d_GH0.tar.gz) = 4925 SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825 SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867 SHA256 (go-kit-kit-v0.9.0_GH0.tar.gz) = 41e92e4f5a6111e6f88bec9b46ca41d6eb9167dc2231813616bdf365e641be44 @@ -15,10 +15,10 @@ SHA256 (go-logfmt-logfmt-v0.4.0_GH0.tar.gz) = eddccc7c8d39a6381f7152e73ebf3c725d SIZE (go-logfmt-logfmt-v0.4.0_GH0.tar.gz) = 12724 SHA256 (golang-protobuf-v1.3.2_GH0.tar.gz) = c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65 SIZE (golang-protobuf-v1.3.2_GH0.tar.gz) = 312285 -SHA256 (golang-sys-cbf593c0f2f3_GH0.tar.gz) = 3590c55ef807ee27909fecdd771996ab55ad5306f5174b877810a9a9915f0a18 -SIZE (golang-sys-cbf593c0f2f3_GH0.tar.gz) = 1454976 -SHA256 (julienschmidt-httprouter-v1.2.0_GH0.tar.gz) = 54bdf6b53508bead0a9d4bae96beba3ac5171ce3a2e44c84431a7f23570b8ff5 -SIZE (julienschmidt-httprouter-v1.2.0_GH0.tar.gz) = 22914 +SHA256 (golang-sys-06d7bd2c5f4f_GH0.tar.gz) = 19001cb8e1ddc5d57fa7e90f3b252487bf16cf9ca77b38af053ae64e3e721df9 +SIZE (golang-sys-06d7bd2c5f4f_GH0.tar.gz) = 1496370 +SHA256 (julienschmidt-httprouter-v1.3.0_GH0.tar.gz) = 2999dffc23f8ac3872ea37d108ddec0ba570d2780a42876300bdcdb0744908e2 +SIZE (julienschmidt-httprouter-v1.3.0_GH0.tar.gz) = 23889 SHA256 (kr-logfmt-b84e30acd515_GH0.tar.gz) = bf056ba7960b6846f2aa2c6ec0a217ead3e7259bc6c537f9f3ba3af6eb82cb80 SIZE (kr-logfmt-b84e30acd515_GH0.tar.gz) = 6411 SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b @@ -27,12 +27,12 @@ SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13 SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009 SHA256 (prometheus-client_golang-v1.1.0_GH0.tar.gz) = 4fd80a210cc090db117d92d126d15cdb5108c84e3178ffc7bd26cb2fa4298343 SIZE (prometheus-client_golang-v1.1.0_GH0.tar.gz) = 140006 -SHA256 (prometheus-client_model-fd36f4220a90_GH0.tar.gz) = 17571c708bab9a1ba18d9dd0c9bfe96dff3f1b84c63e7d8d4c3489ef5c34ee40 -SIZE (prometheus-client_model-fd36f4220a90_GH0.tar.gz) = 57491 -SHA256 (prometheus-common-v0.6.0_GH0.tar.gz) = 3b58d10c44520d8fd3817b45599a6229123ccf8967db528063143266405b7c4f -SIZE (prometheus-common-v0.6.0_GH0.tar.gz) = 99696 -SHA256 (prometheus-procfs-v0.0.3_GH0.tar.gz) = 3af9b805166932b771dfa19a4c94eb83ceefd2eb54d1a314c3bf15a5f3154d0d -SIZE (prometheus-procfs-v0.0.3_GH0.tar.gz) = 91880 +SHA256 (prometheus-client_model-14fe0d1b01d4_GH0.tar.gz) = e86922566dae5bd684e2b77baabfaee9df34ce11cd7c8bae688b512b3a496f03 +SIZE (prometheus-client_model-14fe0d1b01d4_GH0.tar.gz) = 57495 +SHA256 (prometheus-common-v0.7.0_GH0.tar.gz) = 71b1dce2afd959f9fcab3b5e097dfa9d398a61749851d290114746a3f8f119ae +SIZE (prometheus-common-v0.7.0_GH0.tar.gz) = 100520 +SHA256 (prometheus-procfs-v0.0.5_GH0.tar.gz) = 0a28cd42f6c727ccd48878f7506f0a9c87b72e7dba122f8c6884aba3aab7c800 +SIZE (prometheus-procfs-v0.0.5_GH0.tar.gz) = 112152 SHA256 (shurcooL-httpfs-8d4bc4ba7749_GH0.tar.gz) = 761fc18152b6998a40b6aa8169fa1275cbbbdba0632096bf5a004a8c5d1c9d99 SIZE (shurcooL-httpfs-8d4bc4ba7749_GH0.tar.gz) = 8713 SHA256 (shurcooL-vfsgen-6a9ea43bcacd_GH0.tar.gz) = c13829c1cd9c7ab9395bf0d8e6b18731af112dc9a3b831423f851914d8b2c392 diff --git a/net-mgmt/pushgateway/pkg-plist b/net-mgmt/pushgateway/pkg-plist deleted file mode 100644 index 953a5f7d3292..000000000000 --- a/net-mgmt/pushgateway/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/pushgateway