Skip to content

Commit e4beac9

Browse files
committed
bump portal version
1 parent 84b8191 commit e4beac9

26 files changed

Lines changed: 43 additions & 39 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
BIN_DIR := $(CURDIR)/bin
44
BIN := $(BIN_DIR)/portal-tunnel$(if $(filter Windows_NT,$(OS)),.exe,)
55
PKG := github.com/gosuda/portal/v2/cmd/portal-tunnel
6-
VERSION := v2.0.1
7-
GOINSTALL := $(if $(filter Windows_NT,$(OS)),set "GOBIN=$(BIN_DIR)" &&,GOBIN="$(BIN_DIR)") go install $(PKG)@$(VERSION)
6+
# portal-tunnel is pinned to v2.1.1 through the root go.mod require/replace.
7+
GOINSTALL := $(if $(filter Windows_NT,$(OS)),set "GOBIN=$(BIN_DIR)" &&,GOBIN="$(BIN_DIR)") go install $(PKG)
88
# Unified relay configuration: prefer RELAY, then RELAY_URL, else default
99
RELAY ?= https://portal.thumbgo.kr/relay
1010
PORT ?= 8080

ceversi/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func runCeversi(cmd *cobra.Command, args []string) error {
9191
RelayURLs: append([]string(nil), flagServerURLs...),
9292
BanMITM: flagBanMITM,
9393
Discovery: flagDiscovery,
94-
Identity: types.Identity{Name: flagName},
94+
Name: flagName,
9595
Metadata: types.LeaseMetadata{
9696
Description: flagDescription,
9797
Tags: utils.SplitCSV(flagTags),

chatter-bbs/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func runChatter(cmd *cobra.Command, args []string) error {
6969
RelayURLs: utils.SplitCSV(flagServerURLs),
7070
BanMITM: flagBanMITM,
7171
Discovery: flagDiscovery,
72-
Identity: types.Identity{Name: flagName},
72+
Name: flagName,
7373
Metadata: types.LeaseMetadata{
7474
Description: flagDescription,
7575
Tags: utils.SplitCSV(flagTags),

distributed-web-server/go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ module distributed-web-server
22

33
go 1.26.1
44

5+
replace github.com/gosuda/portal/v2 => github.com/gosuda/portal-tunnel/v2 v2.1.1
6+
57
require (
68
github.com/gabriel-vasile/mimetype v1.4.13
7-
github.com/gosuda/portal/v2 v2.0.8
9+
github.com/gosuda/portal/v2 v2.1.1
810
github.com/joho/godotenv v1.5.1
911
github.com/microcosm-cc/bluemonday v1.0.27
1012
github.com/rs/zerolog v1.35.0
@@ -37,7 +39,7 @@ require (
3739
github.com/tklauser/numcpus v0.6.1 // indirect
3840
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
3941
github.com/yusufpapurcu/wmi v1.2.4 // indirect
40-
golang.org/x/net v0.50.0 // indirect
42+
golang.org/x/net v0.51.0 // indirect
4143
golang.org/x/sys v0.42.0 // indirect
4244
golang.org/x/text v0.34.0 // indirect
4345
modernc.org/libc v1.70.0 // indirect

distributed-web-server/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ github.com/gorilla/css v1.0.1 h1:ntNaBIghp6JmvWnxbZKANoLyuXTPZ4cAMlo6RyhlbO8=
3030
github.com/gorilla/css v1.0.1/go.mod h1:BvnYkspnSzMmwRK+b8/xgNPLiIuNZr6vbZBTPQ2A3b0=
3131
github.com/gosuda/keyless_tls v0.0.1-0.20260304212324-7733f8366abc h1:aS9LQ35x6EtrGKCmOWRj6Y9aQ2l5hP8dVva4oxB9VEg=
3232
github.com/gosuda/keyless_tls v0.0.1-0.20260304212324-7733f8366abc/go.mod h1:BOhUZgiAAQzxKO3QcC4fCXgd/+lqxgIu1OyIYTqtta8=
33-
github.com/gosuda/portal/v2 v2.0.8 h1:OJ8e+k90YOtq+LJKidogsz9Dshz0XCeLqLSsM0KKZkc=
34-
github.com/gosuda/portal/v2 v2.0.8/go.mod h1:lO6lIB8CankqziNzY6u4buwJBflaSfctSDy195hLLyQ=
33+
github.com/gosuda/portal-tunnel/v2 v2.1.1 h1:aUGE+e668cyYQpHTE+qf8JLo1nT7RrYIkuYXGs+j9Oo=
34+
github.com/gosuda/portal-tunnel/v2 v2.1.1/go.mod h1:dFmGGY70+N7kmQTq8yoIiRVrbGpQSTBsRvcs+J1XSIs=
3535
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
3636
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
3737
github.com/holiman/uint256 v1.3.2 h1:a9EgMPSC1AAaj1SZL5zIQD3WbwTuHrMGOerLjGmM/TA=
@@ -94,8 +94,8 @@ golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
9494
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
9595
golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8=
9696
golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w=
97-
golang.org/x/net v0.50.0 h1:ucWh9eiCGyDR3vtzso0WMQinm2Dnt8cFMuQa9K33J60=
98-
golang.org/x/net v0.50.0/go.mod h1:UgoSli3F/pBgdJBHCTc+tp3gmrU4XswgGRgtnwWTfyM=
97+
golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
98+
golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
9999
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
100100
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
101101
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

distributed-web-server/manager/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ func runManagerCmd(cmd *cobra.Command, args []string) error {
10481048
RelayURLs: utils.SplitCSV(flagServerURLs),
10491049
BanMITM: flagBanMITM,
10501050
Discovery: flagDiscovery,
1051-
Identity: types.Identity{Name: flagName},
1051+
Name: flagName,
10521052
Metadata: types.LeaseMetadata{
10531053
Description: flagDescription,
10541054
Tags: utils.SplitCSV(flagTags),

doom/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func runDoom(cmd *cobra.Command, args []string) error {
6969
RelayURLs: utils.SplitCSV(flagServerURLs),
7070
BanMITM: flagBanMITM,
7171
Discovery: flagDiscovery,
72-
Identity: types.Identity{Name: flagName},
72+
Name: flagName,
7373
Metadata: types.LeaseMetadata{
7474
Description: flagDescription,
7575
Tags: utils.SplitCSV(flagTags),

emulator-js/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func runEmulator(cmd *cobra.Command, args []string) error {
7676
RelayURLs: utils.SplitCSV(flagServerURLs),
7777
BanMITM: flagBanMITM,
7878
Discovery: flagDiscovery,
79-
Identity: types.Identity{Name: flagName},
79+
Name: flagName,
8080
Metadata: types.LeaseMetadata{
8181
Description: flagDescription,
8282
Tags: utils.SplitCSV(flagTags),

ffmpeg-converter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func run(cmd *cobra.Command, args []string) error {
8383
RelayURLs: utils.SplitCSV(flagServerURLs),
8484
BanMITM: flagBanMITM,
8585
Discovery: flagDiscovery,
86-
Identity: types.Identity{Name: flagName},
86+
Name: flagName,
8787
Metadata: types.LeaseMetadata{
8888
Description: flagDescription,
8989
Tags: utils.SplitCSV(flagTags),

go.mod

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ module github.com/gosuda/portal-toys
22

33
go 1.26.1
44

5+
replace github.com/gosuda/portal/v2 => github.com/gosuda/portal-tunnel/v2 v2.1.1
6+
57
require (
68
github.com/cockroachdb/pebble/v2 v2.1.4
79
github.com/go-chi/chi/v5 v5.2.3
810
github.com/gorilla/websocket v1.5.3
9-
github.com/gosuda/portal/v2 v2.1.0
11+
github.com/gosuda/portal/v2 v2.1.1
1012
github.com/joho/godotenv v1.5.1
1113
github.com/libp2p/go-libp2p v0.48.0
1214
github.com/multiformats/go-multiaddr v0.16.0
@@ -113,13 +115,13 @@ require (
113115
golang.org/x/crypto v0.48.0 // indirect
114116
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546 // indirect
115117
golang.org/x/mod v0.32.0 // indirect
116-
golang.org/x/net v0.50.0 // indirect
118+
golang.org/x/net v0.51.0 // indirect
117119
golang.org/x/sync v0.19.0 // indirect
118120
golang.org/x/sys v0.41.0 // indirect
119121
golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2 // indirect
120122
golang.org/x/text v0.34.0 // indirect
121123
golang.org/x/time v0.14.0 // indirect
122124
golang.org/x/tools v0.41.0 // indirect
123-
google.golang.org/protobuf v1.36.10 // indirect
125+
google.golang.org/protobuf v1.36.11 // indirect
124126
lukechampine.com/blake3 v1.4.1 // indirect
125127
)

0 commit comments

Comments
 (0)