Hi, Here is a patch to update databases/sqlcipher to v4.5.4. Some changes of note:
* Updates baseline to upstream SQLite 3.41.2 * Updates minimum Apple SDK versions in podspec for new Xcode compatibility * Return runtime OpenSSL version from PRAGMA cipher_provider_version (instead of hardcoded value) * Adds guard against zero block size and crash if cryptographic provider initialization fails * When an ATTACH occurs creating a new encrypted database as the first operation after keying the main database, the new database will have the same salt value. I have increased the shared library from 0.3 to 0.4 due to the addition of two new functions: * sqlite3_is_interrupted * sqlite3_value_encoding I'm curious as to where the 8.6 version came from in the comment on the SHARED_LIBS line as I can't see '8.6' in the source code. Thanks, Tom Index: Makefile =================================================================== RCS file: /cvs/ports/databases/sqlcipher/Makefile,v retrieving revision 1.6 diff -u -p -u -p -r1.6 Makefile --- Makefile 3 Jan 2023 12:32:27 -0000 1.6 +++ Makefile 8 May 2023 17:25:41 -0000 @@ -2,9 +2,9 @@ COMMENT = encrypted SQLite database GH_ACCOUNT = sqlcipher GH_PROJECT = sqlcipher -GH_TAGNAME = v4.5.3 +GH_TAGNAME = v4.5.4 -SHARED_LIBS += sqlcipher 0.3 # 8.6 +SHARED_LIBS += sqlcipher 0.4 # 8.6 CATEGORIES = databases Index: distinfo =================================================================== RCS file: /cvs/ports/databases/sqlcipher/distinfo,v retrieving revision 1.5 diff -u -p -u -p -r1.5 distinfo --- distinfo 3 Jan 2023 12:32:27 -0000 1.5 +++ distinfo 8 May 2023 17:25:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (sqlcipher-4.5.3.tar.gz) = XJ1nLrpr5NBamoFw9wFw5Teuc1oJw95ESorWKbWV1eI= -SIZE (sqlcipher-4.5.3.tar.gz) = 18372471 +SHA256 (sqlcipher-4.5.4.tar.gz) = 6gUv5jTXKfnda2JAFhBN55b6+H5Iep6Gigf67jWVd3E= +SIZE (sqlcipher-4.5.4.tar.gz) = 18755568
