From d09de479ecc90e8600cf330acbe4f63e63ae3fb7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 22 Dec 2017 03:14:39 -0200 Subject: [PATCH] sqlcipher: update to 3.4.2. Closes: #10171 [via git-merge-pr] --- srcpkgs/sqlcipher/patches/fix-libressl.patch | 11 ----------- srcpkgs/sqlcipher/template | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/sqlcipher/patches/fix-libressl.patch diff --git a/srcpkgs/sqlcipher/patches/fix-libressl.patch b/srcpkgs/sqlcipher/patches/fix-libressl.patch deleted file mode 100644 index 6b779279fd7..00000000000 --- a/srcpkgs/sqlcipher/patches/fix-libressl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/crypto_openssl.c -+++ src/crypto_openssl.c -@@ -46,7 +46,7 @@ static unsigned int openssl_external_init = 0; - static unsigned int openssl_init_count = 0; - static sqlite3_mutex* openssl_rand_mutex = NULL; - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - static HMAC_CTX *HMAC_CTX_new(void) - { - HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); diff --git a/srcpkgs/sqlcipher/template b/srcpkgs/sqlcipher/template index 88c44557a43..4a4330ee7ea 100644 --- a/srcpkgs/sqlcipher/template +++ b/srcpkgs/sqlcipher/template @@ -1,6 +1,6 @@ # Template file for 'sqlcipher' pkgname=sqlcipher -version=3.4.1 +version=3.4.2 revision=1 build_style=gnu-configure configure_args="--enable-tempstore=yes" @@ -11,7 +11,7 @@ maintainer="Steve Prybylski " license="3-clause-BSD" homepage="https://www.zetetic.net/sqlcipher/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" -checksum=4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4 +checksum=69897a5167f34e8a84c7069f1b283aba88cdfa8ec183165c4a5da2c816cfaadb CFLAGS="-DSQLITE_HAS_CODEC" post_install() {