Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-db/sqlcipher/, dev-db/sqlcipher/files/
Date: Sun, 03 Jul 2022 17:47:36
Message-Id: 1656870419.4ca5e4db49845d546da5ff51f1787ec4275cdaa5.quentin@gentoo
1 commit: 4ca5e4db49845d546da5ff51f1787ec4275cdaa5
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Sat Jul 2 23:45:29 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sun Jul 3 17:46:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4ca5e4db
7
8 dev-db/sqlcipher: Remove package
9
10 Works with libressl-3.5.x and sqlcipher-4.5.1::gentoo.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
14
15 dev-db/sqlcipher/Manifest | 1 -
16 .../files/sqlcipher-3.4.2-libressl-2.8.patch | 11 ----
17 dev-db/sqlcipher/metadata.xml | 11 ----
18 dev-db/sqlcipher/sqlcipher-3.4.2.ebuild | 64 ----------------------
19 4 files changed, 87 deletions(-)
20
21 diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest
22 deleted file mode 100644
23 index 300a266..0000000
24 --- a/dev-db/sqlcipher/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST sqlcipher-3.4.2.tar.gz 14743960 BLAKE2B 88ee265b02bb9a42734c2ef93070c8fd8e13d546d7cc85e7fbfd6e6046ccbf2626d75e14b19cbba379c99784c7311d0100de06235b99b4908c60c99890d8d7a2 SHA512 c620bf2b175e404afd60ebe76b5476f5a447ff5fcdfa31bebc3f4bd7f1ebfcd507ee423cd582c9b3d6431d8b57320171492da2586e1a739adb4f440e7443dc03
28
29 diff --git a/dev-db/sqlcipher/files/sqlcipher-3.4.2-libressl-2.8.patch b/dev-db/sqlcipher/files/sqlcipher-3.4.2-libressl-2.8.patch
30 deleted file mode 100644
31 index da4c55e..0000000
32 --- a/dev-db/sqlcipher/files/sqlcipher-3.4.2-libressl-2.8.patch
33 +++ /dev/null
34 @@ -1,11 +0,0 @@
35 ---- a/src/crypto_openssl.c 2017-12-21 14:31:28.000000000 -0500
36 -+++ b/src/crypto_openssl.c 2019-02-22 12:33:54.110516410 -0500
37 -@@ -47,7 +47,7 @@
38 - static unsigned int openssl_init_count = 0;
39 - static sqlite3_mutex* openssl_rand_mutex = NULL;
40 -
41 --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
42 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x2080000L
43 - static HMAC_CTX *HMAC_CTX_new(void)
44 - {
45 - HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));
46
47 diff --git a/dev-db/sqlcipher/metadata.xml b/dev-db/sqlcipher/metadata.xml
48 deleted file mode 100644
49 index 97d08da..0000000
50 --- a/dev-db/sqlcipher/metadata.xml
51 +++ /dev/null
52 @@ -1,11 +0,0 @@
53 -<?xml version="1.0" encoding="UTF-8"?>
54 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
55 -<pkgmetadata>
56 - <maintainer type="person">
57 - <email>pinkbyte@g.o</email>
58 - <name>Sergey Popov</name>
59 - </maintainer>
60 - <upstream>
61 - <remote-id type="github">sqlcipher/sqlcipher</remote-id>
62 - </upstream>
63 -</pkgmetadata>
64
65 diff --git a/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild b/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild
66 deleted file mode 100644
67 index 2712783..0000000
68 --- a/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild
69 +++ /dev/null
70 @@ -1,64 +0,0 @@
71 -# Copyright 1999-2021 Gentoo Authors
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI=6
75 -
76 -inherit autotools eutils flag-o-matic ltprune multilib-minimal
77 -
78 -DESCRIPTION="Full Database Encryption for SQLite"
79 -HOMEPAGE="https://www.zetetic.net/sqlcipher/"
80 -SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
81 -
82 -LICENSE="BSD"
83 -SLOT="0"
84 -KEYWORDS="amd64 x86"
85 -
86 -IUSE="libedit readline static-libs tcl test"
87 -RESTRICT="!test? ( test )"
88 -
89 -# Tcl is always needed by buildsystem
90 -RDEPEND="
91 - libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] )
92 - dev-libs/openssl:0=[${MULTILIB_USEDEP}]
93 - readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
94 - tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
95 -"
96 -DEPEND="${RDEPEND}
97 - dev-lang/tcl:*"
98 -
99 -# Libedit and readline support are mutually exclusive
100 -# Testsuite requires compilation with TCL, bug #582584
101 -REQUIRED_USE="
102 - libedit? ( !readline )
103 - test? ( tcl )
104 -"
105 -
106 -DOCS=( README.md )
107 -
108 -src_prepare() {
109 - # bug #678502
110 - eapply "${FILESDIR}/${P}-libressl-2.8.patch"
111 -
112 - append-cflags -DSQLITE_HAS_CODEC
113 - eapply_user
114 - eautoreconf
115 -}
116 -
117 -multilib_src_configure() {
118 - ECONF_SOURCE=${S} \
119 - econf \
120 - --enable-fts3 \
121 - --enable-fts4 \
122 - --enable-fts5 \
123 - --enable-json1 \
124 - --enable-tempstore \
125 - $(use_enable libedit editline) \
126 - $(use_enable readline) \
127 - $(use_enable static-libs static) \
128 - $(use_enable tcl)
129 -}
130 -
131 -multilib_src_install_all() {
132 - prune_libtool_files
133 - einstalldocs
134 -}