summaryrefslogtreecommitdiff
path: root/dev-db/sqlcipher
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-db/sqlcipher
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-db/sqlcipher')
-rw-r--r--dev-db/sqlcipher/Manifest2
-rw-r--r--dev-db/sqlcipher/files/patch-autosetup_sqlite-config_tcl12
-rw-r--r--dev-db/sqlcipher/files/patch-src_crypto_openssl_c94
-rw-r--r--dev-db/sqlcipher/metadata.xml16
-rw-r--r--dev-db/sqlcipher/sqlcipher-4.15.0.ebuild80
-rw-r--r--dev-db/sqlcipher/sqlcipher-4.16.0.ebuild80
6 files changed, 0 insertions, 284 deletions
diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest
deleted file mode 100644
index e4ef361058f5..000000000000
--- a/dev-db/sqlcipher/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST sqlcipher-4.15.0.tar.gz 19310855 BLAKE2B fb3dc45ec76560bc13fb8d43e11f4d17a5da52c5da849120c3c5e8677c6e778077397a9428ede1c8f379502ee96ad6139fa84f7c7593287e8a04de81d46b881d SHA512 c88a581d07c3bcd8af18ec0c5767ec81448998de20d395d6adcd7bf144a06319bb6a89068b951bb90828f90b59fd0415b2417e335a5a017fe0948e2ecce74998
-DIST sqlcipher-4.16.0.tar.gz 19314061 BLAKE2B fdb018bb870efb78d3e69b7c848c22586c2cf7595c8812f46a8b01514fee81df5c74f05e21faf30ad23a17eb3aaa141aa1239c77d2c81a92d75bac9d22f8c132 SHA512 498fcc9d94d808a4734cef20eb8932a20e5de838740c25b4daf7c17096243e2c381243c5ac88174e098378459d66b24ed7dcae770e20d8a34f7970f20005f6f4
diff --git a/dev-db/sqlcipher/files/patch-autosetup_sqlite-config_tcl b/dev-db/sqlcipher/files/patch-autosetup_sqlite-config_tcl
deleted file mode 100644
index 4b98527fb5ef..000000000000
--- a/dev-db/sqlcipher/files/patch-autosetup_sqlite-config_tcl
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: autosetup/sqlite-config.tcl
---- autosetup/sqlite-config.tcl.orig
-+++ autosetup/sqlite-config.tcl
-@@ -792,7 +792,7 @@ proc sqlite-handle-soname {} {
- # use it as-is
- } else {
- # Assume it's a suffix
-- set soname "libsqlite3.so.${soname}"
-+ set soname "libsqlcipher.so.${soname}"
- }
- }
- }
diff --git a/dev-db/sqlcipher/files/patch-src_crypto_openssl_c b/dev-db/sqlcipher/files/patch-src_crypto_openssl_c
deleted file mode 100644
index 6745e2d1cf8d..000000000000
--- a/dev-db/sqlcipher/files/patch-src_crypto_openssl_c
+++ /dev/null
@@ -1,94 +0,0 @@
-LibreSSL does not support the OpenSSL 3 EVP_MAC API
-
-Partial revert of
-https://github.com/sqlcipher/sqlcipher/commit/801b81a8d0c42c13f66de89805c3bfa0d1d450aa
-
-Index: src/crypto_openssl.c
---- src/crypto_openssl.c.orig
-+++ src/crypto_openssl.c
-@@ -156,6 +156,76 @@ static int sqlcipher_openssl_hmac(
- ) {
- int rc = 0;
-
-+#if (defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x30000000L)
-+ unsigned int outlen;
-+ HMAC_CTX* hctx = NULL;
-+
-+ if(in == NULL) goto error;
-+
-+ hctx = HMAC_CTX_new();
-+ if(hctx == NULL) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_CTX_new() failed");
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+
-+ switch(algorithm) {
-+ case SQLCIPHER_HMAC_SHA1:
-+ if(!(rc = HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha1(), NULL))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Init_ex() with key size %d and EVP_sha1() returned %d", key_sz, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+ break;
-+ case SQLCIPHER_HMAC_SHA256:
-+ if(!(rc = HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha256(), NULL))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Init_ex() with key size %d and EVP_sha256() returned %d", key_sz, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+ break;
-+ case SQLCIPHER_HMAC_SHA512:
-+ if(!(rc = HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha512(), NULL))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Init_ex() with key size %d and EVP_sha512() returned %d", key_sz, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+ break;
-+ default:
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: invalid algorithm %d", algorithm);
-+ goto error;
-+ }
-+
-+ if(!(rc = HMAC_Update(hctx, in, in_sz))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Update() on 1st input buffer of %d bytes using algorithm %d returned %d", in_sz, algorithm, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+
-+ if(in2 != NULL) {
-+ if(!(rc = HMAC_Update(hctx, in2, in2_sz))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Update() on 2nd input buffer of %d bytes using algorithm %d returned %d", in2_sz, algorithm, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+ }
-+
-+ if(!(rc = HMAC_Final(hctx, out, &outlen))) {
-+ sqlcipher_log(SQLCIPHER_LOG_ERROR, SQLCIPHER_LOG_PROVIDER, "sqlcipher_openssl_hmac: HMAC_Final() using algorithm %d returned %d", algorithm, rc);
-+ sqlcipher_openssl_log_errors();
-+ goto error;
-+ }
-+
-+ rc = SQLITE_OK;
-+ goto cleanup;
-+
-+error:
-+ rc = SQLITE_ERROR;
-+
-+cleanup:
-+ if(hctx) HMAC_CTX_free(hctx);
-+
-+#else
- size_t outlen;
- EVP_MAC *mac = NULL;
- EVP_MAC_CTX *hctx = NULL;
-@@ -241,6 +311,8 @@ error:
- cleanup:
- if(hctx) EVP_MAC_CTX_free(hctx);
- if(mac) EVP_MAC_free(mac);
-+
-+#endif
-
- return rc;
- }
diff --git a/dev-db/sqlcipher/metadata.xml b/dev-db/sqlcipher/metadata.xml
deleted file mode 100644
index 57b06320349a..000000000000
--- a/dev-db/sqlcipher/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>pinkbyte@gentoo.org</email>
- <name>Sergey Popov</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:zetetic:sqlcipher</remote-id>
- </upstream>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-db/sqlcipher/sqlcipher-4.15.0.ebuild b/dev-db/sqlcipher/sqlcipher-4.15.0.ebuild
deleted file mode 100644
index d1a3f954c188..000000000000
--- a/dev-db/sqlcipher/sqlcipher-4.15.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Full Database Encryption for SQLite"
-HOMEPAGE="
- https://www.zetetic.net/sqlcipher/
- https://github.com/sqlcipher/sqlcipher
-"
-SRC_URI="https://github.com/sqlcipher/sqlcipher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug libedit readline tcl test"
-# Testsuite requires compilation with TCL, bug #582584
-REQUIRED_USE="
- ?? ( libedit readline )
- test? ( tcl )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/openssl-3.0:=
-
- sys-libs/zlib
- libedit? ( dev-libs/libedit )
- readline? ( sys-libs/readline:= )
- tcl? ( dev-lang/tcl:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/tcl"
-
-src_prepare() {
- append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown -DSQLITE_TEMP_STORE=3
- append-ldflags -lssl -lcrypto
- eapply -p0 $FILESDIR/patch-autosetup_sqlite-config_tcl
-
-
- default
-}
-
-src_configure() {
- local myeconfargs=(
- --enable-fts3
- --enable-fts4
- --enable-fts5
- --enable-geopoly
- --enable-memsys5
- --enable-rtree
- --enable-session
- --with-tempstore=yes
- $(use_enable debug)
- $(use_enable libedit editline)
- $(use_enable readline)
- $(use_enable tcl)
- )
- ECONF_SOURCE=${S} \
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # Rename files from sqlite3 to sqlcipher to prevent file collisons
- mv ${ED}/usr/bin/{sqlite3,sqlcipher}
- mv ${ED}/usr/include/{sqlite3,sqlcipher}.h
- mv ${ED}/usr/include/{sqlite3ext,sqlcipherext}.h
- mv ${ED}/usr/lib64/lib{sqlite3,sqlcipher}.a
- rm ${ED}/usr/lib64/libsqlite3.so{,.0}
- mv ${ED}/usr/lib64/libsqlite3.so.* \
- ${ED}/usr/lib64/libsqlcipher.so.${PV}
- mv ${ED}/usr/lib64/pkgconfig/{sqlite3,sqlcipher}.pc
- mv ${ED}/usr/share/man/man1/{sqlite3,sqlcipher}.1
- sed -i s/-lsqlite3/-lsqlcipher/ ${ED}/usr/lib64/pkgconfig/sqlcipher.pc
- einstalldocs
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/dev-db/sqlcipher/sqlcipher-4.16.0.ebuild b/dev-db/sqlcipher/sqlcipher-4.16.0.ebuild
deleted file mode 100644
index d1a3f954c188..000000000000
--- a/dev-db/sqlcipher/sqlcipher-4.16.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Full Database Encryption for SQLite"
-HOMEPAGE="
- https://www.zetetic.net/sqlcipher/
- https://github.com/sqlcipher/sqlcipher
-"
-SRC_URI="https://github.com/sqlcipher/sqlcipher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug libedit readline tcl test"
-# Testsuite requires compilation with TCL, bug #582584
-REQUIRED_USE="
- ?? ( libedit readline )
- test? ( tcl )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/openssl-3.0:=
-
- sys-libs/zlib
- libedit? ( dev-libs/libedit )
- readline? ( sys-libs/readline:= )
- tcl? ( dev-lang/tcl:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/tcl"
-
-src_prepare() {
- append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown -DSQLITE_TEMP_STORE=3
- append-ldflags -lssl -lcrypto
- eapply -p0 $FILESDIR/patch-autosetup_sqlite-config_tcl
-
-
- default
-}
-
-src_configure() {
- local myeconfargs=(
- --enable-fts3
- --enable-fts4
- --enable-fts5
- --enable-geopoly
- --enable-memsys5
- --enable-rtree
- --enable-session
- --with-tempstore=yes
- $(use_enable debug)
- $(use_enable libedit editline)
- $(use_enable readline)
- $(use_enable tcl)
- )
- ECONF_SOURCE=${S} \
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # Rename files from sqlite3 to sqlcipher to prevent file collisons
- mv ${ED}/usr/bin/{sqlite3,sqlcipher}
- mv ${ED}/usr/include/{sqlite3,sqlcipher}.h
- mv ${ED}/usr/include/{sqlite3ext,sqlcipherext}.h
- mv ${ED}/usr/lib64/lib{sqlite3,sqlcipher}.a
- rm ${ED}/usr/lib64/libsqlite3.so{,.0}
- mv ${ED}/usr/lib64/libsqlite3.so.* \
- ${ED}/usr/lib64/libsqlcipher.so.${PV}
- mv ${ED}/usr/lib64/pkgconfig/{sqlite3,sqlcipher}.pc
- mv ${ED}/usr/share/man/man1/{sqlite3,sqlcipher}.1
- sed -i s/-lsqlite3/-lsqlcipher/ ${ED}/usr/lib64/pkgconfig/sqlcipher.pc
- einstalldocs
- find "${D}" -name '*.la' -type f -delete || die
-}