summaryrefslogtreecommitdiff
path: root/security/trezord
diff options
context:
space:
mode:
Diffstat (limited to 'security/trezord')
-rw-r--r--security/trezord/Makefile9
-rw-r--r--security/trezord/Makefile.modules2
-rw-r--r--security/trezord/distinfo10
-rw-r--r--security/trezord/files/patch-vendor_modules.txt28
4 files changed, 40 insertions, 9 deletions
diff --git a/security/trezord/Makefile b/security/trezord/Makefile
index 7ac421f20675..c7448b203fc5 100644
--- a/security/trezord/Makefile
+++ b/security/trezord/Makefile
@@ -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}
diff --git a/security/trezord/Makefile.modules b/security/trezord/Makefile.modules
index 765ac3a262d3..4ca9901b21b2 100644
--- a/security/trezord/Makefile.modules
+++ b/security/trezord/Makefile.modules
@@ -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 \
diff --git a/security/trezord/distinfo b/security/trezord/distinfo
index 642da5a1f7db..9fb6a2e124fd 100644
--- a/security/trezord/distinfo
+++ b/security/trezord/distinfo
@@ -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
diff --git a/security/trezord/files/patch-vendor_modules.txt b/security/trezord/files/patch-vendor_modules.txt
new file mode 100644
index 000000000000..15f2e59f183a
--- /dev/null
+++ b/security/trezord/files/patch-vendor_modules.txt
@@ -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