git: de01276bd7a1 - main - sysutils/rest-server: update to 0.11.0

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Tue, 01 Mar 2022 23:17:56 UTC
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de01276bd7a1cdcbd8ce0f1c0c4040471cedcda4

commit de01276bd7a1cdcbd8ce0f1c0c4040471cedcda4
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2022-03-01 22:41:35 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2022-03-01 23:17:20 +0000

    sysutils/rest-server: update to 0.11.0
    
    - ChangeLog: https://github.com/restic/rest-server/blob/master/CHANGELOG.md
    
    Reported by:    portscout
---
 sysutils/rest-server/Makefile      | 25 ++-----------
 sysutils/rest-server/Makefile.deps | 21 +++++++++++
 sysutils/rest-server/distinfo      | 74 +++++++++++++++++++++-----------------
 3 files changed, 65 insertions(+), 55 deletions(-)

diff --git a/sysutils/rest-server/Makefile b/sysutils/rest-server/Makefile
index 81096ef7eb86..28c6e1f799a7 100644
--- a/sysutils/rest-server/Makefile
+++ b/sysutils/rest-server/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	rest-server
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.0
-PORTREVISION=	1
+DISTVERSION=	0.11.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	dch@FreeBSD.org
@@ -13,30 +12,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	restic
-GH_TUPLE=	\
-		beorn7:perks:4c0e84591b9a:beorn7_perks/vendor/github.com/beorn7/perks \
-		goji:goji:v2.0.0:goji_goji/vendor/goji.io \
-		goji:goji:v2.0.2:goji_goji_1 \
-		golang:crypto:650f4a345ab4:golang_crypto/vendor/golang.org/x/crypto \
-		golang:protobuf:v1.0.0:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sync:43a5402ce75a:golang_sync/vendor/golang.org/x/sync \
-		gorilla:handlers:v1.3.0:gorilla_handlers/vendor/github.com/gorilla/handlers \
-		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
-		matttproud:golang_protobuf_extensions:v1.0.0:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
-		miolini:datacounter:fd4e42a1d5e0:miolini_datacounter/vendor/github.com/miolini/datacounter \
-		prometheus:client_golang:v0.8.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
-		prometheus:client_model:99fa1f4be8e5:prometheus_client_model/vendor/github.com/prometheus/client_model \
-		prometheus:common:89604d197083:prometheus_common/vendor/github.com/prometheus/common \
-		prometheus:procfs:282c8707aa21:prometheus_procfs/vendor/github.com/prometheus/procfs \
-		spf13:cobra:v0.0.1:spf13_cobra/vendor/github.com/spf13/cobra \
-		spf13:pflag:v1.0.0:spf13_pflag/vendor/github.com/spf13/pflag
+
+.include "${.CURDIR}/Makefile.deps"
 
 GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
 GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
 
-post-extract:
-	@${RLN} ${WRKSRC_goji_goji_1} ${WRKSRC}/vendor/goji.io
-
 USE_RC_SUBR=	restserver
 
 USERS=		restserver
