Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlite/files/, dev-db/sqlite/
Date: Fri, 09 Aug 2019 18:39:36
Message-Id: 1565375940.9b4ecf2fe8842b5ee546ab56f81bbb470cbe91a8.floppym@gentoo
1 commit: 9b4ecf2fe8842b5ee546ab56f81bbb470cbe91a8
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Aug 9 17:09:52 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 9 18:39:00 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4ecf2f
7
8 dev-db/sqlite: Delete old version (3.27.2).
9
10 Bug: https://bugs.gentoo.org/685838
11 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 dev-db/sqlite/Manifest | 3 -
15 .../files/sqlite-3.27.0-full_archive-build.patch | 461 ---------------------
16 .../files/sqlite-3.27.2-full_archive-tests.patch | 36 --
17 dev-db/sqlite/sqlite-3.27.2.ebuild | 328 ---------------
18 4 files changed, 828 deletions(-)
19
20 diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
21 index cfb0f3aa3c8..a01c511c398 100644
22 --- a/dev-db/sqlite/Manifest
23 +++ b/dev-db/sqlite/Manifest
24 @@ -1,6 +1,3 @@
25 -DIST sqlite-autoconf-3270200.tar.gz 2797531 BLAKE2B e4d0de32308e519e4f5f68dc0ff1e2098209325ab962a09814aa6af517cb408d1ac70f32fff56cca4ad78bec7d6dedb5b21f222ae391e0fe7e20df5abd37f65a SHA512 0ac2515c7816932a4f725e657122c9f202bd7aba637bad9af5b4592b85efdd10a55ad34ac621b60a7aea91b1021c2ef0924c6ddfe05b2edb4f70e3d34b005972
26 DIST sqlite-autoconf-3280000.tar.gz 2810415 BLAKE2B e1af03476d97f96ef78d4e0a9df6ae69a06fb08e48046c843ed668b3f8c00c58263df07a4e8a22a1c7cfc920fd005fa6c2525dceeec4f724b43df7589ca3f777 SHA512 e800c0d9e6c8c01ccf1d714c6c4da4b98e9610c4c06557dda6393d0792a8ae09788703d4a74dcb21844c49b3629ff7ed95a4a86ff79872aafd2b49c672c7a570
27 -DIST sqlite-doc-3270200.zip 9371606 BLAKE2B 6d65f59f21eafab82ede6c89d09b8828e5a5e6f7ad7233877fe938773be0aee6fd347d7bba0101cc1d2e376181e4cfbcc2e36d47567b65af9167c4d1ba7f3540 SHA512 00a7c51aeaea2d9338662553c331addca8cd4ae656f4090630b4b2c2e6ceffffd9bd3c6a97117915577cfd6dafeddf9da21f865ab378f86c4832ba0b1c419a2f
28 DIST sqlite-doc-3280000.zip 9421770 BLAKE2B 695eab96f718307a7aff8a171d9e416ddb4b17039ef7230a458dc7d256e2f07a5b41d3aa1a3f085e5e418c297b5dd1d2ba5e4827434329d1ed61d3dd1f618f3d SHA512 83e23dff00614d31d501c66c29d8d4aa780b38859242b58937243235d185fe3db2f9f3c1accf9bf2df0b457a6e32612a00e82f503a8665aad4f19602e2b36396
29 -DIST sqlite-src-3270200.zip 12248529 BLAKE2B b3c79b85bbfa376b31ebb4ad33aea3f0b60c1f6d1e6505e02758cffff41e44ea0c5b8c24892f0757502ed6213c0f97f00957632ddf0e5ffe25e9f8b7f62c6e9a SHA512 52f61e2fa54558b953dba62b27961eef8563f40e6b4a62638087cb22c7d1fdf2c915ea1071939e2e98f3ce6041da2c9bfb1bdbc1e8b8b4a049b8148e878a4e5e
30 DIST sqlite-src-3280000.zip 12477204 BLAKE2B e62e0f36f0bebf89990f8ec91cb1e508a5ebc92bb212eaf9c80eb0febecb5623f5938ecd31c210837314f1f9aab19a18189824f82a106799384d8184ca5f65ab SHA512 49c35c65fa686a2326e13218db583c54fa5fe8f48f0caddd11a942601803b3023f7d32ffbab16641e0d72dc9ed288ad26eaa7226c865ac54e1f181859125651f
31
32 diff --git a/dev-db/sqlite/files/sqlite-3.27.0-full_archive-build.patch b/dev-db/sqlite/files/sqlite-3.27.0-full_archive-build.patch
33 deleted file mode 100644
34 index 18c6d4d7bd3..00000000000
35 --- a/dev-db/sqlite/files/sqlite-3.27.0-full_archive-build.patch
36 +++ /dev/null
37 @@ -1,461 +0,0 @@
38 -Move some code to libsqlite3.so to avoid duplication.
39 -Link executables against libsqlite3.so.
40 -Increase timeout for fuzzcheck.
41 -Fix building with dlopen() not available.
42 -
43 ---- /Makefile.in
44 -+++ /Makefile.in
45 -@@ -311,6 +311,9 @@
46 - # Source code for extensions
47 - #
48 - SRC += \
49 -+ $(TOP)/ext/expert/sqlite3expert.c \
50 -+ $(TOP)/ext/expert/sqlite3expert.h
51 -+SRC += \
52 - $(TOP)/ext/fts1/fts1.c \
53 - $(TOP)/ext/fts1/fts1.h \
54 - $(TOP)/ext/fts1/fts1_hash.c \
55 -@@ -363,8 +366,11 @@
56 - $(TOP)/ext/rbu/sqlite3rbu.h \
57 - $(TOP)/ext/rbu/sqlite3rbu.c
58 - SRC += \
59 -+ $(TOP)/ext/misc/appendvfs.c \
60 - $(TOP)/ext/misc/json1.c \
61 -- $(TOP)/ext/misc/stmt.c
62 -+ $(TOP)/ext/misc/sqlar.c \
63 -+ $(TOP)/ext/misc/stmt.c \
64 -+ $(TOP)/ext/misc/zipfile.c
65 -
66 - # Generated source code files
67 - #
68 -@@ -434,7 +440,6 @@
69 - # Statically linked extensions
70 - #
71 - TESTSRC += \
72 -- $(TOP)/ext/expert/sqlite3expert.c \
73 - $(TOP)/ext/expert/test_expert.c \
74 - $(TOP)/ext/misc/amatch.c \
75 - $(TOP)/ext/misc/carray.c \
76 -@@ -460,7 +465,6 @@
77 - $(TOP)/ext/misc/totype.c \
78 - $(TOP)/ext/misc/unionvtab.c \
79 - $(TOP)/ext/misc/wholenumber.c \
80 -- $(TOP)/ext/misc/zipfile.c \
81 - $(TOP)/ext/userauth/userauth.c
82 -
83 - # Source code to the library files needed by the test fixture
84 -@@ -639,25 +643,25 @@
85 -
86 - libtclsqlite3.la: tclsqlite.lo libsqlite3.la
87 - $(LTLINK) -no-undefined -o $@ tclsqlite.lo \
88 -- libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
89 -+ libsqlite3.la @TCL_STUB_LIB_SPEC@ \
90 - -rpath "$(TCLLIBDIR)" \
91 - -version-info "8:6:8" \
92 - -avoid-version
93 -
94 --sqlite3$(TEXE): shell.c sqlite3.c
95 -- $(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
96 -- shell.c sqlite3.c \
97 -- $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
98 -+sqlite3$(TEXE): shell.c libsqlite3.la
99 -+ $(LTLINK) $(READLINE_FLAGS) -o $@ \
100 -+ shell.c libsqlite3.la \
101 -+ $(LIBREADLINE)
102 -
103 --sqldiff$(TEXE): $(TOP)/tool/sqldiff.c sqlite3.lo sqlite3.h
104 -- $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.lo $(TLIBS)
105 -+sqldiff$(TEXE): $(TOP)/tool/sqldiff.c libsqlite3.la
106 -+ $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c libsqlite3.la
107 -
108 --dbhash$(TEXE): $(TOP)/tool/dbhash.c sqlite3.lo sqlite3.h
109 -- $(LTLINK) -o $@ $(TOP)/tool/dbhash.c sqlite3.lo $(TLIBS)
110 -+dbhash$(TEXE): $(TOP)/tool/dbhash.c libsqlite3.la
111 -+ $(LTLINK) -o $@ $(TOP)/tool/dbhash.c libsqlite3.la
112 -
113 --scrub$(TEXE): $(TOP)/ext/misc/scrub.c sqlite3.lo
114 -+scrub$(TEXE): $(TOP)/ext/misc/scrub.c libsqlite3.la
115 - $(LTLINK) -o $@ -I. -DSCRUB_STANDALONE \
116 -- $(TOP)/ext/misc/scrub.c sqlite3.lo $(TLIBS)
117 -+ $(TOP)/ext/misc/scrub.c libsqlite3.la
118 -
119 - srcck1$(BEXE): $(TOP)/tool/srcck1.c
120 - $(BCC) -o srcck1$(BEXE) $(TOP)/tool/srcck1.c
121 -@@ -767,7 +771,7 @@
122 - # Rule to build the amalgamation
123 - #
124 - sqlite3.lo: sqlite3.c
125 -- $(LTCOMPILE) $(TEMP_STORE) -c sqlite3.c
126 -+ $(LTCOMPILE) $(SHELL_OPT) $(TEMP_STORE) -c sqlite3.c
127 -
128 - # Rules to build the LEMON compiler generator
129 - #
130 -@@ -1067,14 +1071,9 @@
131 - # Source files that go into making shell.c
132 - SHELL_SRC = \
133 - $(TOP)/src/shell.c.in \
134 -- $(TOP)/ext/misc/appendvfs.c \
135 - $(TOP)/ext/misc/shathree.c \
136 - $(TOP)/ext/misc/fileio.c \
137 - $(TOP)/ext/misc/completion.c \
138 -- $(TOP)/ext/misc/sqlar.c \
139 -- $(TOP)/ext/expert/sqlite3expert.c \
140 -- $(TOP)/ext/expert/sqlite3expert.h \
141 -- $(TOP)/ext/misc/zipfile.c \
142 - $(TOP)/ext/misc/memtrace.c \
143 - $(TOP)/src/test_windirent.c
144 -
145 -@@ -1242,15 +1241,15 @@
146 -
147 - # Fuzz testing
148 - fuzztest: fuzzcheck$(TEXE) $(FUZZDATA) sessionfuzz$(TEXE) $(TOP)/test/sessionfuzz-data1.db
149 -- ./fuzzcheck$(TEXE) $(FUZZDATA)
150 -+ ./fuzzcheck$(TEXE) --timeout 3600 $(FUZZDATA)
151 - ./sessionfuzz$(TEXE) run $(TOP)/test/sessionfuzz-data1.db
152 -
153 - fastfuzztest: fuzzcheck$(TEXE) $(FUZZDATA) sessionfuzz$(TEXE) $(TOP)/test/sessionfuzz-data1.db
154 -- ./fuzzcheck$(TEXE) --limit-mem 100M $(FUZZDATA)
155 -+ ./fuzzcheck$(TEXE) --limit-mem 100M --timeout 3600 $(FUZZDATA)
156 - ./sessionfuzz$(TEXE) run $(TOP)/test/sessionfuzz-data1.db
157 -
158 - valgrindfuzz: fuzzcheck$(TEXT) $(FUZZDATA) sessionfuzz$(TEXE) $(TOP)/test/sessionfuzz-data1.db
159 -- valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 600 $(FUZZDATA)
160 -+ valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 3600 $(FUZZDATA)
161 - valgrind ./sessionfuzz$(TEXE) run $(TOP)/test/sessionfuzz-data1.db
162 -
163 - # The veryquick.test TCL tests.
164 -@@ -1281,24 +1280,23 @@
165 - smoketest: $(TESTPROGS) fuzzcheck$(TEXE)
166 - ./testfixture$(TEXE) $(TOP)/test/main.test $(TESTOPTS)
167 -
168 --sqlite3_analyzer.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in
169 -+sqlite3_analyzer.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in
170 - $(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in >sqlite3_analyzer.c
171 -
172 --sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
173 -- $(LTLINK) sqlite3_analyzer.c -o $@ $(LIBTCL) $(TLIBS)
174 -+sqlite3_analyzer$(TEXE): sqlite3_analyzer.c libsqlite3.la
175 -+ $(LTLINK) sqlite3_analyzer.c -o $@ libsqlite3.la $(LIBTCL)
176 -
177 --sqltclsh.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/sqltclsh.tcl $(TOP)/ext/misc/appendvfs.c $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in
178 -+sqltclsh.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/sqltclsh.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in
179 - $(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in >sqltclsh.c
180 -
181 --sqltclsh$(TEXE): sqltclsh.c
182 -- $(LTLINK) sqltclsh.c -o $@ $(LIBTCL) $(TLIBS)
183 -+sqltclsh$(TEXE): sqltclsh.c libsqlite3.la
184 -+ $(LTLINK) sqltclsh.c -o $@ libsqlite3.la $(LIBTCL)
185 -
186 --sqlite3_expert$(TEXE): $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c $(TOP)/ext/expert/expert.c sqlite3.c
187 -- $(LTLINK) $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c $(TOP)/ext/expert/expert.c sqlite3.c -o sqlite3_expert $(TLIBS)
188 -+sqlite3_expert$(TEXE): $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/expert.c libsqlite3.la
189 -+ $(LTLINK) $(TOP)/ext/expert/expert.c -o sqlite3_expert libsqlite3.la
190 -
191 - CHECKER_DEPS =\
192 - $(TOP)/tool/mkccode.tcl \
193 -- sqlite3.c \
194 - $(TOP)/src/tclsqlite.c \
195 - $(TOP)/ext/repair/sqlite3_checker.tcl \
196 - $(TOP)/ext/repair/checkindex.c \
197 -@@ -1309,36 +1307,36 @@
198 - sqlite3_checker.c: $(CHECKER_DEPS)
199 - $(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/ext/repair/sqlite3_checker.c.in >$@
200 -
201 --sqlite3_checker$(TEXE): sqlite3_checker.c
202 -- $(LTLINK) sqlite3_checker.c -o $@ $(LIBTCL) $(TLIBS)
203 -+sqlite3_checker$(TEXE): sqlite3_checker.c libsqlite3.la
204 -+ $(LTLINK) sqlite3_checker.c -o $@ libsqlite3.la $(LIBTCL)
205 -
206 --dbdump$(TEXE): $(TOP)/ext/misc/dbdump.c sqlite3.lo
207 -+dbdump$(TEXE): $(TOP)/ext/misc/dbdump.c libsqlite3.la
208 - $(LTLINK) -DDBDUMP_STANDALONE -o $@ \
209 -- $(TOP)/ext/misc/dbdump.c sqlite3.lo $(TLIBS)
210 -+ $(TOP)/ext/misc/dbdump.c libsqlite3.la
211 -
212 --dbtotxt$(TEXE): $(TOP)/tool/dbtotxt.c
213 -- $(LTLINK)-o $@ $(TOP)/tool/dbtotxt.c
214 -+dbtotxt$(TEXE): $(TOP)/tool/dbtotxt.c
215 -+ $(LTLINK) -o $@ $(TOP)/tool/dbtotxt.c
216 -
217 --showdb$(TEXE): $(TOP)/tool/showdb.c sqlite3.lo
218 -- $(LTLINK) -o $@ $(TOP)/tool/showdb.c sqlite3.lo $(TLIBS)
219 -+showdb$(TEXE): $(TOP)/tool/showdb.c libsqlite3.la
220 -+ $(LTLINK) -o $@ $(TOP)/tool/showdb.c libsqlite3.la
221 -
222 --showstat4$(TEXE): $(TOP)/tool/showstat4.c sqlite3.lo
223 -- $(LTLINK) -o $@ $(TOP)/tool/showstat4.c sqlite3.lo $(TLIBS)
224 -+showstat4$(TEXE): $(TOP)/tool/showstat4.c libsqlite3.la
225 -+ $(LTLINK) -o $@ $(TOP)/tool/showstat4.c libsqlite3.la
226 -
227 --showjournal$(TEXE): $(TOP)/tool/showjournal.c sqlite3.lo
228 -- $(LTLINK) -o $@ $(TOP)/tool/showjournal.c sqlite3.lo $(TLIBS)
229 -+showjournal$(TEXE): $(TOP)/tool/showjournal.c
230 -+ $(LTLINK) -o $@ $(TOP)/tool/showjournal.c
231 -
232 --showwal$(TEXE): $(TOP)/tool/showwal.c sqlite3.lo
233 -- $(LTLINK) -o $@ $(TOP)/tool/showwal.c sqlite3.lo $(TLIBS)
234 -+showwal$(TEXE): $(TOP)/tool/showwal.c
235 -+ $(LTLINK) -o $@ $(TOP)/tool/showwal.c
236 -
237 - showshm$(TEXE): $(TOP)/tool/showshm.c
238 - $(LTLINK) -o $@ $(TOP)/tool/showshm.c
239 -
240 --index_usage$(TEXE): $(TOP)/tool/index_usage.c sqlite3.lo
241 -- $(LTLINK) $(SHELL_OPT) -o $@ $(TOP)/tool/index_usage.c sqlite3.lo $(TLIBS)
242 -+index_usage$(TEXE): $(TOP)/tool/index_usage.c libsqlite3.la
243 -+ $(LTLINK) -o $@ $(TOP)/tool/index_usage.c libsqlite3.la
244 -
245 --changeset$(TEXE): $(TOP)/ext/session/changeset.c sqlite3.lo
246 -- $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c sqlite3.lo $(TLIBS)
247 -+changeset$(TEXE): $(TOP)/ext/session/changeset.c libsqlite3.la
248 -+ $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c libsqlite3.la
249 -
250 - changesetfuzz$(TEXE): $(TOP)/ext/session/changesetfuzz.c sqlite3.lo
251 - $(LTLINK) -o $@ $(TOP)/ext/session/changesetfuzz.c sqlite3.lo $(TLIBS)
252 -@@ -1363,11 +1361,11 @@
253 - kvtest$(TEXE): $(TOP)/test/kvtest.c sqlite3.c
254 - $(LTLINK) $(KV_OPT) -o $@ $(TOP)/test/kvtest.c sqlite3.c $(TLIBS)
255 -
256 --rbu$(EXE): $(TOP)/ext/rbu/rbu.c $(TOP)/ext/rbu/sqlite3rbu.c sqlite3.lo
257 -- $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c sqlite3.lo $(TLIBS)
258 -+rbu$(EXE): $(TOP)/ext/rbu/rbu.c libsqlite3.la
259 -+ $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c libsqlite3.la
260 -
261 --loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
262 -- $(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@ $(TLIBS)
263 -+loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
264 -+ $(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@
265 -
266 - # This target will fail if the SQLite amalgamation contains any exported
267 - # symbols that do not begin with "sqlite3_". It is run as part of the
268 ---- /configure.ac
269 -+++ /configure.ac
270 -@@ -587,6 +587,9 @@
271 - if test "${enable_load_extension}" = "yes" ; then
272 - OPT_FEATURE_FLAGS=""
273 - AC_SEARCH_LIBS(dlopen, dl)
274 -+ if test "${ac_cv_search_dlopen}" = "no" ; then
275 -+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
276 -+ fi
277 - else
278 - OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
279 - fi
280 ---- /ext/misc/sqlar.c
281 -+++ /ext/misc/sqlar.c
282 -@@ -14,6 +14,8 @@
283 - ** for working with sqlar archives and used by the shell tool's built-in
284 - ** sqlar support.
285 - */
286 -+#ifdef SQLITE_HAVE_ZLIB
287 -+
288 - #include "sqlite3ext.h"
289 - SQLITE_EXTENSION_INIT1
290 - #include <zlib.h>
291 -@@ -119,3 +121,5 @@
292 - }
293 - return rc;
294 - }
295 -+
296 -+#endif /* SQLITE_HAVE_ZLIB */
297 ---- /ext/misc/zipfile.c
298 -+++ /ext/misc/zipfile.c
299 -@@ -24,6 +24,8 @@
300 - ** * No support for zip64 extensions
301 - ** * Only the "inflate/deflate" (zlib) compression method is supported
302 - */
303 -+#ifdef SQLITE_HAVE_ZLIB
304 -+
305 - #include "sqlite3ext.h"
306 - SQLITE_EXTENSION_INIT1
307 - #include <stdio.h>
308 -@@ -2176,3 +2178,5 @@
309 - (void)pzErrMsg; /* Unused parameter */
310 - return zipfileRegister(db);
311 - }
312 -+
313 -+#endif /* SQLITE_HAVE_ZLIB */
314 ---- /ext/repair/sqlite3_checker.c.in
315 -+++ /ext/repair/sqlite3_checker.c.in
316 -@@ -2,6 +2,7 @@
317 - ** Read an SQLite database file and analyze its space utilization. Generate
318 - ** text on standard output.
319 - */
320 -+#define SQLITE_CORE 1
321 - #define TCLSH_INIT_PROC sqlite3_checker_init_proc
322 - #define SQLITE_ENABLE_DBPAGE_VTAB 1
323 - #define SQLITE_ENABLE_JSON1 1
324 -@@ -14,7 +15,7 @@
325 - #define SQLITE_OMIT_SHARED_CACHE 1
326 - #define SQLITE_DEFAULT_MEMSTATUS 0
327 - #define SQLITE_MAX_EXPR_DEPTH 0
328 --INCLUDE sqlite3.c
329 -+#include "sqlite3.h"
330 - INCLUDE $ROOT/src/tclsqlite.c
331 - INCLUDE $ROOT/ext/misc/btreeinfo.c
332 - INCLUDE $ROOT/ext/repair/checkindex.c
333 ---- /src/shell.c.in
334 -+++ /src/shell.c.in
335 -@@ -61,6 +61,7 @@
336 - #include <stdio.h>
337 - #include <assert.h>
338 - #include "sqlite3.h"
339 -+#include "ext/expert/sqlite3expert.h"
340 - typedef sqlite3_int64 i64;
341 - typedef sqlite3_uint64 u64;
342 - typedef unsigned char u8;
343 -@@ -127,6 +128,10 @@
344 - # define SHELL_USE_LOCAL_GETLINE 1
345 - #endif
346 -
347 -+#ifdef SQLITE_HAVE_ZLIB
348 -+#include <zlib.h>
349 -+#endif
350 -+
351 -
352 - #if defined(_WIN32) || defined(WIN32)
353 - # include <io.h>
354 -@@ -939,14 +944,7 @@
355 - INCLUDE ../ext/misc/shathree.c
356 - INCLUDE ../ext/misc/fileio.c
357 - INCLUDE ../ext/misc/completion.c
358 --INCLUDE ../ext/misc/appendvfs.c
359 - INCLUDE ../ext/misc/memtrace.c
360 --#ifdef SQLITE_HAVE_ZLIB
361 --INCLUDE ../ext/misc/zipfile.c
362 --INCLUDE ../ext/misc/sqlar.c
363 --#endif
364 --INCLUDE ../ext/expert/sqlite3expert.h
365 --INCLUDE ../ext/expert/sqlite3expert.c
366 -
367 - #if defined(SQLITE_ENABLE_SESSION)
368 - /*
369 -@@ -3934,7 +3932,9 @@
370 - sqlite3_shathree_init(p->db, 0, 0);
371 - sqlite3_completion_init(p->db, 0, 0);
372 - #ifdef SQLITE_HAVE_ZLIB
373 -+ extern int sqlite3_zipfile_init(sqlite3 *, char **, const sqlite3_api_routines *);
374 - sqlite3_zipfile_init(p->db, 0, 0);
375 -+ extern int sqlite3_sqlar_init(sqlite3 *, char **, const sqlite3_api_routines *);
376 - sqlite3_sqlar_init(p->db, 0, 0);
377 - #endif
378 - sqlite3_create_function(p->db, "shell_add_schema", 3, SQLITE_UTF8, 0,
379 -@@ -5868,6 +5868,7 @@
380 - goto end_ar_command;
381 - }
382 - sqlite3_fileio_init(cmd.db, 0, 0);
383 -+ extern int sqlite3_sqlar_init(sqlite3 *, char **, const sqlite3_api_routines *);
384 - sqlite3_sqlar_init(cmd.db, 0, 0);
385 - sqlite3_create_function(cmd.db, "shell_putsnl", 1, SQLITE_UTF8, cmd.p,
386 - shellPutsFunc, 0, 0);
387 -@@ -9045,6 +9046,7 @@
388 - #endif
389 - }
390 - data.out = stdout;
391 -+ extern int sqlite3_appendvfs_init(sqlite3 *, char **, const sqlite3_api_routines *);
392 - sqlite3_appendvfs_init(0,0,0);
393 -
394 - /* Go ahead and open the database file if it already exists. If the
395 ---- /test/sessionfuzz.c
396 -+++ /test/sessionfuzz.c
397 -@@ -700,42 +700,6 @@
398 - #include <assert.h>
399 - #include "zlib.h"
400 -
401 --/*
402 --** Implementation of the "sqlar_uncompress(X,SZ)" SQL function
403 --**
404 --** Parameter SZ is interpreted as an integer. If it is less than or
405 --** equal to zero, then this function returns a copy of X. Or, if
406 --** SZ is equal to the size of X when interpreted as a blob, also
407 --** return a copy of X. Otherwise, decompress blob X using zlib
408 --** utility function uncompress() and return the results (another
409 --** blob).
410 --*/
411 --static void sqlarUncompressFunc(
412 -- sqlite3_context *context,
413 -- int argc,
414 -- sqlite3_value **argv
415 --){
416 -- uLong nData;
417 -- uLongf sz;
418 --
419 -- assert( argc==2 );
420 -- sz = sqlite3_value_int(argv[1]);
421 --
422 -- if( sz<=0 || sz==(nData = sqlite3_value_bytes(argv[0])) ){
423 -- sqlite3_result_value(context, argv[0]);
424 -- }else{
425 -- const Bytef *pData= sqlite3_value_blob(argv[0]);
426 -- Bytef *pOut = sqlite3_malloc(sz);
427 -- if( Z_OK!=uncompress(pOut, &sz, pData, nData) ){
428 -- sqlite3_result_error(context, "error in uncompress()", -1);
429 -- }else{
430 -- sqlite3_result_blob(context, pOut, sz, SQLITE_TRANSIENT);
431 -- }
432 -- sqlite3_free(pOut);
433 -- }
434 --}
435 --
436 --
437 - /* Run a chunk of SQL. If any errors happen, print an error message
438 - ** and exit.
439 - */
440 ---- /tool/mksqlite3c.tcl
441 -+++ /tool/mksqlite3c.tcl
442 -@@ -117,6 +117,7 @@
443 - rtree.h
444 - sqlite3session.h
445 - sqlite3.h
446 -+ sqlite3expert.h
447 - sqlite3ext.h
448 - sqlite3rbu.h
449 - sqliteicu.h
450 -@@ -403,6 +404,10 @@
451 - sqlite3session.c
452 - fts5.c
453 - stmt.c
454 -+ appendvfs.c
455 -+ sqlar.c
456 -+ sqlite3expert.c
457 -+ zipfile.c
458 - } {
459 - copy_file tsrc/$file
460 - }
461 ---- /tool/sqlite3_analyzer.c.in
462 -+++ /tool/sqlite3_analyzer.c.in
463 -@@ -14,9 +14,6 @@
464 - #define SQLITE_DEFAULT_MEMSTATUS 0
465 - #define SQLITE_MAX_EXPR_DEPTH 0
466 - #define SQLITE_OMIT_LOAD_EXTENSION 1
467 --#ifndef USE_EXTERNAL_SQLITE
468 --INCLUDE sqlite3.c
469 --#endif
470 - INCLUDE $ROOT/src/tclsqlite.c
471 -
472 - const char *sqlite3_analyzer_init_proc(Tcl_Interp *interp){
473 ---- /tool/sqltclsh.c.in
474 -+++ /tool/sqltclsh.c.in
475 -@@ -27,19 +27,17 @@
476 - #define SQLITE_OMIT_SHARED_CACHE 1
477 - #define SQLITE_DEFAULT_MEMSTATUS 0
478 - #define SQLITE_MAX_EXPR_DEPTH 0
479 --INCLUDE sqlite3.c
480 --INCLUDE $ROOT/ext/misc/appendvfs.c
481 --#ifdef SQLITE_HAVE_ZLIB
482 --INCLUDE $ROOT/ext/misc/zipfile.c
483 --INCLUDE $ROOT/ext/misc/sqlar.c
484 --#endif
485 -+#include "sqlite3.h"
486 - INCLUDE $ROOT/src/tclsqlite.c
487 -
488 - const char *sqlite3_tclapp_init_proc(Tcl_Interp *interp){
489 - (void)interp;
490 -+ extern int sqlite3_appendvfs_init(sqlite3 *,char **, const sqlite3_api_routines *);
491 - sqlite3_appendvfs_init(0,0,0);
492 - #ifdef SQLITE_HAVE_ZLIB
493 -+ extern int sqlite3_sqlar_init(sqlite3 *, char **, const sqlite3_api_routines *);
494 - sqlite3_auto_extension((void(*)(void))sqlite3_sqlar_init);
495 -+ extern int sqlite3_zipfile_init(sqlite3 *, char **, const sqlite3_api_routines *);
496 - sqlite3_auto_extension((void(*)(void))sqlite3_zipfile_init);
497 - #endif
498 -
499
500 diff --git a/dev-db/sqlite/files/sqlite-3.27.2-full_archive-tests.patch b/dev-db/sqlite/files/sqlite-3.27.2-full_archive-tests.patch
501 deleted file mode 100644
502 index 92959579b54..00000000000
503 --- a/dev-db/sqlite/files/sqlite-3.27.2-full_archive-tests.patch
504 +++ /dev/null
505 @@ -1,36 +0,0 @@
506 -https://sqlite.org/src/info/29d02bf2fa9ecacb
507 -
508 ---- /ext/session/sessionB.test
509 -+++ /ext/session/sessionB.test
510 -@@ -258,8 +258,7 @@
511 - INSERT INTO t2 VALUES('a', 'a', 'a', 'a');
512 - } {
513 - DELETE FROM t2 WHERE c = 'a';
514 --} {
515 --}
516 -+} {}
517 -
518 - # INSERT + UPDATE
519 - do_patchconcat_test 4.3.4 {
520 ---- /test/fts3expr4.test
521 -+++ /test/fts3expr4.test
522 -@@ -68,7 +68,7 @@
523 - AND {AND {AND {PHRASE 3 0 *} {PHRASE 3 0 lol+}} {PHRASE 3 0 *}} {PHRASE 3 0 h4h+}
524 - }
525 -
526 --do_simple_expr_test 3.3 { * } { }
527 -+do_simple_expr_test 3.3 { * } {}
528 - do_simple_expr_test 3.4 { *a } { PHRASE 3 0 a }
529 - do_simple_expr_test 3.5 { a*b } { AND {PHRASE 3 0 a+} {PHRASE 3 0 b} }
530 - do_simple_expr_test 3.6 { *a*b } { AND {PHRASE 3 0 a+} {PHRASE 3 0 b} }
531 ---- /test/scanstatus.test
532 -+++ /test/scanstatus.test
533 -@@ -254,7 +254,7 @@
534 - }
535 -
536 - do_execsql_test 4.1.1 { INSERT INTO t1 VALUES(1, 2, 3); }
537 --do_scanstatus_test 4.1.2 { }
538 -+do_scanstatus_test 4.1.2 {}
539 -
540 - do_execsql_test 4.2 {
541 - CREATE TABLE p1(x PRIMARY KEY);
542
543 diff --git a/dev-db/sqlite/sqlite-3.27.2.ebuild b/dev-db/sqlite/sqlite-3.27.2.ebuild
544 deleted file mode 100644
545 index 39aa0485a82..00000000000
546 --- a/dev-db/sqlite/sqlite-3.27.2.ebuild
547 +++ /dev/null
548 @@ -1,328 +0,0 @@
549 -# Copyright 1999-2019 Arfrever Frehtes Taifersar Arahesis and others
550 -# Distributed under the terms of the GNU General Public License v2
551 -
552 -EAPI="7"
553 -
554 -inherit autotools flag-o-matic multilib-minimal toolchain-funcs
555 -
556 -SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
557 -DOC_PV="${SRC_PV}"
558 -# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
559 -
560 -DESCRIPTION="SQL database engine"
561 -HOMEPAGE="https://sqlite.org/"
562 -SRC_URI="doc? ( https://sqlite.org/2019/${PN}-doc-${DOC_PV}.zip )
563 - tcl? ( https://sqlite.org/2019/${PN}-src-${SRC_PV}.zip )
564 - test? ( https://sqlite.org/2019/${PN}-src-${SRC_PV}.zip )
565 - tools? ( https://sqlite.org/2019/${PN}-src-${SRC_PV}.zip )
566 - !tcl? ( !test? ( !tools? ( https://sqlite.org/2019/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )"
567 -
568 -LICENSE="public-domain"
569 -SLOT="3"
570 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
571 -IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
572 -RESTRICT="!test? ( test )"
573 -
574 -BDEPEND="doc? ( app-arch/unzip )
575 - tcl? (
576 - app-arch/unzip
577 - >=dev-lang/tcl-8.6:0
578 - )
579 - test? (
580 - app-arch/unzip
581 - >=dev-lang/tcl-8.6:0
582 - )
583 - tools? (
584 - app-arch/unzip
585 - >=dev-lang/tcl-8.6:0
586 - )"
587 -RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
588 - icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
589 - readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
590 - tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
591 - tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
592 -DEPEND="${RDEPEND}
593 - test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
594 -
595 -full_archive() {
596 - use tcl || use test || use tools
597 -}
598 -
599 -pkg_setup() {
600 - if full_archive; then
601 - S="${WORKDIR}/${PN}-src-${SRC_PV}"
602 - else
603 - S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
604 - fi
605 -}
606 -
607 -src_prepare() {
608 - if full_archive; then
609 - eapply "${FILESDIR}/${PN}-3.27.0-full_archive-build.patch"
610 - eapply "${FILESDIR}/${PN}-3.27.2-full_archive-tests.patch"
611 -
612 - eapply_user
613 -
614 - # Fix AC_CHECK_FUNCS.
615 - # https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
616 - sed -e "s/AC_CHECK_FUNCS(.*)/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" -i configure.ac || die "sed failed"
617 - else
618 - eapply "${FILESDIR}/${PN}-3.25.0-nonfull_archive-build.patch"
619 -
620 - eapply_user
621 -
622 - # Fix AC_CHECK_FUNCS.
623 - # https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
624 - sed \
625 - -e "s/AC_CHECK_FUNCS(\[fdatasync.*/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" \
626 - -e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
627 - -i configure.ac || die "sed failed"
628 - fi
629 -
630 - eautoreconf
631 -
632 - multilib_copy_sources
633 -}
634 -
635 -multilib_src_configure() {
636 - local CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" options=()
637 -
638 - options+=(
639 - --enable-$(full_archive && echo load-extension || echo dynamic-extensions)
640 - --enable-threadsafe
641 - )
642 - if ! full_archive; then
643 - options+=(--disable-static-shell)
644 - fi
645 -
646 - # Support detection of misuse of SQLite API.
647 - # https://sqlite.org/compile.html#enable_api_armor
648 - append-cppflags -DSQLITE_ENABLE_API_ARMOR
649 -
650 - # Support column metadata functions.
651 - # https://sqlite.org/c3ref/column_database_name.html
652 - append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
653 -
654 - # Support sqlite_dbpage virtual table.
655 - # https://sqlite.org/compile.html#enable_dbpage_vtab
656 - append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
657 -
658 - # Support dbstat virtual table.
659 - # https://sqlite.org/dbstat.html
660 - append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
661 -
662 - # Support sqlite3_serialize() and sqlite3_deserialize() functions.
663 - # https://sqlite.org/compile.html#enable_deserialize
664 - # https://sqlite.org/c3ref/serialize.html
665 - # https://sqlite.org/c3ref/deserialize.html
666 - append-cppflags -DSQLITE_ENABLE_DESERIALIZE
667 -
668 - # Support comments in output of EXPLAIN.
669 - # https://sqlite.org/compile.html#enable_explain_comments
670 - append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
671 -
672 - # Support Full-Text Search versions 3, 4 and 5.
673 - # https://sqlite.org/fts3.html
674 - # https://sqlite.org/fts5.html
675 - append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
676 - options+=(--enable-fts5)
677 -
678 - # Support hidden columns.
679 - append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
680 -
681 - # Support JSON1 extension.
682 - # https://sqlite.org/json1.html
683 - append-cppflags -DSQLITE_ENABLE_JSON1
684 -
685 - # Support memsys5 memory allocator.
686 - # https://sqlite.org/malloc.html#memsys5
687 - append-cppflags -DSQLITE_ENABLE_MEMSYS5
688 -
689 - # Support sqlite3_normalized_sql() function.
690 - # https://sqlite.org/c3ref/expanded_sql.html
691 - append-cppflags -DSQLITE_ENABLE_NORMALIZE
692 -
693 - # Support sqlite_offset() function.
694 - # https://sqlite.org/lang_corefunc.html#sqlite_offset
695 - append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
696 -
697 - # Support pre-update hook functions.
698 - # https://sqlite.org/c3ref/preupdate_count.html
699 - append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
700 -
701 - # Support Resumable Bulk Update extension.
702 - # https://sqlite.org/rbu.html
703 - append-cppflags -DSQLITE_ENABLE_RBU
704 -
705 - # Support R*Trees.
706 - # https://sqlite.org/rtree.html
707 - # https://sqlite.org/geopoly.html
708 - append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
709 -
710 - # Support scan status functions.
711 - # https://sqlite.org/c3ref/stmt_scanstatus.html
712 - # https://sqlite.org/c3ref/stmt_scanstatus_reset.html
713 - append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
714 -
715 - # Support sqlite_stmt virtual table.
716 - # https://sqlite.org/stmt.html
717 - append-cppflags -DSQLITE_ENABLE_STMTVTAB
718 -
719 - # Support Session extension.
720 - # https://sqlite.org/sessionintro.html
721 - options+=(--enable-session)
722 -
723 - # Support unknown() function.
724 - # https://sqlite.org/compile.html#enable_unknown_sql_function
725 - append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
726 -
727 - # Support unlock notification.
728 - # https://sqlite.org/unlock_notify.html
729 - append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
730 -
731 - # Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
732 - # https://sqlite.org/compile.html#enable_update_delete_limit
733 - append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
734 -
735 - # Support PRAGMA function_list, PRAGMA module_list and PRAGMA pragma_list statements.
736 - # https://sqlite.org/pragma.html#pragma_function_list
737 - # https://sqlite.org/pragma.html#pragma_module_list
738 - # https://sqlite.org/pragma.html#pragma_pragma_list
739 - append-cppflags -DSQLITE_INTROSPECTION_PRAGMAS
740 -
741 - # Support soundex() function.
742 - # https://sqlite.org/lang_corefunc.html#soundex
743 - append-cppflags -DSQLITE_SOUNDEX
744 -
745 - # Support URI filenames.
746 - # https://sqlite.org/uri.html
747 - append-cppflags -DSQLITE_USE_URI
748 -
749 - # debug USE flag.
750 - if full_archive; then
751 - options+=($(use_enable debug))
752 - else
753 - if use debug; then
754 - append-cppflags -DSQLITE_DEBUG
755 - else
756 - append-cppflags -DNDEBUG
757 - fi
758 - fi
759 -
760 - # icu USE flag.
761 - if use icu; then
762 - # Support ICU extension.
763 - # https://sqlite.org/compile.html#enable_icu
764 - append-cppflags -DSQLITE_ENABLE_ICU
765 - if full_archive; then
766 - sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
767 - else
768 - sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
769 - fi
770 - fi
771 -
772 - # readline USE flag.
773 - options+=(
774 - --disable-editline
775 - $(use_enable readline)
776 - )
777 - if full_archive && use readline; then
778 - options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
779 - fi
780 -
781 - # secure-delete USE flag.
782 - if use secure-delete; then
783 - # Enable secure_delete pragma by default.
784 - # https://sqlite.org/pragma.html#pragma_secure_delete
785 - append-cppflags -DSQLITE_SECURE_DELETE
786 - fi
787 -
788 - # static-libs USE flag.
789 - options+=($(use_enable static-libs static))
790 -
791 - # tcl, test, tools USE flags.
792 - if full_archive; then
793 - options+=(--enable-tcl)
794 - fi
795 -
796 - if [[ "${CHOST}" == *-mint* ]]; then
797 - append-cppflags -DSQLITE_OMIT_WAL
798 - fi
799 -
800 - if [[ "${ABI}" == "x86" ]]; then
801 - if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
802 - append-cflags -mfpmath=sse
803 - else
804 - append-cflags -ffloat-store
805 - fi
806 - fi
807 -
808 - econf "${options[@]}"
809 -}
810 -
811 -multilib_src_compile() {
812 - emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
813 -
814 - if use tools && multilib_is_native_abi; then
815 - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
816 - fi
817 -}
818 -
819 -multilib_src_test() {
820 - if [[ "${EUID}" -eq 0 ]]; then
821 - ewarn "Skipping tests due to root permissions"
822 - return
823 - fi
824 -
825 - local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
826 -
827 - emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
828 -}
829 -
830 -multilib_src_install() {
831 - emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
832 -
833 - if use tools && multilib_is_native_abi; then
834 - install_tool() {
835 - if [[ -f ".libs/${1}" ]]; then
836 - newbin ".libs/${1}" "${2}"
837 - else
838 - newbin "${1}" "${2}"
839 - fi
840 - }
841 -
842 - install_tool changeset sqlite3-changeset
843 - install_tool dbdump sqlite3-db-dump
844 - install_tool dbhash sqlite3-db-hash
845 - install_tool dbtotxt sqlite3-db-to-txt
846 - install_tool index_usage sqlite3-index-usage
847 - install_tool rbu sqlite3-rbu
848 - install_tool scrub sqlite3-scrub
849 - install_tool showdb sqlite3-show-db
850 - install_tool showjournal sqlite3-show-journal
851 - install_tool showshm sqlite3-show-shm
852 - install_tool showstat4 sqlite3-show-stat4
853 - install_tool showwal sqlite3-show-wal
854 - install_tool sqldiff sqlite3-diff
855 - install_tool sqlite3_analyzer sqlite3-analyzer
856 - install_tool sqlite3_checker sqlite3-checker
857 - install_tool sqlite3_expert sqlite3-expert
858 - install_tool sqltclsh sqlite3-tclsh
859 -
860 - unset -f install_tool
861 - fi
862 -}
863 -
864 -multilib_src_install_all() {
865 - find "${D}" -name "*.la" -delete || die
866 -
867 - doman sqlite3.1
868 -
869 - if use doc; then
870 - rm "${WORKDIR}/${PN}-doc-${DOC_PV}/"*.{db,txt}
871 - (
872 - docinto html
873 - dodoc -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"*
874 - )
875 - fi
876 -}