security/trezord: update to latest commit to allow building with newer go versions

This commit is contained in:
Alex Dupre
2025-12-08 14:38:23 +01:00
parent 7f538b0484
commit 5eac6e1632
4 changed files with 40 additions and 9 deletions
+3 -6
View File
@@ -1,7 +1,7 @@
PORTNAME= trezord
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.33
PORTREVISION= 4
DISTVERSION= 2.0.33-9
DISTVERSIONSUFFIX= -ga58468e
CATEGORIES= security
MAINTAINER= ale@FreeBSD.org
@@ -11,10 +11,7 @@ WWW= https://github.com/trezor/trezord-go
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= go:1.20,modules
DEPRECATED= Uses old go, but try building without USES=go:someversion
EXPIRATION_DATE=2026-01-01
USES= go:modules
USE_RC_SUBR= ${PORTNAME}
+2
View File
@@ -1,5 +1,7 @@
GH_TUPLE= \
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
felixge:httpsnoop:v1.0.1:felixge_httpsnoop/vendor/github.com/felixge/httpsnoop \
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
gorilla:csrf:v1.7.0:gorilla_csrf/vendor/github.com/gorilla/csrf \
gorilla:handlers:v1.5.1:gorilla_handlers/vendor/github.com/gorilla/handlers \
gorilla:mux:v1.8.0:gorilla_mux/vendor/github.com/gorilla/mux \
+7 -3
View File
@@ -1,8 +1,12 @@
TIMESTAMP = 1681804602
SHA256 (trezor-trezord-go-v2.0.33_GH0.tar.gz) = b589b857888811cfdd6593dd911e0574b8257fce24a9d9366a187be3b859fa59
SIZE (trezor-trezord-go-v2.0.33_GH0.tar.gz) = 645382
TIMESTAMP = 1765199636
SHA256 (trezor-trezord-go-v2.0.33-9-ga58468e_GH0.tar.gz) = 071757a557bb9ed83351ff4134423b75f23fee3b1baeee4e7a5596ecf74d0f37
SIZE (trezor-trezord-go-v2.0.33-9-ga58468e_GH0.tar.gz) = 645802
SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
SHA256 (felixge-httpsnoop-v1.0.1_GH0.tar.gz) = 02f506689067855a2afcbea692a63f60bcb50a3994722650339c82027d1cbe3e
SIZE (felixge-httpsnoop-v1.0.1_GH0.tar.gz) = 10725
SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
SHA256 (gorilla-csrf-v1.7.0_GH0.tar.gz) = 8cbc7df34ba5266f78c81b5d1a86b822d4107533dd4c3fd9fe16cdee4d916db5
SIZE (gorilla-csrf-v1.7.0_GH0.tar.gz) = 21854
SHA256 (gorilla-handlers-v1.5.1_GH0.tar.gz) = be22eafc7020cba749c8638d0051c326f1b31b5a76a98d86beafc595079f6b09
@@ -0,0 +1,28 @@
--- vendor/modules.txt.orig 2025-12-08 13:35:38 UTC
+++ vendor/modules.txt
@@ -0,0 +1,25 @@
+# github.com/BurntSushi/toml v0.3.1
+## explicit
+# github.com/felixge/httpsnoop v1.0.1
+## explicit; go 1.13
+github.com/felixge/httpsnoop
+# github.com/gorilla/csrf v1.7.0
+## explicit; go 1.13
+github.com/gorilla/csrf
+# github.com/gorilla/handlers v1.5.1
+## explicit; go 1.14
+github.com/gorilla/handlers
+# github.com/gorilla/mux v1.8.0
+## explicit; go 1.12
+github.com/gorilla/mux
+# github.com/gorilla/securecookie v1.1.1
+## explicit
+github.com/gorilla/securecookie
+# github.com/pkg/errors v0.9.1
+## explicit
+github.com/pkg/errors
+# gopkg.in/natefinch/lumberjack.v2 v2.0.0
+## explicit
+gopkg.in/natefinch/lumberjack.v2
+# gopkg.in/yaml.v2 v2.4.0
+## explicit; go 1.15