diff options
author | 2023-08-06 21:01:31 +0200 | |
---|---|---|
committer | 2023-08-06 21:01:31 +0200 | |
commit | e3281e588ca704c0dcdfc06bf88fff6572026909 (patch) | |
tree | 9650b49a43c5561d0b88d94eb44f7fee71ef151c | |
parent | Update Doomseeker (diff) | |
download | haarp-e3281e588ca704c0dcdfc06bf88fff6572026909.tar.gz haarp-e3281e588ca704c0dcdfc06bf88fff6572026909.tar.bz2 haarp-e3281e588ca704c0dcdfc06bf88fff6572026909.zip |
Add newer sqlcipher
Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r-- | dev-db/sqlcipher/Manifest | 3 | ||||
-rw-r--r-- | dev-db/sqlcipher/metadata.xml | 7 | ||||
-rw-r--r-- | dev-db/sqlcipher/sqlcipher-4.5.4.ebuild | 71 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest new file mode 100644 index 0000000..b690e36 --- /dev/null +++ b/dev-db/sqlcipher/Manifest @@ -0,0 +1,3 @@ +DIST sqlcipher-4.5.4.tar.gz 18755568 BLAKE2B bca21bfccddfa3429ce6059e47061dd1fcb466c456e501bfb38390dc5d9990c63ff1326c6415ee57e1f661baa9e1403ffc8020f778ef5b92d423c7aef089a13e SHA512 deb592d6f27e7cc02bd641bb8f6e07b242f0dc6c7d8732e7a1e70e457eadd487add7d95c881fe9afbff516f4641a6e603473e47c63afa8396a0ddf007a5818fd +EBUILD sqlcipher-4.5.4.ebuild 1618 BLAKE2B 72c75037eb125d99eb9c0c325f954fab82bf58cdf8b7494727095011b7bb6a5886ad2eccb1c4844d877752da164238333e329b9c70f00a9d2f95d9845264aade SHA512 ca5e6a16fc92a73fd7c046bbfd36caa727b1999325f6a8137ac4db261ec739872f634cf424fc0e3a6e3bcbe7aceedffbf4b1f63907f72d4de36548bbb65da46b +MISC metadata.xml 228 BLAKE2B 53a9fdbf72e4c7d9b12d8ea329b000cb11187361bcf80e7dd7d61db9a1fe6506da5b2e2e73b87b9c8948931bf68b08b56e6388f42251c71a9d077c4a05e32b2f SHA512 0b2e037f4a89c92e5ea3755c2cd181309b70fad38d06fbbde04445fc04fba732bca1b3e488ba10d34a8b598f660103fceb5ec977d04cd9e98728a8e8d7c31944 diff --git a/dev-db/sqlcipher/metadata.xml b/dev-db/sqlcipher/metadata.xml new file mode 100644 index 0000000..9419fc2 --- /dev/null +++ b/dev-db/sqlcipher/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">sqlcipher/sqlcipher</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild b/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild new file mode 100644 index 0000000..9c9ca41 --- /dev/null +++ b/dev-db/sqlcipher/sqlcipher-4.5.4.ebuild @@ -0,0 +1,71 @@ +# 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 +} |