Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
* Update metacubexd

* Update geosite

* Update gomobile cmd to [6bc27c2027e816ac1779bf80058b1a7710dad260](SagerNet/gomobile@6bc27c2), about #1

* Update sing-box to v1.9.0-rc.3

Signed-off-by: HystericalDragon <[email protected]>
  • Loading branch information
xchacha20-poly1305 committed Mar 30, 2024
1 parent c1241f3 commit 0b460c2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
6 changes: 3 additions & 3 deletions buildScript/init/version.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

GO_VERSION=1.22.1
GO_VERSION="1.22.1"

# https://github.com/Dreamacro/maxmind-geoip
GEOIP_VERSION=20240312
GEOIP_VERSION="20240312"

# https://github.com/v2fly/domain-list-community
GEOSITE_VERSION=20240316051411
GEOSITE_VERSION="20240324094850"
1 change: 1 addition & 0 deletions libcore/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ TAGS=(

IFS="," BUILD_TAGS="${TAGS[*]}"

# -buildvcs require: https://github.com/SagerNet/gomobile/commit/6bc27c2027e816ac1779bf80058b1a7710dad260
gomobile bind -v -androidapi 21 -trimpath -buildvcs=false -ldflags='-s -w -buildid=' \
-tags="$BUILD_TAGS" . || exit 1

Expand Down
8 changes: 4 additions & 4 deletions libcore/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.20
require (
github.com/miekg/dns v1.1.58
github.com/sagernet/gomobile v0.1.3
github.com/sagernet/sing v0.4.0-beta.3
github.com/sagernet/sing-box v1.9.0-beta.17 // Bump core version here.
github.com/sagernet/sing v0.4.0-beta.6
github.com/sagernet/sing-box v1.9.0-rc.3 // Bump core version here.
github.com/sagernet/sing-dns v0.2.0-beta.16
github.com/sagernet/sing-tun v0.2.5-beta.2
github.com/sagernet/sing-tun v0.2.6-beta.1
github.com/xchacha20-poly1305/TLS-scribe v0.3.0
github.com/xchacha20-poly1305/cazilla v0.2.1
github.com/xchacha20-poly1305/libping v0.1.1
Expand Down Expand Up @@ -94,6 +94,6 @@ require (
lukechampine.com/blake3 v1.2.1 // indirect
)

replace github.com/sagernet/sing-box => github.com/xchacha20-poly1305/sing-box v1.9.0-beta.17
replace github.com/sagernet/sing-box => github.com/xchacha20-poly1305/sing-box v1.9.0-rc.3

replace github.com/sagernet/sing-quic => github.com/xchacha20-poly1305/sing-quic v0.1.9-beta.3
12 changes: 6 additions & 6 deletions libcore/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ github.com/sagernet/quic-go v0.42.0-beta.2/go.mod h1:lf8OYop+fMxIlrfM/ZHpENt/7ZD
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691 h1:5Th31OC6yj8byLGkEnIYp6grlXfo1QYUfiYFGjewIdc=
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691/go.mod h1:B8lp4WkQ1PwNnrVMM6KyuFR20pU8jYBD+A4EhJovEXU=
github.com/sagernet/sing v0.2.18/go.mod h1:OL6k2F0vHmEzXz2KW19qQzu172FDgSbUSODylighuVo=
github.com/sagernet/sing v0.4.0-beta.3 h1:TYA4DJtxs0dWDG6ahjU/Fh+eg6vintiqGjXN4h9BbiA=
github.com/sagernet/sing v0.4.0-beta.3/go.mod h1:+60H3Cm91RnL9dpVGWDPHt0zTQImO9Vfqt9a4rSambI=
github.com/sagernet/sing v0.4.0-beta.6 h1:z7plSB0lWX2vt3e5UYYNQi1+bNqfxU9uh1nWlPZFwj8=
github.com/sagernet/sing v0.4.0-beta.6/go.mod h1:+60H3Cm91RnL9dpVGWDPHt0zTQImO9Vfqt9a4rSambI=
github.com/sagernet/sing-dns v0.2.0-beta.16 h1:bzd4B8eHD7/WO3HrYknvgE8A56/R3n5oXBjNF97iPzQ=
github.com/sagernet/sing-dns v0.2.0-beta.16/go.mod h1:XU6Vqr6aHcMz/34Fcv8jmXpRCEuShzW+B7Qg1Xe1nxY=
github.com/sagernet/sing-mux v0.2.0 h1:4C+vd8HztJCWNYfufvgL49xaOoOHXty2+EAjnzN3IYo=
Expand All @@ -115,8 +115,8 @@ github.com/sagernet/sing-shadowsocks2 v0.2.0 h1:wpZNs6wKnR7mh1wV9OHwOyUr21VkS3wK
github.com/sagernet/sing-shadowsocks2 v0.2.0/go.mod h1:RnXS0lExcDAovvDeniJ4IKa2IuChrdipolPYWBv9hWQ=
github.com/sagernet/sing-shadowtls v0.1.4 h1:aTgBSJEgnumzFenPvc+kbD9/W0PywzWevnVpEx6Tw3k=
github.com/sagernet/sing-shadowtls v0.1.4/go.mod h1:F8NBgsY5YN2beQavdgdm1DPlhaKQlaL6lpDdcBglGK4=
github.com/sagernet/sing-tun v0.2.5-beta.2 h1:mOWW80jYEup8LIFG3VuWASWgiRzyusuX5kH+Lbl+V7s=
github.com/sagernet/sing-tun v0.2.5-beta.2/go.mod h1:E+KwQKzYkdGEhfIxjmoaB1ZkADaxeXUNzx6GRDRKOfE=
github.com/sagernet/sing-tun v0.2.6-beta.1 h1:6yfOJQaa706/VAKb7SVa8ziXppTxVOg/p9p63qk2N/o=
github.com/sagernet/sing-tun v0.2.6-beta.1/go.mod h1:E+KwQKzYkdGEhfIxjmoaB1ZkADaxeXUNzx6GRDRKOfE=
github.com/sagernet/sing-vmess v0.1.8 h1:XVWad1RpTy9b5tPxdm5MCU8cGfrTGdR8qCq6HV2aCNc=
github.com/sagernet/sing-vmess v0.1.8/go.mod h1:vhx32UNzTDUkNwOyIjcZQohre1CaytquC5mPplId8uA=
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 h1:DImB4lELfQhplLTxeq2z31Fpv8CQqqrUwTbrIRumZqQ=
Expand Down Expand Up @@ -146,8 +146,8 @@ github.com/xchacha20-poly1305/cazilla v0.2.1 h1:GuKdZWIS7Wrka+vm11TJXCS/Nbmzgn9U
github.com/xchacha20-poly1305/cazilla v0.2.1/go.mod h1:CRNqqSLuWw8gStu7qDwjPYmsLE91OCVWazN9AH4LyWc=
github.com/xchacha20-poly1305/libping v0.1.1 h1:dVAX1oaBr+xYwlX4phBu4z2OPFOUHDY7O4rrx3SMyt8=
github.com/xchacha20-poly1305/libping v0.1.1/go.mod h1:6nudHCYwr+1S2ptMloM/t+ciK2ITD2ild76g+6HTvOA=
github.com/xchacha20-poly1305/sing-box v1.9.0-beta.17 h1:sQ1mQXbQtJrrvnwXYXqnrKG3Qnme8uLkJd3bUh9L5YA=
github.com/xchacha20-poly1305/sing-box v1.9.0-beta.17/go.mod h1:veGCep/a/s6wwLlYnt7S3ijEMzYoovCBrwZMFy6jjqk=
github.com/xchacha20-poly1305/sing-box v1.9.0-rc.3 h1:Qrp8WyUB0+iSELwhHbibbSK042d9FI7uAmXCqja5WdQ=
github.com/xchacha20-poly1305/sing-box v1.9.0-rc.3/go.mod h1:pHjzUk2TYZbUtEMrKE09cMYGx9/d8qYsrfcSPwRyNHQ=
github.com/xchacha20-poly1305/sing-quic v0.1.9-beta.3 h1:q7uBHCG9nY6yNZhQJK5BsZutPDI90xqAfJOMoQXh0i8=
github.com/xchacha20-poly1305/sing-quic v0.1.9-beta.3/go.mod h1:oXe0g8T7edh2Xxl0QcpTO4Tret8M478LpMcr3CPuqWE=
github.com/zeebo/assert v1.1.0 h1:hU1L1vLTHsnO8x8c9KAR5GmM5QscxHg5RNU5z5qbUWY=
Expand Down
6 changes: 2 additions & 4 deletions libcore/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ set -e
[[ -e "inited" ]] && exit 0

# Install gomobile
if [ ! -f "$GOPATH/bin/gomobile" ]; then
CGO_ENABLED=0 go install -v -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/[email protected]
CGO_ENABLED=0 go install -v -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/[email protected]
fi
CGO_ENABLED=0 go install -v -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/gobind@6bc27c2027e816ac1779bf80058b1a7710dad260
CGO_ENABLED=0 go install -v -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/gomobile@6bc27c2027e816ac1779bf80058b1a7710dad260

gomobile init
touch inited

0 comments on commit 0b460c2

Please sign in to comment.