Tom Murphy (2022-05-15 16:03 +0100):
> Attached is a diff for databases/sqlcipher from v4.5.0 to v4.5.1.
> I've bumped the shared library a minor version for dynamic export
> changed in the library. The Changelog can be accessed here:
> https://github.com/sqlcipher/sqlcipher/blob/v4.5.1/CHANGELOG.md
Thanks. Would anyone mind if I also enabled JSON support? (The next
SQLCipher release will enable it by default anyway.) I have been using
4.5.1 with JSON support for some time without problems.
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/sqlcipher/Makefile,v
retrieving revision 1.2
diff -p -u -r1.2 Makefile
--- Makefile 10 Nov 2021 15:23:24 -0000 1.2
+++ Makefile 17 May 2022 17:11:52 -0000
@@ -4,9 +4,9 @@ COMMENT = encrypted SQLite database
GH_ACCOUNT = sqlcipher
GH_PROJECT = sqlcipher
-GH_TAGNAME = v4.5.0
+GH_TAGNAME = v4.5.1
-SHARED_LIBS += sqlcipher 0.1 # 8.6
+SHARED_LIBS += sqlcipher 0.2 # 8.6
CATEGORIES = databases
@@ -27,7 +27,7 @@ CONFIGURE_ENV += TCLSH_CMD=${MODTCL_BIN}
NO_TEST = Yes
-CFLAGS += -DSQLITE_HAS_CODEC -DOMIT_MEMLOCK
+CFLAGS += -DSQLITE_HAS_CODEC -DOMIT_MEMLOCK -DSQLITE_ENABLE_JSON1
MODULES = lang/tcl
MODTCL_VERSION = 8.6
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/sqlcipher/distinfo,v
retrieving revision 1.2
diff -p -u -r1.2 distinfo
--- distinfo 10 Nov 2021 15:23:24 -0000 1.2
+++ distinfo 17 May 2022 17:11:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (sqlcipher-4.5.0.tar.gz) = IMRqhVxH1aChWf3KqEkex726pwanNO5SvHYYi5Ka+xQ=
-SIZE (sqlcipher-4.5.0.tar.gz) = 17982431
+SHA256 (sqlcipher-4.5.1.tar.gz) = AjSZUW7yreFPvNvpP7gcxpRYrmyzVEYU342+80g1tAY=
+SIZE (sqlcipher-4.5.1.tar.gz) = 18132121