mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-04 12:02:13 +02:00
bump(dev-db/sqlite): sync with upstream for arm64
Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
f7b5eaee55
commit
42b657ee9b
File diff suppressed because it is too large
Load Diff
2233
sdk_container/src/third_party/portage-stable/dev-db/sqlite/ChangeLog-2015
vendored
Normal file
2233
sdk_container/src/third_party/portage-stable/dev-db/sqlite/ChangeLog-2015
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,23 +1,29 @@
|
|||||||
AUX maketcllib.sh 879 SHA256 e101ed11d908bfb7f57519a99674160b0273d6500d191f758f8a0d1e6ed78120 SHA512 d6ff354cd0e6e0a4240de1ccc0c93a111dd6cc7795d690bdb9fbc556bbae6aa4190b0c44a1be399b1420e33435f53c232400c46392446edf9a9d983ed28f1d98 WHIRLPOOL cf0f28e2086059b3f549d77f5853c4abd1ee1e9756972b6d8063f3c29ba5f46de2bf68f9392db65531c5f1dbada481cabde726cf92d06701c2aa134240ca9e2d
|
AUX sqlite-3.11.0-full_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch 14405 SHA256 ddce4fdc675e54a0a8a0537a315876cb881e5ae1f0c0193cea28f09b10bc7954 SHA512 4586762f41c6eeca64621e53a7369b9258a88880e52db2e8a98f02f46fe5db5d93cf3104ff8e2c99880c633bba2ce59bcb30552091efb34f6eb19f078fe3eedd WHIRLPOOL b95894b95a0f68378e61d59817de9709dc929f04625ff39a838dbeda57a07ddb636ac614b46e1c22bb0f071440a04c51b98a38d38d93b1d167022be3ee4d0080
|
||||||
AUX sqlite-2.8.15-alignement-fix.patch 538 SHA256 f61f2f36fed61438d13dbb09902078ef11f0c3e8c8a119f84030689a2f2add8f SHA512 be3bb6a620d14e07153476f9fb0658d347a0fdaf44363904be32004836e2727210307ed87fe2b8b01cf4df79cf05947be7b500a9608215a6e950173237e64386 WHIRLPOOL f1e8b388b3256e4f8f7476fa7b369b014902473477f17ff28f45e221aa973b14e9dc54bf6cedda04d2f8772fc87c34f19f14b11a9e67a082cde70f5cfbf32e4b
|
AUX sqlite-3.11.0-full_tarball-build.patch 4933 SHA256 9b76ab242a0486a94f9efeac6f6cab3364c4a5bd47c2b51be098d5db53015118 SHA512 303c419cbcff868249ae4691865f04b732faf0df09d49102ee35fd37df085a5a0e9e4e7ce7c856bb80af3177670ba0bac08ded1244dd452883ac32dab4727877 WHIRLPOOL 5abb65e9255b643af210fbd79d0f414b6393a026252f3faa4d12f40cf238295dfee3e922635879271916a7e817b8330fb459ea8c225dc13a9812d3161a6f5742
|
||||||
AUX sqlite-2.8.16-exit.patch 355 SHA256 ab34a56dc56914fe3396f523a7d917319607dcb03ea33a3327c1e123d315b630 SHA512 937056b0629cd9e254098d40ed9dbc83e40c027727e8b12b2d5ff4513c1aebdb40fc9a7178b0d7554d3854888079ae828699dd27e1752759eb99dbec95c591f3 WHIRLPOOL 180eeca385be1607d8a55ea9aebbe8a0c0d85c7b67b7b1f22e737482b86471dcfc943513b6a6d49d8a49f3df3ce763cfd4b228f385e4b3ecf57419831d139214
|
AUX sqlite-3.11.0-nonfull_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch 8426 SHA256 097b2714ddddc7af74ecb8baa68ac1f7b18b73539aaab5315d1fcba52a6c222e SHA512 0ae94f82b016035b2ec415ab271701b7f48e21f0749c1f98dcf1e86f8fba6c5551121fa70791a8c0b1156dccbcf160f05d4f5e0003f53bc820ceff91eb9745f8 WHIRLPOOL b8eb1ccc0cbdf32bf572348aa93119f194b549d9b60d1a9aaf8e91b727bcd53d520247e2f3126c1acb5621338a9f35b32d0695e080a354cfc5a6dde29e181db9
|
||||||
AUX sqlite-2.8.16-multilib.patch 4038 SHA256 4ccbef245ea50f317e34bad5ed07e6917fc08d718c6e57884255799980d6e765 SHA512 2814651e8906032646f46d9af86b5938215f32eb114780321f5a1b0554e8a531b858d7020ed598f109698b616f8bc18b923192dc3decc6c4f36bc173db937f35 WHIRLPOOL 28ba54df12b010c1428b3dcc13d2b6767d4373a07a245d538c3510362f8699779f2a66e47821f6c0d3e1fac80ef0606b955e5a83a59aa59a290e5354241c9d8f
|
AUX sqlite-3.11.0-nonfull_tarball-build.patch 1325 SHA256 080dc8d6b7bc465326215bfa08592d5b5bdb7793c095141efa992de4d687f0d3 SHA512 07ef0eacb494a3bcec81cf6a10e86d7bb88b18807226efdffb35f28cd95032b92851db14fc8a1f465312201a866e5d4e1af02f863e89a16b718c6352680036b9 WHIRLPOOL 8bc0bef6f4ebd714ec4ce12660a956fc106f4f25d5514cc578114a4ac64d011ecd7e4597eb93793c79621e03c18a9f70e11c62c26c496eee4a4bdfe23ba9f813
|
||||||
AUX sqlite-3.8.1-autoconf-dlopen_check.patch 361 SHA256 2bc98779fe2da233592f1d97cef621ea3ae8ba6ab2b322c0cbb3894031cbdcaa SHA512 18f33a03c551d2319eaafba3fb47b70333f4053e4b0ab4c46cb07275467fdbc08121eeaf131b57061c87ce5ac609038a40b7b68db671a5c86d5b75e3c60c3e0c WHIRLPOOL 97a2fe26454d802d30977d88e6e3b86424ab9abfeccadcd406ccd740e0458d20e63951f159f67eca47d524419df57116e470560ece91fb3d2b181d3663028f30
|
AUX sqlite-3.12.0-nonfull_tarball-build.patch 403 SHA256 8cc4b6d013c432fe59f4ee10f3b98a2c8ba3471a44f68c92e555e4884b9fe2ce SHA512 6c82a7be2d5f6e898469d8aed78470773617b9d77a9d491454e4b7b29abd6b29bb2854b96318f98eb71215deaa9bc7d753ac57cb52f73cf0aec12a23afdc8294 WHIRLPOOL 94dbe52c9cee7a07df5a647c95044fc3b356b2d2bfbbd0cc0566a31363e26f2990e0eb2ffaacaaf8922d5db4bc1268dba153860cf5f8d79b75ce9c5db3fa37de
|
||||||
AUX sqlite-3.8.1-src-dlopen_check.patch 331 SHA256 a8d5a07e3acb65232d33a512567ddb1894c1858bca01c8872cce92f4232af5dd SHA512 d9353bdc0eaabdafff86150b15ccd35b50270c9513f73bf7b2b6f060c642d083e631400b319f584333fbdb002bc148325edcd6fa1ed2968d2c952438851eaa1d WHIRLPOOL ca57d171943ad212ee90d12d99f805f56d7ed7daf49a12cab45d3713820e4c59aa1bf3378d035d4fa2138ad6cd912af6805a07fbc701ec2117f85c8a222823bd
|
AUX sqlite-3.13.0-full_tarball-build.patch 5192 SHA256 76841d686bb96fbc68ac6fcc773bcf02ad432c900d18c3a4dcd8b5df396dddd1 SHA512 95d421b92cfee4772fea26f699b92a6cafdcbe087370d003960c14f75a714b23d24b15a9c8e31552d224fdaef89d871464519077b211b89e8b97bc1fb53c5428 WHIRLPOOL 8b5c5878c5690ae367f39032dba7cb9a38eb6e446e60f1db74b0272b29003ffaccde872dbec418a6a5fbcced1bc965ce2130b5da78f7151efa9d7a0f574e7e58
|
||||||
AUX sqlite-3.8.1-tests-icu-52.patch 1866 SHA256 ca2ec1060cb7dce3e4d56ef1a27866abebf776e7d5d82ac373be2a182fb91abe SHA512 e17eec1d875e3c5fc1a3b664f7bb4d2b015ea1a544150e3eaa199f3fd0ee84f4924f3410182a4e62e280281278b32225c0779d97d85a56e272b6ccd0d900d3d1 WHIRLPOOL e77a681efc81ee4d212f3c68464cbd625b24b06b80ca22a72eaa1ec2b5d3ae0ad42596bae3aa953018569ca9131b686d06b1b68147f4102a33c20dc1c5d4595e
|
DIST sqlite-autoconf-3110100.tar.gz 2359545 SHA256 533ff1d0271c2e666f01591271cef01a31648563affa0c95e80ef735077d4377 SHA512 c3efd2693e6a9526a2901d9879982a421e81e7e979aef65a160e71b255339344079a1943395480d5c37a1acc6243a8d45f45fa688f7e996774da38a3a99e71a1 WHIRLPOOL b8062e2030dffd8b44cc0eba32c93312b8ae20064004c460321a4251806037fe62ec5ef83499e491cb248786b9302f0495de0c0624128d0063cbff71b77b8864
|
||||||
DIST sqlite-2.8.16.tar.gz 981834 SHA256 d26e8a6fac1ad497a3ade719da4f1d6d60f586fd10f66253f1c3d3db7168984e SHA512 262cacbb9a6e615cd6ce7c2992c4dd5b0cd59de096daa74925e81baef4c0e4b3d9a7e4ebf8f4ba949afac4fe2fbf2c627ead29fa72ff38dffe6446ae46c40d4a WHIRLPOOL 78c4dc05f94d97483c03b1f1eee67f86fd5d9499e82b082ba3951878867d10d18ecbb5cac9086ce509c0cb1cb47b57661709a28d2ee7e61038512d1c11c77bff
|
DIST sqlite-autoconf-3120000.tar.gz 2374101 SHA256 53ecdbb5287af673eca3710c5f6c2305e73bb2d034f2a28770bea2be92ed269e SHA512 84a9107ca9045ddc724d7e37dfe2b1dc00a106769260c7bd429a95beedc46a906985b65e0b2bf597de23dd56d132b9ef6888a8c4e5f8a731c8a5c026b971d89e WHIRLPOOL 4ec76b383670f2ee9c50870587696a3c86357161344851b487f54a03c668dac8c4272738b44e5a4048dd00bf2b3122904c53b6d2195f9b48aef3ad928f34b85b
|
||||||
DIST sqlite-autoconf-3081001.tar.gz 2049377 SHA256 5f8f2ae6461e637ff63e50fef10b6962764dfc3b81a8c0f80a19794b9d59f7ca SHA512 8e206952b351ef8a9cf523558574cba9630c8c07ef7ae90fb0712d2b99fea91742a26d0af1b01816593ea769fad343101fdbbab9c1626a4d712bb1a18b2b6b30 WHIRLPOOL 83fd822bd9eb6fedea29d968381726be24153375c06ad8c39d4ef34fd3d2e1001c8d5440880d6a880ba24242cd87782afa445ce145cdf7e75843419275136da5
|
DIST sqlite-autoconf-3120100.tar.gz 2374576 SHA256 1c038519862b3983b0475f3ed3143ce4bbfcd21bfbd0741192f415838c831a7c SHA512 eb0b892bb6a1783df9b712d5f78c9f5fb5aa8ff1b1735fd2806e96b1c04e2a5f87b2e47469185195611a5cf6c446ec32935e9ae0b01734383a8fefc1bcaf5842 WHIRLPOOL 0284241a3fd6dbee16ba5fe4c1a0dc15b1b3134bd39ba8a2219c2da4e426e3572809459bbdc8bbf3fa4ea055406b85c547d8e7f05afcb57baa712653ce0d6f64
|
||||||
DIST sqlite-autoconf-3081002.tar.gz 2049387 SHA256 8382e55a4e7d853c93038562ca3dd00307937fccf1c6b65ddd813e503a56d626 SHA512 afdf11d5482a645c37cc0c4c5c2b3f8c56f26c95ee94658c92bfa0ffeb68981f67834215a45a658f733333c68f28231448e87995f9614a56f9f1672cedd13a65 WHIRLPOOL f3c7b1a11d63213a29f9dc6c04c02db9900b25dd0a8c0551bbf6d220493e7cc420d5775d99147d92c781b7f0068889e6dbeb32a10f447009341827908eee4ad8
|
DIST sqlite-autoconf-3120200.tar.gz 2374804 SHA256 fd00770c9afd39db555c78400e52f55e8bd6568c78be23561abb472a22d09abb SHA512 e56b8d5b8fb41d27437659db669259198663c266c0b3faf44ba9b130441550fb79bd040e6488f56280b33230d9cf4e51c7906f968ffdd36206354bfabc4b6eb4 WHIRLPOOL bd1231f0cce91281c9e42338ae698a06446078d2070f4f16b5472ed4004dbf1913339a3f0e5a34d87d0e71390a130c347f3c97353967530b65b23e1492664b7e
|
||||||
DIST sqlite-autoconf-3081101.tar.gz 2101885 SHA256 fb99b0ac038c4a7e48b44b61836cb41d4eeba36b4d0ee757beeab59031a1d3b6 SHA512 b87e3a94462c26e875833c7f83dcc453146377a403d173169e2db7198bede2467f8c480645141da678e0fd3071764558f2dd2630086964431ead25ac43212ee6 WHIRLPOOL 2045496055b02151211080110dc8fc2c474337788704a0e4db8841a1928b82d6490afa682c8d8b1bb6b9e98808d7eabf0f763a41e4768b1c21629107895bb66b
|
DIST sqlite-autoconf-3130000.tar.gz 2459805 SHA256 e2797026b3310c9d08bd472f6d430058c6dd139ff9d4e30289884ccd9744086b SHA512 c2547ff9a144c46829344058b4f8dcc5b8c9c823cbc667be2944dc7beecb9cc213858cc9ce302a763200278397d9a0fc6bb35c542028a124ef0980fedd574c2f WHIRLPOOL b9bcfb2eecf30719f7a673d569949b4e497c9682de08ca6f0ccc6c67a8f1541a51e88108bebde94a14802516b114c9f8cad83fbdbb130774b3082a8107657255
|
||||||
DIST sqlite-doc-3081001.zip 5060040 SHA256 0b6c186a2da8b7d7397eb3942e97fd85b88734beb300702ace0dca4a3db729a6 SHA512 76caf476c98d8a0f5da55c4608bfc31235289e3ab2286089195fab86da6b5d98b2d5eb0fe7b81e3aff8f04939c9bcbfded6be22f0eeb21103478bf519e9ff78b WHIRLPOOL 5edd1d06babf19d54e326f6262d45851d43a0907adad66b130c93cf63efbfadcad6dbc98330bd4d2f80d1d528cd9088ada0727475b42005de6bcdbc4914e5d7c
|
DIST sqlite-doc-3110100.zip 5386958 SHA256 3f127c51c7936d13de96255b00a6be3862693ff025f61a1d3d17d3d57ee295d0 SHA512 b8fe71a852ce2fa3d7da27c09e3a1e8d019a9c55eb7e5516425754148f8d8a6cc88571d006768d5fd5b2c72aa513544bfc0ce4208f376099f8f08b7fee480d06 WHIRLPOOL 8cf7b3495ff184622dbf2842931d6b77061dc166c9d66e6bb6e400525c59ccc5b689b22cea45dad0fa7a7117692a1c16fea46aa4789084ce8c4de3655e973812
|
||||||
DIST sqlite-doc-3081002.zip 5068441 SHA256 e355ec10989829d485d2df08f076f6c3f598f7fc1d45d307b4fd70d5e609e6c4 SHA512 c222b250de6c8e182da1b534f459600a81b300c87578f9484b7d6f1fbbfaad9e8be70c306d0200b163850f48c974c55ce25782fefd55672ef72f03dc0b5f8d19 WHIRLPOOL 148bbce9bc3ffb1f9101e45936ce060aa49dbc88647effabf5418fa95ccdb91a4971d171d940de3307a2d59144e73250c43f8d8d79927ac36a1e02784f143061
|
DIST sqlite-doc-3120000.zip 5402611 SHA256 346d9d56a0193d9396948192b7eca9e45c2adfeea6bbf71df62502830da510f3 SHA512 7879d006e528d692ea5718f27d03e2dfe2a5e54aa135be983b992836102720df4dc690d84795115a25ed19a663e895a3f3f8a59d0de079c451d215e07081281e WHIRLPOOL 00f5bc4b82af1ba8d43ae4d0761dacd2e608009812a12fee9aedd333baec9b36f74542c60de4acacd19f5ef898d3bd57dfb705f3b21219ba3862ca91c2f76402
|
||||||
DIST sqlite-doc-3081101.zip 5108061 SHA256 89e3fc4bce7463885da3b03602b4260fe07240f9ea674ba4ac7ce2ee4987357f SHA512 8a39e05b1647f4769126234b9759552138f3e3874bc008686ef2f9136833ddc30b3b0696222a736d604e8910a436acedc4954e46894f4adc085eb5f2b6ab9280 WHIRLPOOL f47308753f8df2c497e1bf3cd941b862d69d4f6bbabb2f0606d144966cbb186c5e1513022a5adc122939180fc6cfaa7c83a9537481cce455a83b7bf68deec9cd
|
DIST sqlite-doc-3120100.zip 5410493 SHA256 dbe53c076922c711a467dde57432583fbf9a12eac57cb75f6116a310880eb088 SHA512 d0117618d97744255248b9160816203147ba2afdb0bea5fe02d5e464541e09bc9147189317c6f849cc56059d6ae96e3e4b2a30cd8d0bc7b0e1ecacb573cfcdd4 WHIRLPOOL e3f054eda83301b9e4b5170bf9c56895756e4ac78a1c6256467c990fafccaeadec5f7ca54f1bf118bcb950f25db63df6c0972a138d36a10a0a9cfdf688eb207b
|
||||||
DIST sqlite-src-3081001.zip 7648823 SHA256 def6e2401c8da91b489de19d1a1734f722b4e629148ab804776d27b49ba49e7b SHA512 7604ac35eddd4aca53c02b0ab7ae7682856aec2eb4e6a9627da041ea19d464bb6080a70d84070a94abf77eb14ae616a0a8c5fe2f2a6c19fc899d1b21535d3e1a WHIRLPOOL c44e4f446d12af1f4df49e171276d853381784e979d3521cafbfdd5b5359c792586d298f3573bbda8a260b9008a4b7fcdc4ce0382fdda18574287018a2cb4f4c
|
DIST sqlite-doc-3120200.zip 5416790 SHA256 67c640c4b01b961016717db61e3e43c63c33248c78ce0de9f10b88ea7ce97670 SHA512 4ded937565b2d9b63ae55495d4b536bc0056e0d9aa7119ee54ddea127c42ba7de17986db7b85c172043fab1112132cbc126a102b248770fca6cde9a8fda438ae WHIRLPOOL 7eefecb6d0450c85ec3f30cdeb853117f4067e1bace7d3c0524e5c6cb13d2e31772211aec8562f972491da413d9bd79022bc29c16968b086562e7f17bff984eb
|
||||||
DIST sqlite-src-3081002.zip 7648737 SHA256 fda379bc4590761838d02ac8008433b7c3eae6e120e45d639d24b09d0004b42d SHA512 99661c709ffe8d5776c3ed2c1a64c70f541b68f0c7745e3e769528273966f71eeb29e8911d42ede9420f179b7fcbda63c4d0980a9d7bc05e937d0a6deb7b814f WHIRLPOOL 4e13138a5f92f5c5fe65c8b670097b57ea778244a37a5bcabf75f86f4ac3f0bc17860f3e55833adc9adcc335b6aece396c685421b58ccb0ddca66f37edfda7fc
|
DIST sqlite-doc-3130000.zip 5550186 SHA256 510606a9cdd89814b2d44e7b7f284ebb0a58153e1800de6daadfab445190f79c SHA512 0bf4544a07bd92533bc248dc16ed43c4fcad870ab535591618d3006f38c2741a8c0ed1da082444ea1af2f57936575c678bc12b651252426b908660023b36cd39 WHIRLPOOL 78fd5de701224e39d07fbb03a9193dff45237845b215d83f27a623f289d9da0df7082d53115e90474856b775d350ee3f9d2970ca2c1a4a33b24543de06fd3b9a
|
||||||
DIST sqlite-src-3081101.zip 9057103 SHA256 261ad454663f66fda6101b278bb7b3931cf01884deefbf4ea6b152f83a624662 SHA512 e84048a4a7f9c51219698b59d45c0c533ffe46ba6a20b96ca40f8066fd3825f80f963283d61dc22b2eb5bbca35db3ed4a6e13b1ab3c8b70b0af83469d2760f16 WHIRLPOOL c1add1e5a269546883e58c1666b8acdc58b16b6ad37ea546c99c8ece3348196d5ba33effb17fc773f4d49b1ee45583de7fec3fbe2f6d48e95fdfe4a802c6a824
|
DIST sqlite-src-3110100.zip 9294249 SHA256 ade6aa93fd1d52dec0d8712f9ba4df59ecc6ec442f32ef28631c3b9341aadf97 SHA512 350c3019922a6adc1b7372f5e27c810a08f4bf576ea4e07d46bc59e1939a919d1bda1a29581f4df258f577202d79253292f719ca56ba30d1e7a1a2d801b65a48 WHIRLPOOL 3f7cc7baa7c59930e2e676d859478a68fddd392ccc4747630aa68c3909eb0b633d6031e9a998c1a741054594935dd52b3143ce05b574ff1b14f20f6ededc0a6e
|
||||||
EBUILD sqlite-2.8.16-r5.ebuild 2805 SHA256 0a1b775ded2e1e381130e457d2f0ee912dd09669471ae784e13f40157a290c96 SHA512 3c2e62bf8a57df5059672e826086156fe2ae94e574ed894a56365bf7c17016039c94203869e070e6ff2de62c9571c970abeb9a411148db6ace9fd0055128e7ff WHIRLPOOL 0d747751a5869d49e2c99eca375f854e904abe4443f81e4953007b1af44c183b1c71377f2ee02b2a1358d4e44b9fd11ca4e7bf6e39330571ed857b160b2601db
|
DIST sqlite-src-3120000.zip 9367749 SHA256 d891e7ffd56cd97d069a6ed99d7e85cbe655b0a97ca6b5398c7806e888642df1 SHA512 9669e33e328b826f4692725ec09e21d85f4f2c386c624a81b0535f41ca7d2f996ebf5018db8ecdfdac18cff39a881a953111801499705dfb599f00e3bb5d10e4 WHIRLPOOL 865aaecbe331ec93b1a8c5b965c3edc43d35994c2db79d336febb27860ee91d68753d3ea274b4639f3e05d3f0a589fb21aedac33bc2120a4de8d094383d7b923
|
||||||
EBUILD sqlite-3.8.10.1.ebuild 7139 SHA256 458a229d72d32bbb4c9be6ea255f859c3d2fcbc81e6b0b60b4cd7089fc6125e3 SHA512 11b21aef09c72c2a59478a347740dbc668419a98a7de547766de4eaccbeeed00e8dc7ecaeac58dbf4069bc8f50d353d921c86e03f8d5365a91cc009273b3a038 WHIRLPOOL ac9522f482b3fe9d7a9d7d8dc910400b658ab8aeaff70c3a4b31d3c16d5332b3499fb8fd7e73280f53e2e5bc33dcf278a6f05ca5c77469c769053d684358c5be
|
DIST sqlite-src-3120100.zip 9368459 SHA256 49b9819683f8f7329a78d2008e3f7c4e02126b556b95e5dfe3be102b9e741cff SHA512 6d0d7230343ca460215b5764d4a546631ddc2bcfc0777051379fb4632ccf9c36a53d26eda6811823156be166643c001c994a0f52498c6196ed13b34e931d55e1 WHIRLPOOL e41fd7a1ba870efb5421657975990c1d7e1ecc27023882771474a62e82b2ae305bc3d0b8556e0627de886d35e1b375fec223b3f70582d64fc5345c525b293131
|
||||||
EBUILD sqlite-3.8.10.2.ebuild 7135 SHA256 efae2acf47b0f0df2ae8025f10f965ff79abf1245a5fe4e464fe189132d62e59 SHA512 c1833cb655a7275a1a9513b35cdbd2339ebbfbb27f7c63dcaf99abcfa4eee447fad2dea9fa262cdbdbb8e8bd8a8f107cbb0926683c2da42c25460d60f96d48f5 WHIRLPOOL d30b5c1dd26efd1c9e7d833c0eafe54b3e8c8a038dcdbc11101aac72ef11cf60e935dd293bd1f51040ac16cef77d30115ef9039adb4855f6b4b1638865201dd2
|
DIST sqlite-src-3120200.zip 9370396 SHA256 2c16caa653e57f3c71873aa88797c97117981d6b0974254ce24d933dd27f9a86 SHA512 6cc9718c23ca3f65a42cc715eb67c8d174ecf0e397457efb6bfc5bd2efc9a51ea2f84266d31826068bf46efc550eb277b3c8e93cb85c5d23645e8b8ae4e2fc07 WHIRLPOOL ffdbbc384189f0d62a93ee8219051ff936b7c0c2fd39449f6ff72a734ab219f23f049648de7c0ec510a74aad85ba07ef0c8bebea4c3b83e043464744d2c039f4
|
||||||
EBUILD sqlite-3.8.11.1.ebuild 7222 SHA256 d90562112e2e3dc8028b49af22993b44d0542cc4034850f17d6ccf6b5ce99461 SHA512 67ae6a238f3f1f0e4f1cae215702a54f7d8335129ee410d344b3066a8c08d5e699ab82bd227903d9f6a3648b5077d580c42f141f41c64566468e355ef5952fa2 WHIRLPOOL ada9ca92b54f1971fbf6b0f1935a13c38918b4779df6eedfafbdfc2bb14a5bdebfdf8b4fba35908d9892bcfe98172f5e586e8ee32a14dd9451442ac2068a2eb1
|
DIST sqlite-src-3130000.zip 9506412 SHA256 b46b62dc27abbde52db69d8e2a710469b9af613ba251eb98e412d4f3827f915b SHA512 4cb7531105869ff7db5c08aa8e4d303fa3d80c8c67e21d9a835a09f7dddb4c9dbba837e2030dd4af6bcdb00a305b057cbd6430e11b3f2ae5e470f27b69b6c1e6 WHIRLPOOL 901f6cd343daaa62970f8d768e3c6ccb0b1da75fb5643b27e76f60d224005a08955fde9df5b8bb63250ab27994e2428ce19e21b4a1ccabec47cd4b8df4a13657
|
||||||
MISC ChangeLog 77763 SHA256 c33481b0e8ff18658a72ce845ef033f46d7e2e47fd368f276485936b8249e366 SHA512 ae9ede8a42eb81bdbfd39c201aaed8a295c2eb61999d7961aed59f1d439241b57ffff0548b11317abdf2342a2e35daeb8ba98dea3fbd1904653192c3e2b3c86c WHIRLPOOL 892423e0771ee903650e396b9eb63ca76abe782ce5d3f2e1f993d0c65f3ee1b23e38a743557e09f7d11c6466ffe7c8bf7fb4a372ed58e33c1397d9c9b24f1783
|
EBUILD sqlite-3.11.1.ebuild 7518 SHA256 de50b5c26c744cfc34ea505f429a340f365efa800370497567c73d94e1c86ff7 SHA512 f95373f37c6b85781f86480fc5214b05e309b37864a6bf1366c021b7d17b6239d3bb17ecd1b2843099646bf0f266c2bbc8c917ab7f4eb1ffd541b39a6306112b WHIRLPOOL 52336e092edb6070ed61f662ca16fdb4557a32888bd6656a68072b985e18459573f506a318afd5f329aba6320fc57436cf1476b3a7dc56a7689d4c105f2b30dc
|
||||||
MISC metadata.xml 641 SHA256 192c0ada0175fbad5202267520fc563ea1559ede7e64b375dd6dbfe96cf4aa0b SHA512 fcc41ad18e6f25d25b32373ac9de9e46d78784778ca3f56d73c95c67e1318808374f408f110db216d314cd2695b87bbb5225ff7e9621e8726db1b3a0559fb94a WHIRLPOOL 3608b2739d8f35ae22dba98cc98a3c9e30584dd34781cf2f6542cf90ec94ceb05bd6abb5f7203d9858556b20c1e322810ee397c14c36d5e5a186ed8c96a46784
|
EBUILD sqlite-3.12.0.ebuild 6986 SHA256 11a23d8e75c03c4e3515ddb20682d384504bebbdef896dc17c1e09460b2c1528 SHA512 504211d84f97e8da2f4d53c9de8afd89955410a9c91cb0fa5dc48726b4d6b314e1a48f1b6e40f8b6ba2cdec3f517a2b5623fe01e21f417780dfa640bb80b97b1 WHIRLPOOL f1fd886f3ad3ec224283a19287e9f5dbbab4796ce19fd1d57ba0bf76b3ffb2a9228500e5a7a4b6829032142bbc29c37d6cc793a6b9021ae8f2b9b81260eb40f5
|
||||||
|
EBUILD sqlite-3.12.1.ebuild 6992 SHA256 6f2e0de7c7bfc1673bd97a0b9a5c0526bea85e08dc8ce742b46d1e0dc44c767e SHA512 2677c1c39a10715c41e0802a5e6df356bbd66f15eeebfd862f26b203e23b472520ac06a5ec823565b57f61e27817cb856de86a7e3861525acc228954eab1c205 WHIRLPOOL afc6c37f03fa6d4d5a5e5d5c7954f37af324e6426505e7653b1fd759f6f6c747278ddeaa48e5d8b9300839267cd140ea074d5be82970ead538588773a0f34a49
|
||||||
|
EBUILD sqlite-3.12.2.ebuild 6992 SHA256 6f2e0de7c7bfc1673bd97a0b9a5c0526bea85e08dc8ce742b46d1e0dc44c767e SHA512 2677c1c39a10715c41e0802a5e6df356bbd66f15eeebfd862f26b203e23b472520ac06a5ec823565b57f61e27817cb856de86a7e3861525acc228954eab1c205 WHIRLPOOL afc6c37f03fa6d4d5a5e5d5c7954f37af324e6426505e7653b1fd759f6f6c747278ddeaa48e5d8b9300839267cd140ea074d5be82970ead538588773a0f34a49
|
||||||
|
EBUILD sqlite-3.13.0.ebuild 7145 SHA256 e06db96b44d4622e92145f3d0e45a6c7aa41a9eab0c005a56ce11ca25a451b44 SHA512 420723f7fa7676f2b5f72968b75b27cc9fb88879a999ef4e4f4986b473a54477ae5d25859863d4a0682d20b6f219b903ded98ae38039fd9409d8f9b506b7cd2e WHIRLPOOL e727c4325f6e34fe096f3064a9f62a4362a2bad909a7ee0ab5e02735797b7a80772aa0b1e66d58413d993b951d66909b50c5234c523a41d8cacb90af1bc0e761
|
||||||
|
MISC ChangeLog 10282 SHA256 54f018e6b56f9b11f23c362a1c94c1ea3dba338ce10f4a771526c6600d67f05f SHA512 88736ab0a9b46ca8d8593e72769267d4ca1454f5b502be243d9e9862c07d8d303891c173fddc61712e9a4ec825fb6fc77b67be8cf4829a540f3ea77a32eea478 WHIRLPOOL 684ac1be5f7af9f917640edada5a366f1591c47a867d3c18170f4e4585bdd11e31a84c3611310bc4e71c28df63128041169e673ec117ff64e92a213877eede68
|
||||||
|
MISC ChangeLog-2015 77763 SHA256 c33481b0e8ff18658a72ce845ef033f46d7e2e47fd368f276485936b8249e366 SHA512 ae9ede8a42eb81bdbfd39c201aaed8a295c2eb61999d7961aed59f1d439241b57ffff0548b11317abdf2342a2e35daeb8ba98dea3fbd1904653192c3e2b3c86c WHIRLPOOL 892423e0771ee903650e396b9eb63ca76abe782ce5d3f2e1f993d0c65f3ee1b23e38a743557e09f7d11c6466ffe7c8bf7fb4a372ed58e33c1397d9c9b24f1783
|
||||||
|
MISC metadata.xml 745 SHA256 0430582d0c0d1d5687f3e488e11f0b0c60f91fa51196df62c5ccd4a57b79912b SHA512 06ed7007e3ded9f29fadc70c583e9795a8ab5c27578159bb060b39c0cf7de6b4bca06ff0ceeab6710c50db96a44c976c52af2352ee7928211a46d5eca071b849 WHIRLPOOL 7c9f0a1ab683d8c10a5eccebdd88f1f470c72ae4b547fc0a465da4cd6c640d0b8658d9767dfd6e16bdfbb54219edc584b0c7e80ed6b4e963032b7aaeeab672d5
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# This script was adapted from the one used by Hwaci to build it's
|
|
||||||
# documentation and binaries for shipping to their website.
|
|
||||||
#
|
|
||||||
# Any similarity to the original has probably been trampled into
|
|
||||||
# oblivion modifying everything for Gentoo.
|
|
||||||
#
|
|
||||||
echo "Starting TCL Build"
|
|
||||||
|
|
||||||
# Set srcdir to the name of the directory that contains the publish.sh
|
|
||||||
# script.
|
|
||||||
#
|
|
||||||
srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'`
|
|
||||||
|
|
||||||
#
|
|
||||||
# Build the tclsqlite.so shared library for import into tclsh or wish
|
|
||||||
# under Linux
|
|
||||||
#
|
|
||||||
make target_source
|
|
||||||
source /etc/make.conf
|
|
||||||
cd tsrc
|
|
||||||
rm shell.c
|
|
||||||
|
|
||||||
OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1'
|
|
||||||
TCLSTUBLIB=${TCL_BUILD_STUB_LIB_PATH}
|
|
||||||
|
|
||||||
export CFLAGS
|
|
||||||
gcc -fPIC $CFLAGS $OPTS -I. -shared *.c $TCLSTUBLIB -o tclsqlite.so
|
|
||||||
|
|
||||||
strip tclsqlite.so
|
|
||||||
cp tclsqlite.so ..
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "pkg_mkIndex [pwd] tclsqlite.so" >> make_pkgIndex.tcl
|
|
||||||
tclsh make_pkgIndex.tcl
|
|
||||||
|
|
||||||
echo "Done TCL Build"
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -uNr sqlite.orig/src/vdbeInt.h sqlite/src/vdbeInt.h
|
|
||||||
--- sqlite.orig/src/vdbeInt.h 2004-10-16 01:33:02.779442000 +0200
|
|
||||||
+++ sqlite/src/vdbeInt.h 2004-10-16 01:35:01.139442000 +0200
|
|
||||||
@@ -115,7 +115,7 @@
|
|
||||||
int flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
|
|
||||||
double r; /* Real value */
|
|
||||||
char *z; /* String value */
|
|
||||||
- char zShort[NBFS]; /* Space for short strings */
|
|
||||||
+ char zShort[NBFS] __attribute__ ((__aligned__(16))); /* Space for short strings */
|
|
||||||
};
|
|
||||||
typedef struct Mem Mem;
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
temp.c:4:1: warning: incompatible implicit declaration of built-in function ‘exit’
|
|
||||||
|
|
||||||
--- Makefile.in
|
|
||||||
+++ Makefile.in
|
|
||||||
@@ -269,6 +269,7 @@
|
|
||||||
#
|
|
||||||
config.h:
|
|
||||||
echo '#include <stdio.h>' >temp.c
|
|
||||||
+ echo '#include <stdlib.h>' >>temp.c
|
|
||||||
echo 'int main(){printf(' >>temp.c
|
|
||||||
echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
|
|
||||||
echo 'exit(0);}' >>temp.c
|
|
@ -1,108 +0,0 @@
|
|||||||
diff -Naurp sqlite-2.8.16.orig/Makefile.in sqlite-2.8.16/Makefile.in
|
|
||||||
--- sqlite-2.8.16.orig/Makefile.in 2005-02-14 00:22:04.000000000 +0000
|
|
||||||
+++ sqlite-2.8.16/Makefile.in 2005-02-17 18:22:50.174537727 +0000
|
|
||||||
@@ -187,12 +187,12 @@ last_change: $(SRC)
|
|
||||||
| awk '{print $$5,$$6}' >last_change
|
|
||||||
|
|
||||||
libsqlite.la: $(LIBOBJ)
|
|
||||||
- $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @exec_prefix@/lib \
|
|
||||||
+ $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @libdir@ \
|
|
||||||
-version-info "8:6:8"
|
|
||||||
|
|
||||||
libtclsqlite.la: tclsqlite.lo libsqlite.la
|
|
||||||
$(LTLINK) -o libtclsqlite.la tclsqlite.lo \
|
|
||||||
- libsqlite.la $(LIBTCL) -rpath @exec_prefix@/lib/sqlite \
|
|
||||||
+ libsqlite.la $(LIBTCL) -rpath @libdir@/sqlite \
|
|
||||||
-version-info "8:6:8"
|
|
||||||
|
|
||||||
sqlite@TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite.la sqlite.h
|
|
||||||
@@ -465,14 +465,14 @@ doc: $(DOC)
|
|
||||||
mv $(DOC) doc
|
|
||||||
|
|
||||||
install: sqlite libsqlite.la sqlite.h
|
|
||||||
- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib
|
|
||||||
- $(LTINSTALL) libsqlite.la $(DESTDIR)$(exec_prefix)/lib
|
|
||||||
+ $(INSTALL) -d $(DESTDIR)@libdir@
|
|
||||||
+ $(LTINSTALL) libsqlite.la $(DESTDIR)@libdir@
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin
|
|
||||||
$(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(prefix)/include
|
|
||||||
$(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include
|
|
||||||
- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
|
|
||||||
- $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
|
|
||||||
+ $(INSTALL) -d $(DESTDIR)@libdir@/pkgconfig;
|
|
||||||
+ $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)@libdir@/pkgconfig;
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
|
|
||||||
diff -Naurp sqlite-2.8.16.orig/Makefile.linux-gcc sqlite-2.8.16/Makefile.linux-gcc
|
|
||||||
--- sqlite-2.8.16.orig/Makefile.linux-gcc 2005-02-14 00:22:04.000000000 +0000
|
|
||||||
+++ sqlite-2.8.16/Makefile.linux-gcc 2005-02-17 18:21:47.654969648 +0000
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
#### The toplevel directory of the source tree. This is the directory
|
|
||||||
# that contains this "Makefile.in" and the "configure.in" script.
|
|
||||||
#
|
|
||||||
-TOP = ../sqlite
|
|
||||||
+TOP = @@S@@
|
|
||||||
|
|
||||||
#### C Compiler and options for use in building executables that
|
|
||||||
# will run on the platform that is doing the build.
|
|
||||||
@@ -38,8 +38,8 @@ THREADSAFE = -DTHREADSAFE=0
|
|
||||||
#### Specify any extra linker options needed to make the library
|
|
||||||
# thread safe
|
|
||||||
#
|
|
||||||
-#THREADLIB = -lpthread
|
|
||||||
-THREADLIB =
|
|
||||||
+THREADLIB = -lpthread
|
|
||||||
+#THREADLIB =
|
|
||||||
|
|
||||||
#### Leave MEMORY_DEBUG undefined for maximum speed. Use MEMORY_DEBUG=1
|
|
||||||
# to check for memory leaks. Use MEMORY_DEBUG=2 to print a log of all
|
|
||||||
@@ -64,7 +64,7 @@ EXE =
|
|
||||||
# will run on the target platform. This is usually the same
|
|
||||||
# as BCC, unless you are cross-compiling.
|
|
||||||
#
|
|
||||||
-TCC = gcc -O6
|
|
||||||
+TCC = @@CC@@ @@CFLAGS@@
|
|
||||||
#TCC = gcc -g -O0 -Wall
|
|
||||||
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
|
|
||||||
#TCC = /opt/mingw/bin/i386-mingw32-gcc -O6
|
|
||||||
@@ -72,23 +72,23 @@ TCC = gcc -O6
|
|
||||||
|
|
||||||
#### Tools used to build a static library.
|
|
||||||
#
|
|
||||||
-AR = ar cr
|
|
||||||
+AR = @@AR@@ cr
|
|
||||||
#AR = /opt/mingw/bin/i386-mingw32-ar cr
|
|
||||||
-RANLIB = ranlib
|
|
||||||
+RANLIB = @@RANLIB@@
|
|
||||||
#RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
|
|
||||||
|
|
||||||
#### Extra compiler options needed for programs that use the TCL library.
|
|
||||||
#
|
|
||||||
-#TCL_FLAGS =
|
|
||||||
+#TCL_FLAGS = @@TCL_FLAGS@@
|
|
||||||
#TCL_FLAGS = -DSTATIC_BUILD=1
|
|
||||||
-TCL_FLAGS = -I/home/drh/tcltk/8.4linux
|
|
||||||
+#TCL_FLAGS = -I/home/drh/tcltk/8.4linux
|
|
||||||
#TCL_FLAGS = -I/home/drh/tcltk/8.4win -DSTATIC_BUILD=1
|
|
||||||
#TCL_FLAGS = -I/home/drh/tcltk/8.3hpux
|
|
||||||
|
|
||||||
#### Linker options needed to link against the TCL library.
|
|
||||||
#
|
|
||||||
-#LIBTCL = -ltcl -lm -ldl
|
|
||||||
-LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl
|
|
||||||
+LIBTCL = -ltcl -lm -ldl
|
|
||||||
+#LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl
|
|
||||||
#LIBTCL = /home/drh/tcltk/8.4win/libtcl84s.a -lmsvcrt
|
|
||||||
#LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
|
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ READLINE_FLAGS = -DHAVE_READLINE=1 -I/us
|
|
||||||
#### Linker options needed by programs using readline() must link against.
|
|
||||||
#
|
|
||||||
#LIBREADLINE =
|
|
||||||
-LIBREADLINE = -static -lreadline -ltermcap
|
|
||||||
+LIBREADLINE = -static -lreadline -lncurses
|
|
||||||
|
|
||||||
#### Should the database engine assume text is coded as UTF-8 or iso8859?
|
|
||||||
#
|
|
@ -0,0 +1,443 @@
|
|||||||
|
https://www.sqlite.org/cgi/src/info/374b5108087a2eae
|
||||||
|
|
||||||
|
--- ext/fts3/fts3_tokenizer.c
|
||||||
|
+++ ext/fts3/fts3_tokenizer.c
|
||||||
|
@@ -30,6 +30,18 @@
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
+** Return true if the two-argument version of fts3_tokenizer()
|
||||||
|
+** has been activated via a prior call to sqlite3_db_config(db,
|
||||||
|
+** SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, 0);
|
||||||
|
+*/
|
||||||
|
+static int fts3TokenizerEnabled(sqlite3_context *context){
|
||||||
|
+ sqlite3 *db = sqlite3_context_db_handle(context);
|
||||||
|
+ int isEnabled = 0;
|
||||||
|
+ sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER,-1,&isEnabled);
|
||||||
|
+ return isEnabled;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/*
|
||||||
|
** Implementation of the SQL scalar function for accessing the underlying
|
||||||
|
** hash table. This function may be called as follows:
|
||||||
|
**
|
||||||
|
@@ -49,7 +61,7 @@
|
||||||
|
** is a blob containing the pointer stored as the hash data corresponding
|
||||||
|
** to string <key-name> (after the hash-table is updated, if applicable).
|
||||||
|
*/
|
||||||
|
-static void scalarFunc(
|
||||||
|
+static void fts3TokenizerFunc(
|
||||||
|
sqlite3_context *context,
|
||||||
|
int argc,
|
||||||
|
sqlite3_value **argv
|
||||||
|
@@ -67,27 +79,23 @@
|
||||||
|
nName = sqlite3_value_bytes(argv[0])+1;
|
||||||
|
|
||||||
|
if( argc==2 ){
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
- void *pOld;
|
||||||
|
- int n = sqlite3_value_bytes(argv[1]);
|
||||||
|
- if( zName==0 || n!=sizeof(pPtr) ){
|
||||||
|
- sqlite3_result_error(context, "argument type mismatch", -1);
|
||||||
|
- return;
|
||||||
|
- }
|
||||||
|
- pPtr = *(void **)sqlite3_value_blob(argv[1]);
|
||||||
|
- pOld = sqlite3Fts3HashInsert(pHash, (void *)zName, nName, pPtr);
|
||||||
|
- if( pOld==pPtr ){
|
||||||
|
- sqlite3_result_error(context, "out of memory", -1);
|
||||||
|
+ if( fts3TokenizerEnabled(context) ){
|
||||||
|
+ void *pOld;
|
||||||
|
+ int n = sqlite3_value_bytes(argv[1]);
|
||||||
|
+ if( zName==0 || n!=sizeof(pPtr) ){
|
||||||
|
+ sqlite3_result_error(context, "argument type mismatch", -1);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ pPtr = *(void **)sqlite3_value_blob(argv[1]);
|
||||||
|
+ pOld = sqlite3Fts3HashInsert(pHash, (void *)zName, nName, pPtr);
|
||||||
|
+ if( pOld==pPtr ){
|
||||||
|
+ sqlite3_result_error(context, "out of memory", -1);
|
||||||
|
+ }
|
||||||
|
+ }else{
|
||||||
|
+ sqlite3_result_error(context, "fts3tokenize disabled", -1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
-#else
|
||||||
|
- sqlite3_result_error(context, "fts3tokenize: "
|
||||||
|
- "disabled - rebuild with -DSQLITE_ENABLE_FTS3_TOKENIZER", -1
|
||||||
|
- );
|
||||||
|
- return;
|
||||||
|
-#endif /* SQLITE_ENABLE_FTS3_TOKENIZER */
|
||||||
|
- }else
|
||||||
|
- {
|
||||||
|
+ }else{
|
||||||
|
if( zName ){
|
||||||
|
pPtr = sqlite3Fts3HashFind(pHash, zName, nName);
|
||||||
|
}
|
||||||
|
@@ -98,7 +106,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-
|
||||||
|
sqlite3_result_blob(context, (void *)&pPtr, sizeof(pPtr), SQLITE_TRANSIENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -336,7 +343,6 @@
|
||||||
|
Tcl_DecrRefCount(pRet);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
static
|
||||||
|
int registerTokenizer(
|
||||||
|
sqlite3 *db,
|
||||||
|
@@ -358,7 +364,6 @@
|
||||||
|
|
||||||
|
return sqlite3_finalize(pStmt);
|
||||||
|
}
|
||||||
|
-#endif /* SQLITE_ENABLE_FTS3_TOKENIZER */
|
||||||
|
|
||||||
|
|
||||||
|
static
|
||||||
|
@@ -431,13 +436,13 @@
|
||||||
|
assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") );
|
||||||
|
|
||||||
|
/* Test the storage function */
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
- rc = registerTokenizer(db, "nosuchtokenizer", p1);
|
||||||
|
- assert( rc==SQLITE_OK );
|
||||||
|
- rc = queryTokenizer(db, "nosuchtokenizer", &p2);
|
||||||
|
- assert( rc==SQLITE_OK );
|
||||||
|
- assert( p2==p1 );
|
||||||
|
-#endif
|
||||||
|
+ if( fts3TokenizerEnabled(context) ){
|
||||||
|
+ rc = registerTokenizer(db, "nosuchtokenizer", p1);
|
||||||
|
+ assert( rc==SQLITE_OK );
|
||||||
|
+ rc = queryTokenizer(db, "nosuchtokenizer", &p2);
|
||||||
|
+ assert( rc==SQLITE_OK );
|
||||||
|
+ assert( p2==p1 );
|
||||||
|
+ }
|
||||||
|
|
||||||
|
sqlite3_result_text(context, "ok", -1, SQLITE_STATIC);
|
||||||
|
}
|
||||||
|
@@ -453,7 +458,7 @@
|
||||||
|
** sqlite3Fts3HashInit(pHash, FTS3_HASH_STRING, 1);
|
||||||
|
**
|
||||||
|
** This function adds a scalar function (see header comment above
|
||||||
|
-** scalarFunc() in this file for details) and, if ENABLE_TABLE is
|
||||||
|
+** fts3TokenizerFunc() in this file for details) and, if ENABLE_TABLE is
|
||||||
|
** defined at compilation time, a temporary virtual table (see header
|
||||||
|
** comment above struct HashTableVtab) to the database schema. Both
|
||||||
|
** provide read/write access to the contents of *pHash.
|
||||||
|
@@ -482,10 +487,10 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
- rc = sqlite3_create_function(db, zName, 1, any, p, scalarFunc, 0, 0);
|
||||||
|
+ rc = sqlite3_create_function(db, zName, 1, any, p, fts3TokenizerFunc, 0, 0);
|
||||||
|
}
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
- rc = sqlite3_create_function(db, zName, 2, any, p, scalarFunc, 0, 0);
|
||||||
|
+ rc = sqlite3_create_function(db, zName, 2, any, p, fts3TokenizerFunc, 0, 0);
|
||||||
|
}
|
||||||
|
#ifdef SQLITE_TEST
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
--- src/main.c
|
||||||
|
+++ src/main.c
|
||||||
|
@@ -797,8 +797,9 @@
|
||||||
|
int op; /* The opcode */
|
||||||
|
u32 mask; /* Mask of the bit in sqlite3.flags to set/clear */
|
||||||
|
} aFlagOp[] = {
|
||||||
|
- { SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_ForeignKeys },
|
||||||
|
- { SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_EnableTrigger },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_ForeignKeys },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_EnableTrigger },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, SQLITE_Fts3Tokenizer },
|
||||||
|
};
|
||||||
|
unsigned int i;
|
||||||
|
rc = SQLITE_ERROR; /* IMP: R-42790-23372 */
|
||||||
|
@@ -2815,6 +2816,9 @@
|
||||||
|
#if defined(SQLITE_ENABLE_OVERSIZE_CELL_CHECK)
|
||||||
|
| SQLITE_CellSizeCk
|
||||||
|
#endif
|
||||||
|
+#if defined(SQLITE_ENABLE_FTS3_TOKENIZER)
|
||||||
|
+ | SQLITE_Fts3Tokenizer
|
||||||
|
+#endif
|
||||||
|
;
|
||||||
|
sqlite3HashInit(&db->aCollSeq);
|
||||||
|
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
||||||
|
--- src/sqlite.h.in
|
||||||
|
+++ src/sqlite.h.in
|
||||||
|
@@ -1904,11 +1904,25 @@
|
||||||
|
** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
** which case the trigger setting is not reported back. </dd>
|
||||||
|
**
|
||||||
|
+** <dt>SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</dt>
|
||||||
|
+** <dd> ^This option is used to enable or disable the two-argument
|
||||||
|
+** version of the [fts3_tokenizer()] function which is part of the
|
||||||
|
+** [FTS3] full-text search engine extension.
|
||||||
|
+** There should be two additional arguments.
|
||||||
|
+** The first argument is an integer which is 0 to disable fts3_tokenizer() or
|
||||||
|
+** positive to enable fts3_tokenizer() or negative to leave the setting
|
||||||
|
+** unchanged.
|
||||||
|
+** The second parameter is a pointer to an integer into which
|
||||||
|
+** is written 0 or 1 to indicate whether fts3_tokenizer is disabled or enabled
|
||||||
|
+** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
+** which case the new setting is not reported back. </dd>
|
||||||
|
+**
|
||||||
|
** </dl>
|
||||||
|
*/
|
||||||
|
-#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
--- src/sqliteInt.h
|
||||||
|
+++ src/sqliteInt.h
|
||||||
|
@@ -1317,6 +1317,7 @@
|
||||||
|
#define SQLITE_VdbeEQP 0x04000000 /* Debug EXPLAIN QUERY PLAN */
|
||||||
|
#define SQLITE_Vacuum 0x08000000 /* Currently in a VACUUM */
|
||||||
|
#define SQLITE_CellSizeCk 0x10000000 /* Check btree cell sizes on load */
|
||||||
|
+#define SQLITE_Fts3Tokenizer 0x20000000 /* Enable fts3_tokenizer(2) */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
--- src/test1.c
|
||||||
|
+++ src/test1.c
|
||||||
|
@@ -6921,6 +6921,53 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
+** tclcmd: sqlite3_db_config DB SETTING VALUE
|
||||||
|
+**
|
||||||
|
+** Invoke sqlite3_db_config() for one of the setting values.
|
||||||
|
+*/
|
||||||
|
+static int test_sqlite3_db_config(
|
||||||
|
+ void *clientData,
|
||||||
|
+ Tcl_Interp *interp,
|
||||||
|
+ int objc,
|
||||||
|
+ Tcl_Obj *CONST objv[]
|
||||||
|
+){
|
||||||
|
+ static const struct {
|
||||||
|
+ const char *zName;
|
||||||
|
+ int eVal;
|
||||||
|
+ } aSetting[] = {
|
||||||
|
+ { "FKEY", SQLITE_DBCONFIG_ENABLE_FKEY },
|
||||||
|
+ { "TRIGGER", SQLITE_DBCONFIG_ENABLE_TRIGGER },
|
||||||
|
+ { "FTS3_TOKENIZER", SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER },
|
||||||
|
+ };
|
||||||
|
+ int i;
|
||||||
|
+ int v;
|
||||||
|
+ const char *zSetting;
|
||||||
|
+ sqlite3 *db;
|
||||||
|
+
|
||||||
|
+ if( objc!=4 ){
|
||||||
|
+ Tcl_WrongNumArgs(interp, 1, objv, "DB SETTING VALUE");
|
||||||
|
+ return TCL_ERROR;
|
||||||
|
+ }
|
||||||
|
+ if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR;
|
||||||
|
+ zSetting = Tcl_GetString(objv[2]);
|
||||||
|
+ if( sqlite3_strglob("SQLITE_*", zSetting)==0 ) zSetting += 7;
|
||||||
|
+ if( sqlite3_strglob("DBCONFIG_*", zSetting)==0 ) zSetting += 9;
|
||||||
|
+ if( sqlite3_strglob("ENABLE_*", zSetting)==0 ) zSetting += 7;
|
||||||
|
+ for(i=0; i<ArraySize(aSetting); i++){
|
||||||
|
+ if( strcmp(zSetting, aSetting[i].zName)==0 ) break;
|
||||||
|
+ }
|
||||||
|
+ if( i>=ArraySize(aSetting) ){
|
||||||
|
+ Tcl_SetObjResult(interp,
|
||||||
|
+ Tcl_NewStringObj("unknown sqlite3_db_config setting", -1));
|
||||||
|
+ return TCL_ERROR;
|
||||||
|
+ }
|
||||||
|
+ if( Tcl_GetIntFromObj(interp, objv[3], &v) ) return TCL_ERROR;
|
||||||
|
+ sqlite3_db_config(db, aSetting[i].eVal, v, &v);
|
||||||
|
+ Tcl_SetObjResult(interp, Tcl_NewIntObj(v));
|
||||||
|
+ return TCL_OK;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/*
|
||||||
|
** Register commands with the TCL interpreter.
|
||||||
|
*/
|
||||||
|
int Sqlitetest1_Init(Tcl_Interp *interp){
|
||||||
|
@@ -6989,6 +7036,7 @@
|
||||||
|
Tcl_ObjCmdProc *xProc;
|
||||||
|
void *clientData;
|
||||||
|
} aObjCmd[] = {
|
||||||
|
+ { "sqlite3_db_config", test_sqlite3_db_config, 0 },
|
||||||
|
{ "bad_behavior", test_bad_behavior, (void*)&iZero },
|
||||||
|
{ "register_dbstat_vtab", test_register_dbstat_vtab },
|
||||||
|
{ "sqlite3_connection_pointer", get_sqlite_pointer, 0 },
|
||||||
|
--- src/test_config.c
|
||||||
|
+++ src/test_config.c
|
||||||
|
@@ -370,12 +370,6 @@
|
||||||
|
Tcl_SetVar2(interp, "sqlite_options", "fts3", "0", TCL_GLOBAL_ONLY);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
- Tcl_SetVar2(interp, "sqlite_options", "fts3_tokenizer", "1", TCL_GLOBAL_ONLY);
|
||||||
|
-#else
|
||||||
|
- Tcl_SetVar2(interp, "sqlite_options", "fts3_tokenizer", "0", TCL_GLOBAL_ONLY);
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#ifdef SQLITE_ENABLE_FTS5
|
||||||
|
Tcl_SetVar2(interp, "sqlite_options", "fts5", "1", TCL_GLOBAL_ONLY);
|
||||||
|
#else
|
||||||
|
--- test/fts3atoken.test
|
||||||
|
+++ test/fts3atoken.test
|
||||||
|
@@ -56,40 +56,41 @@
|
||||||
|
#
|
||||||
|
# 5: Test that the table created to use tokenizer 'blah' is usable.
|
||||||
|
#
|
||||||
|
-ifcapable fts3_tokenizer {
|
||||||
|
- do_test fts3atoken-1.1 {
|
||||||
|
- catchsql {
|
||||||
|
- CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize blah);
|
||||||
|
- }
|
||||||
|
- } {1 {unknown tokenizer: blah}}
|
||||||
|
- do_test fts3atoken-1.2 {
|
||||||
|
- execsql {
|
||||||
|
- SELECT fts3_tokenizer('blah', fts3_tokenizer('simple')) IS NULL;
|
||||||
|
- }
|
||||||
|
- } {0}
|
||||||
|
- do_test fts3atoken-1.3 {
|
||||||
|
- execsql {
|
||||||
|
- SELECT fts3_tokenizer('blah') == fts3_tokenizer('simple');
|
||||||
|
- }
|
||||||
|
- } {1}
|
||||||
|
- do_test fts3atoken-1.4 {
|
||||||
|
- catchsql {
|
||||||
|
- CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize blah);
|
||||||
|
- }
|
||||||
|
- } {0 {}}
|
||||||
|
- do_test fts3atoken-1.5 {
|
||||||
|
- execsql {
|
||||||
|
- INSERT INTO t1(content) VALUES('There was movement at the station');
|
||||||
|
- INSERT INTO t1(content) VALUES('For the word has passed around');
|
||||||
|
- INSERT INTO t1(content) VALUES('That the colt from ol regret had got');
|
||||||
|
- SELECT content FROM t1 WHERE content MATCH 'movement'
|
||||||
|
- }
|
||||||
|
- } {{There was movement at the station}}
|
||||||
|
-} else {
|
||||||
|
- do_catchsql_test 1.6 {
|
||||||
|
+sqlite3_db_config db SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1
|
||||||
|
+do_test fts3atoken-1.1 {
|
||||||
|
+ catchsql {
|
||||||
|
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize blah);
|
||||||
|
+ }
|
||||||
|
+} {1 {unknown tokenizer: blah}}
|
||||||
|
+do_test fts3atoken-1.2 {
|
||||||
|
+ execsql {
|
||||||
|
SELECT fts3_tokenizer('blah', fts3_tokenizer('simple')) IS NULL;
|
||||||
|
- } {1 {fts3tokenize: disabled - rebuild with -DSQLITE_ENABLE_FTS3_TOKENIZER}}
|
||||||
|
-}
|
||||||
|
+ }
|
||||||
|
+} {0}
|
||||||
|
+do_test fts3atoken-1.3 {
|
||||||
|
+ execsql {
|
||||||
|
+ SELECT fts3_tokenizer('blah') == fts3_tokenizer('simple');
|
||||||
|
+ }
|
||||||
|
+} {1}
|
||||||
|
+do_test fts3atoken-1.4 {
|
||||||
|
+ catchsql {
|
||||||
|
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize blah);
|
||||||
|
+ }
|
||||||
|
+} {0 {}}
|
||||||
|
+do_test fts3atoken-1.5 {
|
||||||
|
+ execsql {
|
||||||
|
+ INSERT INTO t1(content) VALUES('There was movement at the station');
|
||||||
|
+ INSERT INTO t1(content) VALUES('For the word has passed around');
|
||||||
|
+ INSERT INTO t1(content) VALUES('That the colt from ol regret had got');
|
||||||
|
+ SELECT content FROM t1 WHERE content MATCH 'movement'
|
||||||
|
+ }
|
||||||
|
+} {{There was movement at the station}}
|
||||||
|
+
|
||||||
|
+sqlite3_db_config db SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 0
|
||||||
|
+do_catchsql_test 1.6 {
|
||||||
|
+ SELECT fts3_tokenizer('blah', fts3_tokenizer('simple')) IS NULL;
|
||||||
|
+} {1 {fts3tokenize disabled}}
|
||||||
|
+
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
# Test cases fts3atoken-2.* test error cases in the scalar function based
|
||||||
|
@@ -212,14 +213,14 @@
|
||||||
|
do_catchsql_test 6.2.1 {
|
||||||
|
SELECT fts3_tokenizer(NULL);
|
||||||
|
} {1 {unknown tokenizer: }}
|
||||||
|
-ifcapable fts3_tokenizer {
|
||||||
|
- do_catchsql_test 6.2.2 {
|
||||||
|
- SELECT fts3_tokenizer(NULL, X'1234567812345678');
|
||||||
|
- } {1 {argument type mismatch}}
|
||||||
|
- do_catchsql_test 6.2.3 {
|
||||||
|
- SELECT fts3_tokenizer(NULL, X'12345678');
|
||||||
|
- } {1 {argument type mismatch}}
|
||||||
|
-}
|
||||||
|
+
|
||||||
|
+sqlite3_db_config db SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1
|
||||||
|
+do_catchsql_test 6.2.2 {
|
||||||
|
+ SELECT fts3_tokenizer(NULL, X'1234567812345678');
|
||||||
|
+} {1 {argument type mismatch}}
|
||||||
|
+do_catchsql_test 6.2.3 {
|
||||||
|
+ SELECT fts3_tokenizer(NULL, X'12345678');
|
||||||
|
+} {1 {argument type mismatch}}
|
||||||
|
|
||||||
|
|
||||||
|
finish_test
|
||||||
|
--- test/fts4langid.test
|
||||||
|
+++ test/fts4langid.test
|
||||||
|
@@ -358,31 +358,30 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-ifcapable fts3_tokenizer {
|
||||||
|
- do_test 4.1.0 {
|
||||||
|
- reset_db
|
||||||
|
- set ptr [fts3_test_tokenizer]
|
||||||
|
- execsql { SELECT fts3_tokenizer('testtokenizer', $ptr) }
|
||||||
|
- build_multilingual_db_2 db
|
||||||
|
- } {}
|
||||||
|
- do_execsql_test 4.1.1 {
|
||||||
|
- SELECT docid FROM t4 WHERE t4 MATCH 'quick';
|
||||||
|
- } {0}
|
||||||
|
- do_execsql_test 4.1.2 {
|
||||||
|
- SELECT docid FROM t4 WHERE t4 MATCH 'quick' AND lid=1;
|
||||||
|
- } {}
|
||||||
|
- do_execsql_test 4.1.3 {
|
||||||
|
- SELECT docid FROM t4 WHERE t4 MATCH 'Quick' AND lid=1;
|
||||||
|
- } {1}
|
||||||
|
- for {set i 0} {$i < 50} {incr i} {
|
||||||
|
- do_execsql_test 4.1.4.$i {
|
||||||
|
- SELECT count(*) FROM t4 WHERE t4 MATCH 'fox' AND lid=$i;
|
||||||
|
- } [expr 0==($i%2)]
|
||||||
|
- }
|
||||||
|
- do_catchsql_test 4.1.5 {
|
||||||
|
- INSERT INTO t4(content, lid) VALUES('hello world', 101)
|
||||||
|
- } {1 {SQL logic error or missing database}}
|
||||||
|
+do_test 4.1.0 {
|
||||||
|
+ reset_db
|
||||||
|
+ set ptr [fts3_test_tokenizer]
|
||||||
|
+ sqlite3_db_config db SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1
|
||||||
|
+ execsql { SELECT fts3_tokenizer('testtokenizer', $ptr) }
|
||||||
|
+ build_multilingual_db_2 db
|
||||||
|
+} {}
|
||||||
|
+do_execsql_test 4.1.1 {
|
||||||
|
+ SELECT docid FROM t4 WHERE t4 MATCH 'quick';
|
||||||
|
+} {0}
|
||||||
|
+do_execsql_test 4.1.2 {
|
||||||
|
+ SELECT docid FROM t4 WHERE t4 MATCH 'quick' AND lid=1;
|
||||||
|
+} {}
|
||||||
|
+do_execsql_test 4.1.3 {
|
||||||
|
+ SELECT docid FROM t4 WHERE t4 MATCH 'Quick' AND lid=1;
|
||||||
|
+} {1}
|
||||||
|
+for {set i 0} {$i < 50} {incr i} {
|
||||||
|
+ do_execsql_test 4.1.4.$i {
|
||||||
|
+ SELECT count(*) FROM t4 WHERE t4 MATCH 'fox' AND lid=$i;
|
||||||
|
+ } [expr 0==($i%2)]
|
||||||
|
}
|
||||||
|
+do_catchsql_test 4.1.5 {
|
||||||
|
+ INSERT INTO t4(content, lid) VALUES('hello world', 101)
|
||||||
|
+} {1 {SQL logic error or missing database}}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
# Test cases 5.*
|
@ -0,0 +1,132 @@
|
|||||||
|
Link executables against libsqlite3.so.
|
||||||
|
Increase timeout for fuzzcheck.
|
||||||
|
Fix building with dlopen() not available.
|
||||||
|
|
||||||
|
--- Makefile.in
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -550,7 +550,7 @@
|
||||||
|
# Extra compiler options for various shell tools
|
||||||
|
#
|
||||||
|
SHELL_OPT = -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4
|
||||||
|
-SHELL_OPT += -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
+SHELL_OPT += -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
FUZZERSHELL_OPT = -DSQLITE_ENABLE_JSON1
|
||||||
|
FUZZCHECK_OPT = -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMSYS5
|
||||||
|
|
||||||
|
@@ -571,18 +571,18 @@
|
||||||
|
|
||||||
|
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
|
||||||
|
$(LTLINK) -no-undefined -o $@ tclsqlite.lo \
|
||||||
|
- libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
|
||||||
|
+ libsqlite3.la @TCL_STUB_LIB_SPEC@ \
|
||||||
|
-rpath "$(TCLLIBDIR)" \
|
||||||
|
-version-info "8:6:8" \
|
||||||
|
-avoid-version
|
||||||
|
|
||||||
|
-sqlite3$(TEXE): $(TOP)/src/shell.c sqlite3.c
|
||||||
|
- $(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
|
||||||
|
- $(TOP)/src/shell.c sqlite3.c \
|
||||||
|
- $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
|
||||||
|
+sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la
|
||||||
|
+ $(LTLINK) $(READLINE_FLAGS) -o $@ \
|
||||||
|
+ $(TOP)/src/shell.c libsqlite3.la \
|
||||||
|
+ $(LIBREADLINE)
|
||||||
|
|
||||||
|
-sqldiff$(TEXE): $(TOP)/tool/sqldiff.c sqlite3.c sqlite3.h
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.c $(TLIBS)
|
||||||
|
+sqldiff$(TEXE): $(TOP)/tool/sqldiff.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c libsqlite3.la
|
||||||
|
|
||||||
|
srcck1$(BEXE): $(TOP)/tool/srcck1.c
|
||||||
|
$(BCC) -o srcck1$(BEXE) $(TOP)/tool/srcck1.c
|
||||||
|
@@ -650,7 +650,7 @@
|
||||||
|
# Rule to build the amalgamation
|
||||||
|
#
|
||||||
|
sqlite3.lo: sqlite3.c
|
||||||
|
- $(LTCOMPILE) $(TEMP_STORE) -c sqlite3.c
|
||||||
|
+ $(LTCOMPILE) $(SHELL_OPT) $(TEMP_STORE) -c sqlite3.c
|
||||||
|
|
||||||
|
# Rules to build the LEMON compiler generator
|
||||||
|
#
|
||||||
|
@@ -1074,13 +1074,13 @@
|
||||||
|
|
||||||
|
# Fuzz testing
|
||||||
|
fuzztest: fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
- ./fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
+ ./fuzzcheck$(TEXE) --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
fastfuzztest: fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
- ./fuzzcheck$(TEXE) --limit-mem 100M $(FUZZDATA)
|
||||||
|
+ ./fuzzcheck$(TEXE) --limit-mem 100M --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
valgrindfuzz: fuzzcheck$(TEXT) $(FUZZDATA)
|
||||||
|
- valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 600 $(FUZZDATA)
|
||||||
|
+ valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
# Minimal testing that runs in less than 3 minutes
|
||||||
|
#
|
||||||
|
@@ -1106,29 +1106,29 @@
|
||||||
|
smoketest: $(TESTPROGS) fuzzcheck$(TEXE)
|
||||||
|
./testfixture$(TEXE) $(TOP)/test/main.test $(TESTOPTS)
|
||||||
|
|
||||||
|
-sqlite3_analyzer.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl
|
||||||
|
+sqlite3_analyzer.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl
|
||||||
|
echo "#define TCLSH 2" > $@
|
||||||
|
echo "#define SQLITE_ENABLE_DBSTAT_VTAB 1" >> $@
|
||||||
|
- cat sqlite3.c $(TOP)/src/tclsqlite.c >> $@
|
||||||
|
+ cat $(TOP)/src/tclsqlite.c >> $@
|
||||||
|
echo "static const char *tclsh_main_loop(void){" >> $@
|
||||||
|
echo "static const char *zMainloop = " >> $@
|
||||||
|
$(TCLSH_CMD) $(TOP)/tool/tostr.tcl $(TOP)/tool/spaceanal.tcl >> $@
|
||||||
|
echo "; return zMainloop; }" >> $@
|
||||||
|
|
||||||
|
-sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
|
||||||
|
- $(LTLINK) sqlite3_analyzer.c -o $@ $(LIBTCL) $(TLIBS)
|
||||||
|
+sqlite3_analyzer$(TEXE): sqlite3_analyzer.c libsqlite3.la
|
||||||
|
+ $(LTLINK) sqlite3_analyzer.c -o $@ libsqlite3.la $(LIBTCL)
|
||||||
|
|
||||||
|
-showdb$(TEXE): $(TOP)/tool/showdb.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showdb.c sqlite3.lo $(TLIBS)
|
||||||
|
+showdb$(TEXE): $(TOP)/tool/showdb.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showdb.c libsqlite3.la
|
||||||
|
|
||||||
|
-showstat4$(TEXE): $(TOP)/tool/showstat4.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showstat4.c sqlite3.lo $(TLIBS)
|
||||||
|
+showstat4$(TEXE): $(TOP)/tool/showstat4.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showstat4.c libsqlite3.la
|
||||||
|
|
||||||
|
-showjournal$(TEXE): $(TOP)/tool/showjournal.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showjournal.c sqlite3.lo $(TLIBS)
|
||||||
|
+showjournal$(TEXE): $(TOP)/tool/showjournal.c
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showjournal.c
|
||||||
|
|
||||||
|
-showwal$(TEXE): $(TOP)/tool/showwal.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showwal.c sqlite3.lo $(TLIBS)
|
||||||
|
+showwal$(TEXE): $(TOP)/tool/showwal.c
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showwal.c
|
||||||
|
|
||||||
|
rollback-test$(TEXE): $(TOP)/tool/rollback-test.c sqlite3.lo
|
||||||
|
$(LTLINK) -o $@ $(TOP)/tool/rollback-test.c sqlite3.lo $(TLIBS)
|
||||||
|
@@ -1142,8 +1142,8 @@
|
||||||
|
speedtest1$(TEXE): $(TOP)/test/speedtest1.c sqlite3.lo
|
||||||
|
$(LTLINK) -o $@ $(TOP)/test/speedtest1.c sqlite3.lo $(TLIBS)
|
||||||
|
|
||||||
|
-rbu$(EXE): $(TOP)/ext/rbu/rbu.c $(TOP)/ext/rbu/sqlite3rbu.c sqlite3.lo
|
||||||
|
- $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c sqlite3.lo $(TLIBS)
|
||||||
|
+rbu$(EXE): $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
||||||
|
|
||||||
|
loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
|
||||||
|
$(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@ $(TLIBS)
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -570,6 +570,9 @@
|
||||||
|
if test "${use_loadextension}" = "yes" ; then
|
||||||
|
OPT_FEATURE_FLAGS=""
|
||||||
|
AC_SEARCH_LIBS(dlopen, dl)
|
||||||
|
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
||||||
|
+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
||||||
|
+ fi
|
||||||
|
else
|
||||||
|
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
||||||
|
fi
|
@ -0,0 +1,232 @@
|
|||||||
|
https://www.sqlite.org/cgi/src/info/374b5108087a2eae
|
||||||
|
|
||||||
|
--- sqlite3.c
|
||||||
|
+++ sqlite3.c
|
||||||
|
@@ -2121,11 +2121,25 @@
|
||||||
|
** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
** which case the trigger setting is not reported back. </dd>
|
||||||
|
**
|
||||||
|
+** <dt>SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</dt>
|
||||||
|
+** <dd> ^This option is used to enable or disable the two-argument
|
||||||
|
+** version of the [fts3_tokenizer()] function which is part of the
|
||||||
|
+** [FTS3] full-text search engine extension.
|
||||||
|
+** There should be two additional arguments.
|
||||||
|
+** The first argument is an integer which is 0 to disable fts3_tokenizer() or
|
||||||
|
+** positive to enable fts3_tokenizer() or negative to leave the setting
|
||||||
|
+** unchanged.
|
||||||
|
+** The second parameter is a pointer to an integer into which
|
||||||
|
+** is written 0 or 1 to indicate whether fts3_tokenizer is disabled or enabled
|
||||||
|
+** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
+** which case the new setting is not reported back. </dd>
|
||||||
|
+**
|
||||||
|
** </dl>
|
||||||
|
*/
|
||||||
|
-#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ -12206,6 +12220,7 @@
|
||||||
|
#define SQLITE_VdbeEQP 0x04000000 /* Debug EXPLAIN QUERY PLAN */
|
||||||
|
#define SQLITE_Vacuum 0x08000000 /* Currently in a VACUUM */
|
||||||
|
#define SQLITE_CellSizeCk 0x10000000 /* Check btree cell sizes on load */
|
||||||
|
+#define SQLITE_Fts3Tokenizer 0x20000000 /* Enable fts3_tokenizer(2) */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ -133589,8 +133604,9 @@
|
||||||
|
int op; /* The opcode */
|
||||||
|
u32 mask; /* Mask of the bit in sqlite3.flags to set/clear */
|
||||||
|
} aFlagOp[] = {
|
||||||
|
- { SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_ForeignKeys },
|
||||||
|
- { SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_EnableTrigger },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_ForeignKeys },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_EnableTrigger },
|
||||||
|
+ { SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, SQLITE_Fts3Tokenizer },
|
||||||
|
};
|
||||||
|
unsigned int i;
|
||||||
|
rc = SQLITE_ERROR; /* IMP: R-42790-23372 */
|
||||||
|
@@ -135607,6 +135623,9 @@
|
||||||
|
#if defined(SQLITE_ENABLE_OVERSIZE_CELL_CHECK)
|
||||||
|
| SQLITE_CellSizeCk
|
||||||
|
#endif
|
||||||
|
+#if defined(SQLITE_ENABLE_FTS3_TOKENIZER)
|
||||||
|
+ | SQLITE_Fts3Tokenizer
|
||||||
|
+#endif
|
||||||
|
;
|
||||||
|
sqlite3HashInit(&db->aCollSeq);
|
||||||
|
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
||||||
|
@@ -146857,6 +146876,18 @@
|
||||||
|
/* #include <string.h> */
|
||||||
|
|
||||||
|
/*
|
||||||
|
+** Return true if the two-argument version of fts3_tokenizer()
|
||||||
|
+** has been activated via a prior call to sqlite3_db_config(db,
|
||||||
|
+** SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, 0);
|
||||||
|
+*/
|
||||||
|
+static int fts3TokenizerEnabled(sqlite3_context *context){
|
||||||
|
+ sqlite3 *db = sqlite3_context_db_handle(context);
|
||||||
|
+ int isEnabled = 0;
|
||||||
|
+ sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER,-1,&isEnabled);
|
||||||
|
+ return isEnabled;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/*
|
||||||
|
** Implementation of the SQL scalar function for accessing the underlying
|
||||||
|
** hash table. This function may be called as follows:
|
||||||
|
**
|
||||||
|
@@ -146876,7 +146907,7 @@
|
||||||
|
** is a blob containing the pointer stored as the hash data corresponding
|
||||||
|
** to string <key-name> (after the hash-table is updated, if applicable).
|
||||||
|
*/
|
||||||
|
-static void scalarFunc(
|
||||||
|
+static void fts3TokenizerFunc(
|
||||||
|
sqlite3_context *context,
|
||||||
|
int argc,
|
||||||
|
sqlite3_value **argv
|
||||||
|
@@ -146894,27 +146925,23 @@
|
||||||
|
nName = sqlite3_value_bytes(argv[0])+1;
|
||||||
|
|
||||||
|
if( argc==2 ){
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
- void *pOld;
|
||||||
|
- int n = sqlite3_value_bytes(argv[1]);
|
||||||
|
- if( zName==0 || n!=sizeof(pPtr) ){
|
||||||
|
- sqlite3_result_error(context, "argument type mismatch", -1);
|
||||||
|
- return;
|
||||||
|
- }
|
||||||
|
- pPtr = *(void **)sqlite3_value_blob(argv[1]);
|
||||||
|
- pOld = sqlite3Fts3HashInsert(pHash, (void *)zName, nName, pPtr);
|
||||||
|
- if( pOld==pPtr ){
|
||||||
|
- sqlite3_result_error(context, "out of memory", -1);
|
||||||
|
+ if( fts3TokenizerEnabled(context) ){
|
||||||
|
+ void *pOld;
|
||||||
|
+ int n = sqlite3_value_bytes(argv[1]);
|
||||||
|
+ if( zName==0 || n!=sizeof(pPtr) ){
|
||||||
|
+ sqlite3_result_error(context, "argument type mismatch", -1);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ pPtr = *(void **)sqlite3_value_blob(argv[1]);
|
||||||
|
+ pOld = sqlite3Fts3HashInsert(pHash, (void *)zName, nName, pPtr);
|
||||||
|
+ if( pOld==pPtr ){
|
||||||
|
+ sqlite3_result_error(context, "out of memory", -1);
|
||||||
|
+ }
|
||||||
|
+ }else{
|
||||||
|
+ sqlite3_result_error(context, "fts3tokenize disabled", -1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
-#else
|
||||||
|
- sqlite3_result_error(context, "fts3tokenize: "
|
||||||
|
- "disabled - rebuild with -DSQLITE_ENABLE_FTS3_TOKENIZER", -1
|
||||||
|
- );
|
||||||
|
- return;
|
||||||
|
-#endif /* SQLITE_ENABLE_FTS3_TOKENIZER */
|
||||||
|
- }else
|
||||||
|
- {
|
||||||
|
+ }else{
|
||||||
|
if( zName ){
|
||||||
|
pPtr = sqlite3Fts3HashFind(pHash, zName, nName);
|
||||||
|
}
|
||||||
|
@@ -146925,7 +146952,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-
|
||||||
|
sqlite3_result_blob(context, (void *)&pPtr, sizeof(pPtr), SQLITE_TRANSIENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -147163,7 +147189,6 @@
|
||||||
|
Tcl_DecrRefCount(pRet);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
static
|
||||||
|
int registerTokenizer(
|
||||||
|
sqlite3 *db,
|
||||||
|
@@ -147185,7 +147210,6 @@
|
||||||
|
|
||||||
|
return sqlite3_finalize(pStmt);
|
||||||
|
}
|
||||||
|
-#endif /* SQLITE_ENABLE_FTS3_TOKENIZER */
|
||||||
|
|
||||||
|
|
||||||
|
static
|
||||||
|
@@ -147258,13 +147282,13 @@
|
||||||
|
assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") );
|
||||||
|
|
||||||
|
/* Test the storage function */
|
||||||
|
-#ifdef SQLITE_ENABLE_FTS3_TOKENIZER
|
||||||
|
- rc = registerTokenizer(db, "nosuchtokenizer", p1);
|
||||||
|
- assert( rc==SQLITE_OK );
|
||||||
|
- rc = queryTokenizer(db, "nosuchtokenizer", &p2);
|
||||||
|
- assert( rc==SQLITE_OK );
|
||||||
|
- assert( p2==p1 );
|
||||||
|
-#endif
|
||||||
|
+ if( fts3TokenizerEnabled(context) ){
|
||||||
|
+ rc = registerTokenizer(db, "nosuchtokenizer", p1);
|
||||||
|
+ assert( rc==SQLITE_OK );
|
||||||
|
+ rc = queryTokenizer(db, "nosuchtokenizer", &p2);
|
||||||
|
+ assert( rc==SQLITE_OK );
|
||||||
|
+ assert( p2==p1 );
|
||||||
|
+ }
|
||||||
|
|
||||||
|
sqlite3_result_text(context, "ok", -1, SQLITE_STATIC);
|
||||||
|
}
|
||||||
|
@@ -147280,7 +147304,7 @@
|
||||||
|
** sqlite3Fts3HashInit(pHash, FTS3_HASH_STRING, 1);
|
||||||
|
**
|
||||||
|
** This function adds a scalar function (see header comment above
|
||||||
|
-** scalarFunc() in this file for details) and, if ENABLE_TABLE is
|
||||||
|
+** fts3TokenizerFunc() in this file for details) and, if ENABLE_TABLE is
|
||||||
|
** defined at compilation time, a temporary virtual table (see header
|
||||||
|
** comment above struct HashTableVtab) to the database schema. Both
|
||||||
|
** provide read/write access to the contents of *pHash.
|
||||||
|
@@ -147309,10 +147333,10 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
- rc = sqlite3_create_function(db, zName, 1, any, p, scalarFunc, 0, 0);
|
||||||
|
+ rc = sqlite3_create_function(db, zName, 1, any, p, fts3TokenizerFunc, 0, 0);
|
||||||
|
}
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
- rc = sqlite3_create_function(db, zName, 2, any, p, scalarFunc, 0, 0);
|
||||||
|
+ rc = sqlite3_create_function(db, zName, 2, any, p, fts3TokenizerFunc, 0, 0);
|
||||||
|
}
|
||||||
|
#ifdef SQLITE_TEST
|
||||||
|
if( SQLITE_OK==rc ){
|
||||||
|
--- sqlite3.h
|
||||||
|
+++ sqlite3.h
|
||||||
|
@@ -1904,11 +1904,25 @@
|
||||||
|
** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
** which case the trigger setting is not reported back. </dd>
|
||||||
|
**
|
||||||
|
+** <dt>SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</dt>
|
||||||
|
+** <dd> ^This option is used to enable or disable the two-argument
|
||||||
|
+** version of the [fts3_tokenizer()] function which is part of the
|
||||||
|
+** [FTS3] full-text search engine extension.
|
||||||
|
+** There should be two additional arguments.
|
||||||
|
+** The first argument is an integer which is 0 to disable fts3_tokenizer() or
|
||||||
|
+** positive to enable fts3_tokenizer() or negative to leave the setting
|
||||||
|
+** unchanged.
|
||||||
|
+** The second parameter is a pointer to an integer into which
|
||||||
|
+** is written 0 or 1 to indicate whether fts3_tokenizer is disabled or enabled
|
||||||
|
+** following this call. The second parameter may be a NULL pointer, in
|
||||||
|
+** which case the new setting is not reported back. </dd>
|
||||||
|
+**
|
||||||
|
** </dl>
|
||||||
|
*/
|
||||||
|
-#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
-#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */
|
||||||
|
+#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
@ -0,0 +1,38 @@
|
|||||||
|
Link executables against libsqlite3.so.
|
||||||
|
Fix building with dlopen() not available.
|
||||||
|
|
||||||
|
--- Makefile.am
|
||||||
|
+++ Makefile.am
|
||||||
|
@@ -1,15 +1,16 @@
|
||||||
|
|
||||||
|
-AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ @FTS5_FLAGS@ @JSON1_FLAGS@ -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
|
||||||
|
+AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ @FTS5_FLAGS@ @JSON1_FLAGS@ -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libsqlite3.la
|
||||||
|
libsqlite3_la_SOURCES = sqlite3.c
|
||||||
|
libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8
|
||||||
|
|
||||||
|
bin_PROGRAMS = sqlite3
|
||||||
|
-sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h
|
||||||
|
-sqlite3_LDADD = @READLINE_LIBS@
|
||||||
|
+sqlite3_SOURCES = shell.c sqlite3.h
|
||||||
|
+EXTRA_sqlite3_SOURCES = sqlite3.c
|
||||||
|
+sqlite3_LDADD = @EXTRA_SHELL_OBJ@ @READLINE_LIBS@
|
||||||
|
sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@
|
||||||
|
-sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
+sqlite3_CFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
include_HEADERS = sqlite3.h sqlite3ext.h
|
||||||
|
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -89,6 +89,9 @@
|
||||||
|
[], [enable_dynamic_extensions=yes])
|
||||||
|
if test x"$enable_dynamic_extensions" != "xno"; then
|
||||||
|
AC_SEARCH_LIBS(dlopen, dl)
|
||||||
|
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
||||||
|
+ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
||||||
|
+ fi
|
||||||
|
else
|
||||||
|
DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
||||||
|
fi
|
@ -1,11 +1,13 @@
|
|||||||
|
Fix building with dlopen() not available.
|
||||||
|
|
||||||
--- configure.ac
|
--- configure.ac
|
||||||
+++ configure.ac
|
+++ configure.ac
|
||||||
@@ -70,6 +70,9 @@
|
@@ -89,6 +89,9 @@
|
||||||
[], [enable_dynamic_extensions=yes])
|
[], [enable_dynamic_extensions=yes])
|
||||||
if test x"$enable_dynamic_extensions" != "xno"; then
|
if test x"$enable_dynamic_extensions" != "xno"; then
|
||||||
AC_SEARCH_LIBS(dlopen, dl)
|
AC_SEARCH_LIBS(dlopen, dl)
|
||||||
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
||||||
+ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
+ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
||||||
+ fi
|
+ fi
|
||||||
else
|
else
|
||||||
DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
|
@ -0,0 +1,137 @@
|
|||||||
|
Link executables against libsqlite3.so.
|
||||||
|
Increase timeout for fuzzcheck.
|
||||||
|
Fix building with dlopen() not available.
|
||||||
|
|
||||||
|
--- Makefile.in
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -555,7 +555,7 @@
|
||||||
|
# Extra compiler options for various shell tools
|
||||||
|
#
|
||||||
|
SHELL_OPT = -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4
|
||||||
|
-SHELL_OPT += -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
+SHELL_OPT += -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
FUZZERSHELL_OPT = -DSQLITE_ENABLE_JSON1
|
||||||
|
FUZZCHECK_OPT = -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMSYS5
|
||||||
|
|
||||||
|
@@ -576,18 +576,18 @@
|
||||||
|
|
||||||
|
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
|
||||||
|
$(LTLINK) -no-undefined -o $@ tclsqlite.lo \
|
||||||
|
- libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
|
||||||
|
+ libsqlite3.la @TCL_STUB_LIB_SPEC@ \
|
||||||
|
-rpath "$(TCLLIBDIR)" \
|
||||||
|
-version-info "8:6:8" \
|
||||||
|
-avoid-version
|
||||||
|
|
||||||
|
-sqlite3$(TEXE): $(TOP)/src/shell.c sqlite3.c
|
||||||
|
- $(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
|
||||||
|
- $(TOP)/src/shell.c sqlite3.c \
|
||||||
|
- $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
|
||||||
|
+sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la
|
||||||
|
+ $(LTLINK) $(READLINE_FLAGS) -o $@ \
|
||||||
|
+ $(TOP)/src/shell.c libsqlite3.la \
|
||||||
|
+ $(LIBREADLINE)
|
||||||
|
|
||||||
|
-sqldiff$(TEXE): $(TOP)/tool/sqldiff.c sqlite3.c sqlite3.h
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.c $(TLIBS)
|
||||||
|
+sqldiff$(TEXE): $(TOP)/tool/sqldiff.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c libsqlite3.la
|
||||||
|
|
||||||
|
srcck1$(BEXE): $(TOP)/tool/srcck1.c
|
||||||
|
$(BCC) -o srcck1$(BEXE) $(TOP)/tool/srcck1.c
|
||||||
|
@@ -656,7 +656,7 @@
|
||||||
|
# Rule to build the amalgamation
|
||||||
|
#
|
||||||
|
sqlite3.lo: sqlite3.c
|
||||||
|
- $(LTCOMPILE) $(TEMP_STORE) -c sqlite3.c
|
||||||
|
+ $(LTCOMPILE) $(SHELL_OPT) $(TEMP_STORE) -c sqlite3.c
|
||||||
|
|
||||||
|
# Rules to build the LEMON compiler generator
|
||||||
|
#
|
||||||
|
@@ -1082,13 +1082,13 @@
|
||||||
|
|
||||||
|
# Fuzz testing
|
||||||
|
fuzztest: fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
- ./fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
+ ./fuzzcheck$(TEXE) --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
fastfuzztest: fuzzcheck$(TEXE) $(FUZZDATA)
|
||||||
|
- ./fuzzcheck$(TEXE) --limit-mem 100M $(FUZZDATA)
|
||||||
|
+ ./fuzzcheck$(TEXE) --limit-mem 100M --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
valgrindfuzz: fuzzcheck$(TEXT) $(FUZZDATA)
|
||||||
|
- valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 600 $(FUZZDATA)
|
||||||
|
+ valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 3600 $(FUZZDATA)
|
||||||
|
|
||||||
|
# Minimal testing that runs in less than 3 minutes
|
||||||
|
#
|
||||||
|
@@ -1114,32 +1114,32 @@
|
||||||
|
smoketest: $(TESTPROGS) fuzzcheck$(TEXE)
|
||||||
|
./testfixture$(TEXE) $(TOP)/test/main.test $(TESTOPTS)
|
||||||
|
|
||||||
|
-sqlite3_analyzer.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl
|
||||||
|
+sqlite3_analyzer.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl
|
||||||
|
echo "#define TCLSH 2" > $@
|
||||||
|
echo "#define SQLITE_ENABLE_DBSTAT_VTAB 1" >> $@
|
||||||
|
- cat sqlite3.c $(TOP)/src/tclsqlite.c >> $@
|
||||||
|
+ cat $(TOP)/src/tclsqlite.c >> $@
|
||||||
|
echo "static const char *tclsh_main_loop(void){" >> $@
|
||||||
|
echo "static const char *zMainloop = " >> $@
|
||||||
|
$(TCLSH_CMD) $(TOP)/tool/tostr.tcl $(TOP)/tool/spaceanal.tcl >> $@
|
||||||
|
echo "; return zMainloop; }" >> $@
|
||||||
|
|
||||||
|
-sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
|
||||||
|
- $(LTLINK) sqlite3_analyzer.c -o $@ $(LIBTCL) $(TLIBS)
|
||||||
|
+sqlite3_analyzer$(TEXE): sqlite3_analyzer.c libsqlite3.la
|
||||||
|
+ $(LTLINK) sqlite3_analyzer.c -o $@ libsqlite3.la $(LIBTCL)
|
||||||
|
|
||||||
|
-showdb$(TEXE): $(TOP)/tool/showdb.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showdb.c sqlite3.lo $(TLIBS)
|
||||||
|
+showdb$(TEXE): $(TOP)/tool/showdb.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showdb.c libsqlite3.la
|
||||||
|
|
||||||
|
-showstat4$(TEXE): $(TOP)/tool/showstat4.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showstat4.c sqlite3.lo $(TLIBS)
|
||||||
|
+showstat4$(TEXE): $(TOP)/tool/showstat4.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showstat4.c libsqlite3.la
|
||||||
|
|
||||||
|
-showjournal$(TEXE): $(TOP)/tool/showjournal.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showjournal.c sqlite3.lo $(TLIBS)
|
||||||
|
+showjournal$(TEXE): $(TOP)/tool/showjournal.c
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showjournal.c
|
||||||
|
|
||||||
|
-showwal$(TEXE): $(TOP)/tool/showwal.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/tool/showwal.c sqlite3.lo $(TLIBS)
|
||||||
|
+showwal$(TEXE): $(TOP)/tool/showwal.c
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/tool/showwal.c
|
||||||
|
|
||||||
|
-changeset$(TEXE): $(TOP)/ext/session/changeset.c sqlite3.lo
|
||||||
|
- $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c sqlite3.lo $(TLIBS)
|
||||||
|
+changeset$(TEXE): $(TOP)/ext/session/changeset.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c libsqlite3.la
|
||||||
|
|
||||||
|
rollback-test$(TEXE): $(TOP)/tool/rollback-test.c sqlite3.lo
|
||||||
|
$(LTLINK) -o $@ $(TOP)/tool/rollback-test.c sqlite3.lo $(TLIBS)
|
||||||
|
@@ -1153,8 +1153,8 @@
|
||||||
|
speedtest1$(TEXE): $(TOP)/test/speedtest1.c sqlite3.lo
|
||||||
|
$(LTLINK) -o $@ $(TOP)/test/speedtest1.c sqlite3.lo $(TLIBS)
|
||||||
|
|
||||||
|
-rbu$(EXE): $(TOP)/ext/rbu/rbu.c $(TOP)/ext/rbu/sqlite3rbu.c sqlite3.lo
|
||||||
|
- $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c sqlite3.lo $(TLIBS)
|
||||||
|
+rbu$(EXE): $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
||||||
|
+ $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
||||||
|
|
||||||
|
loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
|
||||||
|
$(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@ $(TLIBS)
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -570,6 +570,9 @@
|
||||||
|
if test "${use_loadextension}" = "yes" ; then
|
||||||
|
OPT_FEATURE_FLAGS=""
|
||||||
|
AC_SEARCH_LIBS(dlopen, dl)
|
||||||
|
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
||||||
|
+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
||||||
|
+ fi
|
||||||
|
else
|
||||||
|
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
||||||
|
fi
|
@ -1,12 +0,0 @@
|
|||||||
--- configure.ac
|
|
||||||
+++ configure.ac
|
|
||||||
@@ -611,6 +611,9 @@
|
|
||||||
if test "${use_loadextension}" = "yes" ; then
|
|
||||||
OPT_FEATURE_FLAGS=""
|
|
||||||
AC_SEARCH_LIBS(dlopen, dl)
|
|
||||||
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
|
||||||
+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
|
||||||
+ fi
|
|
||||||
else
|
|
||||||
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
|
||||||
fi
|
|
@ -1,49 +0,0 @@
|
|||||||
--- test/fts4unicode.test
|
|
||||||
+++ test/fts4unicode.test
|
|
||||||
@@ -366,27 +366,26 @@
|
|
||||||
do_isspace_test 6.$T.1 $T 32
|
|
||||||
do_isspace_test 6.$T.2 $T 160
|
|
||||||
do_isspace_test 6.$T.3 $T 5760
|
|
||||||
- do_isspace_test 6.$T.4 $T 6158
|
|
||||||
- do_isspace_test 6.$T.5 $T 8192
|
|
||||||
- do_isspace_test 6.$T.6 $T 8193
|
|
||||||
- do_isspace_test 6.$T.7 $T 8194
|
|
||||||
- do_isspace_test 6.$T.8 $T 8195
|
|
||||||
- do_isspace_test 6.$T.9 $T 8196
|
|
||||||
- do_isspace_test 6.$T.10 $T 8197
|
|
||||||
- do_isspace_test 6.$T.11 $T 8198
|
|
||||||
- do_isspace_test 6.$T.12 $T 8199
|
|
||||||
- do_isspace_test 6.$T.13 $T 8200
|
|
||||||
- do_isspace_test 6.$T.14 $T 8201
|
|
||||||
- do_isspace_test 6.$T.15 $T 8202
|
|
||||||
- do_isspace_test 6.$T.16 $T 8239
|
|
||||||
- do_isspace_test 6.$T.17 $T 8287
|
|
||||||
- do_isspace_test 6.$T.18 $T 12288
|
|
||||||
+ do_isspace_test 6.$T.4 $T 8192
|
|
||||||
+ do_isspace_test 6.$T.5 $T 8193
|
|
||||||
+ do_isspace_test 6.$T.6 $T 8194
|
|
||||||
+ do_isspace_test 6.$T.7 $T 8195
|
|
||||||
+ do_isspace_test 6.$T.8 $T 8196
|
|
||||||
+ do_isspace_test 6.$T.9 $T 8197
|
|
||||||
+ do_isspace_test 6.$T.10 $T 8198
|
|
||||||
+ do_isspace_test 6.$T.11 $T 8199
|
|
||||||
+ do_isspace_test 6.$T.12 $T 8200
|
|
||||||
+ do_isspace_test 6.$T.13 $T 8201
|
|
||||||
+ do_isspace_test 6.$T.14 $T 8202
|
|
||||||
+ do_isspace_test 6.$T.15 $T 8239
|
|
||||||
+ do_isspace_test 6.$T.16 $T 8287
|
|
||||||
+ do_isspace_test 6.$T.17 $T 12288
|
|
||||||
|
|
||||||
- do_isspace_test 6.$T.19 $T {32 160 5760 6158}
|
|
||||||
- do_isspace_test 6.$T.20 $T {8192 8193 8194 8195}
|
|
||||||
- do_isspace_test 6.$T.21 $T {8196 8197 8198 8199}
|
|
||||||
- do_isspace_test 6.$T.22 $T {8200 8201 8202 8239}
|
|
||||||
- do_isspace_test 6.$T.23 $T {8287 12288}
|
|
||||||
+ do_isspace_test 6.$T.18 $T {32 160 5760}
|
|
||||||
+ do_isspace_test 6.$T.19 $T {8192 8193 8194 8195}
|
|
||||||
+ do_isspace_test 6.$T.20 $T {8196 8197 8198 8199}
|
|
||||||
+ do_isspace_test 6.$T.21 $T {8200 8201 8202 8239}
|
|
||||||
+ do_isspace_test 6.$T.22 $T {8287 12288}
|
|
||||||
}
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
|
@ -1,11 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer>
|
<maintainer type="person">
|
||||||
<email>arfrever.fta@gmail.com</email>
|
<email>arfrever.fta@gmail.com</email>
|
||||||
<name>Arfrever Frehtes Taifersar Arahesis</name>
|
<name>Arfrever Frehtes Taifersar Arahesis</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<herd>proxy-maintainers</herd>
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="secure-delete">Enable overwriting of deleted content with zeros by default (http://sqlite.org/pragma.html#pragma_secure_delete), causing some performance penalty</flag>
|
<flag name="secure-delete">Enable overwriting of deleted content with zeros by default (http://sqlite.org/pragma.html#pragma_secure_delete), causing some performance penalty</flag>
|
||||||
<flag name="tools">Install additional tools</flag>
|
<flag name="tools">Install additional tools</flag>
|
||||||
|
@ -1,127 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
inherit eutils alternatives multilib toolchain-funcs
|
|
||||||
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
|
||||||
|
|
||||||
DESCRIPTION="SQLite: an SQL Database Engine in a C Library"
|
|
||||||
HOMEPAGE="http://www.sqlite.org/"
|
|
||||||
SRC_URI="http://www.sqlite.org/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="public-domain"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc nls tcl"
|
|
||||||
|
|
||||||
DEPEND="doc? ( dev-lang/tcl )
|
|
||||||
tcl? ( dev-lang/tcl )"
|
|
||||||
|
|
||||||
RDEPEND="tcl? ( dev-lang/tcl )"
|
|
||||||
|
|
||||||
SOURCE="/usr/bin/lemon"
|
|
||||||
ALTERNATIVES="${SOURCE}-3 ${SOURCE}-0"
|
|
||||||
|
|
||||||
RESTRICT="!tcl? ( test )"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# test
|
|
||||||
if has test ${FEATURES}; then
|
|
||||||
if ! has userpriv ${FEATURES}; then
|
|
||||||
ewarn "The userpriv feature must be enabled to run tests."
|
|
||||||
eerror "Testsuite will not be run."
|
|
||||||
fi
|
|
||||||
if ! use tcl; then
|
|
||||||
ewarn "You must enable the tcl use flag if you want to run the test"
|
|
||||||
ewarn "suite."
|
|
||||||
eerror "Testsuite will not be run."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
use hppa && epatch "${FILESDIR}"/${PN}-2.8.15-alignement-fix.patch
|
|
||||||
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${P}-multilib.patch \
|
|
||||||
"${FILESDIR}"/${P}-exit.patch
|
|
||||||
|
|
||||||
epunt_cxx
|
|
||||||
|
|
||||||
if use nls ; then
|
|
||||||
ENCODING=${ENCODING-"UTF8"}
|
|
||||||
else
|
|
||||||
ENCODING="ISO8859"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i -e "s:@@S@@:${S}:g" \
|
|
||||||
-e "s:@@CC@@:$(tc-getCC):g" \
|
|
||||||
-e "s:@@CFLAGS@@:${CFLAGS}:g" \
|
|
||||||
-e "s:@@AR@@:$(tc-getAR):g" \
|
|
||||||
-e "s:@@RANLIB@@:$(tc-getRANLIB):g" \
|
|
||||||
-e "s:@@ENCODING@@:${ENCODING}:g" \
|
|
||||||
"${S}"/Makefile.linux-gcc
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e '/^LTLINK/s:$(TCC):& $(LDFLAGS):' \
|
|
||||||
-e '/lemon/s:-o:$(LDFLAGS) &:' \
|
|
||||||
"${S}"/{main.mk,Makefile.in}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local myconf="--enable-incore-db --enable-tempdb-in-ram"
|
|
||||||
|
|
||||||
if ! use tcl ; then
|
|
||||||
myconf="${myconf} --without-tcl"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf ${myconf} \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable nls utf8)
|
|
||||||
|
|
||||||
emake all || die "emake all failed"
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
emake doc || die "emake doc failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use tcl ; then
|
|
||||||
cp -P "${FILESDIR}"/maketcllib.sh "${S}"
|
|
||||||
chmod +x ./maketcllib.sh
|
|
||||||
./maketcllib.sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if use tcl ; then
|
|
||||||
if has userpriv ${FEATURES} ; then
|
|
||||||
elog "SQLite 2.x is known to have problems on 64 bit architectures."
|
|
||||||
elog "If you observe segmentation faults please use 3.x instead!"
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
emake test || die "some test failed"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
dodir /usr/{bin,include,$(get_libdir)}
|
|
||||||
|
|
||||||
make DESTDIR="${D}" install || die "make install failed"
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -exec rm -f {} +
|
|
||||||
|
|
||||||
newbin lemon lemon-${SLOT}
|
|
||||||
|
|
||||||
dodoc README VERSION
|
|
||||||
doman sqlite.1
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html doc/*.txt doc/*.png
|
|
||||||
|
|
||||||
if use tcl ; then
|
|
||||||
mkdir "${D}"/usr/$(get_libdir)/tclsqlite${PV}
|
|
||||||
cp "${S}"/tclsqlite.so "${D}"/usr/$(get_libdir)/tclsqlite${PV}/
|
|
||||||
cp "${S}"/pkgIndex.tcl "${D}"/usr/$(get_libdir)/tclsqlite${PV}/
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
@ -11,25 +11,22 @@ DOC_PV="${SRC_PV}"
|
|||||||
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
|
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
|
||||||
|
|
||||||
DESCRIPTION="A SQL Database Engine in a C Library"
|
DESCRIPTION="A SQL Database Engine in a C Library"
|
||||||
HOMEPAGE="http://sqlite.org/"
|
HOMEPAGE="https://sqlite.org/"
|
||||||
SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip )
|
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||||
tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
!tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )"
|
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )"
|
||||||
|
|
||||||
LICENSE="public-domain"
|
LICENSE="public-domain"
|
||||||
SLOT="3"
|
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"
|
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 tools"
|
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||||
|
|
||||||
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
abi_x86_32? (
|
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r14
|
|
||||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
doc? ( app-arch/unzip )
|
doc? ( app-arch/unzip )
|
||||||
tcl? ( app-arch/unzip )
|
tcl? ( app-arch/unzip )
|
||||||
@ -37,58 +34,99 @@ DEPEND="${RDEPEND}
|
|||||||
app-arch/unzip
|
app-arch/unzip
|
||||||
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||||
)
|
)
|
||||||
tools? ( dev-lang/tcl:0 )"
|
tools? ( app-arch/unzip )"
|
||||||
|
|
||||||
amalgamation() {
|
full_tarball() {
|
||||||
! use tcl && ! use test && ! use tools
|
use tcl || use test || use tools
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
if amalgamation; then
|
if full_tarball; then
|
||||||
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
|
||||||
else
|
|
||||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
if amalgamation; then
|
if full_tarball; then
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch"
|
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch"
|
||||||
else
|
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch"
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch"
|
|
||||||
|
|
||||||
# Fix shell1-5.0 test.
|
# Fix shell1-5.0 test.
|
||||||
# http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html
|
||||||
sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test
|
sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test
|
||||||
|
else
|
||||||
|
epatch "${FILESDIR}/${PN}-3.11.0-nonfull_tarball-build.patch"
|
||||||
|
epatch "${FILESDIR}/${PN}-3.11.0-nonfull_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eautoreconf
|
eautoreconf
|
||||||
|
|
||||||
# At least ppc-aix, x86-interix and *-solaris need newer libtool.
|
|
||||||
# use prefix && eautoreconf
|
|
||||||
|
|
||||||
# Fix building with Full-Text Search version 5.
|
|
||||||
sed \
|
|
||||||
-e "/^LIBOBJS1 =/s/$/ fts5.lo/" \
|
|
||||||
-e "s/\$(LIBOBJ) \$(TLIBS)/& -lm/" \
|
|
||||||
-e "/^TESTFIXTURE_SRC1 =/s/$/ fts5.c/" \
|
|
||||||
-e "s/\$(TESTFIXTURE_SRC) \$(LIBTCL) \$(TLIBS)/& -lm/" \
|
|
||||||
-i Makefile.in || die "sed failed"
|
|
||||||
|
|
||||||
if use icu; then
|
|
||||||
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
|
|
||||||
|
|
||||||
multilib_copy_sources
|
multilib_copy_sources
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
multilib_src_configure() {
|
||||||
# `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag.
|
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||||
if amalgamation; then
|
|
||||||
|
options+=(
|
||||||
|
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
if ! full_tarball; then
|
||||||
|
options+=(--disable-static-shell)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
else
|
||||||
if use debug; then
|
if use debug; then
|
||||||
append-cppflags -DSQLITE_DEBUG
|
append-cppflags -DSQLITE_DEBUG
|
||||||
else
|
else
|
||||||
@ -96,56 +134,42 @@ src_configure() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Support detection of misuse of SQLite API.
|
# icu USE flag.
|
||||||
# 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 dbstat virtual table.
|
|
||||||
# http://sqlite.org/dbstat.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
|
|
||||||
# Support Full-Text Search versions 3, 4 and 5.
|
|
||||||
# http://sqlite.org/fts3.html
|
|
||||||
# http://sqlite.org/fts5.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5
|
|
||||||
|
|
||||||
# Support Resumable Bulk Update extension.
|
|
||||||
# http://sqlite.org/rbu.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_RBU
|
|
||||||
|
|
||||||
# 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 unlock notification.
|
|
||||||
# http://sqlite.org/unlock_notify.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
|
||||||
|
|
||||||
# Support soundex() function.
|
|
||||||
# http://sqlite.org/lang_corefunc.html#soundex
|
|
||||||
append-cppflags -DSQLITE_SOUNDEX
|
|
||||||
|
|
||||||
if use icu; then
|
if use icu; then
|
||||||
# Support ICU extension.
|
# Support ICU extension.
|
||||||
# http://sqlite.org/compile.html#enable_icu
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
append-cppflags -DSQLITE_ENABLE_ICU
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if full_tarball; then
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if full_tarball && use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
if use secure-delete; then
|
if use secure-delete; then
|
||||||
# Enable secure_delete pragma by default.
|
# Enable secure_delete pragma by default.
|
||||||
# http://sqlite.org/pragma.html#pragma_secure_delete
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
append-cppflags -DSQLITE_SECURE_DELETE
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=(--enable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${CHOST}" == *-mint* ]]; then
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
append-cppflags -DSQLITE_OMIT_WAL
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
fi
|
fi
|
||||||
@ -160,27 +184,14 @@ src_configure() {
|
|||||||
append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE
|
append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
econf "${options[@]}"
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# `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 || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_compile() {
|
multilib_src_compile() {
|
||||||
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
if use tools && multilib_is_native_abi; then
|
||||||
emake showdb showjournal showstat4 showwal sqldiff
|
emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,18 +201,30 @@ multilib_src_test() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
emake $(use debug && echo fulltest || echo test)
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install() {
|
multilib_src_install() {
|
||||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
if use tools && multilib_is_native_abi; then
|
||||||
newbin showdb sqlite3-show-db
|
install_tool() {
|
||||||
newbin showjournal sqlite3-show-journal
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
newbin showstat4 sqlite3-show-stat4
|
newbin ".libs/${1}" "${2}"
|
||||||
newbin showwal sqlite3-show-wal
|
else
|
||||||
newbin sqldiff sqlite3-diff
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,6 +234,6 @@ multilib_src_install_all() {
|
|||||||
doman sqlite3.1
|
doman sqlite3.1
|
||||||
|
|
||||||
if use doc; then
|
if use doc; then
|
||||||
dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.0.ebuild
vendored
Normal file
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.0.ebuild
vendored
Normal file
@ -0,0 +1,238 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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="https://sqlite.org/"
|
||||||
|
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||||
|
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${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 tools"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-arch/unzip )
|
||||||
|
tcl? ( app-arch/unzip )
|
||||||
|
test? (
|
||||||
|
app-arch/unzip
|
||||||
|
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
tools? ( app-arch/unzip )"
|
||||||
|
|
||||||
|
full_tarball() {
|
||||||
|
use tcl || use test || use tools
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if full_tarball; then
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if full_tarball; then
|
||||||
|
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
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
|
||||||
|
else
|
||||||
|
epatch "${FILESDIR}/${PN}-3.12.0-nonfull_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
sed \
|
||||||
|
-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])/" \
|
||||||
|
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||||
|
-i configure.ac
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||||
|
|
||||||
|
options+=(
|
||||||
|
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
if ! full_tarball; then
|
||||||
|
options+=(--disable-static-shell)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support comments in output of EXPLAIN.
|
||||||
|
# https://sqlite.org/compile.html#enable_explain_comments
|
||||||
|
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
else
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSQLITE_DEBUG
|
||||||
|
else
|
||||||
|
append-cppflags -DNDEBUG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# icu USE flag.
|
||||||
|
if use icu; then
|
||||||
|
# Support ICU extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if full_tarball; then
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if full_tarball && use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
|
if use secure-delete; then
|
||||||
|
# Enable secure_delete pragma by default.
|
||||||
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=(--enable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
install_tool() {
|
||||||
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
|
newbin ".libs/${1}" "${2}"
|
||||||
|
else
|
||||||
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||||
|
fi
|
||||||
|
}
|
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.1.ebuild
vendored
Normal file
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.1.ebuild
vendored
Normal file
@ -0,0 +1,238 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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="https://sqlite.org/"
|
||||||
|
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||||
|
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${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 tools"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-arch/unzip )
|
||||||
|
tcl? ( app-arch/unzip )
|
||||||
|
test? (
|
||||||
|
app-arch/unzip
|
||||||
|
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
tools? ( app-arch/unzip )"
|
||||||
|
|
||||||
|
full_tarball() {
|
||||||
|
use tcl || use test || use tools
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if full_tarball; then
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if full_tarball; then
|
||||||
|
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
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
|
||||||
|
else
|
||||||
|
epatch "${FILESDIR}/${PN}-3.12.0-nonfull_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
sed \
|
||||||
|
-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])/" \
|
||||||
|
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||||
|
-i configure.ac
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||||
|
|
||||||
|
options+=(
|
||||||
|
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
if ! full_tarball; then
|
||||||
|
options+=(--disable-static-shell)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support comments in output of EXPLAIN.
|
||||||
|
# https://sqlite.org/compile.html#enable_explain_comments
|
||||||
|
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
else
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSQLITE_DEBUG
|
||||||
|
else
|
||||||
|
append-cppflags -DNDEBUG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# icu USE flag.
|
||||||
|
if use icu; then
|
||||||
|
# Support ICU extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if full_tarball; then
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if full_tarball && use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
|
if use secure-delete; then
|
||||||
|
# Enable secure_delete pragma by default.
|
||||||
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=(--enable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
install_tool() {
|
||||||
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
|
newbin ".libs/${1}" "${2}"
|
||||||
|
else
|
||||||
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||||
|
fi
|
||||||
|
}
|
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.2.ebuild
vendored
Normal file
238
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.12.2.ebuild
vendored
Normal file
@ -0,0 +1,238 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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="https://sqlite.org/"
|
||||||
|
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||||
|
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${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 tools"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-arch/unzip )
|
||||||
|
tcl? ( app-arch/unzip )
|
||||||
|
test? (
|
||||||
|
app-arch/unzip
|
||||||
|
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
tools? ( app-arch/unzip )"
|
||||||
|
|
||||||
|
full_tarball() {
|
||||||
|
use tcl || use test || use tools
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if full_tarball; then
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if full_tarball; then
|
||||||
|
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
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
|
||||||
|
else
|
||||||
|
epatch "${FILESDIR}/${PN}-3.12.0-nonfull_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
sed \
|
||||||
|
-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])/" \
|
||||||
|
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||||
|
-i configure.ac
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||||
|
|
||||||
|
options+=(
|
||||||
|
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
if ! full_tarball; then
|
||||||
|
options+=(--disable-static-shell)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support comments in output of EXPLAIN.
|
||||||
|
# https://sqlite.org/compile.html#enable_explain_comments
|
||||||
|
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
else
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSQLITE_DEBUG
|
||||||
|
else
|
||||||
|
append-cppflags -DNDEBUG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# icu USE flag.
|
||||||
|
if use icu; then
|
||||||
|
# Support ICU extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if full_tarball; then
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if full_tarball && use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
|
if use secure-delete; then
|
||||||
|
# Enable secure_delete pragma by default.
|
||||||
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=(--enable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
install_tool() {
|
||||||
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
|
newbin ".libs/${1}" "${2}"
|
||||||
|
else
|
||||||
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||||
|
fi
|
||||||
|
}
|
243
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.13.0.ebuild
vendored
Normal file
243
sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.13.0.ebuild
vendored
Normal file
@ -0,0 +1,243 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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="https://sqlite.org/"
|
||||||
|
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||||
|
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${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 tools"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-arch/unzip )
|
||||||
|
tcl? ( app-arch/unzip )
|
||||||
|
test? (
|
||||||
|
app-arch/unzip
|
||||||
|
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
tools? ( app-arch/unzip )"
|
||||||
|
|
||||||
|
full_tarball() {
|
||||||
|
use tcl || use test || use tools
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if full_tarball; then
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if full_tarball; then
|
||||||
|
epatch "${FILESDIR}/${PN}-3.13.0-full_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
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
|
||||||
|
else
|
||||||
|
epatch "${FILESDIR}/${PN}-3.12.0-nonfull_tarball-build.patch"
|
||||||
|
|
||||||
|
# Fix AC_CHECK_FUNCS.
|
||||||
|
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||||
|
sed \
|
||||||
|
-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])/" \
|
||||||
|
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||||
|
-i configure.ac
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||||
|
|
||||||
|
options+=(
|
||||||
|
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
if ! full_tarball; then
|
||||||
|
options+=(--disable-static-shell)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support comments in output of EXPLAIN.
|
||||||
|
# https://sqlite.org/compile.html#enable_explain_comments
|
||||||
|
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support Session extension.
|
||||||
|
# https://sqlite.org/sessionintro.html
|
||||||
|
options+=(--enable-session)
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
else
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSQLITE_DEBUG
|
||||||
|
else
|
||||||
|
append-cppflags -DNDEBUG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# icu USE flag.
|
||||||
|
if use icu; then
|
||||||
|
# Support ICU extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if full_tarball; then
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if full_tarball && use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
|
if use secure-delete; then
|
||||||
|
# Enable secure_delete pragma by default.
|
||||||
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if full_tarball; then
|
||||||
|
options+=(--enable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
emake changeset rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
install_tool() {
|
||||||
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
|
newbin ".libs/${1}" "${2}"
|
||||||
|
else
|
||||||
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool changeset sqlite3-changeset
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||||
|
fi
|
||||||
|
}
|
@ -1,210 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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 )
|
|
||||||
test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
|
||||||
tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
|
||||||
!tcl? ( !test? ( !tools? ( 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 tools"
|
|
||||||
|
|
||||||
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:0[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
tools? ( dev-lang/tcl:0 )"
|
|
||||||
|
|
||||||
amalgamation() {
|
|
||||||
! use tcl && ! use test && ! use tools
|
|
||||||
}
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
# http://www.sqlite.org/cgi/src/info/85bfa9a67f997084
|
|
||||||
sed \
|
|
||||||
-e "s/^sqlite3_SOURCES = shell.c sqlite3.h$/sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h/" \
|
|
||||||
-e "s/^sqlite3_LDADD = sqlite3.\$(OBJEXT) @READLINE_LIBS@$/sqlite3_LDADD = @READLINE_LIBS@\nsqlite3_CFLAGS = \$(AM_CFLAGS)/" \
|
|
||||||
-i Makefile.am
|
|
||||||
else
|
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch"
|
|
||||||
|
|
||||||
# Fix shell1-5.0 test.
|
|
||||||
# http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html
|
|
||||||
sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test
|
|
||||||
fi
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
|
|
||||||
# At least ppc-aix, x86-interix and *-solaris need newer libtool.
|
|
||||||
# use prefix && eautoreconf
|
|
||||||
|
|
||||||
if use icu; then
|
|
||||||
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
|
|
||||||
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
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 dbstat virtual table.
|
|
||||||
# http://sqlite.org/dbstat.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
|
|
||||||
# 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 unlock notification.
|
|
||||||
# http://sqlite.org/unlock_notify.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
|
||||||
|
|
||||||
# Support soundex() function.
|
|
||||||
# http://sqlite.org/lang_corefunc.html#soundex
|
|
||||||
append-cppflags -DSQLITE_SOUNDEX
|
|
||||||
|
|
||||||
if use icu; then
|
|
||||||
# Support ICU extension.
|
|
||||||
# http://sqlite.org/compile.html#enable_icu
|
|
||||||
append-cppflags -DSQLITE_ENABLE_ICU
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use secure-delete; then
|
|
||||||
# Enable secure_delete pragma by default.
|
|
||||||
# http://sqlite.org/pragma.html#pragma_secure_delete
|
|
||||||
append-cppflags -DSQLITE_SECURE_DELETE
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${CHOST}" == *-mint* ]]; then
|
|
||||||
append-cppflags -DSQLITE_OMIT_WAL
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available.
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD
|
|
||||||
fi
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD64
|
|
||||||
elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE
|
|
||||||
fi
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# `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 || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
emake showdb showjournal showstat4 showwal sqldiff
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
newbin showdb sqlite3-show-db
|
|
||||||
newbin showjournal sqlite3-show-journal
|
|
||||||
newbin showstat4 sqlite3-show-stat4
|
|
||||||
newbin showwal sqlite3-show-wal
|
|
||||||
newbin sqldiff sqlite3-diff
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,210 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs 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 )
|
|
||||||
test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
|
||||||
tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip )
|
|
||||||
!tcl? ( !test? ( !tools? ( 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 tools"
|
|
||||||
|
|
||||||
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:0[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
tools? ( dev-lang/tcl:0 )"
|
|
||||||
|
|
||||||
amalgamation() {
|
|
||||||
! use tcl && ! use test && ! use tools
|
|
||||||
}
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
# http://www.sqlite.org/cgi/src/info/85bfa9a67f997084
|
|
||||||
sed \
|
|
||||||
-e "s/^sqlite3_SOURCES = shell.c sqlite3.h$/sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h/" \
|
|
||||||
-e "s/^sqlite3_LDADD = sqlite3.\$(OBJEXT) @READLINE_LIBS@$/sqlite3_LDADD = @READLINE_LIBS@\nsqlite3_CFLAGS = \$(AM_CFLAGS)/" \
|
|
||||||
-i Makefile.am
|
|
||||||
else
|
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch"
|
|
||||||
|
|
||||||
# Fix shell1-5.0 test.
|
|
||||||
# http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html
|
|
||||||
sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test
|
|
||||||
fi
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
|
|
||||||
# At least ppc-aix, x86-interix and *-solaris need newer libtool.
|
|
||||||
# use prefix && eautoreconf
|
|
||||||
|
|
||||||
if use icu; then
|
|
||||||
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
|
|
||||||
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
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 dbstat virtual table.
|
|
||||||
# http://sqlite.org/dbstat.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
|
|
||||||
# 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 unlock notification.
|
|
||||||
# http://sqlite.org/unlock_notify.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
|
||||||
|
|
||||||
# Support soundex() function.
|
|
||||||
# http://sqlite.org/lang_corefunc.html#soundex
|
|
||||||
append-cppflags -DSQLITE_SOUNDEX
|
|
||||||
|
|
||||||
if use icu; then
|
|
||||||
# Support ICU extension.
|
|
||||||
# http://sqlite.org/compile.html#enable_icu
|
|
||||||
append-cppflags -DSQLITE_ENABLE_ICU
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use secure-delete; then
|
|
||||||
# Enable secure_delete pragma by default.
|
|
||||||
# http://sqlite.org/pragma.html#pragma_secure_delete
|
|
||||||
append-cppflags -DSQLITE_SECURE_DELETE
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${CHOST}" == *-mint* ]]; then
|
|
||||||
append-cppflags -DSQLITE_OMIT_WAL
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available.
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD
|
|
||||||
fi
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD64
|
|
||||||
elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then
|
|
||||||
append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE
|
|
||||||
fi
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# `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 || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
emake showdb showjournal showstat4 showwal sqldiff
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
newbin showdb sqlite3-show-db
|
|
||||||
newbin showjournal sqlite3-show-journal
|
|
||||||
newbin showstat4 sqlite3-show-stat4
|
|
||||||
newbin showwal sqlite3-show-wal
|
|
||||||
newbin sqldiff sqlite3-diff
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install postinst postrm test unpack
|
|
||||||
DEPEND=doc? ( dev-lang/tcl ) tcl? ( dev-lang/tcl )
|
|
||||||
DESCRIPTION=SQLite: an SQL Database Engine in a C Library
|
|
||||||
EAPI=0
|
|
||||||
HOMEPAGE=http://www.sqlite.org/
|
|
||||||
IUSE=doc nls tcl
|
|
||||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
|
|
||||||
LICENSE=public-domain
|
|
||||||
RDEPEND=tcl? ( dev-lang/tcl )
|
|
||||||
RESTRICT=!tcl? ( test )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://www.sqlite.org/sqlite-2.8.16.tar.gz
|
|
||||||
_eclasses_=alternatives b19e1ec28e600fa497461bddfb9c1f16 eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
|
||||||
_md5_=33935979048d878f901bdbfe88b1f434
|
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test
|
DEFINED_PHASES=compile configure install prepare setup test
|
||||||
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( app-arch/unzip ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
DESCRIPTION=A SQL Database Engine in a C Library
|
DESCRIPTION=A SQL Database Engine in a C Library
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://sqlite.org/
|
HOMEPAGE=https://sqlite.org/
|
||||||
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
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
|
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
|
||||||
LICENSE=public-domain
|
LICENSE=public-domain
|
||||||
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||||
SLOT=3
|
SLOT=3
|
||||||
SRC_URI=doc? ( http://sqlite.org/2015/sqlite-doc-3081001.zip ) tcl? ( http://sqlite.org/2015/sqlite-src-3081001.zip ) test? ( http://sqlite.org/2015/sqlite-src-3081001.zip ) tools? ( http://sqlite.org/2015/sqlite-src-3081001.zip ) !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/sqlite-autoconf-3081001.tar.gz ) ) )
|
SRC_URI=doc? ( https://sqlite.org/2016/sqlite-doc-3110100.zip ) tcl? ( https://sqlite.org/2016/sqlite-src-3110100.zip ) test? ( https://sqlite.org/2016/sqlite-src-3110100.zip ) tools? ( https://sqlite.org/2016/sqlite-src-3110100.zip ) !tcl? ( !test? ( !tools? ( https://sqlite.org/2016/sqlite-autoconf-3110100.tar.gz ) ) )
|
||||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
_md5_=bb60a0cfe44d8d1b2596143d21e72994
|
_md5_=3029d8964db888682cbda457c5ea8cb9
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test
|
DEFINED_PHASES=compile configure install prepare setup test
|
||||||
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( app-arch/unzip ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
DESCRIPTION=A SQL Database Engine in a C Library
|
DESCRIPTION=A SQL Database Engine in a C Library
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://sqlite.org/
|
HOMEPAGE=https://sqlite.org/
|
||||||
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
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
|
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
|
||||||
LICENSE=public-domain
|
LICENSE=public-domain
|
||||||
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||||
SLOT=3
|
SLOT=3
|
||||||
SRC_URI=doc? ( http://sqlite.org/2015/sqlite-doc-3081002.zip ) tcl? ( http://sqlite.org/2015/sqlite-src-3081002.zip ) test? ( http://sqlite.org/2015/sqlite-src-3081002.zip ) tools? ( http://sqlite.org/2015/sqlite-src-3081002.zip ) !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/sqlite-autoconf-3081002.tar.gz ) ) )
|
SRC_URI=doc? ( https://sqlite.org/2016/sqlite-doc-3120000.zip ) tcl? ( https://sqlite.org/2016/sqlite-src-3120000.zip ) test? ( https://sqlite.org/2016/sqlite-src-3120000.zip ) tools? ( https://sqlite.org/2016/sqlite-src-3120000.zip ) !tcl? ( !test? ( !tools? ( https://sqlite.org/2016/sqlite-autoconf-3120000.tar.gz ) ) )
|
||||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
_md5_=561fd3412e5ff26087aade9534e28827
|
_md5_=100e8f0dd37d660f82299477a6f960e9
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test
|
DEFINED_PHASES=compile configure install prepare setup test
|
||||||
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( app-arch/unzip ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
DESCRIPTION=A SQL Database Engine in a C Library
|
DESCRIPTION=A SQL Database Engine in a C Library
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://sqlite.org/
|
HOMEPAGE=https://sqlite.org/
|
||||||
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
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
|
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
|
||||||
LICENSE=public-domain
|
LICENSE=public-domain
|
||||||
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||||
SLOT=3
|
SLOT=3
|
||||||
SRC_URI=doc? ( http://sqlite.org/2015/sqlite-doc-3081101.zip ) tcl? ( http://sqlite.org/2015/sqlite-src-3081101.zip ) test? ( http://sqlite.org/2015/sqlite-src-3081101.zip ) tools? ( http://sqlite.org/2015/sqlite-src-3081101.zip ) !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/sqlite-autoconf-3081101.tar.gz ) ) )
|
SRC_URI=doc? ( https://sqlite.org/2016/sqlite-doc-3120100.zip ) tcl? ( https://sqlite.org/2016/sqlite-src-3120100.zip ) test? ( https://sqlite.org/2016/sqlite-src-3120100.zip ) tools? ( https://sqlite.org/2016/sqlite-src-3120100.zip ) !tcl? ( !test? ( !tools? ( https://sqlite.org/2016/sqlite-autoconf-3120100.tar.gz ) ) )
|
||||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
_md5_=ccd3fceaf211e7f63346d42e60b0d8c5
|
_md5_=622070ac42b8266ca8faf77bd7b3e6c2
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-db/sqlite-3.12.2
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-db/sqlite-3.12.2
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare setup test
|
||||||
|
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( app-arch/unzip ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DESCRIPTION=A SQL Database Engine in a C Library
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://sqlite.org/
|
||||||
|
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
|
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
|
||||||
|
LICENSE=public-domain
|
||||||
|
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||||
|
SLOT=3
|
||||||
|
SRC_URI=doc? ( https://sqlite.org/2016/sqlite-doc-3120200.zip ) tcl? ( https://sqlite.org/2016/sqlite-src-3120200.zip ) test? ( https://sqlite.org/2016/sqlite-src-3120200.zip ) tools? ( https://sqlite.org/2016/sqlite-src-3120200.zip ) !tcl? ( !test? ( !tools? ( https://sqlite.org/2016/sqlite-autoconf-3120200.tar.gz ) ) )
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=622070ac42b8266ca8faf77bd7b3e6c2
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-db/sqlite-3.13.0
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-db/sqlite-3.13.0
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare setup test
|
||||||
|
DEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-arch/unzip ) tcl? ( app-arch/unzip ) test? ( app-arch/unzip dev-lang/tcl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( app-arch/unzip ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DESCRIPTION=A SQL Database Engine in a C Library
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://sqlite.org/
|
||||||
|
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
|
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
|
||||||
|
LICENSE=public-domain
|
||||||
|
RDEPEND=icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||||
|
SLOT=3
|
||||||
|
SRC_URI=doc? ( https://sqlite.org/2016/sqlite-doc-3130000.zip ) tcl? ( https://sqlite.org/2016/sqlite-src-3130000.zip ) test? ( https://sqlite.org/2016/sqlite-src-3130000.zip ) tools? ( https://sqlite.org/2016/sqlite-src-3130000.zip ) !tcl? ( !test? ( !tools? ( https://sqlite.org/2016/sqlite-autoconf-3130000.tar.gz ) ) )
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=41ed35309f583f6e3974a61df9b60312
|
Loading…
x
Reference in New Issue
Block a user