diff --git a/srcpkgs/sqlcipher/patches/fix-libressl-2.7.patch b/srcpkgs/sqlcipher/patches/fix-libressl-2.7.patch deleted file mode 100644 index 9dfd7ffe938..00000000000 --- a/srcpkgs/sqlcipher/patches/fix-libressl-2.7.patch +++ /dev/null @@ -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)); diff --git a/srcpkgs/sqlcipher/template b/srcpkgs/sqlcipher/template index d6e9bc110f7..de5be8f80ac 100644 --- a/srcpkgs/sqlcipher/template +++ b/srcpkgs/sqlcipher/template @@ -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 " 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() {