diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /sys-libs/db | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'sys-libs/db')
33 files changed, 924 insertions, 1758 deletions
diff --git a/sys-libs/db/Manifest b/sys-libs/db/Manifest index 1b774aff51ce..c0caa6375321 100644 --- a/sys-libs/db/Manifest +++ b/sys-libs/db/Manifest @@ -1,22 +1,22 @@ -AUX db-1.85-gentoo-paths.patch 684 BLAKE2B c58f76c97b1fa189cff849175ec240520a729e436543936164fabf69736fafb253243a32796e080dba4678e48ae67d0b19da0f057eee0791ff93596ff2f98c17 SHA512 d7e2075a1683c7a04337830730e429c4bf2b5f0bdb49cdc3b625bda83be7cf579f4039204a355f5854c2981b6bd3234767e02bc6a7914e2bcde2a73d698fb914 +AUX db-1.85-gentoo-paths.patch 688 BLAKE2B bce69d9f256dcc108e80b5fe52ea2395dd34662605cf6595e0cbfe87642385b719e16177202fb8876d63ac23559acfc579ef291a5ddfa465f2cfd74b36d531e3 SHA512 7431dc5f24c7575753f9453eb99425e4c958c98d48a95f1de153580fed62f7dcb04715719b663d69ff6fd445f06f991e27a4af391b4b16ea53bea78d5980baa9 AUX db-18.1.25-sqlite-configure-path.patch 800 BLAKE2B d7fc137c1abe918ea94081a88c974d4001752a682752a7907f50a8efac000b57ed50362c8001423667c3c2e535ac19c82ccef33996111900c489d639ad2d870d SHA512 704e07b65df058a8d09fa7f8789b1ba81ffeac90767b8084ad828158aff7e59a54f21f8834f912c5af26de58e6cecc3eb95da1c9ca051dbaaa0e1d65419df594 AUX db-18.1.25-test-link.patch 1443 BLAKE2B 819038f07f0329575eecdb5891b16114507d9a530b434eabf748367baf86be979198dd7aeb904af14d9b3643e013e2ec34257bc254724351dc62dab30029b5b8 SHA512 e3cba1c842dffbbf1bbf353111ce41cf46078d03d9b42052ad72081e9b9434eeb3eedad42d532dba9f2c90b36a620f2a2f9a65fb98477e5b1fa6dfc04ba1ec0e AUX db-3.2.9-fix-dep-link.patch 1005 BLAKE2B c04ae14ca17e77807d44949176e47aa4e5d98f1407e74c9272ad2b9dc0eaf062a2eeba8d9a9130285cdcbb6418f4dd4d8dd22c89c914578ef9fbef8caa414940 SHA512 42f8a6e495266209d7c9bf35bfba801abddffb10488b7b156a790bacdf8fe2d3d3113d8d0a1afddeca238736f64cf8a881141d181fd4a211e4b04da9ed010587 -AUX db-3.2.9-gcc43.patch 441 BLAKE2B 7ad11125c676d6e731f2274f4f1c6aad500e83ef6394c9989df4fa12edbd1cba50388e8d321ebd1976279b36effed37cd2cae15a6d50fa9b2e6836cd24fae797 SHA512 17d44ae357337d938bbe296b519efc03b914792ce4440936c1178b09dbb21783034e16f4fb2ff03443b00e8af530afc0fce778a937b06f0ba8c598b02cbc989c +AUX db-3.2.9-gcc43.patch 459 BLAKE2B 0f23b5e5b119cb61b4630d7c789e00b98fca6be576743292de8cb5dbd4a2e92406fbe251596721044a30763fb56e682799743aae2f6ad4e6859ac3b1a3ad9b14 SHA512 899ccf4d350a0f246cf701502dcf9bd06c8375dea0a89d0438c0ff0312cb0505c904a812645d3d1f1fbfe9b59b69ebedcf4da693ea2f68b7b0eabca3dab114b7 AUX db-4.0.14-fix-dep-link.patch 1119 BLAKE2B 1532fa79d47c6b406f88302abcf007713cf4301a098eb17d159975cd6a0d2c80fe24c83611433b029560980c96b6cc5f66b662445114811cde27399f0e934b25 SHA512 5c7895d8c284c5b9c2305319e20afb8b98a43974bb2ff16012ab322abf131e0d050632fd7c67a0dad47df719da2c53316c6a36f5b6686196cd1b27ced3dae7c4 -AUX db-4.2-jni-check-prefix-first.patch 1172 BLAKE2B 39d850fa1ee8ddc222ca3ad217d90b0029ba6901dbcde239fe4f35a076df355a848481058f1704cca1a2c8105a34df582115033c1637c93e97a36a616e51f17d SHA512 ab81f0a924f3a763f76ef39dff12035570462e0bbed41d1c58ca41a37a0f647e4348238ea5cebda7e639645f0e160292348e16469ac0be88edfb453158ff3e9c +AUX db-4.2-jni-check-prefix-first.patch 1104 BLAKE2B 79d8c93831f4a08df8411540d5a98b181f063f5daef649b8af42cf5c04bc5597599b64f291fd89dd5c5c21c77816130d2c4b41f57b88b065fd9a99c2d22e4bea SHA512 18076650e6373be5dedb25ce7d37f81ffef4df69917e3207040d99081eed2e8081d4cbfcfc647bf0c3946f9c957b031cd5030f62e4689de9c76b219136228696 AUX db-4.2-libtool.patch 665 BLAKE2B 5d6610c5205796647ca2c6eb5a973d54cb9d22f1467ee17c48a1cef2165d05192fb215dc817babb088b2477994ebcbe4e47f06ef9880c27c2e160e98145814a4 SHA512 6a0c6fb1a8cb76f84763c2925ad05dc06c521356f02ada61bf627fe855556da61c1c721063181720e300fe7e012b11bb7a85dd55a4c02083d26f21115aacfbfd -AUX db-4.2-listen-to-java-options.patch 312 BLAKE2B a010fee7e07b1a11e2e5400b5e8d9be1938d3f20d1a647dcd0530830a065bbd6b847db94a7dc08e075c8e5003503068ca7d6b94c7d251ed693b1467533dcc830 SHA512 04a962a9999f331a97928a580494351b15e4ab2b545aefb0c5351dd4f476a522fd84f108b5161e92ed47ac121e10b1184b4b8d7b682d7b4597d7c425a475ee03 -AUX db-4.2.52_p2-TXN.patch 2328 BLAKE2B e671d82566f51c6048c05b3ab9cff46cdd40ff793a8d6400a1b4aa904a175a36dea1b7c5cac0e64fcc751052dc8c9b84f265339610c4d59a012d84279f0c5203 SHA512 528d85cfa1ec2d803c87f8cc50c00606b4b69eda1460056a548f4f18f3a1667c06eeaaa8672a3192747ca68a6fdde451cd9c45fce625e71161f9855ed92d286d -AUX db-4.3-jni-check-prefix-first.patch 1172 BLAKE2B 39d850fa1ee8ddc222ca3ad217d90b0029ba6901dbcde239fe4f35a076df355a848481058f1704cca1a2c8105a34df582115033c1637c93e97a36a616e51f17d SHA512 ab81f0a924f3a763f76ef39dff12035570462e0bbed41d1c58ca41a37a0f647e4348238ea5cebda7e639645f0e160292348e16469ac0be88edfb453158ff3e9c -AUX db-4.3-libtool.patch 2161 BLAKE2B 5332ad9ee83c9c04f046f7ac909fd2057c455335bacf5ebfb40ead8eeb810a97d91567cf2ff3cb396c9fcb1cf37133e74bea3f4fbbbfb4e77cd9ce14845af8f3 SHA512 52beef4ea2c3e6742efc0331649b53686f052cddf0b8b809a34c9ffc5cd977dd71bfd3bf035708b5174f677d8390065e62807a20b3a3b7c918dd6d336a0541ab +AUX db-4.2-listen-to-java-options.patch 244 BLAKE2B 221f39b4cc6e4d4ce91efb90a5b207e634f8d362fbb34d1fe9c57960323cce71507e49a4aca0a6187374a37fa77208547e56edea2695d7b1111d96345469cd1d SHA512 20103923b1da278ca5a682ba0a74183d9c8f68a4774af51d12884d7d405fe7ec27f82b0b49a01a6453b96798db995b1f0fef34f2aa40a3b66db48efddb94af49 +AUX db-4.2.52_p2-TXN.patch 2336 BLAKE2B 6fbd0f0346d79f979b0272e0ad9642cbbc310743b396706f4ddb999d22d95e038110e38922c0bb528b99a0a3e5e8054341503dcf6986dcd8f6def7a732e0f94f SHA512 905611212b554a0cc4658abfbb1275e7e38b64bfec1309b133e500c868badd38d317bf481949a64d3ff16845d11285bdbc26d3af968f809e8c999c2d4d465138 +AUX db-4.3-jni-check-prefix-first.patch 1104 BLAKE2B 79d8c93831f4a08df8411540d5a98b181f063f5daef649b8af42cf5c04bc5597599b64f291fd89dd5c5c21c77816130d2c4b41f57b88b065fd9a99c2d22e4bea SHA512 18076650e6373be5dedb25ce7d37f81ffef4df69917e3207040d99081eed2e8081d4cbfcfc647bf0c3946f9c957b031cd5030f62e4689de9c76b219136228696 +AUX db-4.3-libtool.patch 2088 BLAKE2B 4ede74e622bacb7a4e9728d6d1735fd4f35aac23b220234a4457fe82334a463f6c5616a8ca7881fc6b507c2ab3a0b57778f9fd0dcc53b1bf766c00ef81d2474c SHA512 8779d67118503810a3a0a4b94f4a47929406cd9e690c2370827de06269b99162812b9118d156fe7b022c017e2f2ac5c766404c1f3cdc20155c4b7bc2a24584a3 AUX db-4.3-listen-to-java-options.patch 244 BLAKE2B 221f39b4cc6e4d4ce91efb90a5b207e634f8d362fbb34d1fe9c57960323cce71507e49a4aca0a6187374a37fa77208547e56edea2695d7b1111d96345469cd1d SHA512 20103923b1da278ca5a682ba0a74183d9c8f68a4774af51d12884d7d405fe7ec27f82b0b49a01a6453b96798db995b1f0fef34f2aa40a3b66db48efddb94af49 AUX db-4.3.27-fix-dep-link.patch 1179 BLAKE2B 60a9ac78e125e0c33b6c95b6c76b477c9ef248246ac7acf4df6080cb0e38c2d0ff7109e72508c2ed877c8b7bfe849a60c631bf6ebf9f537edc45b8ab7cd1fb53 SHA512 05f9eb53f01db8e4d36ff3527a5757611def974d2c2a4cc97cdd48ce7bd5e8bd22030cd8d4493374a5ee226a98f4873bf8f75e196897f6c0c9c4e9bdc368d05f -AUX db-4.4-libtool.patch 1817 BLAKE2B 2ad5569c3a29ff82bab0904040c8f05b24a0185c1c89006e13f58dcd621b54583065c41356617846b213c5475609e29d2c38d8da7bcaf9f49c453900d73554d8 SHA512 e22cc040c20f0f52b3a57d0795604b6d469a45a124d3892963c817e533e2d85810630ab286f839bd77c9dc66cc13633fdc57979dd005ec74cc8c6d17ea3d5d3d -AUX db-4.5-libtool.patch 1817 BLAKE2B 2ad5569c3a29ff82bab0904040c8f05b24a0185c1c89006e13f58dcd621b54583065c41356617846b213c5475609e29d2c38d8da7bcaf9f49c453900d73554d8 SHA512 e22cc040c20f0f52b3a57d0795604b6d469a45a124d3892963c817e533e2d85810630ab286f839bd77c9dc66cc13633fdc57979dd005ec74cc8c6d17ea3d5d3d -AUX db-4.6-jni-check-prefix-first.patch 1172 BLAKE2B 18220f33c050fa847b0b2897249becab36c4b9260d69e4f5d83082d919ee42d543f4f623ab07197fcd0300b107d299f1de0a2d171c3eb1540eb29c2ecb1f56bd SHA512 4cb3a313c1523608003bc58583c07bd7ac4a69e822e21943d9d0968db821058ebfd9984a41e728befb90f781dd64d09413b402ca21ba8c95e5fb22c35bfd4cd6 -AUX db-4.6-libtool.patch 1817 BLAKE2B 2ad5569c3a29ff82bab0904040c8f05b24a0185c1c89006e13f58dcd621b54583065c41356617846b213c5475609e29d2c38d8da7bcaf9f49c453900d73554d8 SHA512 e22cc040c20f0f52b3a57d0795604b6d469a45a124d3892963c817e533e2d85810630ab286f839bd77c9dc66cc13633fdc57979dd005ec74cc8c6d17ea3d5d3d -AUX db-4.8-libtool.patch 2076 BLAKE2B 4347c2a5e1d28f6cf6a3a8f55c67bc3a7060f4c7119b523cf91bd053f2df3678b5a639af0e06f3c81a3f454b4ce392f574b22b3e85c2b92cab379fa5e46fd120 SHA512 c2d8c544edefa902d70d762675367da993c48c39566d84ec26ca7ffcba8441414f0cbd6a07bef982c5fa58bd4481cb1e279070552da6d724f644a301543a7199 +AUX db-4.4-libtool.patch 1744 BLAKE2B 56aaedb9875993ecedfa62eaa9b4e49d187042e6ce81bcfc466baac80d021f12249a957ae2a3ede40e1a0aa2ff0ed596a046d1b4134295a36f245467774a1428 SHA512 c7c4c74096925ed9f7e384684153b37d5fcf2f8d40553d1d477b34c54d3b2110cb199d2e23543db321223be3a8a5c095f8bba7730f6c4d6ea51b9d04a9a68448 +AUX db-4.5-libtool.patch 1744 BLAKE2B 56aaedb9875993ecedfa62eaa9b4e49d187042e6ce81bcfc466baac80d021f12249a957ae2a3ede40e1a0aa2ff0ed596a046d1b4134295a36f245467774a1428 SHA512 c7c4c74096925ed9f7e384684153b37d5fcf2f8d40553d1d477b34c54d3b2110cb199d2e23543db321223be3a8a5c095f8bba7730f6c4d6ea51b9d04a9a68448 +AUX db-4.6-jni-check-prefix-first.patch 1104 BLAKE2B 830f19c74df5730234496f8035c943ee13388154a60fca4701f7a72b4c2685550cd95892d9edc406ee29889af94df2ab5094abf35362da15b0669fbfe73b0165 SHA512 78791ada74d91e572e35d33f60d0174705916655c0e4db4844b73bc3e9dd71a65b916e153c087c0ede1d4a400588af7674b7e69804d8a2883e45992904b0b3f3 +AUX db-4.6-libtool.patch 1744 BLAKE2B 56aaedb9875993ecedfa62eaa9b4e49d187042e6ce81bcfc466baac80d021f12249a957ae2a3ede40e1a0aa2ff0ed596a046d1b4134295a36f245467774a1428 SHA512 c7c4c74096925ed9f7e384684153b37d5fcf2f8d40553d1d477b34c54d3b2110cb199d2e23543db321223be3a8a5c095f8bba7730f6c4d6ea51b9d04a9a68448 +AUX db-4.8-libtool.patch 2080 BLAKE2B 9a3dae0587dcf97f41b2991a577a92a558cf8c171c14e703dc5e83ab8292a00e37fb939922197c0b0dbc96c6462faf27cead0fa3535c0e798378d8c2b22b546a SHA512 b1298a1f98c7a99a05cae1f205550d7019a488c9f049bc5e6ee32d4fd7a5ec852ae4d41b7cfe928917b57b9e9949460d907cd5926fa7cdafe1c8749191996218 AUX db-4.8.24-java-manifest-location.patch 592 BLAKE2B c8e295dbf888b3ef832ea3536f91a6be49a0ce9ed90fec92ff90cd0288b4eaacc4f4eed43599dce61e79454372844f150e24a8f054104cdca22f5ae9861c3444 SHA512 306503befbc76b1b0775adb94185407fbff23f467d474e0ad3b28190edfdb485942d14c3a53a7cde71213f49bc548a7d271fedd95286920ae5c21778e139fec2 AUX db-4.8.30-rename-atomic-compare-exchange.patch 836 BLAKE2B 4d837c6850d35327c79d9adfc138759e09454d222a63c16f7ca3f5bd36b7f12107a16962cb3f37ba9464d8acec19dca020223e33e45dea5b0007f10fe1ec248d SHA512 1a4be944b1d41483fb4429a9454a3e9446b41720ff829c0b90b09bc3f9838c798dc3f9e0c918332d0933d6bc62b9b13b3f8251463f1fbddfddbdb341adbaf5ed AUX db-5.1.29-rename-atomic-compare-exchange.patch 852 BLAKE2B 2c521fc843bb6764f076dde6ed640a9641b35698b9ad9fac06d2b820046a060264560f2219e516844ac3ad5fd045786f920aac8a2e8f62a01807e3f8caecda04 SHA512 8ba96cfc3e484a839b8651214f0769b35273c6235de7e53d5118eb0347f5a477f75e3336a12f1399b7748c6b6ab95aec39c8b813d7b227dd61f37ed4ab52f7d5 @@ -27,7 +27,6 @@ AUX db-6.1.19-sqlite-configure-path.patch 727 BLAKE2B 46b5f562042be34e134dbc8bf6 AUX db-6.2-jni-check-prefix-first.patch 1302 BLAKE2B 4703beff3c14e0218d4b8b3b911ee912cc80c2ed42730e7b11eb728c9ae16ee535baf628dff6c62bb3cf25d262b87896ab3ed5df5b2bd88968f1fce62b0b7095 SHA512 662fb5e1b292dd87b11db7cd071b280863d2cb7c5e1e8ec7149e6ecc5d0db0c40a0b3995503c27ff0dd0d3d5fb274a7f72736058edd2e5b52521048e11253a30 AUX db-6.2.32-jni-check-prefix-first.patch 1575 BLAKE2B 5230393b8f40e6ef329590b0037a975dbc60f23f3ce8a603e3c21cec5b0bb311a225c1d8558cc3c6bfdb658e88c83f441c45aaf556051aee8ba83f9262616ba0 SHA512 eb0739c46f88ad9538e4a467e8547f97404747633942ec6b05eabcfb7ba427ff66c00aa5dc95cb9518056b861c240898db4745dd3626ed95e7cb01c54b47dccd DIST db-1.85-r3.1.patch.bz2 14641 BLAKE2B 5ca59487a433a5e5b5fed7a8737c20df041be56733fe9209047f9e53845fa034576c29ad74407509ab96473e4eef0138a3a47de6c348d27209f0e39df85b9f5f SHA512 32b1810515476758ece7415f241378460a4051bf5ee23fb464748f84a90a56ff2c5119ed93028114d64f1b1691b1c694c2301ff825edd89cdee90a870a68b6f4 -DIST db-18.1.25.tar.gz 43980391 BLAKE2B 364f023809d9d68d58879dda80e5a6a1826db261ac371d63151278731a777c6ca629b051df3c1430f1c049fcc7e4ddfe041522e891290a43aba051b519b28523 SHA512 30a0508dc7eb92adb56bdc881cedf179e901f888c776bc515b342ae585168521fa9f3c763f438d0e8a008e7cc779b3f40a7385285d724f8494d25d3652e6f1c9 DIST db-18.1.32.tar.gz 44244747 BLAKE2B b539d8966a269f6a9440ef442248849f12c6b1eda79b9a41074e1eb0eb4930fd4674dd0e20a114e4020fe2ce19832572c4c86d458835da39a99f639dc3c4e23e SHA512 890b3047c28114ac30794c0234126b0b2a3e699f3ed259831091f02d51885e3583dd10c0ef0cecc215b9b8d80b48a2d3a82a5793cd3816afb45f6cc19ae23f25 DIST db-3.2.9.tar.gz 2085238 BLAKE2B 10cb1c102bf5db52ec16181ccbb02a8c4560f42afd2382689ee4903fcd63bf3ab4802482a065a85b1d34c8fb9f620fceb985155b1390de7ca404c121b6b4b6bc SHA512 5f07b27ae0cbd2832e5db9473cd4f2d4aebeee25ed8245ebd2c297a576571635ca5cf75e63e0967b1e90978128a5b6f5d8112559c56927d5bc5eb0d9fd3a2e95 DIST db-4.2.52.tar.gz 4073147 BLAKE2B 0bb9649a08df9b425f28471eb65c0efac0b7833b4c5c841b9ef53a142669b549e1f1b78cf42eeceea05ebb271aacd513d115070ea028f77fb1830bb9fcc7c8a9 SHA512 47a4e1353fe4f5c2160952a8f7a09b73fdf2dfcd222a8214e12630cec3139a624907bba83a06f10f8492b4dce328a979e9155ee049b9a88798edaca62cfe60d1 @@ -41,9 +40,7 @@ DIST db-4.8.30.tar.gz 22887305 BLAKE2B 10487580a371fa97ef5e468e1fcc4af68490934a8 DIST db-5.1.29.tar.gz 32188074 BLAKE2B 6af9e6afc0ebd06a43c0e96fd0b2b3c8e17476507996605aea0c1519b9120140ff410829118a59ea8eff1ab220762131cfab8cf574ffddfa6348128a57721b37 SHA512 b3487161cc09dd0aee6117d685d0bc0a58854cf5e96f9e778969a51d3a61b66f8e007b76e584e4ef73f84e07d4418b89c2f6697e34c1ad4072609b11b7b4c5b0 DIST db-5.3.28.tar.gz 35090431 BLAKE2B 5b77a4ec0945fa96ce6c2b452fb4b029295e037fa64d5ff8dcb3b5e01ee3501fd75d9a73b8f5fa54d8907717d93546fbb5348ee70119e877fa2f17d301ecf50d SHA512 e91bbe550fc147a8be7e69ade86fdb7066453814971b2b0223f7d17712bd029a8eff5b2b6b238042ff6ec1ffa6879d44cb95c5645a922fee305c26c3eeaee090 DIST db-6.0.35.tar.gz 36532251 BLAKE2B 22fbe557ccc13e4b936db8ca7d6ba11ce42e477bbf39f7e472067e06fb5910b1147fa58a44ac944c24a51ea839f1c61edda6bd8f3c450acac0c13d7fdba11e89 SHA512 002db1553def44efa715095b04b2bac2de7450cdc7142586d1d8b5d8ce79ee5e98f824b3bd276cd586ca932dc51ed35a9ffbed95b2b9847264f262cfa092479d -DIST db-6.1.36.tar.gz 37526795 BLAKE2B 9334dc66501465acf99f2675dc838a979c03a29b526b1d22fc9f811c6e76c5ecab4fafad4aa7efbc658c0bc64218f22ac4189c34bce866b0a4ffa052525607a6 SHA512 5f63eaaf75cad12c2a9b9f960bf39cb4ba6f8636609472f5909e38dccb65322a20104f0a8641b968c195c1b9a3ac5456c8bdaf3253995c9a4ace222a2e0d6811 DIST db-6.1.38.tar.gz 37644337 BLAKE2B 32b3f65bef04bb18e45c3c0c9110d5d0bf58f4761bee5bf07949e192f4b9f5fa28117b1696c17863da0affe408bd6c81eeee32c472c46d31c17693519959ff03 SHA512 5760d1e441bea11c371825ac47203b1eb9f188f9cb2ea0e3d547b3d3b15620d27cb0b3333d617eb7b89c53407fb7ed79cad27477d714b5b797869f8bf4b1808b -DIST db-6.2.32.tar.gz 45342417 BLAKE2B d3254fba1300d6c7dda5d872c5fa349e8704d71be9c4d37ccf3357782adeb879ce30e066cf083bd97554405c2e94071a96cee16090ad9f797a4fa657ff7e8c46 SHA512 83bdbf18a7b9782409cf4563f8d5f11322d5e564a39946c890604a60440a6ea6361e0236bbc30bd4e8e1de1fa9196b8e815fd126baa035f55c5826c2c6aa3401 DIST db-6.2.38.tar.gz 41298311 BLAKE2B a04a3344058b1d9982f39628c1114aded8f8c860753853c8b487e9ea14bd69a0391301620396d22204b3c8f25945c3f5485ea4792567e2d903a657541204d297 SHA512 b357932e4a5856b9cf8cf42050a307977eee8483d24a32ad938611545178fb1e6be597c1542a11466b1fb31ef4ef47b519deea1c5310a6460495281539083a19 DIST db.1.85.tar.gz 270953 BLAKE2B 7862979b6fe21a67eac7eb5e0d05093f33fa71fa92f9717a65bd39b366727e6928109c821b86ede85d6d2a8013199f3927e760bed19001a5cfd2270819a3b904 SHA512 03bf3a2b0947efdca4e38719542e96378b5eeb57da64d5030dd23ab710773c1826f1c867032d0bea658b7fdd8272db253e97bbc490d198b9437025ffdf9e880e DIST patch.3.2.9.1 2139 BLAKE2B 7c442311499244d3432a1648294f3b610da827f7d940777de01f98816d6dc8bc50b68cb45900bcc1acf1672207a86009dbc33b6226f8a4fcbefc1bee51961138 SHA512 f410c43ea4af28a39d8ea47f774d38b53bf1183a34abfcf1f27e253eb61b42f4b5e9f0a3a500e174eb796ea342e6dd50a8bb95ff3eb8ee188461489cc994b8f9 @@ -68,24 +65,20 @@ DIST patch.4.7.25.1 2072 BLAKE2B 773fb96f9c5995cee22931fcd504b9962d0c3407f7b4239 DIST patch.4.7.25.2 2210 BLAKE2B 3e9727a4e006fa8e4502f1481a44144458401d0df0eeea26eb135b1979f330f354cd5016f56b86400118f13fe29a92798b0dcf19581738d3e9cf83b9be1ebb6d SHA512 d57746a527574966606955a8ad6b97742ff3979e85a0d087ae0c33b64b4fc2fd854f3ac145e2efc061b3479de5ee8172a02183cf54ada91fce3e331ab948ff18 DIST patch.4.7.25.3 8442 BLAKE2B 666b643b3bf0d1e5ef5e445ae03228f436a5528bc197338c3c9bd468d7002bc81a16e295cf34fe6b38903e7f65c2c5c3cd9be0a3227f1122aeda22afc165e2a9 SHA512 815560c45c9c8491fd58d881a0bc1d23a82a13298d4757ed7d2ae4df4b88b278b8e4d6063eb46349a8f6f11ca9aa5b8555f3ce01df025715c2579dfa36241238 DIST patch.4.7.25.4 5647 BLAKE2B 60ecb24fb137f7aeacb9689d8edc41791f78f96d1aa15c7fa47032371533d668c5dc12a5e1641945402f0e21f4e596cebb5010ac170ef462279b2efb887be020 SHA512 df9810034773a9d0556cbd174e4f131f0461402bf3f476ae5da1deb92f3e2e9ef789687c5cc5c2df6385f6b14251e893be225ffacd895d71dfb305b9de32567e -EBUILD db-1.85-r3.ebuild 1325 BLAKE2B 7dfb82cdc266defa521ad8c65d504372bcfa4857eb6c4053e725c0171627057249c964afbacfd5f1afe0865daf8a5c3b3704c3832070c1579ff69fa3099bb9b1 SHA512 1c418f0f608de7a74dac4b8d3d9e7951b64cbd6b1318ee2cf0bf3d45f19e81ce9d1c33b0be6f992fdeb09762f39d87d809640f8992841250755cd85dbc740ce6 -EBUILD db-18.1.25.ebuild 6916 BLAKE2B 8a781b5bb85ce1f91c15d2a81c75d1116431671784790f0ee0ed4eba86fc1c268df3a60b4e966b4aa35525b6678de81c1d6057285d4b57ae24fb1e4890939951 SHA512 e6be3ee3b75bbec1eebcd1768e184d5ed59c01ec15de07a1c2223dba700e85945b3dc8d05655bd91a67ccd93a0e8b5cbe076e676c5f2552efa9fd66c926f2d57 -EBUILD db-18.1.32.ebuild 6916 BLAKE2B 8a781b5bb85ce1f91c15d2a81c75d1116431671784790f0ee0ed4eba86fc1c268df3a60b4e966b4aa35525b6678de81c1d6057285d4b57ae24fb1e4890939951 SHA512 e6be3ee3b75bbec1eebcd1768e184d5ed59c01ec15de07a1c2223dba700e85945b3dc8d05655bd91a67ccd93a0e8b5cbe076e676c5f2552efa9fd66c926f2d57 -EBUILD db-3.2.9_p2.ebuild 4955 BLAKE2B 6410a4491d2a774b48a4f188b4e550119ac2197a9c598d91b49f999e745de027697a4356e2f8a36d33742d42906f05208c8f349afcb71a65654bffc6da8df6d0 SHA512 a87c906e804a84de5bdbcbdf60f7c7aef03b6faf27a1137c91724d9649e9a00b5315751aca771453879fa9d36772e01ac92688e79a04585c4744b63ccb9bcdea -EBUILD db-4.2.52_p5-r1.ebuild 4992 BLAKE2B b143746d1dc41eaf5d02bab1ef9e011b34497f70c35d92a0254ba733a7f16cec10edc409bc2ac7e793a29b0e467af84609634b7017dfc840c721e24c2d36ea48 SHA512 1b2103f8e9f6c555011ccd8024457cf559377f046f373d73f280fe37acd84d20e1096eb316eb126d51cb2ee9152c1c655b8e38c1a15a88d7eacc582a87bfeae5 -EBUILD db-4.3.29_p1-r1.ebuild 4939 BLAKE2B 54e56fd6e169f533ceaa501e907226565ec2307d1937f9b23e5ad4deeea2a5e6825b065399e804a6c82f12873d1da38d48fd49944115b4f9afdc398e8b314915 SHA512 feeeda60d36795315ecd46fbb540ac0d546b787de9d26763c3ad13e72ace9347d9c75ebe4dc1067e35f536295d212c9fb99badf8d79cf2740d508c5018d0e119 -EBUILD db-4.4.20_p4-r1.ebuild 4831 BLAKE2B a21d1c19b909dd3a3a091a310a624461bc82f34a2002ca11fc344f7edc4d17a9595b608490f4c8c41e77803da6ef60f91a2c9e4802174e306fecd853e4c6e387 SHA512 dc60aafa8e088cef0a73917e537baea2c70d169d1e08aa008b30afc8bdc0bd86c77eec625c324cf8542ea56e9c623660e5497f408a0372a41989185f7d3ef001 -EBUILD db-4.5.20_p2-r1.ebuild 5098 BLAKE2B 31ff955c9d7631f831df061f01144828f030a37236d8349d20eb753c1004bb3e7aa3f8faea13125a465dbc3f3c0435c7ac9ebae603ef72ed5c01787359700df4 SHA512 83c6f601c33219ed9729ce62339280830ceaf5c71a6f596aeb452d3978014fa9b6f1042d534fb2a4be332c6f8635a310c3f6b08b21d289095fa510cdbb43962d -EBUILD db-4.6.21_p4.ebuild 4827 BLAKE2B 4aecf06bb9dbd3e4500b464dcd7eb1cb99b20748d70d5b6ebe41ff86c85a868b74e9757efc9f600a4f8fe19019a51d9ee5df907cd0d6a34dd349d44f1f815441 SHA512 8c701d71b3162b17bd01000b49735b219a4e78d11ae8a91396dbe97c5fc6bbb6da25e7ca8def6febddde39918b34fa02829f26496709dbf7e289e6812b51ad06 -EBUILD db-4.7.25_p4.ebuild 4592 BLAKE2B 4fc682600ef5683fb6ddb380719a9dead6376ebb491af01d40db0eea3c6a46e68d8d9159107e2247945498dba7e805e4aff4140484127f72c4ded21e8d88e8cc SHA512 436cf63854c1d40851f43b931fed894057d004604524f55313cc82dc7a90db97fa7cc5d1e027697b11d6db056317dc42c000abb17830fa0f9b065ce4b89e7ed8 -EBUILD db-4.8.30-r2.ebuild 5196 BLAKE2B 99242716a9c82fd3a0fa2e2b7474f278484fb50f773b1dbcd8a17210f381c3c6e8704b1da0a5c07d236763123712fe336a7e783bebce3b74f4e0516b2cc6415e SHA512 10c9bbcb431036a4cd528109c2a77eae48c0bb0e26e36cdf3079ed24bd985627ede6dd94ea2464436f28c14d5fd3a67241c6cde5289d67cf9123c532d56c0447 -EBUILD db-5.1.29-r1.ebuild 5956 BLAKE2B 67343acd2fe034d473a42e1c6432a8fb65df8ef6686926d0951c416bbc59d53864ce76b0365e29f30d11a8cc681f4621c13db5c489a1f35b7335fa6d61a42e8e SHA512 2f18a7c3cbd2985348154d3a93e71e9580ca4d9936f0b33c43ada4501599addcd6b84d13e9587443210a06e4e063dd55a8eebe9a1b9a3d6f3a6a7acdae103444 -EBUILD db-5.3.28-r2.ebuild 7108 BLAKE2B 35e029751c2f5abfa646549e5681b937fac6da97a55d8b9221a40cf59deee99838d107c1ab1ebfadcaf3a606f7063f8b72c3c8f8a64f25e62d4fa18f4b41724f SHA512 6fa45e90dbd4e10c5635044b565f7a2728d99abdd1f63206d2d43a1c3ae35fcc388528ca558afc64569cf25413779149f11cc1c9f1c46e63136fbf9bf71cf082 -EBUILD db-5.3.28-r3.ebuild 7214 BLAKE2B 5f1a55400151f58f192afcce87113d8bfb3d506be9d1217d90e319d283e40f831f14457a11f51d37706cf0138d54d0bee14198a88e5e74f995dbe44fedd3f15f SHA512 cb48b8ae56c05172a89f8edebaba06aba33b955581ac282d7d59c59d78c867fce3b56dd0c7a152bff634e2125e9b5aaca2296e3d414be5ec7003343591dfd273 -EBUILD db-6.0.35-r1.ebuild 7219 BLAKE2B 6bfcb1e611c8fa1523a64ade608dd8d01c7c4cd9d2fbd826ae476baeff4ff9df65bcddc857cf4acd7ab441190e7d2331cd7d5a38c06ebe9030317234544c245f SHA512 733baf8c48bdb34d056db66297b33bb7b44fb550289d11523df548cccd449538963813e4d243952c21d5d14cbccd2a6823036448cae6bb788f61af9923672d3d -EBUILD db-6.0.35.ebuild 7123 BLAKE2B f245ccb914cbb46048c1e42442dd6cf3741ece89a93022b2cd9de168bf0178fc3955fed1100fc3f3dbf728a0f08d222ce3c26af1be4100ef105afc1262dc51d6 SHA512 f4f3028d60da37176746841b2ffdda2f450b1caf2fbb4c102bdeefe0ca146eef7ba6a731e61008640efa318c893189f4156d4e41e54eaef7ee77f85bc0ae1adb -EBUILD db-6.1.36.ebuild 6880 BLAKE2B d3d2f60826f4a28890722e4476fce8a718510c496721aabe1fc5c65bac6ad7e815f22d714846ebc9bbe1fb6b4c843dacfd8b541d79857c0f07aa8e3a405d69d3 SHA512 57aaadbe2aa9e057d3932ce7a8f8afc53d753af6f88fe4b1262543cc0e3bc2b557f816271bc80c541994c2c3683e711905c498158fb9ec352cafb1751ae95f54 -EBUILD db-6.1.38.ebuild 6880 BLAKE2B d3d2f60826f4a28890722e4476fce8a718510c496721aabe1fc5c65bac6ad7e815f22d714846ebc9bbe1fb6b4c843dacfd8b541d79857c0f07aa8e3a405d69d3 SHA512 57aaadbe2aa9e057d3932ce7a8f8afc53d753af6f88fe4b1262543cc0e3bc2b557f816271bc80c541994c2c3683e711905c498158fb9ec352cafb1751ae95f54 -EBUILD db-6.2.32-r1.ebuild 6931 BLAKE2B 71d2c8f6fd6d51288f3ab588ed3ee365279a0d92e945a1cf646ef3a570f4bcbfc2890f77da43aa792133230f788b36747308b859f15d7b10aa4e41c61e368d99 SHA512 d81640d75e86a2418fede61c8b132682f64babd534b171a1f44d1f2e4513d7e8e1841169a84d600d13991c2a25002ff54db58baa55dac4f72b8b1de07582f0a2 -EBUILD db-6.2.38.ebuild 6883 BLAKE2B d95a7ae531acaefd3e98a62e85b7fa7f3e1d44b4a1614d0419c483d7ea27206ed317ce29383ac58638c01b398f3f15534ea67c7a12536c4acc4d51fe4d74fe0f SHA512 6d4f23427eccac7db7d007814c126002f1322b048615e2f45eccdfd4a86e97bf2d5973ccd5ee2369e3b013a1662371bce47905a50333dffb1d16979b536a57ae +EBUILD db-1.85-r4.ebuild 1306 BLAKE2B 1486c5fda2f806ae456ce0291ae9b356be90e27282dbc0ca801567d7bce1e7d468acd6bfb40cb944fd319c4d55ce3367a7100fa25ae3f26d185482602ddc1a40 SHA512 120786a3a06cb8c59e24fce7bb4c4f1660f19bfd972b84d59e4afa4ff0e261ea8432b3414ef2a7176d04df6c726d0b0f191bf3921c0d3e48e4150c5fdae9d2aa +EBUILD db-18.1.32.ebuild 6944 BLAKE2B 23d03a70a916a4fd236455fc8e2a50b682fe2c4a4828b9499823c9779b129170b4d59fd6cf4e622b7d96c5b997c45e443abe1aacdd504ecb5b993e92cf355201 SHA512 809cb9fc4e1fb30d705f7227b8881bfa978ca1dc8503b73fb7bcc74c2293a145b2bb4a7024775a14e9b7a7c84c10979c5d862d0f356cadd327755e6aecee3b91 +EBUILD db-3.2.9_p2-r1.ebuild 4872 BLAKE2B 928b5f9695258dcaf330419ba9304dbb4e005c43817ee955881aa9f19e61712c2a4fa2900de3fb9d318fdd64b18b0c5b8250984068baa6dbea2d6c9683df276a SHA512 f1b3690456a43f125d1377512d2379a2c8d4f9abfd78805ff2401258b8786eb2fafb565daa1c49f1445f0349e76b2f96f26fcc4ce4a3b8df45f39409d24f6d82 +EBUILD db-4.2.52_p5-r2.ebuild 4609 BLAKE2B 8ef11a05001685d8185eda1eea2ddbcad810f33fe5c365a05464b5ff997ff1c858f36536a34466c0ce68160472f0eb45374cb5556640b739c7d03751c9aa971d SHA512 cbacc75cb72f75323b31ffda94e235b98d55dd9fb3bf931d117fe28571e37f8747304c5339ada4996d78f95d5ded00f15cfc44b8af295b62610a6b709d31145d +EBUILD db-4.3.29_p1-r2.ebuild 4528 BLAKE2B a4128b4fff25c016b2751d437cc35fa7e0f4638d68a4929508f3b145163635656c005d54e42056679d8f67cd0ca8f94d0c63f9c9446b8cb8550faee74f998807 SHA512 700dfcdd0549731a24cd1f40fa3f2a42ccf87f8c4fae5845443a945667ea58100548a386944a4fa16f7ed8e3f83e51a95b79868d46ffcd493caee92cba842369 +EBUILD db-4.4.20_p4-r2.ebuild 4412 BLAKE2B d4ab4f8b6227b7e41a326a49ce34618380a8f4a06ff18f1ad671cc6b283794d41c5da2ed525a907602c26873f6a7be433f78588d20abbd27acacf4e97b8660e0 SHA512 faecf68558f49c07400bfef194984109d155ca006549d6f62f1b0a736d07bfc605ed821c89e90a32481611747bbbd12d8cb8e069a0e05e63fca6339d0463bc3e +EBUILD db-4.5.20_p2-r2.ebuild 4653 BLAKE2B 5cf5481dbbd734197c8d05d7317d83231d87606088f826d19fc1078f27f07bbe02653d7d2c75e5093e74ca76ff1b0eced9ff7c59dbcbad8619ad263a01ca9799 SHA512 4f4fd5d83bfbc859b804c23ff2542549a22120ed69737504648ba2665698b7778d2e09276cf4c56ecbd5669b5e1bad521d3fae68cdc5c9aad8474863c9e91951 +EBUILD db-4.6.21_p4-r1.ebuild 4375 BLAKE2B 37c4b2b20ded8c9fe1f1eb401bf7f02ffd6592e002a673ae33e2c675efafe71da99a4d7caffd2f9852082a0f025f23030a75de0ac7372200e9f3b37729bd9799 SHA512 74c3e473b4c87023eb5500b94907643044e7acc0916ff2d7caf8bd56370e70bdc7ea560dc1cbf98bfd4a46eb55401e6cd5af6b1c73489602954e4a327c2cad61 +EBUILD db-4.7.25_p4-r1.ebuild 4722 BLAKE2B ee8e0d611aa42a198df4df4ac802c813e79591785bf5e5601d873cd4b56214bf22dde8835835b8939c881d1035b1d5dd8efa2d65722aa5bec38cfcced69de5f5 SHA512 d0f4a8935fa00596f6215bcc3b2f6ad9e630559cb43ce22ed58a6d6b93fbdf5f9a0e5ed030deed594c639fef2ae3621084cc0482d62d973877dcec2f6546d195 +EBUILD db-4.8.30-r3.ebuild 5205 BLAKE2B 70a74868abb8637d2fea3189cf6fd9e36812f0a0b77998250fa0d3da180c7c2fff2d2098775b57f685fba5c68956f9dd0839e7a1a603a54ee227878982c94367 SHA512 b9db7d18e99238492327cffecd48d897f7c1d5a8a93a03bedf3f8e1871b7e043fc5dd6aa094f60e3fec691c39e8a03c57c55efe805079d2993437366c1f3f092 +EBUILD db-5.1.29-r2.ebuild 5856 BLAKE2B e4b16a65b13c47de96c4bf0886503a7e63199bfd76e1778cc7c5609e3a9dba0b6a3e76199c3d8adff651b87289e8cec6af41c995bfb09223545378591175f311 SHA512 91f8ffd4008d1c25d7604ecec1b03f04c8b33812faa52a99eb709b58b4026492fdcdb5fc1d60392e66673647e76996f5b3702026e50f8fa0d48f0ece0c2f2a29 +EBUILD db-5.3.28-r2.ebuild 7136 BLAKE2B 41a76ef290004a1e137c709078a64ea20e0b4864a4d0a57330ddd5ecaeec4d52e989493274e0d167844c9bb75b040937c83af153a781dcaff17ca2907899c2d5 SHA512 728a9a5266381b22124573e3d81dead6d44c834452250c5bf4c0130814d90a62b9be8de87545b6f6fbca2c782eaec31c3f2a958c196ef93034cdc34024e8aca2 +EBUILD db-5.3.28-r4.ebuild 7139 BLAKE2B 308fef1d85d67ec7e72e0bbe1937e612da7a15bad3c227bbd84b42547765f85960451027821fc4e1cc296fdf5790a7375eeef98289f8157d46f502b2323af225 SHA512 7cad0667f82eb8144521b03bfb027b5497d84eeacc389dd6e7364071958171288a90d59ed6a8407aa12784738766d4d9e3e6ca651169572c4e58351fb89a7c47 +EBUILD db-6.0.35-r2.ebuild 7137 BLAKE2B 2e199b4b2d9f137a2fdba9bd0c33332c20fbf7d1dc39b168286d6043020c2b44376770e8b5c4a4eb128e3ac50719dc21363d193fc03d26db128cf94db72f642c SHA512 5ff1125296504b3630587105ce2d8c7e7de26e3cf9f87d01d4431bf390225640aac901eb359975b6d35896ec7535f30ce65b2118e4e4898cf5f152c64722c3ec +EBUILD db-6.1.38.ebuild 6908 BLAKE2B b6259d7f32cc945b1a4331f7d615d6eed80643f447dbe7b75eeaf1d1a80749a1d3b500dce74e35b7c2831d18203aafebfada2f26769ba08b38942fb3e69a64ee SHA512 3fde549eb7effd3f8c20ab6668f3ca043965c95fe544fe70ed39221f5ff390479b4518f4c33ad7c37859b4750651d0a36ba9fe5defdee17a163a6cdc4ada7302 +EBUILD db-6.2.38.ebuild 6911 BLAKE2B 6cdca513fba86b7ba56bdbb4f81f7b0770d2a3371f1d66fb543b455707fcdb6d8e7f53fcf04951111abe7558ddfc1f098b12f8e2d0bbe9e22406cc8134728156 SHA512 ec3f5b4c78cee86991d2c9e802895d176790c4d437f332231a0c64b7fe7ffc8c6d16d12723c2ad689bc4cb2ea54d478fe194da11f39a801f53aca9eed6b2da83 MISC metadata.xml 1323 BLAKE2B f954567067cc1490d6804dd9d7b612dd90733c7ab84546cbedc0075f8f3ef1faf6f1bb70bae31e83b0aa17666bd6711999b67ce4fe6c15bcffc3ba5bd8d004b7 SHA512 36f8b6db241ef960b2ac0f7bd19738066e3daadd90efbf7edc54a4774e491506d69a2207738f53643a3e52f1f35a900e4717747744bd30ca682265f50cb8884c diff --git a/sys-libs/db/db-1.85-r3.ebuild b/sys-libs/db/db-1.85-r4.ebuild index 065baf18bbdd..055296208c6a 100644 --- a/sys-libs/db/db-1.85-r3.ebuild +++ b/sys-libs/db/db-1.85-r4.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils toolchain-funcs multilib multilib +inherit toolchain-funcs multilib DESCRIPTION="old berk db kept around for really old packages" HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" SRC_URI="http://download.oracle.com/berkeley-db/db.${PV}.tar.gz - mirror://gentoo/${PF}.1.patch.bz2" + mirror://gentoo/${P}-r3.1.patch.bz2" # The patch used by Gentoo is from Fedora, and includes all 5 patches found on # the Oracle page, plus others. @@ -19,13 +19,16 @@ IUSE="" DEPEND="" -S=${WORKDIR}/db.${PV} +S="${WORKDIR}/db.${PV}" + +PATCHES=( + "${WORKDIR}"/${P}-r3.1.patch + "${FILESDIR}"/${P}-gentoo-paths.patch +) + +src_prepare() { + default -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/${PF}.1.patch - epatch "${FILESDIR}"/${P}-gentoo-paths.patch sed -i \ -e "s:@GENTOO_LIBDIR@:$(get_libdir):" \ PORT/linux/Makefile || die @@ -33,16 +36,17 @@ src_unpack() { src_compile() { tc-export CC AR RANLIB - emake -C PORT/linux OORG="${CFLAGS}" || die + emake -C PORT/linux OORG="${CFLAGS}" } src_install() { make -C PORT/linux install DESTDIR="${ED}" || die # binary compat symlink - dosym libdb1.so.2 /usr/$(get_libdir)/libdb.so.2 || die + dosym libdb1.so.2 /usr/$(get_libdir)/libdb.so.2 - dosed "s:<db.h>:<db1/db.h>:" /usr/include/db1/ndbm.h + sed -e "s:<db.h>:<db1/db.h>:" \ + -i "${ED}"/usr/include/db1/ndbm.h || die dosym db1/ndbm.h /usr/include/ndbm.h dodoc changelog README diff --git a/sys-libs/db/db-18.1.25.ebuild b/sys-libs/db/db-18.1.25.ebuild deleted file mode 100644 index 0cfe2f615c18..000000000000 --- a/sys-libs/db/db-18.1.25.ebuild +++ /dev/null @@ -1,245 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal eapi7-ver toolchain-funcs - -#Number of official patches -#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} -if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} - PATCHNO=0 -else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} -fi - -S_BASE="${WORKDIR}/${MY_P}" -S="${S_BASE}/dist" -DESCRIPTION="Oracle Berkeley DB" -HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" -SRC_URI="https://download.oracle.com/otn/berkeley-db/${MY_P}.tar.gz - mirror://gentoo/${MY_P}.tar.gz" -for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do - SRC_URI+=" http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}" -done - -LICENSE="AGPL-3" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc java cxx tcl test" - -REQUIRED_USE="test? ( tcl )" - -# the entire testsuite needs the TCL functionality -DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - test? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jdk-1.5 ) - >=sys-devel/binutils-2.16.1" -RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jre-1.5 )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/db$(ver_cut 1-2)/db.h -) - -PATCHES=( - # bug #510506 - "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch - - # use the includes from the prefix - "${FILESDIR}"/${PN}-6.2.32-jni-check-prefix-first.patch - "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch - - # sqlite configure call has an extra leading .. - # upstreamed:5.2.36, missing in 5.3.x/6.x - # still needs to be patched in 6.0.20 - "${FILESDIR}"/${PN}-18.1.25-sqlite-configure-path.patch - - # The upstream testsuite copies .lib and the binaries for each parallel test - # core, ~300MB each. This patch uses links instead, saves a lot of space. - "${FILESDIR}"/${PN}-18.1.25-test-link.patch -) - -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - eapply "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - - default - - # Upstream release script grabs the dates when the script was run, so lets - # end-run them to keep the date the same. - export REAL_DB_RELEASE_DATE="$(awk \ - '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ - "${S_BASE}"/dist/configure)" - sed -r -i \ - -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die - - # Include the SLOT for Java JAR files - # This supersedes the unused jarlocation patches. - sed -r -i \ - -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die - - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ - -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ - -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die - AT_M4DIR="aclocal aclocal_java" eautoreconf - # Upstream sucks - they do autoconf and THEN replace the version variables. - . ./RELEASE - for v in \ - DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ - DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ - DB_VERSION \ - DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die - done - - # This is a false positive skip in the tests as the test-reviewer code - # looks for 'Skipping\s' - sed -i \ - -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die -} - -multilib_src_configure() { - # sql_compat will cause a collision with sqlite3 - # --enable-sql_compat - # Don't --enable-sql* because we don't want to use bundled sqlite. - # See Gentoo bug #605688 - local myeconfargs=( - --enable-compat185 - --enable-dbm - --enable-o_direct - # Requires openssl-1.0 - --with-repmgr-ssl=no - --without-uniquename - --disable-sql - --disable-sql_codegen - --disable-sql_compat - $([[ ${ABI} == arm ]] && echo --with-mutex=ARM/gcc-assembly) - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) - $(use_enable cxx) - $(use_enable cxx stl) - $(multilib_native_use_enable java) - $(use_enable test) - ) - - tc-ld-disable-gold #470634 - - # compilation with -O0 fails on amd64, see bug #171231 - if [[ ${ABI} == amd64 ]]; then - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - replace-flags -O0 -O2 - is-flagq -O[s123] || append-flags -O2 - fi - - # Add linker versions to the symbols. Easier to do, and safer than header file - # mumbo jumbo. - if use userland_GNU ; then - append-ldflags -Wl,--default-symver - fi - - # use `set` here since the java opts will contain whitespace - if multilib_is_native_abi && use java ; then - myconf+=( - --with-java-prefix="${JAVA_HOME}" - --with-javac-flags="$(java-pkg_javac-args)" - ) - fi - - # Bug #270851: test needs TCL support - if use tcl || use test ; then - myeconfargs+=( - --enable-tcl - --with-tcl="${EPREFIX}/usr/$(get_libdir)" - ) - else - myeconfargs+=(--disable-tcl ) - fi - - ECONF_SOURCE="${S_BASE}"/dist \ - STRIP="true" \ - econf "${myeconfargs[@]}" -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - db_src_install_headerslot - - db_src_install_usrlibcleanup - - if multilib_is_native_abi && use java; then - java-pkg_regso "${ED%/}"/usr/"$(get_libdir)"/libdb_java*.so - java-pkg_dojar "${ED%/}"/usr/"$(get_libdir)"/*.jar - rm -f "${ED%/}"/usr/"$(get_libdir)"/*.jar - fi -} - -multilib_src_install_all() { - db_src_install_usrbinslot - - db_src_install_doc - - dodir /usr/sbin - # This file is not always built, and no longer exists as of db-4.8 - if [[ -f "${ED%/}"/usr/bin/berkeley_db_svc ]] ; then - mv "${ED%/}"/usr/bin/berkeley_db_svc \ - "${ED%/}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die - fi -} - -pkg_postinst() { - multilib_foreach_abi db_fix_so -} - -pkg_postrm() { - multilib_foreach_abi db_fix_so -} - -src_test() { - # db_repsite is impossible to build, as upstream strips those sources. - # db_repsite is used directly in the setup_site_prog, - # setup_site_prog is called from open_site_prog - # which is called only from tests in the multi_repmgr group. - #sed -ri \ - # -e '/set subs/s,multi_repmgr,,g' \ - # "${S_BASE}/test/testparams.tcl" - sed -ri \ - -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die - - # This is the only failure in 5.2.28 so far, and looks like a false positive. - # Repmgr018 (btree): Test of repmgr stats. - # Repmgr018.a: Start a master. - # Repmgr018.b: Start a client. - # Repmgr018.c: Run some transactions at master. - # Rep_test: btree 20 key/data pairs starting at 0 - # Rep_test.a: put/get loop - # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ - -e '/set parms.*repmgr018/d' \ - -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die - - multilib-minimal_src_test -} - -multilib_src_test() { - multilib_is_native_abi || return - - S=${BUILD_DIR} db_src_test -} diff --git a/sys-libs/db/db-18.1.32.ebuild b/sys-libs/db/db-18.1.32.ebuild index 0cfe2f615c18..f1e091a2851e 100644 --- a/sys-libs/db/db-18.1.32.ebuild +++ b/sys-libs/db/db-18.1.32.ebuild @@ -16,6 +16,8 @@ else MY_P=${PN}-${MY_PV} fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/dist" DESCRIPTION="Oracle Berkeley DB" diff --git a/sys-libs/db/db-3.2.9_p2.ebuild b/sys-libs/db/db-3.2.9_p2-r1.ebuild index eac5cd83442e..5385f48b6062 100644 --- a/sys-libs/db/db-3.2.9_p2.ebuild +++ b/sys-libs/db/db-3.2.9_p2-r1.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db multilib +inherit db flag-o-matic multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi DESCRIPTION="Berkeley DB for transaction support in MySQL" @@ -36,62 +36,66 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_unpack() { - # This doesn't build without exceptions - export CXXFLAGS="${CXXFLAGS/-fno-exceptions/-fexceptions}" +PATCHES=( + # Get db to link libdb* to correct dependencies ... for example if we use + # NPTL or NGPT, db detects usable mutexes, and should link against + # libpthread, but does not do so ... + # <azarah@gentoo.org> (23 Feb 2003) + "${FILESDIR}"/${MY_P}-fix-dep-link.patch - unpack "${MY_P}".tar.gz + "${FILESDIR}"/${MY_P}-gcc43.patch +) - chmod -R ug+w * +pkg_setup() { + # This doesn't build without exceptions + replace-flags -fno-exceptions -fexceptions +} - cd "${WORKDIR}"/"${MY_P}" +src_prepare() { for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - # Get db to link libdb* to correct dependencies ... for example if we use - # NPTL or NGPT, db detects usable mutexes, and should link against - # libpthread, but does not do so ... - # <azarah@gentoo.org> (23 Feb 2003) - epatch "${FILESDIR}"/${MY_P}-fix-dep-link.patch + default # We should get dump185 to link against system db1 .. # <azarah@gentoo.org> (23 Feb 2003) - mv "${S}"/dist/Makefile.in "${S}"/dist/Makefile.in.orig - sed -e 's:DB185INC=:DB185INC= -I/usr/include/db1:' \ + mv dist/Makefile.in{,.orig} || die + sed \ + -e 's:DB185INC=:DB185INC= -I/usr/include/db1:' \ -e 's:DB185LIB=:DB185LIB= -ldb1:' \ - "${S}"/dist/Makefile.in.orig > "${S}"/dist/Makefile.in || die "Failed to sed" - - epatch "${FILESDIR}"/${MY_P}-gcc43.patch + dist/Makefile.in.orig \ + > dist/Makefile.in || die - # Fix invalid .la files - cd "${WORKDIR}"/${MY_P}/dist - rm -f ltversion.sh + cd dist || die # remove config.guess else we have problems with gcc-3.2 - rm -f config.guess - sed -i "s,\(-D_GNU_SOURCE\),\1 ${CFLAGS}," configure - + rm config.guess || die + sed -i "s,\(-D_GNU_SOURCE\),\1 ${CFLAGS}," configure || die } -src_compile() { - local conf= - local conf_shared= - local conf_static= - - conf="${conf} - --host=${CHOST} \ - --build=${CHOST} \ - --enable-cxx \ - --enable-compat185 \ - --enable-dump185 \ - --prefix=${EPREFIX}/usr" - - # --enable-rpc DOES NOT BUILD - # Robin H. Johnson <robbat2@gentoo.org> (18 Oct 2003) - - conf_shared="${conf_shared} - --enable-dynamic" +src_configure() { + local conf=( + --host=${CHOST} + --build=${CHOST} + --enable-cxx + --enable-compat185 + --enable-dump185 + ) + + local conf_shared=( + --disable-static + --enable-shared + + # --enable-rpc DOES NOT BUILD + # Robin H. Johnson <robbat2@gentoo.org> (18 Oct 2003) + --enable-dynamic + ) + + local conf_static=( + --disable-shared + --enable-static + ) # TCL support is also broken # Robin H. Johnson <robbat2@gentoo.org> (18 Oct 2003) @@ -103,47 +107,54 @@ src_compile() { # of the libraries in the same build root! einfo "Configuring ${P} (static)..." - mkdir -p "${S}"/build-static - cd "${S}"/build-static - strip=/bin/true \ - ECONF_SOURCE="${S}"/dist econf \ - ${conf} ${conf_static} \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --disable-shared \ - --enable-static || die + mkdir build-static || die + pushd build-static &>/dev/null || die + strip="${EPREFIX}"/bin/true \ + ECONF_SOURCE="${S}"/dist \ + econf "${conf[@]}" "${conf_static[@]}" + popd &>/dev/null || die einfo "Configuring ${P} (shared)..." - mkdir -p "${S}"/build-shared - cd "${S}"/build-shared - strip="${ED}"/bin/true \ - ECONF_SOURCE="${S}"/dist econf \ - ${conf} ${conf_shared} \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --disable-static \ - --enable-shared || die + mkdir build-shared || die + pushd build-shared &>/dev/null || die + strip="${EPREFIX}"/bin/true \ + ECONF_SOURCE="${S}"/dist \ + econf "${conf[@]}" "${conf_shared[@]}" + popd &>/dev/null || die +} +src_compile() { # Parallel make does not work MAKEOPTS="${MAKEOPTS} -j1" + einfo "Building ${P} (static)..." - cd "${S}"/build-static - emake strip="${EPREFIX}"/bin/true || die "Static build failed" + pushd "${S}"/build-static &>/dev/null || die + emake strip="${EPREFIX}"/bin/true + popd &>/dev/null || die + einfo "Building ${P} (shared)..." - cd "${S}"/build-shared - emake strip="${EPREFIX}"/bin/true || die "Shared build failed" + pushd build-shared &>/dev/null || die + emake strip="${EPREFIX}"/bin/true + popd &>/dev/null || die } -src_install () { - cd "${S}"/build-shared - make libdb=libdb-3.2.a \ +src_install() { + pushd build-shared &>/dev/null || die + # build system does not support DESTDIR + emake \ + libdb=libdb-3.2.a \ libcxx=libcxx_3.2.a \ - prefix="${EPREFIX}"/usr \ - libdir="${EPREFIX}"/usr/$(get_libdir) \ + DESTDIR="${D}" \ + prefix="${ED}"/usr \ + libdir="${ED}"/usr/$(get_libdir) \ strip="${EPREFIX}"/bin/true \ - install || die + install + popd &>/dev/null || die - cd "${S}"/build-static - newlib.a libdb.a libdb-3.2.a || die "failed to package static libraries!" - newlib.a libdb_cxx.a libdb_cxx-3.2.a || die "failed to package static libraries!" + pushd build-static &>/dev/null || die + newlib.a libdb.a libdb-3.2.a + newlib.a libdb_cxx.a libdb_cxx-3.2.a + popd &>/dev/null || die db_src_install_headerslot || die "db_src_install_headerslot failed!" @@ -154,12 +165,12 @@ src_install () { # For some reason, db.so's are *not* readable by group or others, # resulting in no one but root being able to use them!!! # This fixes it -- DR 15 Jun 2001 - cd "${ED}"/usr/$(get_libdir) + pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die chmod go+rx *.so # The .la's aren't readable either chmod go+r *.la + popd &>/dev/null || die - cd "${S}" dodoc README db_src_install_doc || die "db_src_install_doc failed!" @@ -169,11 +180,11 @@ src_install () { db_src_install_usrlibcleanup || die "db_src_install_usrlibcleanup failed!" } -pkg_postinst () { +pkg_postinst() { db_fix_so } -pkg_postrm () { +pkg_postrm() { db_fix_so } diff --git a/sys-libs/db/db-4.2.52_p5-r1.ebuild b/sys-libs/db/db-4.2.52_p5-r2.ebuild index f6cf119c6ae4..2db608127ccd 100644 --- a/sys-libs/db/db-4.2.52_p5-r1.ebuild +++ b/sys-libs/db/db-4.2.52_p5-r2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi S="${WORKDIR}/${MY_P}/build_unix" @@ -26,7 +26,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.2" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" IUSE="tcl java doc cxx rpc" @@ -35,108 +35,123 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.4 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-4.2.52_p2-TXN.patch + "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-"${SLOT}"-listen-to-java-options.patch + "${FILESDIR}"/"${PN}"-4.0.14-fix-dep-link.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { - unpack "${MY_P}".tar.gz - cd "${WORKDIR}"/"${MY_P}" + unpack ${MY_P}.tar.gz +} + +src_prepare() { + pushd "${WORKDIR}/${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-4.2.52_p2-TXN.patch - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-listen-to-java-options.patch - epatch "${FILESDIR}"/"${PN}"-4.0.14-fix-dep-link.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in + -i dist/Makefile.in || die # START of 4.5+earlier specific # Upstream sucks, they normally concat these - cd "${S}"/../dist/aclocal - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; - cd "${S}"/../dist/aclocal_java - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; + local i j + for j in dist/aclocal{,_java} ; do + pushd ${j} &>/dev/null || die + for i in * ; do + ln -s ${i} ${i%.ac}.m4 || die + done + popd &>/dev/null || die + done # END of 4.5+earlier specific - cd "${S}"/../dist - rm -f aclocal/libtool.{m4,ac} aclocal.m4 - sed -i \ + pushd dist &>/dev/null || die + rm aclocal/libtool.{m4,ac} || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, missing_sh/ bash, missing_sh/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure -} - -src_compile() { - local myconf="" + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die - use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" + popd &>/dev/null || die + popd &>/dev/null || die +} - myconf="${myconf} $(use_enable cxx)" +src_configure() { + local myconf=( + --enable-compat185 + --with-uniquename + $(use_enable rpc) + --host="${CHOST}" - use tcl \ - && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \ - || myconf="${myconf} --disable-tcl" + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + ) - myconf="${myconf} $(use_enable java)" if use java; then - myconf="${myconf} --with-java-prefix=${JAVA_HOME}" - # Can't get this working any other way, since it returns spaces, and - # bash doesn't seem to want to pass correctly in any way i try - local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + myconf+=( + --with-java-prefix="${JAVA_HOME}" + --with-javac-flags="$(java-pkg_javac-args)" + ) fi - [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" - # the entire testsuite needs the TCL functionality if use tcl && use test; then - myconf="${myconf} --enable-test" + myconf+=( --enable-test ) else - myconf="${myconf} --disable-test" + myconf+=( --disable-test ) fi - cd "${S}" && ECONF_SOURCE="${S}"/../dist econf \ - --prefix="${EPREFIX}"/usr \ - --mandir="${EPREFIX}"/usr/share/man \ - --infodir="${EPREFIX}"/usr/share/info \ - --datadir="${EPREFIX}"/usr/share \ - --sysconfdir="${EPREFIX}"/etc \ - --localstatedir="${EPREFIX}"/var/lib \ - --libdir="${EPREFIX}"/usr/"$(get_libdir)" \ - --enable-compat185 \ - --with-uniquename \ - $(use_enable rpc) \ - --host="${CHOST}" \ - ${myconf} "${javaconf}" || die "configure failed" + ECONF_SOURCE="${S}"/../dist \ + econf "${myconf[@]}" +} +src_compile() { # This isn't safe for prefix (Darwin should be .jnilib), but I can't get the # build system to behave itself, it generates libtool too late. - sed -i \ + sed \ -e 's/-shrext $(SOFLAGS)/-shrext .so $(SOFLAGS)/g' \ - Makefile - emake || die "make failed" + -i Makefile || die + emake } src_install() { - einstall libdir="${ED}/usr/$(get_libdir)" strip="${ED}/bin/strip" || die + emake \ + DESTDIR="${D}" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + strip="${EPREFIX}/bin/strip" \ + install db_src_install_usrbinslot @@ -148,8 +163,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.3.29_p1-r1.ebuild b/sys-libs/db/db-4.3.29_p1-r2.ebuild index 82815967b4a9..a152f3a66fa3 100644 --- a/sys-libs/db/db-4.3.29_p1-r1.ebuild +++ b/sys-libs/db/db-4.3.29_p1-r2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi S="${WORKDIR}/${MY_P}/build_unix" @@ -26,7 +26,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.3" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86" IUSE="tcl java doc cxx rpc" @@ -36,82 +36,103 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.4 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-"${SLOT}"-listen-to-java-options.patch + + "${FILESDIR}"/"${PN}"-4.3.27-fix-dep-link.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { unpack "${MY_P}".tar.gz - cd "${WORKDIR}"/"${MY_P}" +} + +src_prepare() { + pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch - - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-listen-to-java-options.patch - epatch "${FILESDIR}"/"${PN}"-4.3.27-fix-dep-link.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in + dist/Makefile.in || die # START of 4.5+earlier specific # Upstream sucks, they normally concat these - cd "${S}"/../dist/aclocal - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; - cd "${S}"/../dist/aclocal_java - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; + local i j + for j in dist/aclocal{,_java} ; do + pushd ${j} &>/dev/null || die + for i in * ; do + ln -s ${i} ${i%.ac}.m4 || die + done + popd &>/dev/null || die + done # END of 4.5+earlier specific - cd "${S}"/../dist - rm -f aclocal/libtool.{m4,ac} aclocal.m4 - sed -i \ + + pushd dist &>/dev/null || die + rm aclocal/libtool.{m4,ac} || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, missing_sh/ bash, missing_sh/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die + popd &>/dev/null || die + popd &>/dev/null || die } -src_compile() { - local myconf="" - - use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" +src_configure() { + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $(use_enable rpc) + --host="${CHOST}" + + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + ) - myconf="${myconf} $(use_enable cxx)" - - use tcl \ - && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \ - || myconf="${myconf} --disable-tcl" - - myconf="${myconf} $(use_enable java)" if use java; then - myconf="${myconf} --with-java-prefix=${JAVA_HOME}" - # Can't get this working any other way, since it returns spaces, and - # bash doesn't seem to want to pass correctly in any way i try - local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + myconf+=( + --with-java-prefix="${JAVA_HOME}" + --with-javac-flags="$(java-pkg_javac-args)" + ) fi - [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" - # the entire testsuite needs the TCL functionality if use tcl && use test ; then - myconf="${myconf} --enable-test" + myconf+=( --enable-test ) else - myconf="${myconf} --disable-test" + myconf+=( --disable-test ) fi # Add linker versions to the symbols. Easier to do, and safer than header @@ -120,26 +141,16 @@ src_compile() { append-ldflags -Wl,--default-symver fi - cd "${S}" && ECONF_SOURCE="${S}"/../dist econf \ - --prefix="${EPREFIX}"/usr \ - --mandir="${EPREFIX}"/usr/share/man \ - --infodir="${EPREFIX}"/usr/share/info \ - --datadir="${EPREFIX}"/usr/share \ - --sysconfdir="${EPREFIX}"/etc \ - --localstatedir="${EPREFIX}"/var/lib \ - --libdir="${EPREFIX}"/usr/"$(get_libdir)" \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $(use_enable rpc) \ - --host="${CHOST}" \ - ${myconf} "${javaconf}" || die "configure failed" - - emake || die "make failed" + ECONF_SOURCE="${S}"/../dist \ + econf "${myconf[@]}" } src_install() { - einstall libdir="${ED}/usr/$(get_libdir)" strip="${ED}/bin/strip" || die + emake \ + DESTDIR="${D}" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + strip="${EPREFIX}/bin/strip" \ + install db_src_install_usrbinslot @@ -151,8 +162,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.4.20_p4-r1.ebuild b/sys-libs/db/db-4.4.20_p4-r2.ebuild index 05a30a452450..64d3c53846b4 100644 --- a/sys-libs/db/db-4.4.20_p4-r1.ebuild +++ b/sys-libs/db/db-4.4.20_p4-r2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi S="${WORKDIR}/${MY_P}/build_unix" @@ -27,7 +27,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat BSD" -SLOT="4.4" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="tcl java doc cxx rpc" @@ -37,75 +37,96 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.4 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-4.3-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { unpack "${MY_P}".tar.gz unpack "${MY_P}-20060110-rpc_server-java".tar.gz - cd "${WORKDIR}"/"${MY_P}" +} + +src_prepare() { + pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-4.3-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in + -i dist/Makefile.in || die # START of 4.5+earlier specific # Upstream sucks, they normally concat these - cd "${S}"/../dist/aclocal - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; - cd "${S}"/../dist/aclocal_java - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; + local i j + for j in dist/aclocal{,_java} ; do + pushd ${j} &>/dev/null || die + for i in * ; do + ln -s ${i} ${i%.ac}.m4 || die + done + popd &>/dev/null || die + done # END of 4.5+earlier specific - cd "${S}"/../dist - rm -f aclocal/libtool.{m4,ac} aclocal.m4 + pushd dist &>/dev/null || die + rm aclocal/libtool.{m4,ac} || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure -} - -src_compile() { - local myconf="" - - use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die - myconf="${myconf} $(use_enable cxx)" + popd &>/dev/null || die + popd &>/dev/null || die +} - use tcl \ - && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \ - || myconf="${myconf} --disable-tcl" +src_configure() { + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $(use_enable rpc) + --host="${CHOST}" + + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + ) - myconf="${myconf} $(use_enable java)" if use java; then - myconf="${myconf} --with-java-prefix=${JAVA_HOME}" - # Can't get this working any other way, since it returns spaces, and - # bash doesn't seem to want to pass correctly in any way i try - local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + myconf+=( + --with-java-prefix="${JAVA_HOME}" + --with-javac-flags="$(java-pkg_javac-args)" + ) fi - [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" - # the entire testsuite needs the TCL functionality if use tcl && use test ; then - myconf="${myconf} --enable-test" + myconf+=( --enable-test ) else - myconf="${myconf} --disable-test" + myconf+=( --disable-test ) fi # Add linker versions to the symbols. Easier to do, and safer than header file @@ -114,26 +135,16 @@ src_compile() { append-ldflags -Wl,--default-symver fi - cd "${S}" && ECONF_SOURCE="${S}"/../dist econf \ - --prefix="${EPREFIX}"/usr \ - --mandir="${EPREFIX}"/usr/share/man \ - --infodir="${EPREFIX}"/usr/share/info \ - --datadir="${EPREFIX}"/usr/share \ - --sysconfdir="${EPREFIX}"/etc \ - --localstatedir="${EPREFIX}"/var/lib \ - --libdir="${EPREFIX}"/usr/"$(get_libdir)" \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $(use_enable rpc) \ - --host="${CHOST}" \ - ${myconf} "${javaconf}" || die "configure failed" - - emake -j1 || die "make failed" + ECONF_SOURCE="${S}"/../dist \ + econf "${myconf[@]}" } src_install() { - einstall libdir="${ED}/usr/$(get_libdir)" strip="${ED}/bin/strip" || die + emake \ + DESTDIR="${D}" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + strip="${EPREFIX}/bin/strip" \ + install db_src_install_usrbinslot @@ -145,8 +156,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.6.21_p4.ebuild b/sys-libs/db/db-4.5.20_p2-r2.ebuild index ed807c87586b..c44739cf0a90 100644 --- a/sys-libs/db/db-4.6.21_p4.ebuild +++ b/sys-libs/db/db-4.5.20_p2-r2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi S="${WORKDIR}/${MY_P}/build_unix" @@ -26,7 +26,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.6" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" IUSE="tcl java doc cxx rpc" @@ -36,79 +36,107 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.4 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-4.3-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { unpack "${MY_P}".tar.gz - cd "${WORKDIR}"/"${MY_P}" +} + +src_prepare() { + pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in - - cd "${S}"/../dist - rm -f aclocal/libtool.m4 - sed -i \ + -i dist/Makefile.in || die + + # START of 4.5+earlier specific + # Upstream sucks, they normally concat these + local i j + for j in dist/aclocal{,_java} ; do + pushd ${j} &>/dev/null || die + for i in * ; do + ln -s ${i} ${i%.ac}.m4 || die + done + popd &>/dev/null || die + done + # END of 4.5+earlier specific + pushd dist &>/dev/null || die + rm aclocal/libtool.{m4,ac} || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die + + popd &>/dev/null || die + popd &>/dev/null || die } -src_compile() { +src_configure() { # compilation with -O0 fails on amd64, see bug #171231 - if use amd64; then + if use amd64 ; then replace-flags -O0 -O2 is-flagq -O[s123] || append-flags -O2 fi - local myconf="" - - use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $(use_enable rpc) + --host="${CHOST}" - myconf="${myconf} $(use_enable cxx)" + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + ) - use tcl \ - && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \ - || myconf="${myconf} --disable-tcl" - - myconf="${myconf} $(use_enable java)" if use java; then - myconf="${myconf} --with-java-prefix=${JAVA_HOME}" - # Can't get this working any other way, since it returns spaces, and - # bash doesn't seem to want to pass correctly in any way i try - local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + myconf+=( + --with-java-prefix="${JAVA_HOME}" + --with-javac-flags="$(java-pkg_javac-args)" + ) fi - [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" - # the entire testsuite needs the TCL functionality if use tcl && use test ; then - myconf="${myconf} --enable-test" + myconf+=( --enable-test ) else - myconf="${myconf} --disable-test" + myconf+=( --disable-test ) fi # Add linker versions to the symbols. Easier to do, and safer than header file @@ -117,29 +145,18 @@ src_compile() { append-ldflags -Wl,--default-symver fi - cd "${S}" && ECONF_SOURCE="${S}"/../dist econf \ - --prefix="${EPREFIX}"/usr \ - --mandir="${EPREFIX}"/usr/share/man \ - --infodir="${EPREFIX}"/usr/share/info \ - --datadir="${EPREFIX}"/usr/share \ - --sysconfdir="${EPREFIX}"/etc \ - --localstatedir="${EPREFIX}"/var/lib \ - --libdir="${EPREFIX}"/usr/"$(get_libdir)" \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $(use_enable rpc) \ - --host="${CHOST}" \ - ${myconf} "${javaconf}" || die "configure failed" - - sed -e "s,\(^STRIP *=\).*,\1\"true\"," Makefile > Makefile.cpy \ - && mv Makefile.cpy Makefile - - emake || die "make failed" + ECONF_SOURCE="${S}"/../dist \ + econf "${myconf[@]}" + + sed -e "s,\(^STRIP *=\).*,\1\"true\"," -i Makefile || die } src_install() { - einstall libdir="${ED}/usr/$(get_libdir)" STRIP="true" || die + emake \ + DESTDIR="${D}" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + STRIP="true" \ + install db_src_install_usrbinslot @@ -151,8 +168,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.5.20_p2-r1.ebuild b/sys-libs/db/db-4.6.21_p4-r1.ebuild index 6509b9634399..00ab2118d149 100644 --- a/sys-libs/db/db-4.5.20_p2-r1.ebuild +++ b/sys-libs/db/db-4.6.21_p4-r1.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi S="${WORKDIR}/${MY_P}/build_unix" @@ -26,7 +26,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.5" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" IUSE="tcl java doc cxx rpc" @@ -36,86 +36,96 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.4 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-"${SLOT}"-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { unpack "${MY_P}".tar.gz - cd "${WORKDIR}"/"${MY_P}" +} + +src_prepare() { + pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-"${SLOT}"-libtool.patch - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-4.3-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in - - # START of 4.5+earlier specific - # Upstream sucks, they normally concat these - cd "${S}"/../dist/aclocal - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; - cd "${S}"/../dist/aclocal_java - for i in *; do ln -s $i ${i%.ac}.m4 ; done ; - # END of 4.5+earlier specific - cd "${S}"/../dist - rm -f aclocal/libtool.{m4,ac} aclocal.m4 - sed -i \ + -i dist/Makefile.in || die + + pushd dist &>/dev/null || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die + + popd &>/dev/null || die + popd &>/dev/null || die } -src_compile() { +src_configure() { # compilation with -O0 fails on amd64, see bug #171231 - if use amd64; then + if use amd64 ; then replace-flags -O0 -O2 is-flagq -O[s123] || append-flags -O2 fi - local myconf="" - - use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" - - myconf="${myconf} $(use_enable cxx)" + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $(use_enable rpc) + --host="${CHOST}" - use tcl \ - && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \ - || myconf="${myconf} --disable-tcl" + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + ) - myconf="${myconf} $(use_enable java)" if use java; then - myconf="${myconf} --with-java-prefix=${JAVA_HOME}" - # Can't get this working any other way, since it returns spaces, and - # bash doesn't seem to want to pass correctly in any way i try - local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + myconf+=( + --with-java-prefix="${JAVA_HOME}" + --with-javac-flags="$(java-pkg_javac-args)" + ) fi - [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" - # the entire testsuite needs the TCL functionality if use tcl && use test ; then - myconf="${myconf} --enable-test" + myconf+=( --enable-test ) else - myconf="${myconf} --disable-test" + myconf+=( --disable-test ) fi # Add linker versions to the symbols. Easier to do, and safer than header file @@ -124,29 +134,18 @@ src_compile() { append-ldflags -Wl,--default-symver fi - cd "${S}" && ECONF_SOURCE="${S}"/../dist econf \ - --prefix="${EPREFIX}"/usr \ - --mandir="${EPREFIX}"/usr/share/man \ - --infodir="${EPREFIX}"/usr/share/info \ - --datadir="${EPREFIX}"/usr/share \ - --sysconfdir="${EPREFIX}"/etc \ - --localstatedir="${EPREFIX}"/var/lib \ - --libdir="${EPREFIX}"/usr/"$(get_libdir)" \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $(use_enable rpc) \ - --host="${CHOST}" \ - ${myconf} "${javaconf}" || die "configure failed" - - sed -e "s,\(^STRIP *=\).*,\1\"true\"," Makefile > Makefile.cpy \ - && mv Makefile.cpy Makefile - - emake || die "make failed" + ECONF_SOURCE="${S}"/../dist \ + econf "${myconf[@]}" + + sed -e "s,\(^STRIP *=\).*,\1\"true\"," -i Makefile || die } src_install() { - einstall libdir="${ED}/usr/$(get_libdir)" STRIP="true" || die + emake \ + DESTDIR="${D}" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + STRIP="true" \ + install db_src_install_usrbinslot @@ -158,8 +157,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.7.25_p4.ebuild b/sys-libs/db/db-4.7.25_p4-r1.ebuild index 7134fc1a80af..7309f2c92018 100644 --- a/sys-libs/db/db-4.7.25_p4.ebuild +++ b/sys-libs/db/db-4.7.25_p4-r1.ebuild @@ -1,22 +1,24 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib +inherit autotools db flag-o-matic java-pkg-opt-2 multilib #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi +RESTRICT="!test? ( test )" + S="${WORKDIR}/${MY_P}/build_unix" DESCRIPTION="Oracle Berkeley DB" HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" @@ -26,7 +28,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.7" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86" IUSE="doc java cxx tcl test rpc" @@ -38,62 +40,96 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) RDEPEND="tcl? ( dev-lang/tcl ) java? ( >=virtual/jre-1.5 )" +PATCHES=( + "${FILESDIR}"/"${PN}"-4.6-libtool.patch + + # use the includes from the prefix + "${FILESDIR}"/"${PN}"-4.6-jni-check-prefix-first.patch + "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch +) + +# Required to avoid unpack attempt of patches src_unpack() { unpack "${MY_P}".tar.gz - cd "${WORKDIR}"/"${MY_P}" +} + +src_prepare() { + pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/"${PN}"-4.6-libtool.patch - # use the includes from the prefix - epatch "${FILESDIR}"/"${PN}"-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch + default - sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE + sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \ + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in + -i dist/Makefile.in || die - cd "${S}"/../dist - rm -f aclocal/libtool.m4 - sed -i \ + pushd dist &>/dev/null || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure -} + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die -src_compile() { - local myconf='' + popd &>/dev/null || die + popd &>/dev/null || die +} +src_configure() { # compilation with -O0 fails on amd64, see bug #171231 - if use amd64; then + if use amd64 ; then replace-flags -O0 -O2 is-flagq -O[s123] || append-flags -O2 fi - # use `set` here since the java opts will contain whitespace - set -- - if use java ; then - set -- "$@" \ - --with-java-prefix="${JAVA_HOME}" \ + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $(use_enable rpc) + + $(usex amd64 '--with-mutex=x86/gcc-assembly' '') + $(use_enable cxx) + $(use_enable tcl) + $(usex tcl "--with-tcl=${EPREFIX}/usr/$(get_libdir)" '') #" + $(use_enable java) + $(use_enable test) + ) + + if use java; then + myconf+=( + --with-java-prefix="${JAVA_HOME}" --with-javac-flags="$(java-pkg_javac-args)" + ) + fi + + # Bug #270851: test needs TCL support + if use tcl && use test ; then + myconf+=( --enable-test ) + else + myconf+=( --disable-test ) fi # Add linker versions to the symbols. Easier to do, and safer than header file @@ -102,41 +138,22 @@ src_compile() { append-ldflags -Wl,--default-symver fi - # Bug #270851: test needs TCL support - if use tcl || use test ; then - myconf="${myconf} --enable-tcl" - myconf="${myconf} --with-tcl=${EPREFIX}/usr/$(get_libdir)" - else - myconf="${myconf} --disable-tcl" - fi - - cd "${S}" ECONF_SOURCE="${S}"/../dist \ STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $(use_enable rpc) \ - $(use amd64 && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable java) \ - ${myconf} \ - $(use_enable test) \ - "$@" + econf "${myconf[@]}" + # The embedded assembly on ARM does not work on newer hardware # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. # Specifically, it uses the SWPB op, which was deprecated: # http://www.keil.com/support/man/docs/armasm/armasm_dom1361289909499.htm + # The op ALSO cannot be used in ARM-Thumb mode. # Trust the compiler instead. # >=db-6.1 uses LDREX instead. - - emake || die "make failed" } src_install() { - emake install DESTDIR="${D}" || die + emake DESTDIR="${D}" install db_src_install_usrbinslot @@ -148,8 +165,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/db-4.8.30-r2.ebuild b/sys-libs/db/db-4.8.30-r3.ebuild index 23c185000655..72e1ebf21a93 100644 --- a/sys-libs/db/db-4.8.30-r2.ebuild +++ b/sys-libs/db/db-4.8.30-r3.ebuild @@ -1,22 +1,24 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal toolchain-funcs +inherit autotools db flag-o-matic java-pkg-opt-2 multilib multilib-minimal toolchain-funcs #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi +RESTRICT="!test? ( test )" + S="${WORKDIR}/${MY_P}/build_unix" DESCRIPTION="Oracle Berkeley DB" HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" @@ -26,7 +28,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="4.8" +SLOT="$(ver_cut 1-2)" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" IUSE="doc java cxx tcl test" @@ -40,51 +42,68 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) java? ( >=virtual/jre-1.5 )" +PATCHES=( + "${FILESDIR}"/${PN}-4.8-libtool.patch + "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch + "${FILESDIR}"/${PN}-4.8.30-rename-atomic-compare-exchange.patch + + # use the includes from the prefix + "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch + "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch +) + src_prepare() { cd "${WORKDIR}"/"${MY_P}" || die for (( i=1 ; i<=${PATCHNO} ; i++ )) do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" done - epatch "${FILESDIR}"/${PN}-4.8-libtool.patch - epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch - epatch "${FILESDIR}"/${PN}-4.8.30-rename-atomic-compare-exchange.patch - # use the includes from the prefix - epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch + default sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" -i dist/RELEASE \ || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S}"/../dist/Makefile.in || die + -i dist/Makefile.in || die - cd "${S}"/../dist || die - rm -f aclocal/libtool.m4 - sed -i \ + cd dist || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE - sed -i \ + sed \ -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ - -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure || die + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \ + -i configure || die } multilib_src_configure() { - local myconf=() + local myconf=( + --enable-compat185 + --enable-o_direct + --without-uniquename + $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) + $(use_enable cxx) + $(use_enable cxx stl) + $(multilib_native_use_enable java) + $(use_enable test) + ) tc-ld-disable-gold #470634 @@ -121,16 +140,8 @@ multilib_src_configure() { ECONF_SOURCE="${S}"/../dist \ STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-o_direct \ - --without-uniquename \ - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(multilib_native_use_enable java) \ - "${myconf[@]}" \ - $(use_enable test) + econf "${myconf[@]}" + # The embedded assembly on ARM does not work on newer hardware # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. # Specifically, it uses the SWPB op, which was deprecated: @@ -143,7 +154,7 @@ multilib_src_configure() { multilib_src_test() { multilib_is_native_abi || return - S=${BUILD_DIR} db_src_test + S="${BUILD_DIR}" db_src_test } multilib_src_install() { diff --git a/sys-libs/db/db-5.1.29-r1.ebuild b/sys-libs/db/db-5.1.29-r2.ebuild index 82fda831643c..e756c205a3cf 100644 --- a/sys-libs/db/db-5.1.29-r1.ebuild +++ b/sys-libs/db/db-5.1.29-r2.ebuild @@ -1,21 +1,23 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib toolchain-funcs +EAPI=7 +inherit autotools db flag-o-matic java-pkg-opt-2 multilib toolchain-funcs #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" @@ -26,7 +28,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="5.1" +SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="doc java cxx tcl test" @@ -40,70 +42,91 @@ DEPEND="tcl? ( >=dev-lang/tcl-8.4:0 ) RDEPEND="tcl? ( dev-lang/tcl:0 ) java? ( >=virtual/jre-1.5 )" -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - epatch "${FILESDIR}"/${PN}-4.8-libtool.patch - epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch +PATCHES=( + "${FILESDIR}"/${PN}-4.8-libtool.patch + "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch # use the includes from the prefix - epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch + "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch + "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch # upstream autoconf fails to build DBM when it's supposed to # merged upstream in 5.0.26 - #epatch "${FILESDIR}"/${PN}-5.0.21-enable-dbm-autoconf.patch + #"${FILESDIR}"/${PN}-5.0.21-enable-dbm-autoconf.patch # Needed when compiling with clang - epatch "${FILESDIR}"/${P}-rename-atomic-compare-exchange.patch + "${FILESDIR}"/${P}-rename-atomic-compare-exchange.patch +) + +src_prepare() { + cd "${S_BASE}" || die + for (( i=1 ; i<=${PATCHNO} ; i++ )) + do + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" + done + + default # Upstream release script grabs the dates when the script was run, so lets # end-run them to keep the date the same. export REAL_DB_RELEASE_DATE="$(awk \ '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ "${S_BASE}"/dist/configure)" - sed -r -i \ + sed -r \ -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in + -i dist/Makefile.in || die - cd "${S_BASE}"/dist - rm -f aclocal/libtool.m4 - sed -i \ + cd dist || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE + local v ev for v in \ DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ DB_VERSION \ DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure + ev="__EDIT_${v}__" + sed -e "s/${ev}/${!v}/g" -i configure || die done # This is a false positive skip in the tests as the test-reviewer code # looks for 'Skipping\s' - sed -i \ + sed \ -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die + -i "${S_BASE}"/test/tcl/reputils.tcl || die } src_configure() { - local myconf='' + local myconf=( + --enable-compat185 + --enable-dbm + --enable-o_direct + --without-uniquename + --enable-sql + --enable-sql_codegen + --disable-sql_compat + $(use amd64 && echo --with-mutex=x86/gcc-assembly) + $(use_enable cxx) + $(use_enable cxx stl) + $(use_enable java) + $(use_enable test) + ) tc-ld-disable-gold #470634 @@ -113,12 +136,11 @@ src_configure() { is-flagq -O[s123] || append-flags -O2 fi - # use `set` here since the java opts will contain whitespace - set -- if use java ; then - set -- "$@" \ - --with-java-prefix="${JAVA_HOME}" \ + myconf+=( + --with-java-prefix="${JAVA_HOME}" --with-javac-flags="$(java-pkg_javac-args)" + ) fi # Add linker versions to the symbols. Easier to do, and safer than header file @@ -129,32 +151,22 @@ src_configure() { # Bug #270851: test needs TCL support if use tcl || use test ; then - myconf="${myconf} --enable-tcl" - myconf="${myconf} --with-tcl=${EPREFIX}/usr/$(get_libdir)" + myconf+=( + --enable-tcl + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + ) else - myconf="${myconf} --disable-tcl" + myconf+=( --disable-tcl ) fi # sql_compat will cause a collision with sqlite3 # --enable-sql_compat - cd "${S}" + cd "${S}" || die + ECONF_SOURCE="${S_BASE}"/dist \ STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-dbm \ - --enable-o_direct \ - --without-uniquename \ - --enable-sql \ - --enable-sql_codegen \ - --disable-sql_compat \ - $(use amd64 && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(use_enable java) \ - ${myconf} \ - $(use_enable test) \ - "$@" + econf "${myconf[@]}" + # The embedded assembly on ARM does not work on newer hardware # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. # Specifically, it uses the SWPB op, which was deprecated: @@ -164,12 +176,8 @@ src_configure() { # >=db-6.1 uses LDREX instead. } -src_compile() { - emake || die "make failed" -} - src_install() { - emake install DESTDIR="${D}" || die + emake DESTDIR="${D}" install db_src_install_usrbinslot @@ -181,8 +189,10 @@ src_install() { dodir /usr/sbin # This file is not always built, and no longer exists as of db-4.8 - [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] && \ - mv "${ED}"/usr/bin/berkeley_db_svc "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc + if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then + mv "${ED}"/usr/bin/berkeley_db_svc \ + "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die + fi if use java; then java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so @@ -207,9 +217,9 @@ src_test() { #sed -ri \ # -e '/set subs/s,multi_repmgr,,g' \ # "${S_BASE}/test/testparams.tcl" - sed -ri \ + sed -r \ -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" + -i "${S_BASE}/test/tcl/test.tcl" || die db_src_test } diff --git a/sys-libs/db/db-5.3.28-r2.ebuild b/sys-libs/db/db-5.3.28-r2.ebuild index c96a4413498c..ab3e1ac51059 100644 --- a/sys-libs/db/db-5.3.28-r2.ebuild +++ b/sys-libs/db/db-5.3.28-r2.ebuild @@ -16,6 +16,8 @@ else MY_P=${PN}-${MY_PV} fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" diff --git a/sys-libs/db/db-5.3.28-r3.ebuild b/sys-libs/db/db-5.3.28-r4.ebuild index 3c5e21027173..feb6b08177b5 100644 --- a/sys-libs/db/db-5.3.28-r3.ebuild +++ b/sys-libs/db/db-5.3.28-r4.ebuild @@ -1,21 +1,23 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal toolchain-funcs +EAPI=7 +inherit autotools db flag-o-matic java-pkg-opt-2 multilib multilib-minimal toolchain-funcs #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" @@ -26,7 +28,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="Sleepycat" -SLOT="5.3" +SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" IUSE="doc java cxx tcl test" @@ -41,84 +43,108 @@ RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) java? ( >=virtual/jre-1.5 )" MULTILIB_WRAPPED_HEADERS=( - /usr/include/db5.3/db.h + /usr/include/db${SLOT}/db.h ) -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - +PATCHES=( # bug #510506 - epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch + "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch # use the includes from the prefix - epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch + "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch + "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch # sqlite configure call has an extra leading .. # upstreamed:5.2.36, missing in 5.3.x - epatch "${FILESDIR}"/${PN}-5.2.28-sqlite-configure-path.patch + "${FILESDIR}"/${PN}-5.2.28-sqlite-configure-path.patch # The upstream testsuite copies .lib and the binaries for each parallel test # core, ~300MB each. This patch uses links instead, saves a lot of space. - epatch "${FILESDIR}"/${PN}-6.0.20-test-link.patch + "${FILESDIR}"/${PN}-6.0.20-test-link.patch # Needed when compiling with clang - epatch "${FILESDIR}"/${PN}-5.1.29-rename-atomic-compare-exchange.patch + "${FILESDIR}"/${PN}-5.1.29-rename-atomic-compare-exchange.patch +) + +src_prepare() { + cd "${S_BASE}" || die + for (( i=1 ; i<=${PATCHNO} ; i++ )) + do + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" + done + + default # Upstream release script grabs the dates when the script was run, so lets # end-run them to keep the date the same. export REAL_DB_RELEASE_DATE="$(awk \ '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ "${S_BASE}"/dist/configure)" - sed -r -i \ + sed -r \ -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die + dist/Makefile.in || die - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ + cd dist || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE + local v ev for v in \ DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ DB_VERSION \ DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die + ev="__EDIT_${v}__" + sed -e "s/${ev}/${!v}/g" -i configure || die done # This is a false positive skip in the tests as the test-reviewer code # looks for 'Skipping\s' - sed -i \ + sed \ -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die + -i "${S_BASE}"/test/tcl/reputils.tcl || die } multilib_src_configure() { - local myconf=() + local myconf=( + # sql_compat will cause a collision with sqlite3 + #--enable-sql_compat + # Don't --enable-sql* because we don't want to use bundled sqlite. + # See Gentoo bug #605688 + --enable-compat185 + --enable-dbm + --enable-o_direct + --without-uniquename + --disable-sql + --disable-sql_codegen + --disable-sql_compat + $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) + $(use_enable cxx) + $(use_enable cxx stl) + $(multilib_native_use_enable java) + $(use_enable test) + ) tc-ld-disable-gold #470634 # compilation with -O0 fails on amd64, see bug #171231 if [[ ${ABI} == amd64 ]]; then - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" replace-flags -O0 -O2 is-flagq -O[s123] || append-flags -O2 fi @@ -129,7 +155,6 @@ multilib_src_configure() { append-ldflags -Wl,--default-symver fi - # use `set` here since the java opts will contain whitespace if multilib_is_native_abi && use java ; then myconf+=( --with-java-prefix="${JAVA_HOME}" @@ -147,26 +172,10 @@ multilib_src_configure() { myconf+=(--disable-tcl ) fi - # sql_compat will cause a collision with sqlite3 - # --enable-sql_compat - # Don't --enable-sql* because we don't want to use bundled sqlite. - # See Gentoo bug #605688 ECONF_SOURCE="${S_BASE}"/dist \ STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-dbm \ - --enable-o_direct \ - --without-uniquename \ - --disable-sql \ - --disable-sql_codegen \ - --disable-sql_compat \ - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(multilib_native_use_enable java) \ - "${myconf[@]}" \ - $(use_enable test) + econf "${myconf[@]}" + # The embedded assembly on ARM does not work on newer hardware # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. # Specifically, it uses the SWPB op, which was deprecated: @@ -177,7 +186,7 @@ multilib_src_configure() { } multilib_src_install() { - emake install DESTDIR="${D}" + emake DESTDIR="${D}" install db_src_install_headerslot @@ -219,9 +228,9 @@ src_test() { #sed -ri \ # -e '/set subs/s,multi_repmgr,,g' \ # "${S_BASE}/test/testparams.tcl" - sed -ri \ + sed -r \ -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die + -i "${S_BASE}/test/tcl/test.tcl" || die # This is the only failure in 5.2.28 so far, and looks like a false positive. # Repmgr018 (btree): Test of repmgr stats. @@ -231,10 +240,10 @@ src_test() { # Rep_test: btree 20 key/data pairs starting at 0 # Rep_test.a: put/get loop # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ + sed -r \ -e '/set parms.*repmgr018/d' \ -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die + -i "${S_BASE}/test/tcl/test.tcl" || die multilib-minimal_src_test } @@ -242,5 +251,5 @@ src_test() { multilib_src_test() { multilib_is_native_abi || return - S=${BUILD_DIR} db_src_test + S="${BUILD_DIR}" db_src_test } diff --git a/sys-libs/db/db-6.0.35-r1.ebuild b/sys-libs/db/db-6.0.35-r2.ebuild index 70e9cbe1da32..d64d2ecb9bf6 100644 --- a/sys-libs/db/db-6.0.35-r1.ebuild +++ b/sys-libs/db/db-6.0.35-r2.ebuild @@ -1,21 +1,23 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal versionator toolchain-funcs +EAPI=7 +inherit autotools db flag-o-matic java-pkg-opt-2 multilib multilib-minimal toolchain-funcs #Number of official patches #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} +PATCHNO="${PV/*.*.*_p}" if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} + MY_PV="${PV}" + MY_P="${P}" PATCHNO=0 else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} + MY_PV="${PV/_p${PATCHNO}}" + MY_P="${PN}-${MY_PV}" fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" @@ -26,7 +28,7 @@ for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do done LICENSE="AGPL-3" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" IUSE="doc java cxx tcl test" @@ -41,76 +43,96 @@ RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) java? ( >=virtual/jre-1.5 )" MULTILIB_WRAPPED_HEADERS=( - /usr/include/db$(get_version_component_range 1-2)/db.h + /usr/include/db${SLOT}/db.h ) -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - +PATCHES=( # bug #510506 - epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch + "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch # use the includes from the prefix - epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch + "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch + "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch # sqlite configure call has an extra leading .. # upstreamed:5.2.36, missing in 5.3.x/6.x # still needs to be patched in 6.0.20 - epatch "${FILESDIR}"/${PN}-6.0.35-sqlite-configure-path.patch + "${FILESDIR}"/${PN}-6.0.35-sqlite-configure-path.patch # The upstream testsuite copies .lib and the binaries for each parallel test # core, ~300MB each. This patch uses links instead, saves a lot of space. - epatch "${FILESDIR}"/${PN}-6.0.20-test-link.patch + "${FILESDIR}"/${PN}-6.0.20-test-link.patch +) + +src_prepare() { + cd "${S_BASE}" || die + for (( i=1 ; i<=${PATCHNO} ; i++ )) + do + eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}" + done + + default # Upstream release script grabs the dates when the script was run, so lets # end-run them to keep the date the same. export REAL_DB_RELEASE_DATE="$(awk \ '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ "${S_BASE}"/dist/configure)" - sed -r -i \ + sed -r \ -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die + -i dist/RELEASE || die # Include the SLOT for Java JAR files # This supersedes the unused jarlocation patches. - sed -r -i \ + sed -r \ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die + -i dist/Makefile.in || die - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ + cd dist || die + rm aclocal/libtool.m4 || die + sed \ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ + -i configure.ac || die + sed \ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die + -i aclocal/programs.m4 || die + AT_M4DIR="aclocal aclocal_java" eautoreconf + # Upstream sucks - they do autoconf and THEN replace the version variables. . ./RELEASE + local v ev for v in \ DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ DB_VERSION \ DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die + ev="__EDIT_${v}__" + sed -e "s/${ev}/${!v}/g" -i configure || die done # This is a false positive skip in the tests as the test-reviewer code # looks for 'Skipping\s' - sed -i \ + sed \ -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die + -i "${S_BASE}"/test/tcl/reputils.tcl || die } multilib_src_configure() { - local myconf=() + local myconf=( + --enable-compat185 + --enable-dbm + --enable-o_direct + --without-uniquename + --disable-sql + --disable-sql_codegen + --disable-sql_compat + $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) + $(use_enable cxx) + $(use_enable cxx stl) + $(multilib_native_use_enable java) + $(use_enable test) + ) tc-ld-disable-gold #470634 @@ -151,20 +173,8 @@ multilib_src_configure() { # See Gentoo bug #605688 ECONF_SOURCE="${S_BASE}"/dist \ STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-dbm \ - --enable-o_direct \ - --without-uniquename \ - --disable-sql \ - --disable-sql_codegen \ - --disable-sql_compat \ - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(multilib_native_use_enable java) \ - "${myconf[@]}" \ - $(use_enable test) + econf "${myconf[@]}" + # The embedded assembly on ARM does not work on newer hardware # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. # Specifically, it uses the SWPB op, which was deprecated: @@ -175,7 +185,7 @@ multilib_src_configure() { } multilib_src_install() { - emake install DESTDIR="${D}" + emake DESTDIR="${D}" install db_src_install_headerslot @@ -214,12 +224,12 @@ src_test() { # db_repsite is used directly in the setup_site_prog, # setup_site_prog is called from open_site_prog # which is called only from tests in the multi_repmgr group. - #sed -ri \ + #sed -r \ # -e '/set subs/s,multi_repmgr,,g' \ - # "${S_BASE}/test/testparams.tcl" - sed -ri \ + # -i "${S_BASE}/test/testparams.tcl" + sed -r \ -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die + -i "${S_BASE}/test/tcl/test.tcl" || die # This is the only failure in 5.2.28 so far, and looks like a false positive. # Repmgr018 (btree): Test of repmgr stats. @@ -229,10 +239,10 @@ src_test() { # Rep_test: btree 20 key/data pairs starting at 0 # Rep_test.a: put/get loop # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ + sed -r \ -e '/set parms.*repmgr018/d' \ -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die + -i "${S_BASE}/test/tcl/test.tcl" || die multilib-minimal_src_test } @@ -240,5 +250,5 @@ src_test() { multilib_src_test() { multilib_is_native_abi || return - S=${BUILD_DIR} db_src_test + S="${BUILD_DIR}" db_src_test } diff --git a/sys-libs/db/db-6.0.35.ebuild b/sys-libs/db/db-6.0.35.ebuild deleted file mode 100644 index f3644915753d..000000000000 --- a/sys-libs/db/db-6.0.35.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal versionator toolchain-funcs - -#Number of official patches -#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} -if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} - PATCHNO=0 -else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} -fi - -S_BASE="${WORKDIR}/${MY_P}" -S="${S_BASE}/build_unix" -DESCRIPTION="Oracle Berkeley DB" -HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" -SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz" -for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do - export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}" -done - -LICENSE="AGPL-3" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" -IUSE="doc java cxx tcl test" - -REQUIRED_USE="test? ( tcl )" - -# the entire testsuite needs the TCL functionality -DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - test? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jdk-1.5 ) - >=sys-devel/binutils-2.16.1" -RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jre-1.5 )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/db$(get_version_component_range 1-2)/db.h -) - -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - - # bug #510506 - epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch - - # use the includes from the prefix - epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch - epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch - - # sqlite configure call has an extra leading .. - # upstreamed:5.2.36, missing in 5.3.x/6.x - # still needs to be patched in 6.0.20 - epatch "${FILESDIR}"/${PN}-6.0.35-sqlite-configure-path.patch - - # The upstream testsuite copies .lib and the binaries for each parallel test - # core, ~300MB each. This patch uses links instead, saves a lot of space. - epatch "${FILESDIR}"/${PN}-6.0.20-test-link.patch - - # Upstream release script grabs the dates when the script was run, so lets - # end-run them to keep the date the same. - export REAL_DB_RELEASE_DATE="$(awk \ - '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ - "${S_BASE}"/dist/configure)" - sed -r -i \ - -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die - - # Include the SLOT for Java JAR files - # This supersedes the unused jarlocation patches. - sed -r -i \ - -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die - - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ - -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ - -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die - AT_M4DIR="aclocal aclocal_java" eautoreconf - # Upstream sucks - they do autoconf and THEN replace the version variables. - . ./RELEASE - for v in \ - DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ - DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ - DB_VERSION \ - DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die - done - - # This is a false positive skip in the tests as the test-reviewer code - # looks for 'Skipping\s' - sed -i \ - -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die -} - -multilib_src_configure() { - local myconf=() - - tc-ld-disable-gold #470634 - - # compilation with -O0 fails on amd64, see bug #171231 - if [[ ${ABI} == amd64 ]]; then - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - replace-flags -O0 -O2 - is-flagq -O[s123] || append-flags -O2 - fi - - # Add linker versions to the symbols. Easier to do, and safer than header file - # mumbo jumbo. - if use userland_GNU ; then - append-ldflags -Wl,--default-symver - fi - - # use `set` here since the java opts will contain whitespace - if multilib_is_native_abi && use java ; then - myconf+=( - --with-java-prefix="${JAVA_HOME}" - --with-javac-flags="$(java-pkg_javac-args)" - ) - fi - - # Bug #270851: test needs TCL support - if use tcl || use test ; then - myconf+=( - --enable-tcl - --with-tcl="${EPREFIX}/usr/$(get_libdir)" - ) - else - myconf+=(--disable-tcl ) - fi - - # sql_compat will cause a collision with sqlite3 - # --enable-sql_compat - ECONF_SOURCE="${S_BASE}"/dist \ - STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-dbm \ - --enable-o_direct \ - --without-uniquename \ - --enable-sql \ - --enable-sql_codegen \ - --disable-sql_compat \ - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(multilib_native_use_enable java) \ - "${myconf[@]}" \ - $(use_enable test) - # The embedded assembly on ARM does not work on newer hardware - # so you CANNOT use --with-mutex=ARM/gcc-assembly anymore. - # Specifically, it uses the SWPB op, which was deprecated: - # http://www.keil.com/support/man/docs/armasm/armasm_dom1361289909499.htm - # The op ALSO cannot be used in ARM-Thumb mode. - # Trust the compiler instead. - # >=db-6.1 uses LDREX instead. -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - db_src_install_headerslot - - db_src_install_usrlibcleanup - - if multilib_is_native_abi && use java; then - java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so - java-pkg_dojar "${ED}"/usr/"$(get_libdir)"/*.jar - rm -f "${ED}"/usr/"$(get_libdir)"/*.jar - fi -} - -multilib_src_install_all() { - db_src_install_usrbinslot - - db_src_install_doc - - dodir /usr/sbin - # This file is not always built, and no longer exists as of db-4.8 - if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then - mv "${ED}"/usr/bin/berkeley_db_svc \ - "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die - fi -} - -pkg_postinst() { - multilib_foreach_abi db_fix_so -} - -pkg_postrm() { - multilib_foreach_abi db_fix_so -} - -src_test() { - # db_repsite is impossible to build, as upstream strips those sources. - # db_repsite is used directly in the setup_site_prog, - # setup_site_prog is called from open_site_prog - # which is called only from tests in the multi_repmgr group. - #sed -ri \ - # -e '/set subs/s,multi_repmgr,,g' \ - # "${S_BASE}/test/testparams.tcl" - sed -ri \ - -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die - - # This is the only failure in 5.2.28 so far, and looks like a false positive. - # Repmgr018 (btree): Test of repmgr stats. - # Repmgr018.a: Start a master. - # Repmgr018.b: Start a client. - # Repmgr018.c: Run some transactions at master. - # Rep_test: btree 20 key/data pairs starting at 0 - # Rep_test.a: put/get loop - # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ - -e '/set parms.*repmgr018/d' \ - -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die - - multilib-minimal_src_test -} - -multilib_src_test() { - multilib_is_native_abi || return - - S=${BUILD_DIR} db_src_test -} diff --git a/sys-libs/db/db-6.1.36.ebuild b/sys-libs/db/db-6.1.36.ebuild deleted file mode 100644 index 7d292cd735b5..000000000000 --- a/sys-libs/db/db-6.1.36.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal eapi7-ver toolchain-funcs - -#Number of official patches -#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} -if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} - PATCHNO=0 -else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} -fi - -S_BASE="${WORKDIR}/${MY_P}" -S="${S_BASE}/build_unix" -DESCRIPTION="Oracle Berkeley DB" -HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" -SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz" -for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do - export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}" -done - -LICENSE="AGPL-3" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" -IUSE="doc java cxx tcl test" - -REQUIRED_USE="test? ( tcl )" - -# the entire testsuite needs the TCL functionality -DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - test? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jdk-1.5 ) - >=sys-devel/binutils-2.16.1" -RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jre-1.5 )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/db$(ver_cut 1-2)/db.h -) - -PATCHES=( - # bug #510506 - "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch - - # use the includes from the prefix - "${FILESDIR}"/${PN}-6.2-jni-check-prefix-first.patch - "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch - - # sqlite configure call has an extra leading .. - # upstreamed:5.2.36, missing in 5.3.x/6.x - # still needs to be patched in 6.0.20 - "${FILESDIR}"/${PN}-6.1.19-sqlite-configure-path.patch - - # The upstream testsuite copies .lib and the binaries for each parallel test - # core, ~300MB each. This patch uses links instead, saves a lot of space. - "${FILESDIR}"/${PN}-6.0.20-test-link.patch -) - -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - eapply "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - - default - - # Upstream release script grabs the dates when the script was run, so lets - # end-run them to keep the date the same. - export REAL_DB_RELEASE_DATE="$(awk \ - '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ - "${S_BASE}"/dist/configure)" - sed -r -i \ - -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die - - # Include the SLOT for Java JAR files - # This supersedes the unused jarlocation patches. - sed -r -i \ - -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die - - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ - -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ - -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die - AT_M4DIR="aclocal aclocal_java" eautoreconf - # Upstream sucks - they do autoconf and THEN replace the version variables. - . ./RELEASE - for v in \ - DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ - DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ - DB_VERSION \ - DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die - done - - # This is a false positive skip in the tests as the test-reviewer code - # looks for 'Skipping\s' - sed -i \ - -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die -} - -multilib_src_configure() { - # sql_compat will cause a collision with sqlite3 - # --enable-sql_compat - # Don't --enable-sql* because we don't want to use bundled sqlite. - # See Gentoo bug #605688 - local myeconfargs=( - --enable-compat185 - --enable-dbm - --enable-o_direct - --without-uniquename - --disable-sql - --disable-sql_codegen - --disable-sql_compat - $([[ ${ABI} == arm ]] && echo --with-mutex=ARM/gcc-assembly) - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) - $(use_enable cxx) - $(use_enable cxx stl) - $(multilib_native_use_enable java) - $(use_enable test) - ) - - tc-ld-disable-gold #470634 - - # compilation with -O0 fails on amd64, see bug #171231 - if [[ ${ABI} == amd64 ]]; then - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - replace-flags -O0 -O2 - is-flagq -O[s123] || append-flags -O2 - fi - - # Add linker versions to the symbols. Easier to do, and safer than header file - # mumbo jumbo. - if use userland_GNU ; then - append-ldflags -Wl,--default-symver - fi - - # use `set` here since the java opts will contain whitespace - if multilib_is_native_abi && use java ; then - myeconfargs+=( - --with-java-prefix="${JAVA_HOME}" - --with-javac-flags="$(java-pkg_javac-args)" - ) - fi - - # Bug #270851: test needs TCL support - if use tcl || use test ; then - myeconfargs+=( - --enable-tcl - --with-tcl="${EPREFIX}/usr/$(get_libdir)" - ) - else - myeconfargs+=(--disable-tcl ) - fi - - ECONF_SOURCE="${S_BASE}"/dist \ - STRIP="true" \ - econf "${myeconfargs[@]}" -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - db_src_install_headerslot - - db_src_install_usrlibcleanup - - if multilib_is_native_abi && use java; then - java-pkg_regso "${ED%/}"/usr/"$(get_libdir)"/libdb_java*.so - java-pkg_dojar "${ED%/}"/usr/"$(get_libdir)"/*.jar - rm -f "${ED%/}"/usr/"$(get_libdir)"/*.jar - fi -} - -multilib_src_install_all() { - db_src_install_usrbinslot - - db_src_install_doc - - dodir /usr/sbin - # This file is not always built, and no longer exists as of db-4.8 - if [[ -f "${ED%/}"/usr/bin/berkeley_db_svc ]] ; then - mv "${ED%/}"/usr/bin/berkeley_db_svc \ - "${ED%/}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die - fi -} - -pkg_postinst() { - multilib_foreach_abi db_fix_so -} - -pkg_postrm() { - multilib_foreach_abi db_fix_so -} - -src_test() { - # db_repsite is impossible to build, as upstream strips those sources. - # db_repsite is used directly in the setup_site_prog, - # setup_site_prog is called from open_site_prog - # which is called only from tests in the multi_repmgr group. - #sed -ri \ - # -e '/set subs/s,multi_repmgr,,g' \ - # "${S_BASE}/test/testparams.tcl" - sed -ri \ - -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die - - # This is the only failure in 5.2.28 so far, and looks like a false positive. - # Repmgr018 (btree): Test of repmgr stats. - # Repmgr018.a: Start a master. - # Repmgr018.b: Start a client. - # Repmgr018.c: Run some transactions at master. - # Rep_test: btree 20 key/data pairs starting at 0 - # Rep_test.a: put/get loop - # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ - -e '/set parms.*repmgr018/d' \ - -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die - - multilib-minimal_src_test -} - -multilib_src_test() { - multilib_is_native_abi || return - - S=${BUILD_DIR} db_src_test -} diff --git a/sys-libs/db/db-6.1.38.ebuild b/sys-libs/db/db-6.1.38.ebuild index 7d292cd735b5..e1ebf51e41f4 100644 --- a/sys-libs/db/db-6.1.38.ebuild +++ b/sys-libs/db/db-6.1.38.ebuild @@ -16,6 +16,8 @@ else MY_P=${PN}-${MY_PV} fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" diff --git a/sys-libs/db/db-6.2.32-r1.ebuild b/sys-libs/db/db-6.2.32-r1.ebuild deleted file mode 100644 index e1114041dd5e..000000000000 --- a/sys-libs/db/db-6.2.32-r1.ebuild +++ /dev/null @@ -1,243 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal versionator toolchain-funcs - -#Number of official patches -#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` -PATCHNO=${PV/*.*.*_p} -if [[ ${PATCHNO} == "${PV}" ]] ; then - MY_PV=${PV} - MY_P=${P} - PATCHNO=0 -else - MY_PV=${PV/_p${PATCHNO}} - MY_P=${PN}-${MY_PV} -fi - -S_BASE="${WORKDIR}/${MY_P}" -S="${S_BASE}/build_unix" -DESCRIPTION="Oracle Berkeley DB" -HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html" -SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz" -for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do - export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}" -done - -LICENSE="AGPL-3" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" -IUSE="doc java cxx tcl test" - -REQUIRED_USE="test? ( tcl )" - -# the entire testsuite needs the TCL functionality -DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - test? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jdk-1.5 ) - >=sys-devel/binutils-2.16.1" -RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jre-1.5 )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/db$(get_version_component_range 1-2)/db.h -) - -PATCHES=( - # bug #510506 - "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch - - # use the includes from the prefix - "${FILESDIR}"/${PN}-6.2.32-jni-check-prefix-first.patch - "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch - - # sqlite configure call has an extra leading .. - # upstreamed:5.2.36, missing in 5.3.x/6.x - # still needs to be patched in 6.0.20 - "${FILESDIR}"/${PN}-6.1.19-sqlite-configure-path.patch - - # The upstream testsuite copies .lib and the binaries for each parallel test - # core, ~300MB each. This patch uses links instead, saves a lot of space. - "${FILESDIR}"/${PN}-6.0.20-test-link.patch -) - -src_prepare() { - cd "${WORKDIR}"/"${MY_P}" - for (( i=1 ; i<=${PATCHNO} ; i++ )) - do - epatch "${DISTDIR}"/patch."${MY_PV}"."${i}" - done - - epatch "${PATCHES[@]}" - epatch_user - - # Upstream release script grabs the dates when the script was run, so lets - # end-run them to keep the date the same. - export REAL_DB_RELEASE_DATE="$(awk \ - '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \ - "${S_BASE}"/dist/configure)" - sed -r -i \ - -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \ - "${S_BASE}"/dist/RELEASE || die - - # Include the SLOT for Java JAR files - # This supersedes the unused jarlocation patches. - sed -r -i \ - -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \ - "${S_BASE}"/dist/Makefile.in || die - - cd "${S_BASE}"/dist || die - rm -f aclocal/libtool.m4 - sed -i \ - -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \ - configure.ac || die - sed -i \ - -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \ - aclocal/programs.m4 || die - AT_M4DIR="aclocal aclocal_java" eautoreconf - # Upstream sucks - they do autoconf and THEN replace the version variables. - . ./RELEASE - for v in \ - DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \ - DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \ - DB_VERSION \ - DB_RELEASE_DATE ; do - local ev="__EDIT_${v}__" - sed -i -e "s/${ev}/${!v}/g" configure || die - done - - # This is a false positive skip in the tests as the test-reviewer code - # looks for 'Skipping\s' - sed -i \ - -e '/db_repsite/s,Skipping:,Skipping,g' \ - "${S_BASE}"/test/tcl/reputils.tcl || die -} - -multilib_src_configure() { - local myconf=() - - tc-ld-disable-gold #470634 - - # compilation with -O0 fails on amd64, see bug #171231 - if [[ ${ABI} == amd64 ]]; then - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - replace-flags -O0 -O2 - is-flagq -O[s123] || append-flags -O2 - fi - - # Add linker versions to the symbols. Easier to do, and safer than header file - # mumbo jumbo. - if use userland_GNU ; then - append-ldflags -Wl,--default-symver - fi - - # use `set` here since the java opts will contain whitespace - if multilib_is_native_abi && use java ; then - myconf+=( - --with-java-prefix="${JAVA_HOME}" - --with-javac-flags="$(java-pkg_javac-args)" - ) - fi - - # Bug #270851: test needs TCL support - if use tcl || use test ; then - myconf+=( - --enable-tcl - --with-tcl="${EPREFIX}/usr/$(get_libdir)" - ) - else - myconf+=(--disable-tcl ) - fi - - # sql_compat will cause a collision with sqlite3 - # --enable-sql_compat - # Don't --enable-sql* because we don't want to use bundled sqlite. - # See Gentoo bug #605688 - ECONF_SOURCE="${S_BASE}"/dist \ - STRIP="true" \ - econf \ - --enable-compat185 \ - --enable-dbm \ - --enable-o_direct \ - --without-uniquename \ - --disable-sql \ - --disable-sql_codegen \ - --disable-sql_compat \ - $([[ ${ABI} == arm ]] && echo --with-mutex=ARM/gcc-assembly) \ - $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \ - $(use_enable cxx) \ - $(use_enable cxx stl) \ - $(multilib_native_use_enable java) \ - "${myconf[@]}" \ - $(use_enable test) -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - db_src_install_headerslot - - db_src_install_usrlibcleanup - - if multilib_is_native_abi && use java; then - java-pkg_regso "${ED}"/usr/"$(get_libdir)"/libdb_java*.so - java-pkg_dojar "${ED}"/usr/"$(get_libdir)"/*.jar - rm -f "${ED}"/usr/"$(get_libdir)"/*.jar - fi -} - -multilib_src_install_all() { - db_src_install_usrbinslot - - db_src_install_doc - - dodir /usr/sbin - # This file is not always built, and no longer exists as of db-4.8 - if [[ -f "${ED}"/usr/bin/berkeley_db_svc ]] ; then - mv "${ED}"/usr/bin/berkeley_db_svc \ - "${ED}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die - fi -} - -pkg_postinst() { - multilib_foreach_abi db_fix_so -} - -pkg_postrm() { - multilib_foreach_abi db_fix_so -} - -src_test() { - # db_repsite is impossible to build, as upstream strips those sources. - # db_repsite is used directly in the setup_site_prog, - # setup_site_prog is called from open_site_prog - # which is called only from tests in the multi_repmgr group. - #sed -ri \ - # -e '/set subs/s,multi_repmgr,,g' \ - # "${S_BASE}/test/testparams.tcl" - sed -ri \ - -e '/multi_repmgr/d' \ - "${S_BASE}/test/tcl/test.tcl" || die - - # This is the only failure in 5.2.28 so far, and looks like a false positive. - # Repmgr018 (btree): Test of repmgr stats. - # Repmgr018.a: Start a master. - # Repmgr018.b: Start a client. - # Repmgr018.c: Run some transactions at master. - # Rep_test: btree 20 key/data pairs starting at 0 - # Rep_test.a: put/get loop - # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1 - sed -ri \ - -e '/set parms.*repmgr018/d' \ - -e 's/repmgr018//g' \ - "${S_BASE}/test/tcl/test.tcl" || die - - multilib-minimal_src_test -} - -multilib_src_test() { - multilib_is_native_abi || return - - S=${BUILD_DIR} db_src_test -} diff --git a/sys-libs/db/db-6.2.38.ebuild b/sys-libs/db/db-6.2.38.ebuild index 635689ac65cb..37e88ebf6652 100644 --- a/sys-libs/db/db-6.2.38.ebuild +++ b/sys-libs/db/db-6.2.38.ebuild @@ -16,6 +16,8 @@ else MY_P=${PN}-${MY_PV} fi +RESTRICT="!test? ( test )" + S_BASE="${WORKDIR}/${MY_P}" S="${S_BASE}/build_unix" DESCRIPTION="Oracle Berkeley DB" diff --git a/sys-libs/db/files/db-1.85-gentoo-paths.patch b/sys-libs/db/files/db-1.85-gentoo-paths.patch index 4a65106bdc70..8154300f67bc 100644 --- a/sys-libs/db/files/db-1.85-gentoo-paths.patch +++ b/sys-libs/db/files/db-1.85-gentoo-paths.patch @@ -1,5 +1,5 @@ ---- PORT/linux/Makefile -+++ PORT/linux/Makefile +--- a/PORT/linux/Makefile ++++ b/PORT/linux/Makefile @@ -1,12 +1,12 @@ # @(#)Makefile 8.9 (Berkeley) 7/14/94 diff --git a/sys-libs/db/files/db-3.2.9-gcc43.patch b/sys-libs/db/files/db-3.2.9-gcc43.patch index f032da85296a..17bdddf3d8df 100644 --- a/sys-libs/db/files/db-3.2.9-gcc43.patch +++ b/sys-libs/db/files/db-3.2.9-gcc43.patch @@ -5,7 +5,7 @@ diff -Nuar db-3.2.9.orig/include/db_cxx.h db-3.2.9/include/db_cxx.h // Forward declarations // -+#if defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) ++#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) +using namespace std; +#include <iostream> +#else diff --git a/sys-libs/db/files/db-4.2-jni-check-prefix-first.patch b/sys-libs/db/files/db-4.2-jni-check-prefix-first.patch index 17f80e1bcfef..0777c706d0bf 100644 --- a/sys-libs/db/files/db-4.2-jni-check-prefix-first.patch +++ b/sys-libs/db/files/db-4.2-jni-check-prefix-first.patch @@ -1,5 +1,5 @@ ---- dist/aclocal_java/ac_jni_include_dirs.ac 2003-10-06 20:41:38.000000000 +0200 -+++ dist/aclocal_java/ac_jni_include_dirs.ac 2005-09-23 21:31:26.000000000 +0200 +--- a/dist/aclocal_java/ac_jni_include_dirs.ac ++++ b/dist/aclocal_java/ac_jni_include_dirs.ac @@ -43,14 +43,19 @@ *) AC_MSG_ERROR([$_ACJNI_JAVAC is not an absolute path name]);; esac diff --git a/sys-libs/db/files/db-4.2-listen-to-java-options.patch b/sys-libs/db/files/db-4.2-listen-to-java-options.patch index 8ddb46b70261..f1f701de1261 100644 --- a/sys-libs/db/files/db-4.2-listen-to-java-options.patch +++ b/sys-libs/db/files/db-4.2-listen-to-java-options.patch @@ -1,5 +1,5 @@ ---- dist/configure.ac 2005-09-23 21:01:26.000000000 +0200 -+++ dist/configure.ac 2005-09-23 20:59:20.000000000 +0200 +--- a/dist/configure.ac ++++ b/dist/configure.ac @@ -385,6 +385,7 @@ # A classpath that includes . is needed to check for Java CLASSPATH=".:$CLASSPATH" diff --git a/sys-libs/db/files/db-4.2.52_p2-TXN.patch b/sys-libs/db/files/db-4.2.52_p2-TXN.patch index 7ff8874c0ca8..a9ca9ef132f3 100644 --- a/sys-libs/db/files/db-4.2.52_p2-TXN.patch +++ b/sys-libs/db/files/db-4.2.52_p2-TXN.patch @@ -21,8 +21,8 @@ RCS file: /var/CVSROOT/bdb42/dbinc/db.in,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 ---- dbinc/db.in 25 Nov 2003 21:58:02 -0000 1.1.1.1 -+++ dbinc/db.in 17 Jul 2004 16:07:23 -0000 1.2 +--- a/dbinc/db.in 25 Nov 2003 21:58:02 -0000 1.1.1.1 ++++ b/dbinc/db.in 17 Jul 2004 16:07:23 -0000 1.2 @@ -839,6 +839,7 @@ #define TXN_NOWAIT 0x040 /* Do not wait on locks. */ #define TXN_RESTORED 0x080 /* Transaction has been restored. */ @@ -37,8 +37,8 @@ RCS file: /var/CVSROOT/bdb42/txn/txn.c,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 ---- txn/txn.c 17 Dec 2003 21:43:53 -0000 1.1.1.2 -+++ txn/txn.c 17 Jul 2004 16:07:27 -0000 1.2 +--- a/txn/txn.c 17 Dec 2003 21:43:53 -0000 1.1.1.2 ++++ b/txn/txn.c 17 Jul 2004 16:07:27 -0000 1.2 @@ -127,7 +127,7 @@ if ((ret = __db_fchk(dbenv, "txn_begin", flags, diff --git a/sys-libs/db/files/db-4.3-jni-check-prefix-first.patch b/sys-libs/db/files/db-4.3-jni-check-prefix-first.patch index 17f80e1bcfef..0777c706d0bf 100644 --- a/sys-libs/db/files/db-4.3-jni-check-prefix-first.patch +++ b/sys-libs/db/files/db-4.3-jni-check-prefix-first.patch @@ -1,5 +1,5 @@ ---- dist/aclocal_java/ac_jni_include_dirs.ac 2003-10-06 20:41:38.000000000 +0200 -+++ dist/aclocal_java/ac_jni_include_dirs.ac 2005-09-23 21:31:26.000000000 +0200 +--- a/dist/aclocal_java/ac_jni_include_dirs.ac ++++ b/dist/aclocal_java/ac_jni_include_dirs.ac @@ -43,14 +43,19 @@ *) AC_MSG_ERROR([$_ACJNI_JAVAC is not an absolute path name]);; esac diff --git a/sys-libs/db/files/db-4.3-libtool.patch b/sys-libs/db/files/db-4.3-libtool.patch index 426fd519f714..c594f73c748f 100644 --- a/sys-libs/db/files/db-4.3-libtool.patch +++ b/sys-libs/db/files/db-4.3-libtool.patch @@ -1,5 +1,5 @@ ---- dist/configure.orig 2005-02-02 11:22:49.596096072 +0100 -+++ dist/configure 2005-02-02 11:23:46.749407448 +0100 +--- a/dist/configure ++++ b/dist/configure @@ -5684,7 +5684,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else diff --git a/sys-libs/db/files/db-4.4-libtool.patch b/sys-libs/db/files/db-4.4-libtool.patch index 3d86b88f86b3..b4d2fc8d73cf 100644 --- a/sys-libs/db/files/db-4.4-libtool.patch +++ b/sys-libs/db/files/db-4.4-libtool.patch @@ -1,5 +1,5 @@ ---- dist/configure.orig 2006-01-31 10:23:58.000000000 +0100 -+++ dist/configure 2006-01-31 10:26:43.000000000 +0100 +--- a/dist/configure ++++ b/dist/configure @@ -5765,7 +5765,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else diff --git a/sys-libs/db/files/db-4.5-libtool.patch b/sys-libs/db/files/db-4.5-libtool.patch index 3d86b88f86b3..b4d2fc8d73cf 100644 --- a/sys-libs/db/files/db-4.5-libtool.patch +++ b/sys-libs/db/files/db-4.5-libtool.patch @@ -1,5 +1,5 @@ ---- dist/configure.orig 2006-01-31 10:23:58.000000000 +0100 -+++ dist/configure 2006-01-31 10:26:43.000000000 +0100 +--- a/dist/configure ++++ b/dist/configure @@ -5765,7 +5765,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else diff --git a/sys-libs/db/files/db-4.6-jni-check-prefix-first.patch b/sys-libs/db/files/db-4.6-jni-check-prefix-first.patch index 63735e62469f..a0b2800d1286 100644 --- a/sys-libs/db/files/db-4.6-jni-check-prefix-first.patch +++ b/sys-libs/db/files/db-4.6-jni-check-prefix-first.patch @@ -1,5 +1,5 @@ ---- dist/aclocal_java/ac_jni_include_dirs.m4 2003-10-06 20:41:38.000000000 +0200 -+++ dist/aclocal_java/ac_jni_include_dirs.m4 2005-09-23 21:31:26.000000000 +0200 +--- a/dist/aclocal_java/ac_jni_include_dirs.m4 ++++ b/dist/aclocal_java/ac_jni_include_dirs.m4 @@ -43,14 +43,19 @@ *) AC_MSG_ERROR([$_ACJNI_JAVAC is not an absolute path name]);; esac diff --git a/sys-libs/db/files/db-4.6-libtool.patch b/sys-libs/db/files/db-4.6-libtool.patch index 3d86b88f86b3..b4d2fc8d73cf 100644 --- a/sys-libs/db/files/db-4.6-libtool.patch +++ b/sys-libs/db/files/db-4.6-libtool.patch @@ -1,5 +1,5 @@ ---- dist/configure.orig 2006-01-31 10:23:58.000000000 +0100 -+++ dist/configure 2006-01-31 10:26:43.000000000 +0100 +--- a/dist/configure ++++ b/dist/configure @@ -5765,7 +5765,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else diff --git a/sys-libs/db/files/db-4.8-libtool.patch b/sys-libs/db/files/db-4.8-libtool.patch index f5d985b2f209..0c3dbffb03cc 100644 --- a/sys-libs/db/files/db-4.8-libtool.patch +++ b/sys-libs/db/files/db-4.8-libtool.patch @@ -1,5 +1,5 @@ ---- dist/configure -+++ dist/configure +--- a/dist/configure ++++ b/dist/configure @@ -6691,7 +6691,7 @@ $as_echo_n "(cached) " >&6 else |