git: c089c154f020 - main - www/shiori: Update to 1.7.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Aug 2024 08:42:43 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c089c154f0206ea40523e46135bbd8561631ed7f
commit c089c154f0206ea40523e46135bbd8561631ed7f
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-08-03 08:39:38 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-03 08:42:26 +0000
www/shiori: Update to 1.7.0
- Increment the go version required by the port to build
- Add a patch to fix the following error during the build target:
internal/database/database.go:59:10: undefined: OpenSQLiteDatabase
See also: https://github.com/go-shiori/shiori/issues/947
Release changes: https://github.com/go-shiori/shiori/releases/tag/v1.7.0
Reported by: github-actions[bot] <notifications@github.com>
---
www/shiori/Makefile | 6 +++---
www/shiori/distinfo | 10 +++++-----
www/shiori/files/patch-internal_database_sqlite__noncgo.go | 10 ++++++++++
3 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/www/shiori/Makefile b/www/shiori/Makefile
index 30bec1db8e61..fbe230d788c9 100644
--- a/www/shiori/Makefile
+++ b/www/shiori/Makefile
@@ -1,7 +1,7 @@
PORTNAME= shiori
DISTVERSIONPREFIX= v
-DISTVERSION= 1.6.3
-PORTREVISION= 3
+DISTVERSION= 1.7.0
+PORTREVISION= 0
CATEGORIES= www
MAINTAINER= nivit@FreeBSD.org
@@ -11,7 +11,7 @@ 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
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
+