diff --git a/net/stc/Makefile b/net/stc/Makefile index 37ce7d172bee..17d407eac72a 100644 --- a/net/stc/Makefile +++ b/net/stc/Makefile @@ -1,27 +1,30 @@ PORTNAME= stc -PORTVERSION= 1.5.4 -PORTREVISION= 15 +PORTVERSION= 1.5.5 CATEGORIES= net MAINTAINER= kbowling@FreeBSD.org COMMENT= Syncthing CLI Tool WWW= https://github.com/tenox7/stc LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= tenox7 GH_TUPLE= \ dustin:go-humanize:v1.0.1:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ - go-resty:resty:v2.16.5:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \ - golang:net:v0.35.0:golang_net/vendor/golang.org/x/net \ + go-resty:resty:v2.17.2:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \ + golang:net:v0.53.0:golang_net/vendor/golang.org/x/net \ hako:durafmt:5c1018a4e16b:hako_durafmt/vendor/github.com/hako/durafmt PLIST_FILES= bin/stc +post-extract: + @${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor/modules.txt + post-patch: - @${REINPLACE_CMD} -e 's|"homedir", ""|"homedir", "${LOCALBASE}/etc/syncthing"|' ${WRKSRC}/stc.go + @${REINPLACE_CMD} -e 's|"homedir", ""|"homedir", "${LOCALBASE}/etc/syncthing"|' \ + ${WRKSRC}/stc.go .include diff --git a/net/stc/distinfo b/net/stc/distinfo index 481fa6b5aacd..f5d3afaae90b 100644 --- a/net/stc/distinfo +++ b/net/stc/distinfo @@ -1,11 +1,11 @@ -TIMESTAMP = 1743304356 -SHA256 (tenox7-stc-1.5.4_GH0.tar.gz) = de5af3b277cdf88a2e89c04854a6e63a42151469353b6658dfcb898d8e75f899 -SIZE (tenox7-stc-1.5.4_GH0.tar.gz) = 12928 +TIMESTAMP = 1777020140 +SHA256 (tenox7-stc-1.5.5_GH0.tar.gz) = 66ee5f957e2dfb5fe884102d52a7121b0d39187c507dd370172be02ec7796f04 +SIZE (tenox7-stc-1.5.5_GH0.tar.gz) = 14041 SHA256 (dustin-go-humanize-v1.0.1_GH0.tar.gz) = ac3a0d8d0eef07c75d12eddce775a8e8306dfb9783a45312597c34ff643793d8 SIZE (dustin-go-humanize-v1.0.1_GH0.tar.gz) = 17692 -SHA256 (go-resty-resty-v2.16.5_GH0.tar.gz) = 703505b53a9f5dbc86b78bc09e96a4b1f44f5795a24a864058166e52cca35c06 -SIZE (go-resty-resty-v2.16.5_GH0.tar.gz) = 2667194 -SHA256 (golang-net-v0.35.0_GH0.tar.gz) = 6a09895ea551a07f69fb17d8be418cdb96cc3b6338888deb1d7b0b22ed00021e -SIZE (golang-net-v0.35.0_GH0.tar.gz) = 1500897 +SHA256 (go-resty-resty-v2.17.2_GH0.tar.gz) = 1548d7af5e8236ec394b672f603f3bd3f89211cdc69e26bb62f5117a42d10e74 +SIZE (go-resty-resty-v2.17.2_GH0.tar.gz) = 2668067 +SHA256 (golang-net-v0.53.0_GH0.tar.gz) = dde4377de949f539eb137ec1ff2bf2e15f4063f9e20427616e5fbcbc8b45c231 +SIZE (golang-net-v0.53.0_GH0.tar.gz) = 1561839 SHA256 (hako-durafmt-5c1018a4e16b_GH0.tar.gz) = dde0e91c9bb3b662c74b86ef6ae28f72f795a59051ba5b8254ba0402ce714ccf SIZE (hako-durafmt-5c1018a4e16b_GH0.tar.gz) = 9790 diff --git a/net/stc/files/modules.txt b/net/stc/files/modules.txt new file mode 100644 index 000000000000..6caf93b31f56 --- /dev/null +++ b/net/stc/files/modules.txt @@ -0,0 +1,13 @@ +# github.com/dustin/go-humanize v1.0.1 +## explicit; go 1.16 +github.com/dustin/go-humanize +# github.com/go-resty/resty/v2 v2.17.2 +## explicit; go 1.23.0 +github.com/go-resty/resty/v2 +github.com/go-resty/resty/v2/shellescape +# github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b +## explicit; go 1.11 +github.com/hako/durafmt +# golang.org/x/net v0.53.0 +## explicit; go 1.25.0 +golang.org/x/net/publicsuffix