sqlcipher: update to 4.0.0.

This commit is contained in:
prspkt 2018-12-02 23:45:58 +02:00 committed by maxice8
parent aa45c67ecb
commit 51aca41180
2 changed files with 4 additions and 15 deletions

View File

@ -1,12 +0,0 @@
--- src/crypto_openssl.c.orig 2018-04-23 19:52:51.654950856 +0200
+++ src/crypto_openssl.c 2018-04-23 19:54:16.786079484 +0200
@@ -47,7 +47,8 @@ static unsigned int openssl_external_ini
static unsigned int openssl_init_count = 0;
static sqlite3_mutex* openssl_rand_mutex = NULL;
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
static HMAC_CTX *HMAC_CTX_new(void)
{
HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));

View File

@ -1,7 +1,7 @@
# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.4.2
revision=4
version=4.0.0
revision=1
build_style=gnu-configure
configure_args="--enable-tempstore=yes"
hostmakedepends="tcl"
@ -10,8 +10,9 @@ short_desc="SQLite extension that provides transparent 256-bit AES encryption"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="BSD-3-Clause"
homepage="https://www.zetetic.net/sqlcipher/"
changelog="https://raw.githubusercontent.com/sqlcipher/sqlcipher/v${version}/CHANGELOG.md"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=69897a5167f34e8a84c7069f1b283aba88cdfa8ec183165c4a5da2c816cfaadb
checksum=c8f5fc6d800aae6107bf23900144804db5510c2676c93fbb269e4a0700837d68
CFLAGS="-DSQLITE_HAS_CODEC"
post_install() {