diff --git a/sysutils/rest-server/Makefile.deps b/sysutils/rest-server/Makefile.deps
new file mode 100644
index 000000000000..e135fe83fe1f
--- /dev/null
+++ b/sysutils/rest-server/Makefile.deps
@@ -0,0 +1,21 @@
+GH_TUPLE=       \
+                beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
+                cespare:xxhash:v2.1.2:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
+                coreos:go-systemd:d3cd4ed1dbcf:coreos_go_systemd/vendor/github.com/coreos/go-systemd \
+                felixge:httpsnoop:v1.0.1:felixge_httpsnoop/vendor/github.com/felixge/httpsnoop \
+                golang:crypto:20e1d8d225ab:golang_crypto/vendor/golang.org/x/crypto \
+                golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
+                golang:sys:da31bd327af9:golang_sys/vendor/golang.org/x/sys \
+                gorilla:handlers:v1.5.1:gorilla_handlers/vendor/github.com/gorilla/handlers \
+                inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
+                klauspost:cpuid:v2.0.4:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \
+                matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
+                minio:sha256-simd:v1.0.0:minio_sha256_simd/vendor/github.com/minio/sha256-simd \
+                miolini:datacounter:v1.0.2:miolini_datacounter/vendor/github.com/miolini/datacounter \
+                prometheus:client_golang:v1.12.1: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:common:v0.32.1:prometheus_common/vendor/github.com/prometheus/common \
+                prometheus:procfs:v0.7.3:prometheus_procfs/vendor/github.com/prometheus/procfs \
+                protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
+                spf13:cobra:v1.3.0:spf13_cobra/vendor/github.com/spf13/cobra \
+                spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag
diff --git a/sysutils/rest-server/distinfo b/sysutils/rest-server/distinfo
index e38548350606..e12bea86a532 100644
--- a/sysutils/rest-server/distinfo
+++ b/sysutils/rest-server/distinfo
@@ -1,35 +1,43 @@
-TIMESTAMP = 1603114201
-SHA256 (restic-rest-server-v0.10.0_GH0.tar.gz) = d109cf9e9c3f36c9c8eb6d4a2bd530c5dfcd62b11687d93034e2edc0fdecf479
-SIZE (restic-rest-server-v0.10.0_GH0.tar.gz) = 241885
-SHA256 (beorn7-perks-4c0e84591b9a_GH0.tar.gz) = 8bef79333097ddcf31a799a4d752b3542a2c3dbf4016250dd18fe6318742bb83
-SIZE (beorn7-perks-4c0e84591b9a_GH0.tar.gz) = 10594
-SHA256 (goji-goji-v2.0.0_GH0.tar.gz) = 744ab977c800a9472fa4eb97f01b6b9e178910e4190e41f5b8aae809b8640415
-SIZE (goji-goji-v2.0.0_GH0.tar.gz) = 17922
-SHA256 (goji-goji-v2.0.2_GH0.tar.gz) = 00355da54753b398ee52c1756a7d5caaa6f6ef044e1aa3e86c8f38f29c33698f
-SIZE (goji-goji-v2.0.2_GH0.tar.gz) = 17965
-SHA256 (golang-crypto-650f4a345ab4_GH0.tar.gz) = 62598c3ef5dab44ca28f08f49602c37e2a615bfc56208d982d3b6dc28364245c
-SIZE (golang-crypto-650f4a345ab4_GH0.tar.gz) = 1451008
-SHA256 (golang-protobuf-v1.0.0_GH0.tar.gz) = 378eb25acba0056bdf1011f20e3df7a139d3372306df09949011e5642b739cb1
-SIZE (golang-protobuf-v1.0.0_GH0.tar.gz) = 269544
-SHA256 (golang-sync-43a5402ce75a_GH0.tar.gz) = c9a58dbd06f5747ccf112cc29eb6f82ab2b8a3cd18908efa2d949a27d3924fc8
-SIZE (golang-sync-43a5402ce75a_GH0.tar.gz) = 17275
-SHA256 (gorilla-handlers-v1.3.0_GH0.tar.gz) = c35a65e7ebaad5370f797daec86b00231cfc4bb3acd20fcd2b04a8b8e5cc699e
-SIZE (gorilla-handlers-v1.3.0_GH0.tar.gz) = 17930
+TIMESTAMP = 1646174913
+SHA256 (restic-rest-server-v0.11.0_GH0.tar.gz) = cd9b35ad2224244207a967ebbc78d84f4298d725e95c1fa9341ed95a350ea68f
+SIZE (restic-rest-server-v0.11.0_GH0.tar.gz) = 280158
+SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
+SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
+SHA256 (cespare-xxhash-v2.1.2_GH0.tar.gz) = 471399cfcf0b1bd188add8d34435b91e7011cedbfe76e29687803a9d74320352
+SIZE (cespare-xxhash-v2.1.2_GH0.tar.gz) = 11244
+SHA256 (coreos-go-systemd-d3cd4ed1dbcf_GH0.tar.gz) = 89fc7afa3593ee4d6f91087fa47d02ade4103882f0a33225faec7b922ce5ebc4
+SIZE (coreos-go-systemd-d3cd4ed1dbcf_GH0.tar.gz) = 67792
+SHA256 (felixge-httpsnoop-v1.0.1_GH0.tar.gz) = 02f506689067855a2afcbea692a63f60bcb50a3994722650339c82027d1cbe3e
+SIZE (felixge-httpsnoop-v1.0.1_GH0.tar.gz) = 10725
+SHA256 (golang-crypto-20e1d8d225ab_GH0.tar.gz) = b043b52febbc0410bfd9e2e9ee86c14c8634009a15fc3b1d1f4e0e21ce428860
+SIZE (golang-crypto-20e1d8d225ab_GH0.tar.gz) = 1629546
+SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
+SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
+SHA256 (golang-sys-da31bd327af9_GH0.tar.gz) = 0c834c593096084aa9458c2ad0ff9177a6397950f4dc7376c9d67367f0687623
+SIZE (golang-sys-da31bd327af9_GH0.tar.gz) = 1257001
+SHA256 (gorilla-handlers-v1.5.1_GH0.tar.gz) = be22eafc7020cba749c8638d0051c326f1b31b5a76a98d86beafc595079f6b09
+SIZE (gorilla-handlers-v1.5.1_GH0.tar.gz) = 20963
 SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
 SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
