backports/sqlcipher: upgrade to 4.5.4
This commit is contained in:
parent
4fad6d38b2
commit
d57017d3f6
1 changed files with 14 additions and 11 deletions
|
@ -1,20 +1,23 @@
|
|||
# Contributor: wener <wenermail@gmail.com>
|
||||
# Maintainer: wener <wenermail@gmail.com>
|
||||
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
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue