From 5d2f1e6edd51e69592b62c39ad60040716709068 Mon Sep 17 00:00:00 2001 From: haarp Date: Mon, 18 Sep 2023 12:17:27 +0200 Subject: Upgrade sqlcipher Signed-off-by: haarp --- dev-db/sqlcipher/Manifest | 2 +- dev-db/sqlcipher/sqlcipher-4.5.4.ebuild | 71 --------------------------------- dev-db/sqlcipher/sqlcipher-4.5.5.ebuild | 70 ++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 72 deletions(-) delete mode 100644 dev-db/sqlcipher/sqlcipher-4.5.4.ebuild create mode 100644 dev-db/sqlcipher/sqlcipher-4.5.5.ebuild diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest index 7628191..f26f75a 100644 --- a/dev-db/sqlcipher/Manifest +++ b/dev-db/sqlcipher/Manifest @@ -1 +1 @@ -DIST sqlcipher-4.5.4.tar.gz 18755568 BLAKE2B bca21bfccddfa3429ce6059e47061dd1fcb466c456e501bfb38390dc5d9990c63ff1326c6415ee57e1f661baa9e1403ffc8020f778ef5b92d423c7aef089a13e SHA512 deb592d6f27e7cc02bd641bb8f6e07b242f0dc6c7d8732e7a1e70e457eadd487add7d95c881fe9afbff516f4641a6e603473e47c63afa8396a0ddf007a5818fd +DIST sqlcipher-4.5.5.tar.gz 18816611 BLAKE2B 46c6c64140848e02f7572afc3268db648f9968c41bd7d7e945d4918904ac572d57e0fdc049cf3dac40cc0fd0b034fb96693438ff04fffb4fcd603db2263b7ae9 SHA512 034774f8d320a53f08a9735c035bf83f81ef9223780473c39ec07658b80af89dc665599caa3b2662055039fa678c7a29cbf777d046922948e86123e677b823bc diff --git a/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild b/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild deleted file mode 100644 index 9c9ca41..0000000 --- a/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic multilib-minimal - -DESCRIPTION="Full Database Encryption for SQLite" -HOMEPAGE="https://www.zetetic.net/sqlcipher/" -SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="debug libedit readline static-libs tcl test" - -# Tcl is always needed by buildsystem -RDEPEND=" - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - sys-libs/zlib:=[${MULTILIB_USEDEP}] - libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] ) - readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) - tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - dev-lang/tcl:*" - -# Libedit and readline support are mutually exclusive -# Testsuite requires compilation with TCL, bug #582584 -REQUIRED_USE=" - libedit? ( !readline ) - test? ( tcl ) -" - -DOCS=( README.md ) - -# Testsuite fails, bug #692310 -RESTRICT="test" - -src_prepare() { - # Column metadata added due to bug #670346 - append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA - - default - eautoreconf -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf \ - --enable-fts3 \ - --enable-fts4 \ - --enable-fts5 \ - --enable-geopoly \ - --enable-json1 \ - --enable-memsys5 \ - --enable-rtree \ - --enable-session \ - --enable-tempstore \ - $(use_enable debug) \ - $(use_enable libedit editline) \ - $(use_enable readline) \ - $(use_enable static-libs static) \ - $(use_enable tcl) -} - -multilib_src_install_all() { - find "${D}" -name '*.la' -type f -delete || die - einstalldocs -} diff --git a/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild b/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild new file mode 100644 index 0000000..7ec1f84 --- /dev/null +++ b/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Full Database Encryption for SQLite" +HOMEPAGE="https://www.zetetic.net/sqlcipher/" +SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="debug libedit readline static-libs tcl test" + +# Tcl is always needed by buildsystem +RDEPEND=" + dev-libs/openssl:0=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] + libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-lang/tcl:*" + +# Libedit and readline support are mutually exclusive +# Testsuite requires compilation with TCL, bug #582584 +REQUIRED_USE=" + libedit? ( !readline ) + test? ( tcl ) +" + +DOCS=( README.md ) + +# Testsuite fails, bug #692310 +RESTRICT="test" + +src_prepare() { + # Column metadata added due to bug #670346 + append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA + + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --enable-fts3 \ + --enable-fts4 \ + --enable-fts5 \ + --enable-geopoly \ + --enable-memsys5 \ + --enable-rtree \ + --enable-session \ + --enable-tempstore \ + $(use_enable debug) \ + $(use_enable libedit editline) \ + $(use_enable readline) \ + $(use_enable static-libs static) \ + $(use_enable tcl) +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -type f -delete || die + einstalldocs +} -- cgit v1.2.3-65-gdbad