diff --git a/www/shiori/Makefile b/www/shiori/Makefile index 30bec1db8e61..fbe230d788c9 100644 --- a/www/shiori/Makefile +++ b/www/shiori/Makefile @@ -1,31 +1,31 @@ PORTNAME= shiori DISTVERSIONPREFIX= v -DISTVERSION= 1.6.3 -PORTREVISION= 3 +DISTVERSION= 1.7.0 +PORTREVISION= 0 CATEGORIES= www MAINTAINER= nivit@FreeBSD.org COMMENT= Simple bookmark manager built with Go WWW= https://github.com/go-shiori/shiori LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.21,modules +USES= go:1.22,modules GO_MODULE= github.com/go-shiori/shiori PLIST_FILES= bin/${PORTNAME} BUILD_DATE= %FT%T # fix `shiori version` output post-patch: ${REINPLACE_CMD} \ -e 's/"dev"/"${DISTVERSION}"/1' \ -e 's/"none"/"${OPSYS}"/1' \ -e 's/"unknown"/"${BUILD_DATE:gmtime}"/1' \ ${WRKSRC}/main.go \ ${WRKSRC}/internal/model/main.go .include diff --git a/www/shiori/distinfo b/www/shiori/distinfo index 64c0e93b84d7..d824a1a66470 100644 --- a/www/shiori/distinfo +++ b/www/shiori/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1714741446 -SHA256 (go/www_shiori/shiori-v1.6.3/v1.6.3.mod) = 0c663b09297fc4ebab8d7b65d57b59e74876d58c80c8e6d5b15b5f306531ce40 -SIZE (go/www_shiori/shiori-v1.6.3/v1.6.3.mod) = 5003 -SHA256 (go/www_shiori/shiori-v1.6.3/v1.6.3.zip) = e4dbe68fa5a628e6bd8539503dd088474c709d049aa31453b6c9d1ee1c0aad55 -SIZE (go/www_shiori/shiori-v1.6.3/v1.6.3.zip) = 7022398 +TIMESTAMP = 1718712789 +SHA256 (go/www_shiori/shiori-v1.7.0/v1.7.0.mod) = 3bdd1ce3dbd71dcdf6b579e141df755a62a589e850a81cada197a0b1ef1b377f +SIZE (go/www_shiori/shiori-v1.7.0/v1.7.0.mod) = 4457 +SHA256 (go/www_shiori/shiori-v1.7.0/v1.7.0.zip) = 00d800aeacabf551348d04c8b6ea1c2d9826617893272df9406e90d6872a2f92 +SIZE (go/www_shiori/shiori-v1.7.0/v1.7.0.zip) = 7014888 diff --git a/www/shiori/files/patch-internal_database_sqlite__noncgo.go b/www/shiori/files/patch-internal_database_sqlite__noncgo.go new file mode 100644 index 000000000000..29b8bf7acc49 --- /dev/null +++ b/www/shiori/files/patch-internal_database_sqlite__noncgo.go @@ -0,0 +1,10 @@ +--- internal/database/sqlite_noncgo.go.orig 1979-11-29 23:00:00 UTC ++++ internal/database/sqlite_noncgo.go +@@ -1,5 +1,5 @@ +-//go:build linux || windows || darwin +-// +build linux windows darwin ++//go:build linux || windows || darwin || freebsd ++// +build linux windows darwin freebsd + + package database +