sysutils/restserver: use go modules by default

MFH:		2020Q4
Security:	previous MFH from r552570 fails to build in freebsd ports build cluster
Sponsored by:	SkunkWerks, GmbH
This commit is contained in:
Dave Cottlehuber 2020-10-19 15:20:16 +00:00
parent 52beba213a
commit 033b53c9b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552743
2 changed files with 55 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= rest-server
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= dch@FreeBSD.org
@ -11,13 +12,33 @@ COMMENT= Performant HTTP server for sysutils/restic backend API
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
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
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

View File

@ -1,3 +1,35 @@
TIMESTAMP = 1602940694
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
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