-SHA256 (matttproud-golang_protobuf_extensions-v1.0.0_GH0.tar.gz) = 65fd58d98a7e79fa491808e9bf8315799eff2dae3d4c203dda25560861294115
-SIZE (matttproud-golang_protobuf_extensions-v1.0.0_GH0.tar.gz) = 9586
-SHA256 (miolini-datacounter-fd4e42a1d5e0_GH0.tar.gz) = 4a054d3c0cbced79d261c890bf9118f11685446943374be7bb263ca1d5b4a47a
-SIZE (miolini-datacounter-fd4e42a1d5e0_GH0.tar.gz) = 2902
-SHA256 (prometheus-client_golang-v0.8.0_GH0.tar.gz) = 88b0040393276116f848de5bdd636717d339667273cfc45a4edda40b5e5682bd
-SIZE (prometheus-client_golang-v0.8.0_GH0.tar.gz) = 75593
-SHA256 (prometheus-client_model-99fa1f4be8e5_GH0.tar.gz) = 9ee502b02615b7f30e2d9f6818ee6b32822cbc2dcbf943a73d4d327fcc13e83b
-SIZE (prometheus-client_model-99fa1f4be8e5_GH0.tar.gz) = 54665
-SHA256 (prometheus-common-89604d197083_GH0.tar.gz) = a7fc29c1a0506325604b60722cfd25a2a96eae2ac61649d17b5d748bf2339aef
-SIZE (prometheus-common-89604d197083_GH0.tar.gz) = 62724
-SHA256 (prometheus-procfs-282c8707aa21_GH0.tar.gz) = f4b8e6ed5ee8fe9926867a1100164c2d8683cf5584e4ab4ad6147d9a15b0aa20
-SIZE (prometheus-procfs-282c8707aa21_GH0.tar.gz) = 54112
-SHA256 (spf13-cobra-v0.0.1_GH0.tar.gz) = 8cb1a8c439e2019013998d4bf96b646fc44dab086dbbc2579bd2862448a7d555
-SIZE (spf13-cobra-v0.0.1_GH0.tar.gz) = 101512
-SHA256 (spf13-pflag-v1.0.0_GH0.tar.gz) = 690b86ae5499fad84ada4644c85215d66d56f31934683e8543f4c57c5048e011
-SIZE (spf13-pflag-v1.0.0_GH0.tar.gz) = 38988
+SHA256 (klauspost-cpuid-v2.0.4_GH0.tar.gz) = 12cc5d89b732bcd884148909a10c506b1b93932ab6fc6f46f4b5de469ecec77b
+SIZE (klauspost-cpuid-v2.0.4_GH0.tar.gz) = 339132
+SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
+SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184
+SHA256 (minio-sha256-simd-v1.0.0_GH0.tar.gz) = f992f67a47d16983f9bab99203aaab044618f13ca1de507c33a70a53de8331e0
+SIZE (minio-sha256-simd-v1.0.0_GH0.tar.gz) = 49020
+SHA256 (miolini-datacounter-v1.0.2_GH0.tar.gz) = df6bf8746c8751004b387fb39639fc02681fbab764ad03aa92de14449a3422d8
+SIZE (miolini-datacounter-v1.0.2_GH0.tar.gz) = 2827
+SHA256 (prometheus-client_golang-v1.12.1_GH0.tar.gz) = 3f7929ec4837932e68a0e7da9e0f1ff5aa19bc02de7a67823d0533a0d6852014
+SIZE (prometheus-client_golang-v1.12.1_GH0.tar.gz) = 194206
+SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12
+SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986
+SHA256 (prometheus-common-v0.32.1_GH0.tar.gz) = de06f354e24dec3bfeba9a3bd43bd3170b4231dfff3cd338b688a6e8c8050af6
+SIZE (prometheus-common-v0.32.1_GH0.tar.gz) = 146585
+SHA256 (prometheus-procfs-v0.7.3_GH0.tar.gz) = 5514e8b18c38b6376a84c623d59735d4eefb61fb3a14eb1f45e0a4c848f14a2b
+SIZE (prometheus-procfs-v0.7.3_GH0.tar.gz) = 178957
+SHA256 (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 3ec41a8324431e72f85e0dc0c2c098cc14c3cb1ee8820996c8f46afca2d65609
+SIZE (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 1278521
+SHA256 (spf13-cobra-v1.3.0_GH0.tar.gz) = 5b6a1d841561112a68a46dfa58f8fd86a06abb8838cf86d085738a306fe91357
+SIZE (spf13-cobra-v1.3.0_GH0.tar.gz) = 169515
+SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
+SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796