diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-01-20 22:04:27 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-01-20 22:04:27 +0000 |
commit | 8572e6de33dc76f028be3edaa16198a0a1654862 (patch) | |
tree | 46290b5d64bb1086f1ab47554f337665c68f59f8 /dev-db/sqlite | |
parent | Revision bump adds patch from fedora to fix CVE-2014-9449, bug #534608. Thank... (diff) | |
download | historical-8572e6de33dc76f028be3edaa16198a0a1654862.tar.gz historical-8572e6de33dc76f028be3edaa16198a0a1654862.tar.bz2 historical-8572e6de33dc76f028be3edaa16198a0a1654862.zip |
Version bump. Ebuild by Arfrever.
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-db/sqlite')
-rw-r--r-- | dev-db/sqlite/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/sqlite/Manifest | 16 | ||||
-rw-r--r-- | dev-db/sqlite/sqlite-3.8.8.1.ebuild | 175 |
3 files changed, 196 insertions, 2 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog index c2a8e23e3699..7dbc0c9d01c7 100644 --- a/dev-db/sqlite/ChangeLog +++ b/dev-db/sqlite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/sqlite # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.544 2015/01/16 02:50:46 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.545 2015/01/20 22:04:25 floppym Exp $ + +*sqlite-3.8.8.1 (20 Jan 2015) + + 20 Jan 2015; Mike Gilbert <floppym@gentoo.org> +sqlite-3.8.8.1.ebuild: + Version bump. Ebuild by Arfrever. 16 Jan 2015; Patrick Lauer <patrick@gentoo.org> sqlite-3.8.7.4.ebuild: Stable for amd64 and x86 #536142 diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest index 29cb227209da..4da25186dbbd 100644 --- a/dev-db/sqlite/Manifest +++ b/dev-db/sqlite/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX maketcllib.sh 879 SHA256 e101ed11d908bfb7f57519a99674160b0273d6500d191f758f8a0d1e6ed78120 SHA512 d6ff354cd0e6e0a4240de1ccc0c93a111dd6cc7795d690bdb9fbc556bbae6aa4190b0c44a1be399b1420e33435f53c232400c46392446edf9a9d983ed28f1d98 WHIRLPOOL cf0f28e2086059b3f549d77f5853c4abd1ee1e9756972b6d8063f3c29ba5f46de2bf68f9392db65531c5f1dbada481cabde726cf92d06701c2aa134240ca9e2d AUX sqlite-2.8.15-alignement-fix.patch 538 SHA256 f61f2f36fed61438d13dbb09902078ef11f0c3e8c8a119f84030689a2f2add8f SHA512 be3bb6a620d14e07153476f9fb0658d347a0fdaf44363904be32004836e2727210307ed87fe2b8b01cf4df79cf05947be7b500a9608215a6e950173237e64386 WHIRLPOOL f1e8b388b3256e4f8f7476fa7b369b014902473477f17ff28f45e221aa973b14e9dc54bf6cedda04d2f8772fc87c34f19f14b11a9e67a082cde70f5cfbf32e4b AUX sqlite-2.8.16-exit.patch 355 SHA256 ab34a56dc56914fe3396f523a7d917319607dcb03ea33a3327c1e123d315b630 SHA512 937056b0629cd9e254098d40ed9dbc83e40c027727e8b12b2d5ff4513c1aebdb40fc9a7178b0d7554d3854888079ae828699dd27e1752759eb99dbec95c591f3 WHIRLPOOL 180eeca385be1607d8a55ea9aebbe8a0c0d85c7b67b7b1f22e737482b86471dcfc943513b6a6d49d8a49f3df3ce763cfd4b228f385e4b3ecf57419831d139214 @@ -12,18 +15,21 @@ DIST sqlite-autoconf-3080701.tar.gz 1998389 SHA256 9d2854bec7b26dfe9aceb1faa17d4 DIST sqlite-autoconf-3080702.tar.gz 1998965 SHA256 8da1729e8b39d86bc23c8bdb439ad385afe4fcfcfe2b6796406a062a76e9d20e SHA512 7a47e6a85cbbb96d2d6a937f648ec7d764ccc6e40dfe19638f6cf26bdacc0b435e657dcfff6d1da6b0473bcd7fd6bb0d944b81a332d86399700c311894e458ef WHIRLPOOL ba2a3811ff8176730f21068a5807ff5e39d65dbe256cab81632d09073b8954c28b019793469b1a80374d5c8d635e1f1ce16c90b55a784de40c7c4e3f82a16e02 DIST sqlite-autoconf-3080703.tar.gz 1999200 SHA256 90b43a72a9d43ddf68fff0f71db869c213b9fd5082ade7d13e85a655c39a678a SHA512 f432f95de48bad5e28b7c2ca38f8cf32aecab5e4a9c15a95f88ce96cca3ef03a45f17ae18de047b09f85f63d90eac8c24338661e51ce21e6f89be9ca92d9f97a WHIRLPOOL 216726e63b9d7d62fbbcf559d10a7675faf5db5776aa6427d2d1758007ba425be1a43bff1bb90c5a1c2ea8720cad39116f351f917de68fdd1a794d8e2a089bbe DIST sqlite-autoconf-3080704.tar.gz 1999230 SHA256 86370f139405fdfe03334fd618171a74e50f589f17ccbe5933361ed1f58359ec SHA512 c250108b7467e513ea831a9feed1169c70a397c3fa76cee79a20716b24c23b882d9a02b7ff46c2d439f4fda46c962ef8deae35b5516b3569634abe6bd4764967 WHIRLPOOL 8e66dc298328d540bcfac12f2a027a14fde193699444a0f4b727b30d2ef403e87f09a7a29adc4462300230a3c6c1d4f13521d33876095647a1904a1c796aca49 +DIST sqlite-autoconf-3080801.tar.gz 2021072 SHA256 2721361eb4a71d5f727dfa466bd910dadd5dbeb4d2d57b8b34205f7ce7e5b7f9 SHA512 9b3ce3cd8d43f27a19f32f08c6807abf5cf2fc10f1f0d151882b75668a26bbd8785dd3a3d2ac83d0c55eae4aa52c7aa71d670a5a43378f3c677b355f1888b849 WHIRLPOOL 75009175f91639ca0c67ae8f233d74cfff838316a458b170bbe2fb48269f881b982b0dccb8ce6821002b59c21492af0542de66e6c35bee56a05db7855ed24479 DIST sqlite-doc-3080600.zip 4736026 SHA256 c187ffe719e35ab03970db4d1fb4a4865ae4f8d943ceaaa79f635a51d982ca6e SHA512 58bd1a58156e0d5d19c939d7a82b756c68635fe6b7ff8ae2189dcababb2b8c80de8fdb2646da9d8ec5381a716ca73f32f12d63a2be9336091d3ebbb90cc46d54 WHIRLPOOL 6339a21065d2948e6350cae84071528cf492735b83960959cd0ace1007a0c8ab9099d4bd028bc9d02422c4a07b05f8b3246fe93b48b75ae5ddb0587db0d985c7 DIST sqlite-doc-3080700.zip 4901008 SHA256 79126f7035ae1b32029e8943db492cf82bc617109245fa9a08ec71072122a0eb SHA512 c9d2784dff719515cf3b5a95fddb3c9738eebcfdde5a7605baf4824d01aa3215d293788b55a7d20fa645b952df53951c5e2dfab0bf5defe460ede8a6643dcb77 WHIRLPOOL 9b647a5d6c28a7c8f96883ec85fe14ceb01fb2c48dbe83283ed01ccf8821759fa00f0bb4be126be033cee5271fa47bfdaa62642698f8f35880c8a69835e4b741 DIST sqlite-doc-3080701.zip 4909904 SHA256 d50444d9ebf4302cb8658172a34602056b65313d93ee32eba213cd7111bfc53a SHA512 cdd4244c9ffa96dfe48db81be193b052a227fea11c6eb67a1179438d03a2846814c11873d60ccb1f2f949b7a8e90bb13b52b7ccc73911b48e575e9ea77b50ce2 WHIRLPOOL 38a44b456997e2830bb529fb9d2f3cbc8e1aa5c8080862fd1694b0bcf75692a996980dcbc749700ba5bf9add8112904b9f625e97d34f9d77b51299cdcc26497e DIST sqlite-doc-3080702.zip 4908305 SHA256 c8b9c7380868da96171eba482eb559ef2297d086cca85e29513071ebb317e146 SHA512 cff181246d9f584d3a0d90b9c60ca967da5eea684fabd13b51b224274465e0a9db1cff0db6fbcf94adf9cc86e3fb4596ee86a71b97a56fbcb18102f605dd43f5 WHIRLPOOL dea18fabe9a2910e13c8486e9d7e3a5b5b12e9b33d3b8a2e47baddda4c7283e93e0370c0bf6c07f5ef93c7141dbc9c5603be6397015adeae56858269233a12e5 DIST sqlite-doc-3080703.zip 4916565 SHA256 c80a12afd8273df3c9305521dc68cd5fa32cf44506686f37c089ba6ac84950cf SHA512 ba14db03b23b3319ebc43af67c13ef1bcdb9d801ebee8aaddf1893215bfb34e08556098585f58a4e96cd673f49ac72b61ae11cfbd58deefedd31196ea1fd5c55 WHIRLPOOL cdeb0e1439148a90efde8f85ef77a7898e7f6f8a14b94ea398d29e5cb9f9268a10ab3dc3ab3f0b385edf367f69b3870507101e79f79567f04e90bef07c48dafa DIST sqlite-doc-3080704.zip 4918739 SHA256 b5d6da86e8af181442e4e296fe86054f1a9c2dd05e0378d519cd64d3b9b4a5cb SHA512 f83a0a57e97d4bd506b99889e14c17d78e0e13c87af55d028d2b48868ffe9b02220e9610d4409dbd9625502917cc236e058e7cffdf174d85e26966a03cea917b WHIRLPOOL e487026a7a569429804365ee4bf37d21ef6b183e26c2949df3306e81156180bcccef724e4ccbbe65be56798ac9319c133324ddafb276746c912404cf342193e9 +DIST sqlite-doc-3080801.zip 4949418 SHA256 8bd54fdb0ed5daf4d47ab97838a116b71cc669591ff0bdd7935ab300942ff93f SHA512 1fb073abb9e253feaac6076142d1e9428604f8f8718290fed496c620b19a70b6e7e11ead2163793dba0587e10fb54faad9cf30f831bca170e7c2e57cd4bcd2db WHIRLPOOL 906ad448e9571be41680ee6f57fe0473ca6f3323a61e213ca47ec66b248549d60ef5b2b64f2d334e3704595e78275f937704d75fc9cf43a78c791a8596578d1c DIST sqlite-src-3080600.zip 5683499 SHA256 ffe524334ec012a27ab2d2687f35d2ed34286e2ba8f8e13dd9f1ec73ce9dce31 SHA512 92b11db11ddcd8c2e336af29b3f7c1bf39e6e2575eeca7cee20323065958b21df48316f7135757b2a9a31fb52b824064df22ce1ed44ce17ed60444d61f6620ad WHIRLPOOL fdcfda872b72a67709a2725025e06749114c0a6d62cf991e59397d43520a1147ec5356f4cd52fb94263f6fce49364a299dd6d546f7b7970866ccdade3b76b9ff DIST sqlite-src-3080700.zip 5751697 SHA256 dc2f064f43d0ce554e53ce6dc8b3616b0b6f7fe0b28ca8af61f72b0d3bc1a191 SHA512 682f71be7c9f8c0d5a4d04302683566350b5a8d8893a3064395ebf969fd5a679afd750abbcefe997a12c2c9e3ba93dac2202e8e63e23f5df8b113b4bbe17a334 WHIRLPOOL 08e22ba6778e4c86214afdb17f68b3569efe8de8fa9e94bab4e74c6687f572891248e3e9f8f9e1a0fb2e001d34df2cb937a1193ec07a9f1d9fc19aa2a2f24b39 DIST sqlite-src-3080701.zip 5752291 SHA256 1bed8d029b61fd4532659a1bfbdf3621e2146bb7c5389b6aef62e8ee496bd9a9 SHA512 28e57c2e5402cd991cf63dc9b8608113454d23e8ac306f8243269773fb4b908ae28499835d7c38d84da6b6db3a7c909745081b34dbe2d360f4fdc1ef543a9562 WHIRLPOOL 914e587cf739598fbfe6f82aae4591f4332e173933fe04c57c4fbef43e06d966bc2771a013fb2b17e7c5a4bf8b79d5900af665bea0754de95f26ec16c6db758e DIST sqlite-src-3080702.zip 5755042 SHA256 27736d78975085632f2391b0d8f21db3c68d1555a1c2fbbdbfc858e18c7aecc2 SHA512 12ded5ca26a9d035305a807fc7ef25d0c04631e2093b89b6b6e2bd3be1f311148790f5e93084705c34515cc7b160ca7cc185c84daa854a57819b26f38e788845 WHIRLPOOL 9e5e1e6a4cc4d7665e4e1635ea2ab7467871e442eaf4fa819d815534acd626d42fd0138f96b56a2ec24292463907b86d991d55fbdc3d395fd79b691fea84f2c4 DIST sqlite-src-3080703.zip 5756775 SHA256 b838054941c83ca7901f818a51a8e177c2ce5c3e1047731c04437513e1588364 SHA512 68b43e5a251996db5635b7536a547fc88613445b985a9ef97712a5f3b81d673ffc30b37cbfc4a457bb99efe6a07ba8488045db6191c97e3039c5385c6aa5d0cb WHIRLPOOL 9757c09ea2d5f2a3a44b90d1330f4b7f924f745d647e5d8d6f63d657ca3eadb964068c35b21209845eb33f31f6d77a5bde96a0fc056c416f65657a13d6723ff2 DIST sqlite-src-3080704.zip 5757797 SHA256 0c23dc9e9afc25119470bf335daa8d854ef9f540b1ee59667d0288e700360fb7 SHA512 9a04948102fd88c91f15443540d8d4ea3f5e528e83b5b1f722a5cd71a461cd469f922b2d0173596246df0b6580cf83c95a0caf8da54fc530a95b20c16b0050f0 WHIRLPOOL 890a3af0eab52bad4e2c356eb67e9e21572cbeea0eff50b2fd6dec4b086e7967e1fcfb444db6cee26ea431f167f03093dc74551b059cbc3977c36c1400c922a3 +DIST sqlite-src-3080801.zip 5849483 SHA256 51ba1c97a4cc844dbe8ed9a18fc449580629afe1ef69b48e819a1a7af46b9fb4 SHA512 4f09228cb0c9c608e492da6e480afe3d27a63e27ccdcf33a88d5e56427f0846efab8930c81026b8e608f1bbb8d63e8d937dd26571deb828617f7efa27a765950 WHIRLPOOL 5ac6b44eaae52c0733d01bb06ca0f468e240fd22620aa0d77bd151df73bb15d6ebf7a9cd36f0c946e570743696ffa308996581ec081ea58b6012da680b57110a EBUILD sqlite-2.8.16-r5.ebuild 2910 SHA256 690cfc49ed3711765baeb548b0ff5c064d985c5fcb5c2cb7232da14586b51faf SHA512 881d2aee7554af2c9b6caa2279e448531c733e6db1e8f3cdc9dbfd79f634f3f30bb9c2991ff8adee6a663a26a6a64658bd7efa1fb8f1e6877f61ff40b1556769 WHIRLPOOL 5e7c2abe2274bd4956e13eb326e95cf00466036583944feb4bc06f3648178d6ccbcbbc7386da099ceb1a5af94ab931e8208cb7833e0333b444962da80401fd8d EBUILD sqlite-3.8.6.ebuild 5123 SHA256 be02cb805b25183281aaa38d0986526f1e1322793ddcaab9c49085b2568ae910 SHA512 54fa24bfd7cd94f63e7fa0e458c9fbc697044ba7818fa2cb8073329257adfc6283582cc214e140520c867af7fdeed387f695bca07293af1194fb4517e20e8a55 WHIRLPOOL 7d68b3d578ade493588f05c3e754d7d347eb89facd551a41b1de86f1ceccbbb75b4b9cfb2e2686abe7262114ad2a1803c64c66577ee2b6bdaa26b5eaf6522fd9 EBUILD sqlite-3.8.7.1.ebuild 5143 SHA256 75319a06343c56d6fbc51b24d8ffa0a1947bf11b39ed2b689e5e55963df22afc SHA512 7f93255dd479b97558eeb1aa4e952cc6f8c64805888d4bc2a5e1b6d09c490db99e02fb5f3230851e1df693dfa1b1e322ae34150bb563436846ca9140e07c7d48 WHIRLPOOL 74e2ed238d93399eaf82dd51d222d3a805e3fa43479b7a672d41810caef40360191615ae2139d52b6d3d601545549b3ec2dc495c76257e479cfef4e736674737 @@ -31,5 +37,13 @@ EBUILD sqlite-3.8.7.2.ebuild 5143 SHA256 452e4db08ee8a0afe881ce3f11a4c4bf6e0ac80 EBUILD sqlite-3.8.7.3.ebuild 5143 SHA256 7a8b8405cf1bcafb997ff29d35ee9ce8a2c7837f900fa9eb08cf049bf82cc867 SHA512 aad5c8c35a9783ac10bfc34e1903bbba55fec4b1329d4dfd6263d26671b0efc7b475c63ab3c81b719020677f4da8f5947c26b93dde8cef8383967168f7d967e9 WHIRLPOOL 6bc5652c23d69c44728d8325d7c9b6ccd69b2531d25069d5d9ff850b67c6d7dd4177ebd897c6842e19ea69417feeeff3e551ca60550dd5148ceb22d981566524 EBUILD sqlite-3.8.7.4.ebuild 5140 SHA256 39c40d5fbd157e7f0b3b38551f7c8aaa8cfd383e570c0447acb8ea472cc5bf4e SHA512 4da42aaf0602419e47bf01430167a5d6d180c84d6870b954ce177a1e21533e33843719f36c10f02a198f7eebf578048d41a08f04e3753e654f70e4ea987b35c4 WHIRLPOOL ae90fc879e6da79df3d70d7d5f86f173088c141c334f42af443d0e0a731d2608e8a0eb4999d6fb70e27be8f19b989433127f941200ac702777ae8ec5f94622e0 EBUILD sqlite-3.8.7.ebuild 5141 SHA256 6a5173c882ac0ab24051bbd3ef2e09947bd67e53f5a2f62555150df9be45feb3 SHA512 dc9af3dd4fe32125f4c20e13a29e2475a16e28ffe62ce5392682e7606310028f23071eed3358c0f018d86a85f686134d54c3410999f40749ed5a60bf347ce3e8 WHIRLPOOL 4c9df34422b1d200300415d9d17b0c162687250710f2194ca3be4ce17280707dbcb8e212747cf648d16506925ece1f23e5612a978b3ed70619a5ac8574ca17a5 -MISC ChangeLog 72723 SHA256 7708ca217a1b0d58c67c9aaa92a435de84f0c05748ccf96b48b48b4f544011f2 SHA512 154837b2ce2afbba398ce4b5cd5689705cf9182064b9eae8b7801462c06517770ad066ec7e953a87b0cb54a57453a63d62d6b9f4302511bff6dd5f87b6c8b86b WHIRLPOOL f1bd51dee57ab2c36103b4d118555063b7e92b16c7370fd00805ed6f5b7e7765410062b2455cf26c27e8140da5564bbbf2f8884ac010efad124b76d1c13baa1d +EBUILD sqlite-3.8.8.1.ebuild 5416 SHA256 341b3857674b9a4b0a8a712f7527a82c554c2d4294f19f0eee9e7862273f897b SHA512 50f33a743ef7ea8587d99d8858e5ff88ca3c6a4daf955a932b16c66cb7ec2c1c48284576213c3efd6bf0d8168a92a917b4a71d0d87bb58113598d591f5d4acb1 WHIRLPOOL 8134514d5f8fb8ac99b25e94fe9fa5bc3b7a4c3580731f29fc051128012385eb3923b539bfab1b40bea5bcfd62b242f1c7f6815c8bff4a0b302bcee2a9707acc +MISC ChangeLog 72864 SHA256 f5be11a20607cfb1c3d6993a1760c40095b2013cd5e0b2891eef389f278ce3f1 SHA512 3dcf028e96ec8cc7943a2f945b32f9f77068c13a4f031e9a5ab4d9df6c807498ab201472e96d443381f7fab66e87932f1d43e6014c5152aad9cef5c9e871a6d1 WHIRLPOOL 2f05b65bd9733a298a73b143511bbdd55d66808ab61f11085198c0e8ba89c1ec5854ed6d60179e5693330dd8ef1a1726be57e540c0d264f00f90449eb7e02675 MISC metadata.xml 543 SHA256 571057e6088209739a504dfe989b27dc875b6b3f7129c31d9789a6bf765ea97b SHA512 7c1b05707f92a0540bed3cf04d3e468a330a626a7bbbbbece43ba231cc3f8f14af9d220b345c72db9acf33e8eb3d983980113a780ba5a778ebab774d19c659a1 WHIRLPOOL 6c22bbeb965522912ebb10d1f84cd0900ee934d9d41052ecc22902b5aada7d057defa0e4c89850e3f92a6c96d38d701e4dd76e52e27d3807d67d08aa0cd23aed +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlS+0OoACgkQC77qH+pIQ6QwOAD9EtOmGw3eGZ8bSZuAckcZ5lJj +eD/chOL6ViqZdiIvf34BAMDWQZjPBJqAy97Sjq2DeF/P8A0G5Y54tezuiwLRJPJ5 +=kF/6 +-----END PGP SIGNATURE----- diff --git a/dev-db/sqlite/sqlite-3.8.8.1.ebuild b/dev-db/sqlite/sqlite-3.8.8.1.ebuild new file mode 100644 index 000000000000..65ab776e5e78 --- /dev/null +++ b/dev-db/sqlite/sqlite-3.8.8.1.ebuild @@ -0,0 +1,175 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.8.1.ebuild,v 1.1 2015/01/20 22:04:25 floppym Exp $ + +EAPI="5" + +inherit autotools eutils flag-o-matic multilib multilib-minimal versionator + +SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" +DOC_PV="${SRC_PV}" +# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" + +DESCRIPTION="A SQL Database Engine in a C Library" +HOMEPAGE="http://sqlite.org/" +SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) + tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) + !tcl? ( + test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) + !test? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) + )" + +LICENSE="public-domain" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc icu +readline secure-delete static-libs tcl test" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" +DEPEND="${RDEPEND} + doc? ( app-arch/unzip ) + tcl? ( app-arch/unzip ) + test? ( + app-arch/unzip + dev-lang/tcl[${MULTILIB_USEDEP}] + )" + +amalgamation() { + use !tcl && use !test +} + +pkg_setup() { + if amalgamation; then + S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" + else + S="${WORKDIR}/${PN}-src-${SRC_PV}" + fi +} + +src_prepare() { + if amalgamation; then + epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" + else + epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" + epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch" + fi + + eautoreconf + + # At least ppc-aix, x86-interix and *-solaris need newer libtool. + # use prefix && eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + # `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag. + if amalgamation; then + if use debug; then + append-cppflags -DSQLITE_DEBUG + else + append-cppflags -DNDEBUG + fi + fi + + # Support detection of misuse of SQLite API. + # http://sqlite.org/compile.html#enable_api_armor + append-cppflags -DSQLITE_ENABLE_API_ARMOR + + # Support column metadata functions. + # http://sqlite.org/c3ref/column_database_name.html + append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA + + # Support Full-Text Search versions 3 and 4. + # http://sqlite.org/fts3.html + append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 + + # Support R*Trees. + # http://sqlite.org/rtree.html + append-cppflags -DSQLITE_ENABLE_RTREE + + # Support scan status functions. + # http://sqlite.org/c3ref/stmt_scanstatus.html + # http://sqlite.org/c3ref/stmt_scanstatus_reset.html + append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS + + # Support soundex() function. + # http://sqlite.org/lang_corefunc.html#soundex + append-cppflags -DSQLITE_SOUNDEX + + # Support unlock notification. + # http://sqlite.org/unlock_notify.html + append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY + + if use icu; then + append-cppflags -DSQLITE_ENABLE_ICU + if amalgamation; then + sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + else + sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + fi + fi + + # Enable secure_delete pragma. + # http://sqlite.org/pragma.html#pragma_secure_delete + if use secure-delete; then + append-cppflags -DSQLITE_SECURE_DELETE + fi + + # Starting from 3.6.23, SQLite has locking strategies that are specific to + # OSX. By default they are enabled, and use semantics that only make sense + # on OSX. However, they require gethostuuid() function for that, which is + # only available on OSX starting from 10.6 (Snow Leopard). For earlier + # versions of OSX we have to disable all this nifty locking options, as + # suggested by upstream. + if [[ "${CHOST}" == *-darwin[56789] ]]; then + append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0" + fi + + if [[ "${CHOST}" == *-mint* ]]; then + append-cppflags -DSQLITE_OMIT_WAL + fi + + # `configure` from amalgamation tarball does not support + # --with-readline-inc and --(enable|disable)-tcl options. + econf \ + --enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \ + --enable-threadsafe \ + $(use_enable readline) \ + $(use_enable static-libs static) \ + $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ + $(amalgamation || use_enable debug) \ + $(amalgamation || echo --enable-tcl) +} + +multilib_src_compile() { + emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" +} + +multilib_src_test() { + if [[ "${EUID}" -eq 0 ]]; then + ewarn "Skipping tests due to root permissions" + return + fi + + emake $(use debug && echo fulltest || echo test) +} + +multilib_src_install() { + emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install +} + +multilib_src_install_all() { + prune_libtool_files + + doman sqlite3.1 + + if use doc; then + dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" + fi +} |