From d57017d3f645a0cbd489dfbc207b0b1461a3f8ba Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 5 May 2023 01:22:36 -0400 Subject: [PATCH] backports/sqlcipher: upgrade to 4.5.4 --- backports/sqlcipher/APKBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/backports/sqlcipher/APKBUILD b/backports/sqlcipher/APKBUILD index f053a3b..4025566 100644 --- a/backports/sqlcipher/APKBUILD +++ b/backports/sqlcipher/APKBUILD @@ -1,20 +1,23 @@ # Contributor: wener # Maintainer: wener pkgname=sqlcipher -pkgver=4.5.2 +pkgver=4.5.4 pkgrel=1 pkgdesc="SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files." url="https://www.zetetic.net/sqlcipher/" arch="all" -license="BSD-3-clause" +license="BSD-3-Clause" makedepends="openssl-dev>3 tcl-dev readline-dev zlib-dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-tcl" source="$pkgname-$pkgver.tar.gz::https://github.com/sqlcipher/sqlcipher/archive/v$pkgver.tar.gz" -# block by https://github.com/sqlcipher/sqlcipher/issues/368#issuecomment-669984195 -# options="!check" build() { - export CFLAGS="$CFLAGS -DSQLITE_HAS_CODEC -DSQLCIPHER_TEST -DSQLITE_ENABLE_COLUMN_METADATA" + export CFLAGS="$CFLAGS \ + -DSQLITE_HAS_CODEC \ + -DSQLCIPHER_TEST \ + -DSQLITE_ENABLE_COLUMN_METADATA \ + -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT \ + " export LDFLAGS="$LDFLAGS -lcrypto" ./configure \ @@ -42,12 +45,12 @@ package() { "$pkgdir"/usr/share/man/man1/sqlcipher.1 } -libs() { - pkgdesc="SQLCipher library" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +tcl() { + pkgdesc="SQLCipher library (tcl bindings)" + + amove usr/lib/tcl* } sha512sums=" -1de5b219392bb976631857e32b4523258fd660fedb558d478e536b7e10c711c72c7e7c9062e45bd8a5ceaecbc1fee717935d2357f6811c3ddf76702167f4601b sqlcipher-4.5.2.tar.gz +deb592d6f27e7cc02bd641bb8f6e07b242f0dc6c7d8732e7a1e70e457eadd487add7d95c881fe9afbff516f4641a6e603473e47c63afa8396a0ddf007a5818fd sqlcipher-4.5.4.tar.gz "