diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-12 02:01:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-12 02:01:24 +0000 |
commit | 39c32f4d5dca9f6293fccb69e9d50baf494c8de4 (patch) | |
tree | ec772fdf23a7279a60e9063b01c2dc909741a197 /dev-db | |
parent | 494ca58c9f5243dd4b56557aa8c41bce76e95ec3 (diff) |
gentoo auto-resync : 12:12:2024 - 02:01:23
Diffstat (limited to 'dev-db')
28 files changed, 209 insertions, 402 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex ece5e0e6ffc2..ee312e3636b1 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/firebird/Manifest b/dev-db/firebird/Manifest index 2be9719fc4d8..1480ff70b6db 100644 --- a/dev-db/firebird/Manifest +++ b/dev-db/firebird/Manifest @@ -22,4 +22,4 @@ DIST firebird-nbackup.pdf 202108 BLAKE2B 5ee794890f69935ec238d946649d05a72c31086 DIST firebird-null-guide.pdf 487359 BLAKE2B 346d942b7d4780496c2c212433660415437f6b17a42bb109aaf1cd8a8de31a394a1d2a3b52bb6dc1c3830bc839a692b611c7fe3289243e86ab874a84d989a7b8 SHA512 b5b9981a3f15fe933a44deb001d1d85b0dc340ae0ff55e79d160da8590406515f0ba73360a3904556aa36d94cdafb17fe2452b5f63138cb1f585d70842511cd3 DIST using-firebird.pdf 236646 BLAKE2B 54b296ac8c6281ff501678a24dac76e203a66e569b1cda7dc475a7fe9bbed9fc03923377c320a621a225d0277fc68cfb9820514d3f12191902cdeb18ccb87270 SHA512 ec16c33082524aa5df8907c1143a8707f1193c42882956c220e6c95442d43751ec3e2ba77ded004866f7dab7f58ecf4fac3a0027cf89ec7536c0771260f09cc4 EBUILD firebird-3.0.10.33601.0-r2.ebuild 7583 BLAKE2B 02034a69e21c20f544fd9c4382ce510b6100c9bc7441a9a3d4304bbcdafaab5ed0819ac09313bbbfcb9c8bd2e7e2adc089a8646dd9609008631749dc00e6104e SHA512 6f2d64570889c30039f8e66be20283406d98603b5b742a2acf98dbcb173b048c387c1b16dfdf82819f7d13c9f0c7b3906bef121fa77fd06cbe3fdd718a269bac -MISC metadata.xml 898 BLAKE2B 0233f529337d00c8f0682983bf17e684ecabf35e0def11b284043d3df03d330ac3dfac04ebe613dca6de39628fcbd9f93783cfa537a3fb2943db66ac893cebd9 SHA512 427aa3c158e914471cb3d71058e3a067afce5bb4313fed1ea22f6777443d73dcc88f52c6526aafd69b6f0f8137a340f42676a85c6351c025c45dd91558715070 +MISC metadata.xml 847 BLAKE2B 90efbc0d974a2b5aee6061f3589ab694dc18e6179021edfc7c7e084c12c250e82951932778a1e6279beda34c2477c1c3b59ef9ac936df5175636e75717105ddf SHA512 0e64dbde74495118efb036fffe04c6a5f48f6e0a5779d667eb02078832f1d5e05b5b5b29816517b633bbfa88b5b8fef56b1cfebbdfad56e84f056639111e85f7 diff --git a/dev-db/firebird/metadata.xml b/dev-db/firebird/metadata.xml index 1183b4f3ae97..9839f3286b10 100644 --- a/dev-db/firebird/metadata.xml +++ b/dev-db/firebird/metadata.xml @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>office@gentoo.org</email> - </maintainer> + <!-- maintainer-needed --> <longdescription> Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index b1b5ef91198b..5b9f73f1700b 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -1,19 +1,18 @@ AUX mongodb-4.4.1-boost.patch 692 BLAKE2B 11679603d9f32b68369edb54d819449bf7a5e0ed263c18c90677b2d37702630f6542f4220989641b4e2826adcf24fe11f72e9e14a7e3e54ec7b77676b186fc8c SHA512 c5af45844fb67ca3a1da3831954ca27713efeda34d5e95c4457c424129305eed407f60df024766ce2614c0c5047a4c78d003f55b0da1289557fcf581913397f6 -AUX mongodb-4.4.1-fix-scons.patch 1192 BLAKE2B 3fbb203ca07e1057cb53d1404eb118120990aad339143b5a5fa1e28b528d54dab4be201b82ebd483697485cc90f874db55323f1ae65a6a348f93004dfb23984f SHA512 b26f4d02ee22718278718b8baf20bd57cee7290fe2313a11c629234f29018effdeb1614bd01a98ff5cb62b6a0242acf3f553ea57277327c0d25092c4d80469cc AUX mongodb-4.4.1-gcc11.patch 250 BLAKE2B b92bcd6acee092f9da84005a0abc7c6b4ff12411b1bab9e550c794dff7dd7e8f520f5412b70aa030d26778168efc95adace864653eb43ba89109d415e23c5168 SHA512 10b099b09650119e075a4c6e926cc3538f7227df772af6b8eeeb33726fed41f2010f85fa6906b866705602b84a5baff92c557ef27ba1d4a6c862c40fcc4e7bbe -AUX mongodb-4.4.10-boost-1.79.patch 2071 BLAKE2B b00dfba23f2928793ace34abf26989b6bebe00a6484f36eab114b8612bf509123161925f0ccad04bdafd05c3c30ffb2cdea18303c8473dd3e62e422b73a92c53 SHA512 6bad4c75d8da261ce1e36a3648f0758cd9564eefeacbc2ce7c48ccf68e1f069058daaa9d1a6aa60925330ca50d3a712fda4ffaf2d90a0c6af428993283039a83 AUX mongodb-4.4.10-boost-1.81.patch 13467 BLAKE2B 970163a8084893190ca52e31577b2900d90ee6238ed496cefcdcd51590c6bcb4ae2e620d012ba101c022954d2d5ebd03b13eb2e7f26e8ce68c772d62470adbdc SHA512 62f4802a26398ffb17ac289d9e9de4044b753ece694785d3462f406391abdcfd16ff281959b4e4fb6751cc9247da7a4c55e8fa48eb90fd681eed724fedcb03e9 -AUX mongodb-4.4.10-no-force-lld.patch 1401 BLAKE2B da5798d94f01a821a0d008fab71c90fe6055faca1020259ea3d385ec3a2af28f8b90bdb9daf2bb43e60028ea47ba733a649831584a53596c2e908c0db0a0f755 SHA512 07cdd61e92cf61be0646900c55dab753009d1cc18151c429dd7fdfd22f0b8836a0d51fc184f4459530397893f8863c5d12594ceea6d1fd2e90f98aba832d651a -AUX mongodb-4.4.29-boost-1.85.patch 6375 BLAKE2B eaa71784a169732d4721772cb1063c7a21972ebe093ded7e2a75067622973202d08ca755354eec8fadd8b1590ac606916af42854501f59a229886c28dd2b8489 SHA512 700ba936904d6d53973401858d1ffcdd614388ee9e03a9dd875f56b97427f5214483cc1c7a2f3f7d03d8334c05f39e74e2d64e8317f5b230e8d47b7d9563cb46 AUX mongodb-4.4.29-no-enterprise.patch 969 BLAKE2B b6c607ed7054c74c1c1e29da53292be41bfb690a770fddf9239d9752dec5a87def42488f05295ec505c2cc5f0418358fa51658b9318604c53ae6a3a75d903f8c SHA512 6e84db876022c21c1fcff8c9f88d4ff7375ebb8b37ab0dd445d1697484a1344098bfbffd82b3da7f2f8c2f926c4f403f2ffce9d67ef46b894f3a9f0b981aba10 -AUX mongodb-4.4.8-no-compass.patch 1598 BLAKE2B af1944476041b3e5ea317f52adfced103f5b103484a4de4bb2a2d07ffcbc8b18a975f543e042c3563f1d46978496482ce7de653de8e4b943ef6ecf6e501d9f52 SHA512 0b8f5d085831180dec72ff81a37b4d537e550c8ea80d970b4af1ea6bc66b60ba957ff6506d2e21b9e5bc77b9812251dda33fae8a7c0cac4086141b5fb8ff4190 AUX mongodb-5.0.16-arm64-assert.patch 636 BLAKE2B 443b16404e8a13c7d1ce1a77b72960a40b8a366bae321af9047c1070142f2461a0fd5e813d2a4b3fcbe3b390e5f28f15bc7396ec13d48753a1cdf1cf3043c4b6 SHA512 24851bee5d93783df6f8a605b7d85d78d591bb2361aca4dbecef901c368a92f96661a9c860c98142224a94aa9dca90c6baa2feb58cfab58adc23e2e8b69ba91c -AUX mongodb-5.0.2-boost-1.79.patch 2059 BLAKE2B 9edc95c6894e968b87b94d551a8d19017874d22f284cb00b75f4d6b090b9b0632e3dd68a4227be2ceec429635d47fc04f9aaf120544dec7d772751cf79387e37 SHA512 785367fafca3689e9441dcab64a8222156479d1ece2cde834fa44a90cfdecb9c21d6f41798b0ae0d04219d72eeced52f058e2afbf47eac184a143f3119653562 +AUX mongodb-5.0.2-boost-1.79.patch 2025 BLAKE2B 432c6b569b44c020acbd1e1422a88ecfc945d05894dce1621570a7eba80cece1a53e4db808eb9db41282b2dee7dfc1557a870e67d656fa311da6196521b9dd44 SHA512 8281f49ab26612581157c53747c001bebfb64d96cc685de1ed37fc661a12096a0dfe95907d13e30e7c316da0447a327cd6ec676ff8ae77bac39f8d7871fe2008 AUX mongodb-5.0.2-fix-scons.patch 1298 BLAKE2B e2f77fa965328e61c2e5dcdbfce7317a2323aacd997c7b24cba570bd9909cad8dfd864208d2a33f3d9603c97dc1ad1218a8a83f0a1aecc129e25b54f22fba710 SHA512 a76f7eb91d63bed994f1bf15f4222f72290a4debfaf2da8cb17a593c616e7e919b9c7929fb05f47028854a7cc53264aa053198cbfdbbe182772dd8a994bc6a76 AUX mongodb-5.0.2-no-compass.patch 307 BLAKE2B 7386de453e7349662a1a6ae3f4735ed7519e02ff84444fd38b719d5ba5396fc9000fa83f924e385522e522de8b3330d7b4d7b1c1bcdca51d4fcce0738714b86d SHA512 07fe714a4256c13449e1e764c88d5051773aa9397228085a8d581cde91477dff2c3dc70ba801eb559af76ff19abf205d32c9510606a9bb26cebb33f68822e607 AUX mongodb-5.0.2-skip-no-exceptions.patch 552 BLAKE2B e499cc0f0885e09b2c18ddb8ac5fb85a2bfa3c9a81d1b877b20f1fc8b1908df26faf330e386d688e6ea163e81e404170454d840539146d7d313b3dc8b7753c2e SHA512 6750b5d8427616b290d285959c0c43a28409349ae7b52153d524590a8a38c26c283acc25b82410853b5c87a4c74927cf5844580778d1ef4378cd1b035844dc97 AUX mongodb-5.0.2-skip-reqs-check.patch 766 BLAKE2B 907dbab7e19cb159d5f7df36c725415612290889192bd1118fc445ee86d0bc58a03d4ff92d71d7c2c18e6c480fb542d8880980e3ed499ebbeae113a0b4c360d3 SHA512 29d4ff6de3a89c39ed0e3c54aa1e17fc3466ceb69dfbcfc62109ea2666ca98458b7b23ac82e4b5c9be77d5d82c69d5b213670b3a3367b13c3b8cab06cfacf4c2 -AUX mongodb-5.0.26-boost-1.85.patch 5997 BLAKE2B 1ce29e4589889a24c04a6b705ef83fa4ada74c25bae1f394f82225eb9a199d116630f394ab614315801f460756e8061f00c5c2d20086dbcea7d3fb887a4d3a13 SHA512 a4058ac0faf80ac5928969f85171d99718a20df4336a150e7d8e0ec98ce35632a599df2f2b36e0a1a6976da7c331770648ff91687054338b2d89e4b4a38f1c92 +AUX mongodb-5.0.26-boost-1.85-extra.patch 881 BLAKE2B 4bc63a233072b24e65e5398896098781d7d89ba172d0b2984dfa3f5ac2f18de5ded366c4412c27e664d09cf38d804dfaad44479d79301f7b0878d94eb14e8aa3 SHA512 d2bca1299546bc20d5aa284e0f629d5d097afc784109f2a7c29e5c95964e8e95a903de5070014f54dcad6578c2ec324afed2540c30ba3a5fb6522947c5b619f8 +AUX mongodb-5.0.26-boost-1.85.patch 5442 BLAKE2B df405e23e9ca851b0dfe3571162572ae5051b20d95a3e06db3ec5b83dfc499d7bb247b9982ebfc1d348b29095f0ad17b52b51d9a4050f058166c87ea653e3e9f SHA512 0dd079d67b9ff74cfe23cf08b6666f2dd33fb42d80a50e82278f3d0062b7044c72a4807f0358595046bc611ad3f072843d2bb53f365bf7ac20533125ef96c1d5 +AUX mongodb-5.0.26-scons.patch 1088 BLAKE2B 4a002585e961dfff7d402dedcca3f33a4eb3caae3c75e57326edb0bdbcda4ef8aaa9da23af7b04e5948a6487c9e95bd4de11a3f2bf778897b71966b72fc1bdf7 SHA512 deb5bd514218a9b1741e167b03254aa29799db568d7b82f4dfddda54785b16f2fa158a563c70b36354a05eb2033dc64f1e6b8370953dfbc7685fd9bea7e50a81 +AUX mongodb-5.0.30-gcc-11.patch 278 BLAKE2B eabab39fef0898032b51c45c42a01d95543c2ea710b6d3fb078c36f121df6c860dba34981d1dcdd4e24dd647bf80a0c13c421262a03301680644cbf9a0440715 SHA512 68549ca0be043aaffc0c4773b4ca892a43f356686434cbed4dab7da86f596b2a2a5e160f1242c197b53c40c3c627497c7dacfe05b3d729e42a07f55bd1011e4c +AUX mongodb-5.0.30-gcc-15.patch 635 BLAKE2B 8cf10d5265a717465d8dacec51f59d2bbd191a722dfdf1979e6e7072d1704a6c04a0a61323d9ec0c829f87dc1a4a6c6ed9507baaaabdcfbb684ed22184132e41 SHA512 57e5f4c7490be8589b1292a519d1f571ee0817faee6e5f1c89a8bb786d9b7678682295cd0b6597441eaa693a6b34751cedc354bf37efacdc3f473651139a2015 AUX mongodb-5.0.5-boost-1.81-extra.patch 279 BLAKE2B e851be4110cc65533ec35bdc80fccba53cdccd1e88608f72eeb8ac00fd110d2a1e977638ff69b7bd91e4d58b559f558c25f33488b0ed9e5a2a9c7d817ed87736 SHA512 bef7b01b7a543bc938a640e4fe28d3cabe17690b1051566a42327dfbc7a56401125a677823193fe1059a74f4aadb585b5b1eb560f2c137c80c35a9fef0ced63d AUX mongodb-5.0.5-no-force-lld.patch 2647 BLAKE2B 7759b2a1172e93ce92f5e528236946a2da691362864053f1fe26c61e7332bbc755daebc501d51a51a679661e29c0158277a8e984ad5500aee934e070543a9ccc SHA512 76c6e9aaf86fb62f3d9b887160971390541be5e9c99172ad281d455436f17fc7b7b74120726505d5307371964930261f5348e54e5240bd8a66296b0d210db0e2 AUX mongodb.conf-r3 722 BLAKE2B c053bf101f5e3e38cc68f2bcbe7fb66ed9e55da9382d2412a497d68b478573390eddc5f284f76d56ca4792fe6241f6d1273a6585a98f96a1cb20530499a15904 SHA512 ef193bfed673477aa0e868114bd52be6675492c164f218c71ccd02c4a620b5c4799ea1d18df0c3f2b364027b9f25e60ac4475bb216b25e1dc10bfd00a9f5d45d @@ -24,8 +23,8 @@ AUX mongodb.service-r1 239 BLAKE2B 4e2da934120da54034e2dd030cdd349e7fa9a22293f3d AUX mongos.conf-r2 648 BLAKE2B 420bebfafc1ef4af4b90580077a803fe30f37d63eca6509e7381ca5fcf4e5bc31e136dfc72b653b4d942fdeda058f9fcecc3dcbec9c61e2c82ac3324b9fc0f44 SHA512 5aa8ced8d83572358e008c0df45dbe72a2e9c0003c9f49514d6b91bf9b75d4fb48b189ffe00d14e5675679943a05215a9873c5c9bde9ab1be4ed4813e75714e3 AUX mongos.confd-r3 470 BLAKE2B 9cf6f201d337430901d957a5a0811ff11ac2e81814aac2120c5018e6ec4c38b5ca22d19caea593834416c63609c69a8294227fb6b30200b41dfb29799cc5c1b4 SHA512 952fb9cf5d3eeea2006b101e23142e408c98d66d1f4f868f6ea5a4df6a6331ddcbcbdfb24f4b031c1a8c42652141a3684073b96dfc0b3fbd21dc6b5bcf0e36cb AUX mongos.initd-r3 422 BLAKE2B 90872d0d8cdc5e33e3eebee848f58a2db0511d48b496ba9318117b74ad9265ead53a21b7d1790729a62d61839099bee315ace8ff3646c01e096a943c2251bf88 SHA512 bf5897614d59c6b4e72529b126408a62ea37d9e9368e5ff69c8fcf2bad3ec09065cff09467f82117a892c51090018706d2f38c03cb9a974a61a49bd9efa0f144 -DIST mongodb-4.4.29.gh.tar.gz 51651007 BLAKE2B 9e9bd08ce87659fcf788964ec1bff80baef5bb9c2f5bd4968588511d289b9baf9fc68812f72ee89f90fb557dcc8d2ecbb3f607ca8e31c2212ec9633c0b99da37 SHA512 3c32a918c8b5587b04ee9263788c250a9bbd64f34ed2c19939e78607456215697966e596c2cfd160604b629188e4bdf3fff071db268bb3c25de3077a7c2ef335 DIST mongodb-5.0.26.gh.tar.gz 57252091 BLAKE2B a4663a4dbac90118b56646816b178680a6bd99be6abb582fdfdb662c8ddf14eb9db18ed97260a37b2d04bf11715e6cfaa34bb12c4f4b08426e3afa90908f0b3c SHA512 efd56649006bb61070a2f255e8d843e4ddab33562ec9454afe55848dcc3ce8ee90431f70c9362b14e52c4a49a162ea3075a869a6fd71f63efdd5f4358703fea4 -EBUILD mongodb-4.4.29.ebuild 5435 BLAKE2B 4abc86c22c3ed26ab58922fa7b0b2ebbd81b9e79186a04099074d3e4025c890ca47ddde5633fe11b63da564ae9519a2fe893ef3c3e5bd67ec27eed1f91f472d3 SHA512 53c8311906ac7bbcda7598f039230fef9a89f887ded063b009c77eda8b422349df3b85fa84b964c0e2b9a81d77618f7ad534a702fdfdf963c6911e1a1d529adf -EBUILD mongodb-5.0.26.ebuild 6000 BLAKE2B 1bf2679641b9239c7410be674ac8156dc223f405d69fe3d09baf14c9360284a47631886dd1d1d26b48b5b780479d0effdac2596198880effe504e2aca6b58854 SHA512 a469a5f06dcef9aee138478172e0b3e1d5dafe154447bb1b4c4cfbbb6018d7b0e6566e31b4ab7c38a7ebe784d503297bd1f06b31248f749f846fa57a3e0a01d9 -MISC metadata.xml 931 BLAKE2B 7ac7f9f4c2f048262d980577ef99c4a4200b805ea32976309bc68abaa7d0afc6818d1a24351b4850a7855f6f3e73bd0fd8241326c8a81484815342ba85c2e3ea SHA512 86fc063b5759fe7af2dd288897b8bff77e0d64a934abee3a68c0e0fb4454d67f0ced71e092257004885e375f2f17fd50577bacff802882d2dedff8306cfdf3d2 +DIST mongodb-5.0.30.gh.tar.gz 57312372 BLAKE2B 72b026115cf3c8b1b81857bc5bffcd5b72bae4b581a7ada598bc7bbe594f264f581212159788113c5709ab751dd8a57943a3cc9b78f0d31aeb50375fa1da2c28 SHA512 97642da12cf199fa3f17825b1eb20e4d9bc1f65c8950f54b36347af11b6964cdd2007d11b01147d0c253077ef14121de52517c1739b433b49a9cbbe2596d9d05 +EBUILD mongodb-5.0.26.ebuild 6091 BLAKE2B f126f2893212f71568c1527041c546bca9c523a7c2d1b8d9b1da69cda75a236db479f1c75e77f7d82e5583e262bb33b1dd4c474dbeebed80ad24746374397e81 SHA512 357b5bb2f97f1e38fd3d3031de0e3d9f37292c62e765307524cfb117bef2575ad2504d1a6867862865e120c6a216433e20c8d98332f221221085406eea1af175 +EBUILD mongodb-5.0.30.ebuild 6113 BLAKE2B d3422572bbeade18fdc11eb74d144e09ce503d3018e9e35247edb6beaa75f3e1a4f9b139aada1ff112bb35f57e57a0d5a06a20ebde19c7f95dfacb099545fc97 SHA512 b552052cdc288814b293fa9fbc7027dce4df876eb0e669b1cbde2833769d7807f63f419483dda1d3afcb1ba24587d71d07d479735bfabc8abde27116a7bb4c15 +MISC metadata.xml 990 BLAKE2B 59df82d7c6895609ad70e11bac3aec67c2cb76c5221e71c853cd09c77783acf720bf5ccfae1e998e03cfc15b88560dc30b71ee35ed19a971c39bb840aa622391 SHA512 1c05e1ff3cabed908f254b5166e7396a7b85c63e3589025048d9537c395d3b753706f0c5cb5c09a6766cd8e9d586981eaeb342bfc6a6d14eedcd47da00a2401c diff --git a/dev-db/mongodb/files/mongodb-4.4.1-fix-scons.patch b/dev-db/mongodb/files/mongodb-4.4.1-fix-scons.patch deleted file mode 100644 index 8b9d5d6d9fa2..000000000000 --- a/dev-db/mongodb/files/mongodb-4.4.1-fix-scons.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/SConstruct b/SConstruct -index 89c044ab..a6d02072 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -2064,7 +2064,6 @@ if env.TargetOSIs('posix'): - env.Append( CCFLAGS=["-fno-omit-frame-pointer", - "-fno-strict-aliasing", - "-fasynchronous-unwind-tables", -- "-ggdb" if not env.TargetOSIs('emscripten') else "-g", - "-pthread", - "-Wall", - "-Wsign-compare", -@@ -2076,6 +2075,9 @@ if env.TargetOSIs('posix'): - env.Append( CCFLAGS=["-Werror"] ) - - env.Append( CXXFLAGS=["-Woverloaded-virtual"] ) -+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] ) -+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) -+ - if env.ToolchainIs('clang'): - env.Append( CXXFLAGS=['-Werror=unused-result'] ) - -@@ -2096,8 +2098,8 @@ if env.TargetOSIs('posix'): - - env.Append( LIBS=[] ) - -- #make scons colorgcc friendly -- for key in ('HOME', 'TERM'): -+ #make scons colorgcc, distcc, ccache friendly -+ for key in ('HOME', 'PATH', 'TERM'): - try: - env['ENV'][key] = os.environ[key] - except KeyError: diff --git a/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch b/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch deleted file mode 100644 index 601141e8d416..000000000000 --- a/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch +++ /dev/null @@ -1,71 +0,0 @@ -https://bugs.gentoo.org/844235 ---- a/src/mongo/db/auth/security_key_test.cpp -+++ b/src/mongo/db/auth/security_key_test.cpp -@@ -30,6 +30,7 @@ - #include "mongo/platform/basic.h" - - #include <boost/filesystem.hpp> -+#include <boost/filesystem/fstream.hpp> - - #include "mongo/base/string_data.h" - #include "mongo/db/auth/authorization_manager.h" ---- a/src/mongo/db/storage/storage_repair_observer.cpp -+++ b/src/mongo/db/storage/storage_repair_observer.cpp -@@ -41,6 +41,7 @@ - #include <sys/types.h> - #endif - -+#include <boost/filesystem/fstream.hpp> - #include <boost/filesystem/path.hpp> - - #include "mongo/db/dbhelpers.h" ---- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp -+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp -@@ -34,6 +34,7 @@ - #include "mongo/db/storage/kv/kv_engine_test_harness.h" - - #include <boost/filesystem.hpp> -+#include <boost/filesystem/fstream.hpp> - #include <boost/filesystem/path.hpp> - #include <memory> - ---- a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp -+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp -@@ -36,6 +36,7 @@ - #include <limits> - - #include <boost/filesystem.hpp> -+#include <boost/filesystem/fstream.hpp> - #include <boost/filesystem/path.hpp> - - #include "mongo/base/simple_string_data_comparator.h" ---- a/src/mongo/shell/shell_utils_extended.cpp -+++ b/src/mongo/shell/shell_utils_extended.cpp -@@ -37,6 +37,7 @@ - #endif - - #include <boost/filesystem.hpp> -+#include <boost/filesystem/fstream.hpp> - #include <fstream> - - #include "mongo/bson/bson_validate.h" ---- a/src/mongo/util/processinfo_linux.cpp -+++ b/src/mongo/util/processinfo_linux.cpp -@@ -36,6 +36,7 @@ - #include <iostream> - #include <malloc.h> - #include <pcrecpp.h> -+#include <fstream> - #include <sched.h> - #include <stdio.h> - #include <sys/mman.h> ---- a/src/mongo/util/stacktrace_threads.cpp -+++ b/src/mongo/util/stacktrace_threads.cpp -@@ -36,6 +36,7 @@ - #include <array> - #include <atomic> - #include <boost/filesystem.hpp> -+#include <boost/filesystem/fstream.hpp> - #include <cctype> - #include <cstdint> - #include <cstdlib> diff --git a/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch b/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch deleted file mode 100644 index 471f3e226820..000000000000 --- a/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch +++ /dev/null @@ -1,29 +0,0 @@ -Don't automagically force lld > gold > bfd. Leave it up to the user. - -In particular, avoids issues with LTO enabled (via the flag/scons option) -where using GCC as compiler, as lld can't do LTO with GCC. - -https://bugs.gentoo.org/769986 ---- a/SConstruct -+++ b/SConstruct -@@ -3109,20 +3109,6 @@ def doConfigure(myenv): - myenv.Append( CCFLAGS=["/Zc:inline"]) - - if myenv.ToolchainIs('gcc', 'clang'): -- # This tells clang/gcc to use the gold linker if it is available - we prefer the gold linker -- # because it is much faster. Don't use it if the user has already configured another linker -- # selection manually. -- if not any(flag.startswith('-fuse-ld=') for flag in env['LINKFLAGS']): -- -- # lld has problems with separate debug info on some platforms. See: -- # - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556 -- # - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556 -- if get_option('separate-debug') == 'off': -- if not AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=lld'): -- AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold') -- else: -- AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold') -- - # Usually, --gdb-index is too expensive in big static binaries, but for dynamic - # builds it works well. - if link_model.startswith("dynamic"): diff --git a/dev-db/mongodb/files/mongodb-4.4.29-boost-1.85.patch b/dev-db/mongodb/files/mongodb-4.4.29-boost-1.85.patch deleted file mode 100644 index 92831264b4e3..000000000000 --- a/dev-db/mongodb/files/mongodb-4.4.29-boost-1.85.patch +++ /dev/null @@ -1,146 +0,0 @@ -https://bugs.gentoo.org/932251#c7 ---- a/src/mongo/db/initialize_server_global_state.cpp 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/db/initialize_server_global_state.cpp 2024-06-05 01:07:27.035053336 -0700 -@@ -34,7 +34,7 @@ - #include "mongo/db/initialize_server_global_state.h" - #include "mongo/db/initialize_server_global_state_gen.h" - --#include <boost/filesystem/operations.hpp> -+#include <boost/filesystem.hpp> - #include <fmt/format.h> - #include <iostream> - #include <memory> -@@ -346,7 +346,7 @@ - << "\" should name a file, not a directory."); - } - -- if (!serverGlobalParams.logAppend && boost::filesystem::is_regular(absoluteLogpath)) { -+ if (!serverGlobalParams.logAppend && boost::filesystem::is_regular_file(absoluteLogpath)) { - std::string renameTarget = absoluteLogpath + "." + terseCurrentTime(false); - boost::system::error_code ec; - boost::filesystem::rename(absoluteLogpath, renameTarget, ec); - - ---- a/src/mongo/db/startup_warnings_mongod.cpp 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/db/startup_warnings_mongod.cpp 2024-06-05 01:09:36.740158960 -0700 -@@ -34,6 +34,7 @@ - #include "mongo/db/startup_warnings_mongod.h" - - #include <boost/filesystem/operations.hpp> -+#include <boost/filesystem/exception.hpp> - #include <fstream> - #ifndef _WIN32 - #include <sys/resource.h> - - ---- a/src/mongo/db/storage/storage_engine_lock_file_posix.cpp 2024-06-05 00:46:38.374648451 -0700 -+++ b/src/mongo/db/storage/storage_engine_lock_file_posix.cpp 2024-06-05 00:47:33.178731500 -0700 -@@ -55,7 +55,7 @@ - // if called without a fully qualified path it asserts; that makes mongoperf fail. - // so make a warning. need a better solution longer term. - // massert(40389, str::stream() << "Couldn't find parent dir for file: " << file.string(),); -- if (!file.has_branch_path()) { -+ if (!file.has_parent_path()) { - LOGV2(22274, - "warning flushMyDirectory couldn't find parent dir for file: {file}", - "flushMyDirectory couldn't find parent dir for file", -@@ -64,7 +64,7 @@ - } - - -- boost::filesystem::path dir = file.branch_path(); // parent_path in new boosts -+ boost::filesystem::path dir = file.parent_path(); // parent_path in new boosts - - LOGV2_DEBUG(22275, 1, "flushing directory {dir_string}", "dir_string"_attr = dir.string()); - - ---- a/src/mongo/db/storage/storage_engine_metadata.cpp 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/db/storage/storage_engine_metadata.cpp 2024-06-05 01:26:46.904273382 -0700 -@@ -220,7 +220,7 @@ - // if called without a fully qualified path it asserts; that makes mongoperf fail. - // so make a warning. need a better solution longer term. - // massert(13652, str::stream() << "Couldn't find parent dir for file: " << file.string(),); -- if (!file.has_branch_path()) { -+ if (!file.has_parent_path()) { - LOGV2(22283, - "warning flushMyDirectory couldn't find parent dir for file: {file}", - "flushMyDirectory couldn't find parent dir for file", -@@ -229,7 +229,7 @@ - } - - -- boost::filesystem::path dir = file.branch_path(); // parent_path in new boosts -+ boost::filesystem::path dir = file.parent_path(); // parent_path in new boosts - - LOGV2_DEBUG(22284, 1, "flushing directory {dir_string}", "dir_string"_attr = dir.string()); - - ---- a/src/mongo/shell/shell_utils_launcher.cpp 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/shell/shell_utils_launcher.cpp 2024-06-05 01:29:45.140048809 -0700 -@@ -39,6 +39,7 @@ - #include <boost/iostreams/stream.hpp> - #include <boost/iostreams/stream_buffer.hpp> - #include <boost/iostreams/tee.hpp> -+#include <boost/filesystem.hpp> - #include <cctype> - #include <fcntl.h> - #include <fmt/format.h> -@@ -907,26 +908,26 @@ - boost::filesystem::directory_iterator i(from); - while (i != end) { - boost::filesystem::path p = *i; -- if (p.leaf() == "metrics.interim" || p.leaf() == "metrics.interim.temp") { -+ if (p.filename() == "metrics.interim" || p.filename() == "metrics.interim.temp") { - // Ignore any errors for metrics.interim* files as these may disappear during copy - boost::system::error_code ec; -- boost::filesystem::copy_file(p, to / p.leaf(), ec); -+ boost::filesystem::copy_file(p, to / p.filename(), ec); - if (ec) { - LOGV2_INFO(22814, - "Skipping copying of file from '{from}' to " - "'{to}' due to: {error}", - "Skipping copying of file due to error" - "from"_attr = p.generic_string(), -- "to"_attr = (to / p.leaf()).generic_string(), -+ "to"_attr = (to / p.filename()).generic_string(), - "error"_attr = ec.message()); - } -- } else if (p.leaf() != "mongod.lock" && p.leaf() != "WiredTiger.lock") { -+ } else if (p.filename() != "mongod.lock" && p.filename() != "WiredTiger.lock") { - if (boost::filesystem::is_directory(p)) { -- boost::filesystem::path newDir = to / p.leaf(); -+ boost::filesystem::path newDir = to / p.filename(); - boost::filesystem::create_directory(newDir); - copyDir(p, newDir); - } else { -- boost::filesystem::copy_file(p, to / p.leaf()); -+ boost::filesystem::copy_file(p, to / p.filename()); - } - } - ++i; - - ---- a/src/mongo/scripting/engine.cpp 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/scripting/engine.cpp 2024-06-05 00:59:57.488909335 -0700 -@@ -34,6 +34,7 @@ - #include "mongo/scripting/engine.h" - - #include <boost/filesystem/operations.hpp> -+#include <boost/filesystem/directory.hpp> - #include <cctype> - - #include "mongo/client/dbclient_base.h" - - ---- a/src/mongo/shell/shell_utils_launcher.h 2024-02-13 00:46:45.000000000 -0800 -+++ b/src/mongo/shell/shell_utils_launcher.h 2024-06-05 01:04:44.286162623 -0700 -@@ -29,7 +29,7 @@ - - #pragma once - --#include <boost/filesystem/convenience.hpp> -+#include <boost/filesystem/path.hpp> - #include <map> - #include <sstream> - #include <string> - diff --git a/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch b/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch deleted file mode 100644 index 0755705ed55f..000000000000 --- a/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/src/mongo/SConscript b/src/mongo/SConscript -index 62fbfc02..5be336f7 100644 ---- a/src/mongo/SConscript -+++ b/src/mongo/SConscript -@@ -841,30 +841,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()): - for target in env["DIST_BINARIES"]: - installBinary(env, "db/modules/" + target) - --compass_script = "install_compass" --if env.TargetOSIs('windows'): -- compass_script = "Install-Compass.ps1" -- --compass_installer = f"$BUILD_DIR/mongo/installer/compass/{compass_script}" -- --distBinaries.append(compass_installer) -- --if not hygienic: -- compass_script_installer = env.Install("$DESTDIR/bin", compass_installer) --else: -- compass_script_installer = env.AutoInstall( -- target='$PREFIX_BINDIR', -- source=[ -- compass_installer, -- ], -- AIB_COMPONENT='dist', -- AIB_ROLE='runtime', -- ) -- --if env.TargetOSIs('posix'): -- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' ) -- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' ) -- - if not hygienic: - server_archive = env.Command( - target='#/${SERVER_ARCHIVE}', -@@ -878,7 +854,6 @@ if not hygienic: - '--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin', - '--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin', - '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin', -- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin', - '${TEMPFILE(SOURCES[1:])}' - ], - ), diff --git a/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch index 39c76bacf426..de4c11ea2844 100644 --- a/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch +++ b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch @@ -37,8 +37,8 @@ https://bugs.gentoo.org/844235 #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/path.hpp> - - #include "mongo/base/simple_string_data_comparator.h" + #include <pcrecpp.h> + --- a/src/mongo/shell/shell_utils_extended.cpp +++ b/src/mongo/shell/shell_utils_extended.cpp @@ -37,6 +37,7 @@ diff --git a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch new file mode 100644 index 000000000000..b3e3aab0c901 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85-extra.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/932251 +https://github.com/mongodb/mongo/commit/f8e4be7f6da71f978b2aa9991febb4c7ad89c903#diff-010644a9158d28e5745762753c7ce454444c9fb9ab4c684e9f2fdcff50c6f539 +https://bugs.gentoo.org/932251#c3 + +--- a/src/mongo/db/initialize_server_global_state.cpp ++++ b/src/mongo/db/initialize_server_global_state.cpp +@@ -328,7 +328,7 @@ + << "\" should name a file, not a directory."); + } + +- if (!serverGlobalParams.logAppend && boost::filesystem::is_regular(absoluteLogpath)) { ++ if (!serverGlobalParams.logAppend && boost::filesystem::is_regular_file(absoluteLogpath)) { + std::string renameTarget = absoluteLogpath + "." + terseCurrentTimeForFilename(); + boost::system::error_code ec; + boost::filesystem::rename(absoluteLogpath, renameTarget, ec); + diff --git a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch index 71da50fe21eb..23bd6f75ffaa 100644 --- a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch +++ b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch @@ -13,15 +13,6 @@ https://bugs.gentoo.org/932251#c3 #include <fmt/format.h> #include <iostream> #include <memory> -@@ -328,7 +328,7 @@ - << "\" should name a file, not a directory."); - } - -- if (!serverGlobalParams.logAppend && boost::filesystem::is_regular(absoluteLogpath)) { -+ if (!serverGlobalParams.logAppend && boost::filesystem::is_regular_file(absoluteLogpath)) { - std::string renameTarget = absoluteLogpath + "." + terseCurrentTimeForFilename(); - boost::system::error_code ec; - boost::filesystem::rename(absoluteLogpath, renameTarget, ec); --- a/src/mongo/db/startup_warnings_mongod.cpp +++ b/src/mongo/db/startup_warnings_mongod.cpp @@ -34,6 +34,7 @@ diff --git a/dev-db/mongodb/files/mongodb-5.0.26-scons.patch b/dev-db/mongodb/files/mongodb-5.0.26-scons.patch new file mode 100644 index 000000000000..2bb9c527ab2d --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.26-scons.patch @@ -0,0 +1,27 @@ +https://jira.mongodb.org/browse/SERVER-94430 Upstream respond: + +> we intentionally do not ingest the environment PATH as this makes build +> reproducibility and hermiticity much harder. Instead, you should set the +> absolute paths to the tools you want to use on the command line, instead of +> relying on the PATH. + +Gentoo bug https://bugs.gentoo.org/829340 + +In Gentoo, we have LLVM slotted and we put clang in /usr/lib/llvm/18/bin (or +whatever), not in /usr/bin, and if upstream strip PATH and construct it +themselves, they surely won't contain this location. + +So we add PATH backup for scons. +diff --git a/SConstruct b/SConstruct +index 3d831c9..f07feeb 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -1201,7 +1201,7 @@ envDict = dict(BUILD_ROOT=buildDir, + if get_option('build-tools') == 'next': + SCons.Tool.DefaultToolpath.insert(0, os.path.abspath('site_scons/site_tools/next')) + +-env = Environment(variables=env_vars, **envDict) ++env = Environment(variables=env_vars, ENV={'PATH': os.environ['PATH']}, **envDict) + del envDict + + if get_option('cache-signature-mode') == 'validate': diff --git a/dev-db/mongodb/files/mongodb-5.0.30-gcc-11.patch b/dev-db/mongodb/files/mongodb-5.0.30-gcc-11.patch new file mode 100644 index 000000000000..a99b79b2d929 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.30-gcc-11.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/768339 + +--- a/src/mongo/db/exec/plan_stats.h ++++ b/src/mongo/db/exec/plan_stats.h +@@ -33,6 +33,7 @@ + #include <cstdlib> + #include <string> + #include <vector> ++#include <optional> + + #include "mongo/db/index/multikey_paths.h" + #include "mongo/db/jsobj.h" diff --git a/dev-db/mongodb/files/mongodb-5.0.30-gcc-15.patch b/dev-db/mongodb/files/mongodb-5.0.30-gcc-15.patch new file mode 100644 index 000000000000..e2234734abcd --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.30-gcc-15.patch @@ -0,0 +1,13 @@ +https://github.com/abseil/abseil-cpp/commit/809e5de7b92950849289236a5a09e9cb4f32c7b9 +diff --git a/src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/container_memory.h b/src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/container_memory.h +index e67529ecb6e..d777480d604 100644 +--- a/src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/container_memory.h ++++ b/src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/container_memory.h +@@ -17,6 +17,7 @@ + + #include <cassert> + #include <cstddef> ++#include <cstdint> + #include <memory> + #include <new> + #include <tuple> diff --git a/dev-db/mongodb/metadata.xml b/dev-db/mongodb/metadata.xml index 1f55f5a2d2d2..c8d28f354f2b 100644 --- a/dev-db/mongodb/metadata.xml +++ b/dev-db/mongodb/metadata.xml @@ -18,6 +18,7 @@ <flag name="tools">Install the MongoDB tools (mongoimport, mongodump...) from <pkg>app-admin/mongo-tools</pkg></flag> </use> <upstream> + <remote-id type="cpe">cpe:/a:mongodb:mongodb</remote-id> <remote-id type="github">mongodb/mongo</remote-id> </upstream> </pkgmetadata> diff --git a/dev-db/mongodb/mongodb-5.0.26.ebuild b/dev-db/mongodb/mongodb-5.0.26.ebuild index efb618e4f155..63bff8b4aa91 100644 --- a/dev-db/mongodb/mongodb-5.0.26.ebuild +++ b/dev-db/mongodb/mongodb-5.0.26.ebuild @@ -75,6 +75,8 @@ PATCHES=( "${FILESDIR}/${PN}-5.0.16-arm64-assert.patch" "${FILESDIR}/${PN}-4.4.29-no-enterprise.patch" "${FILESDIR}/${PN}-5.0.26-boost-1.85.patch" + "${FILESDIR}/${PN}-5.0.26-boost-1.85-extra.patch" + "${FILESDIR}/${PN}-5.0.26-scons.patch" ) python_check_deps() { diff --git a/dev-db/mongodb/mongodb-4.4.29.ebuild b/dev-db/mongodb/mongodb-5.0.30.ebuild index 7c004e0b2b0a..0305a184fa0f 100644 --- a/dev-db/mongodb/mongodb-4.4.29.ebuild +++ b/dev-db/mongodb/mongodb-5.0.30.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) SCONS_MIN_VERSION="3.3.1" CHECKREQS_DISK_BUILD="2400M" @@ -19,22 +19,27 @@ DESCRIPTION="A high-performance, open source, schema-free document-oriented data HOMEPAGE="https://www.mongodb.com" SRC_URI="https://github.com/mongodb/mongo/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${MY_P}" + LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64 ~arm64 -riscv" -IUSE="debug kerberos ssl test +tools" -RESTRICT="!test? ( test )" +CPU_FLAGS="cpu_flags_x86_avx" +IUSE="debug kerberos mongosh ssl +tools ${CPU_FLAGS}" + +# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server +# resmoke needs python packages not yet present in Gentoo +RESTRICT="test" RDEPEND="acct-group/mongodb acct-user/mongodb - >=app-arch/snappy-1.1.3:= + >=app-arch/snappy-1.1.7:= + app-arch/zstd:= >=dev-cpp/yaml-cpp-0.6.2:= dev-libs/boost:=[nls] >=dev-libs/libpcre-8.42[cxx] - app-arch/zstd:= dev-libs/snowball-stemmer:= net-misc/curl - >=sys-libs/zlib-1.2.11:= + >=sys-libs/zlib-1.2.12:= kerberos? ( dev-libs/cyrus-sasl[kerberos] ) ssl? ( >=dev-libs/openssl-1.0.1g:0= @@ -46,32 +51,36 @@ DEPEND="${RDEPEND} debug? ( dev-debug/valgrind )" BDEPEND=" $(python_gen_any_dep ' - test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] ) >=dev-build/scons-3.1.1[${PYTHON_USEDEP}] dev-python/cheetah3[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] ') " -PDEPEND="tools? ( >=app-admin/mongo-tools-100 )" +PDEPEND=" + mongosh? ( app-admin/mongosh-bin ) + tools? ( >=app-admin/mongo-tools-100 ) +" PATCHES=( - "${FILESDIR}/${PN}-4.4.1-fix-scons.patch" - "${FILESDIR}/${PN}-4.4.8-no-compass.patch" "${FILESDIR}/${PN}-4.4.1-boost.patch" - "${FILESDIR}/${PN}-4.4.1-gcc11.patch" - "${FILESDIR}/${PN}-4.4.10-boost-1.79.patch" - "${FILESDIR}/${PN}-4.4.10-no-force-lld.patch" + "${FILESDIR}/${PN}-5.0.30-gcc-11.patch" + "${FILESDIR}/${PN}-5.0.2-fix-scons.patch" + "${FILESDIR}/${PN}-5.0.2-no-compass.patch" + "${FILESDIR}/${PN}-5.0.2-skip-no-exceptions.patch" + "${FILESDIR}/${PN}-5.0.2-skip-reqs-check.patch" + "${FILESDIR}/${PN}-5.0.2-boost-1.79.patch" + "${FILESDIR}/${PN}-5.0.5-no-force-lld.patch" "${FILESDIR}/${PN}-4.4.10-boost-1.81.patch" - "${FILESDIR}/${P}-no-enterprise.patch" - "${FILESDIR}/${PN}-4.4.29-boost-1.85.patch" + "${FILESDIR}/${PN}-5.0.5-boost-1.81-extra.patch" + "${FILESDIR}/${PN}-5.0.16-arm64-assert.patch" + "${FILESDIR}/${PN}-4.4.29-no-enterprise.patch" + "${FILESDIR}/${PN}-5.0.26-boost-1.85.patch" + "${FILESDIR}/${PN}-5.0.26-boost-1.85-extra.patch" + "${FILESDIR}/${PN}-5.0.30-gcc-15.patch" ) python_check_deps() { - if use test; then - python_has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1 - python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1 - fi python_has_version -b ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" && @@ -79,13 +88,21 @@ python_check_deps() { } pkg_pretend() { + # Bug 809692 + 890294 + if use amd64 && ! use cpu_flags_x86_avx; then + ewarn "MongoDB 5.0 requires use of the AVX instruction set." + ewarn "This ebuild will use --experimental-optimization=-sandybridge which" + ewarn "will result in an experimental build of MongoDB as per upstream." + ewarn "https://docs.mongodb.com/v5.0/administration/production-notes/" + fi + if [[ -n ${REPLACING_VERSIONS} ]]; then - if ver_test "$REPLACING_VERSIONS" -lt 4.2; then - ewarn "To upgrade from a version earlier than the 4.2-series, you must" + if ver_test "$REPLACING_VERSIONS" -lt 4.4; then + ewarn "To upgrade from a version earlier than the 4.4-series, you must" ewarn "successively upgrade major releases until you have upgraded" - ewarn "to 4.2-series. Then upgrade to 4.4 series." + ewarn "to 4.4-series. Then upgrade to 5.0 series." else - ewarn "Be sure to set featureCompatibilityVersion to 4.2 before upgrading." + ewarn "Be sure to set featureCompatibilityVersion to 4.4 before upgrading." fi fi } @@ -94,7 +111,7 @@ src_prepare() { default # remove bundled libs - rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die + rm -r src/third_party/{boost,pcre-*,snappy-*,yaml-cpp,zlib-*} || die # remove compass rm -r src/mongo/installer/compass || die @@ -114,9 +131,11 @@ src_configure() { VERBOSE=1 VARIANT_DIR=gentoo MONGO_VERSION="${PV}" - MONGO_GIT_HASH="f4dda329a99811c707eb06d05ad023599f9be263" + MONGO_GIT_HASH="966efda23d779a86c76c34e1b13e561d68f2bb37" --disable-warnings-as-errors + --force-jobs # Reapply #906897, fix #935274 + --jobs="$(makeopts_jobs)" --use-system-boost --use-system-pcre --use-system-snappy @@ -127,14 +146,23 @@ src_configure() { ) use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300 + use amd64 && scons_opts+=( --experimental-optimization=-sandybridge ) # Bug 890294 use debug && scons_opts+=( --dbg=on ) use kerberos && scons_opts+=( --use-sasl-client ) - use ssl && scons_opts+=( --ssl ) + + scons_opts+=( --ssl=$(usex ssl on off) ) # Needed to avoid forcing FORTIFY_SOURCE # Gentoo's toolchain applies these anyway scons_opts+=( --runtime-hardening=off ) + # gold is an option here but we don't really do that anymore + if tc-ld-is-lld; then + scons_opts+=( --linker=lld ) + else + scons_opts+=( --linker=bfd ) + fi + # respect mongoDB upstream's basic recommendations # see bug #536688 and #526114 if ! use debug; then @@ -146,13 +174,7 @@ src_configure() { } src_compile() { - PREFIX="${EPREFIX}/usr" escons "${scons_opts[@]}" --nostrip install-core -} - -# FEATURES="test -usersandbox" emerge dev-db/mongodb -src_test() { - ewarn "Tests may hang with FEATURES=usersandbox" - "${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}" + PREFIX="${EPREFIX}/usr" ./buildscripts/scons.py "${scons_opts[@]}" install-devcore || die } src_install() { diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest index d891c1cbd19a..64d6d7424ae5 100644 --- a/dev-db/postgresql/Manifest +++ b/dev-db/postgresql/Manifest @@ -15,11 +15,11 @@ DIST postgresql-14.15.tar.bz2 22458243 BLAKE2B 4d5a1c253c5b015e68634ebe433dee421 DIST postgresql-15.10.tar.bz2 23138615 BLAKE2B d187afd9897feb8bb353dee705817781f099e7cc41eb915f096196ad228646fc65d706c488258d5ee9033b20d2204fd11f5e92e33387310394e7cc102f02b72e SHA512 73513f5f688f470aadd95dddef3b39b5d140d539bdf3171e053a89b3eed4c769f7951280468e9f11102f2de9fe8742bb38676c8d5d43418544b9482d83957ef4 DIST postgresql-16.6.tar.bz2 24856956 BLAKE2B 2d6d6efcc4cb0027c03422c839856ac024d3824a7e7da42cafbb961616cdd078064e78b6eb1c98565240ab1f78eb52582f38c9ce80b3a98f9e65568b2c14e40c SHA512 ffd6d39fb7aed87241237d68af4934fba1b4ac1be4d3c2833e308e50c21a693796fe54b73e0905365d7557009c40049a23b966aa86765b969797434a0d4bd5f8 DIST postgresql-17.2.tar.bz2 21408880 BLAKE2B 1afafbec5db26ab17f2410c40db38e30fc1413cd518d387bc01640232698407de97123d0c61e1ec4d32d1041055db874f04dd52ad3697f1b9993b1aff3c5156a SHA512 8e15e47c22d21e1cadc31249cf31af5abe34b8ab72930e58e5fe6124795ad237ca7b4fd3bf36b5f18589c4fc439dc2bab3045d9b4ba23d1846b4b2be6fd1cb69 -EBUILD postgresql-12.22.ebuild 13080 BLAKE2B 79b0a9391a2c88936a812002bf414f062e0fd2997943503f8d62897173cb6b72216b3f72e531a13f6a1b0bbd6ab2e41273fc7735aad499e41765ea7f1201d205 SHA512 d50cc91e99fffcf7538c5a5c27890f135f7cd09ff126cab2e202ccc3b981c454da36316ba0bd43b6d5a9505484708d6f3101b5bc373f164d25595392e65afacf -EBUILD postgresql-13.18.ebuild 13514 BLAKE2B be97706c3cb029252e9392b1af7e604399e675cf9b3f4cda4f1835ce68bc7160628ea107b96dd21d827fa34bc049b569be0b1eb2cb561ed557106bb05198481d SHA512 04d70b63750c9c6c34a33716c868ded77540b92b5928418d773b1d00deda9ee97815308ac9bf640452349219880c9d44ec4e84abb36d1878bda4f3542b10db82 -EBUILD postgresql-14.15.ebuild 13505 BLAKE2B ee4a27cb8a05b11c5ed6d842886ccd523891b445b39156a4d48ab9349ff24cea2bd6489709eb8717149ed5284e2a1090cea7305dc788976182d77d4450861228 SHA512 4568e633f0d4a8b2e121b8b2bf546c23c397765dd3e0eee26ee43e16404574dab5374429ec0e19f0bbd0a611d0c1bb17075d8565667736e87124b48b87c0e8e6 -EBUILD postgresql-15.10.ebuild 13567 BLAKE2B 1ba99b4e226773e1b1eff53d06111d7e40d2fa6b7c5968e16f580b50f11c5732a086b38b93aebc169400821d1062041515931ea7ce78b48f860953b227bd0970 SHA512 2573684df847cdde89ea43362d7e8e30b3662261ef91674430e92dffd8136e73dbf67e70844661e8612ca6c460c4a5938b43962562dc88d7f3dd5658118fef38 -EBUILD postgresql-16.6.ebuild 13577 BLAKE2B 3df7cc1a7a126871a080ecb9af0003c52bd243edcd3a4e0be401fd1c261802f4841a3ba32034fadad8b19e1fd3698f228a0678e373413072cbe3aef7fc1b4ee0 SHA512 dfdef79d01ac1ea126e4124dfab505ccbfe49a62e4f866b987f73edadb283788e2b943d5acc6294039373ec6035d36b07113ec788c6563e113d0d63388e0bc1d -EBUILD postgresql-17.2.ebuild 14045 BLAKE2B e8d77abb668c4ac3e223b16e4dd230dd60fb7fc97b4919855a033546866e722efc96a040fd35ca554222b3f9428f34137ac340283482495ab22d57535f1e5abd SHA512 e4a963582b8cf64364801a2e752712bbb834d577d0cec3275703b0482007e736ef3baa27849909cf0500b413c542c944446c70d3e6241e25cd0e261ee79c054a -EBUILD postgresql-9999.ebuild 14411 BLAKE2B c9ad64cdcf781a6fd0f8aceacecc4db91e014d7e35942a0edde23410fc6c0caca164d283a86916213b1a1135040d7362dea803045223b32567a70ff007b8f2ae SHA512 00584cef8a92c6fc44c0f94c09dfbee678d2a96cce305a1eb04d8bc3c9cb10333a7d5cc00f295f0b59fe29a4c667c8da3772fe8939023e1119ff173076a7f74c +EBUILD postgresql-12.22.ebuild 13080 BLAKE2B f93d6444c5400325651e8e5218630a61ac38ac62c4ec9f4b1114e04510ba4aa038d5398e1444dd6f738d98cb07789ed7172e8852ade2be3cbfcc9b7f0fa17bee SHA512 9a9a8960ae4c0f2837348b27e6a59ead05c63f3c6fe8173411f5d65f3eccc6140b5b8f0efb5b1aa1c8f34788f9abda97037a6c1ae840d2b51022b89ac6e5eb57 +EBUILD postgresql-13.18.ebuild 13514 BLAKE2B 58468369244a1a10e1368f0e18818a042c3d3cdd8486e033d746e51e4f79cd89bf87a83bcc6784d0187222599b7ffe0b4dba74a2d57fe632ff5e5ff0e080a5f5 SHA512 1f14b4659e312b6e9520d5d27d654c578363af8e4ebe13d60c09a2ffdabaf38d20f648b461e15e196a7aab1ab0f8e7d2bfa434067a5be24dcb721cc398be76ca +EBUILD postgresql-14.15.ebuild 13505 BLAKE2B 69079efc24a73284f4f30d5f654220f028ca897320fb5de6c6f14488dd2fcd4e131d5d3ebb5aa76f4d9004bab29a9c4ffe37ec084043047a1862cbc676654400 SHA512 f8797cba502ec87701f438ffa3a5a193e581d5b91a9ffe0e81572e75081b29b7b4cc33dbc06490584b62a31cc4e71f3f81700b4f87814d20da44f60a3a922b6c +EBUILD postgresql-15.10.ebuild 13567 BLAKE2B 764b6bc95fa8034d3ee7a638c91abb449aeef4bfbbc26ac51446ee88b28d22bc8f57ce3cfc10bb3088b6757973afa2b34f33091ad7d97d7832d921db26e3ee70 SHA512 a053c3db9acc458b2494b6c3147cb57eef7d873193e9ead44efbe7b4d42ee6262a96ecb6018907b26a2779597e08f7a4d71f30da8291a7607f4b9fcf4e79414a +EBUILD postgresql-16.6.ebuild 13577 BLAKE2B 7e3868cd681a4e848b0937ff2d7a1da82f0b35e295aa092ea075264f717c37ddd31e4b4ac64d1ad128b57f318818f9bd9aeb327f1f6fdf6ebf73d8ebfbd0f543 SHA512 047796cecd6fe7d2da64d19676f5064589ebe31c7e459c15d9b5c0e3be83542e4b5035c610c94c6e606b8d21005b552f5c183efe7caa09bbea4d45d8d3f87466 +EBUILD postgresql-17.2.ebuild 14045 BLAKE2B 14a460faa1e78c76104680c7d373d0c8ad6f40973e0b529a5fb6568ab0e923203f634957463649203a1cf33d82dbfda7331d6612983bbd2e909f1dd2729510bc SHA512 850c98c36ba9389371c9d7183c7f0ee99dee9816b8fc2efde3abb813932c6cd7428049799be9dac69f67d9f6b91bffa6bcd7ad0c95335f6b15699e32f801acfa +EBUILD postgresql-9999.ebuild 14411 BLAKE2B b441f9e8269a267388b2fe361f3f7ec53fee0471b3c64c5a69d853fb869b8d0aa5f8fb768e628a7e3acc844841e465d0bce1452b2132be6d44270610d219ae37 SHA512 b637455bc50f6e0a0ccc6c1d7273da1b19fdd04bbaeebdaa119094ba78a27154a5d14c56aa18f5b04af39df64d70fef9e1d8c1a2972d755d5b57a43679048262 MISC metadata.xml 653 BLAKE2B b5b85d83ee78ac502e2707d156e2fadf6fea857160e2f48da51c755e221c52a14b9eb04354202287f4aba15c274c07ba7b0911c76fd034bfa774ce3500ccb165 SHA512 fd543af224f6f8677e138cb1db7154d2444295c45df8696e3584911943176023d8d1b179f6b16d88ffc6d290265ec1b2f4c902cf95cc79eb37599ae3635b0942 diff --git a/dev-db/postgresql/postgresql-12.22.ebuild b/dev-db/postgresql/postgresql-12.22.ebuild index 0497da88dad0..38d126fda22e 100644 --- a/dev-db/postgresql/postgresql-12.22.ebuild +++ b/dev-db/postgresql/postgresql-12.22.ebuild @@ -37,8 +37,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) pam? ( sys-libs/pam ) perl? ( >=dev-lang/perl-5.8:= ) diff --git a/dev-db/postgresql/postgresql-13.18.ebuild b/dev-db/postgresql/postgresql-13.18.ebuild index 378473f3db41..9ce45d60d6a0 100644 --- a/dev-db/postgresql/postgresql-13.18.ebuild +++ b/dev-db/postgresql/postgresql-13.18.ebuild @@ -37,8 +37,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) pam? ( sys-libs/pam ) perl? ( >=dev-lang/perl-5.8:= ) diff --git a/dev-db/postgresql/postgresql-14.15.ebuild b/dev-db/postgresql/postgresql-14.15.ebuild index c1bedd1b6583..873a91c02486 100644 --- a/dev-db/postgresql/postgresql-14.15.ebuild +++ b/dev-db/postgresql/postgresql-14.15.ebuild @@ -37,8 +37,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) lz4? ( app-arch/lz4 ) pam? ( sys-libs/pam ) diff --git a/dev-db/postgresql/postgresql-15.10.ebuild b/dev-db/postgresql/postgresql-15.10.ebuild index e9aa0120d664..10cae3267992 100644 --- a/dev-db/postgresql/postgresql-15.10.ebuild +++ b/dev-db/postgresql/postgresql-15.10.ebuild @@ -37,8 +37,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) lz4? ( app-arch/lz4 ) pam? ( sys-libs/pam ) diff --git a/dev-db/postgresql/postgresql-16.6.ebuild b/dev-db/postgresql/postgresql-16.6.ebuild index a205f89d6f42..3d5cd5b50a37 100644 --- a/dev-db/postgresql/postgresql-16.6.ebuild +++ b/dev-db/postgresql/postgresql-16.6.ebuild @@ -38,8 +38,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( app-crypt/mit-krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) lz4? ( app-arch/lz4 ) pam? ( sys-libs/pam ) diff --git a/dev-db/postgresql/postgresql-17.2.ebuild b/dev-db/postgresql/postgresql-17.2.ebuild index 207b1d81566a..b6471017bb0d 100644 --- a/dev-db/postgresql/postgresql-17.2.ebuild +++ b/dev-db/postgresql/postgresql-17.2.ebuild @@ -38,8 +38,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( app-crypt/mit-krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) lz4? ( app-arch/lz4 ) pam? ( sys-libs/pam ) diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index 82ecf3f45e4f..d655ed1893fe 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -46,8 +46,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( app-crypt/mit-krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') ) lz4? ( app-arch/lz4 ) pam? ( sys-libs/pam ) diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 5f00822e91d6..3f42cd46aa77 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -1,6 +1,9 @@ DIST rqlite-8.34.2-deps.tar.xz 4061316 BLAKE2B d689115dc0d7d2995f99c8e6778a420ce70c483e80a71bf7da185d60ad55f4df2b37298d7f467c3cdd608f84d2610cf020554e43a157f051931f8d3e83e76c3a SHA512 2dedb95ce684c8049f5a83334fcff4a1d3e2631345bab173b231a8bae76363f010247f9b04b3fa437624c5c4ab8e72c24395033ec48221ae4d6200ac7b49f051 DIST rqlite-8.34.2.tar.gz 740318 BLAKE2B e123c45dc7160e3b142fe95888b6439c2876dd7f5d16abec2457db1845532358b936ffd0ac0ffb0369dfbdb5db4dae8ae813e6c6280adb9a22ebef2a131629bd SHA512 e44f7d3f3d1e6c4335ebc66fd80e8cc8524d980fb220f916d09b8a0b5e8ae7502e927b2d1336e2fc246ed8ae24a218cede675c8185967b2ff82a60dbe38151cd DIST rqlite-8.34.3.tar.gz 739889 BLAKE2B 0033b9b27811171a4cd0cee7f942c0f8abf017c4e614d5d7104bad91681cc611df115f04330dc5c28feb0fe5e2ebfb499002a14a313ef3ccec07ff7811a38c67 SHA512 5c2000bc6c5703ad495a064c65cfa5e492c060eaa8550b3c576137a18e337f618f0f802d57409aff8cad898e60e7954c09363e138eb1c543e52f8e96b2500430 +DIST rqlite-8.35.0-deps.tar.xz 4360036 BLAKE2B 0c5257790148dcdd30f7f1a6b26a77f34a7b7bd2107bcd962bbc5753da13159b394ccf34ce5f8e4c70f86dcda6e11eb4c2f5e870ba391a1a4b5a1a2fb5fdcf59 SHA512 743948139d3776068deda400f5bae05cfe0f6248a673d9d35e4ac5d71b7faafa951306c547331829bcab1628affabd96a3be9503cb82adb76515fb699cf8995b +DIST rqlite-8.35.0.tar.gz 749440 BLAKE2B dd0490b8dd1749f17bbe3de3ad1893b35b3b318feebaa82b444ca0d17d99902bef584f7244618b2fc5629daeb116401cd70da46d8d4a9748e09d1ca90c7ee3d3 SHA512 b3728c16d1c1f4e9619de999fbd327cdde67dfc04024bb622256fc2647dd68717ed3a873aaef1a7f6cbe7d6569f9e4e8b74d5a902154490057b86a7ad1422992 EBUILD rqlite-8.34.2.ebuild 971 BLAKE2B 25123ec459556d81c5d8c1bb9526faf249df733c75add3c8955ff19b75479a0ed785513051a90bc58458561b9175b0c420f9eed73e580011d6c821981303f2f2 SHA512 25d8bc9cffda129767b950e0de89600d1a4a4d365805393dd64215bcc50da23e24c0b5a770b29908733b9fc14e609fa950a115c45f30f4ed739d108fa8b9ba29 EBUILD rqlite-8.34.3.ebuild 980 BLAKE2B 4bbbe9b6a140b0860dc054e7e39e4a32ba051d48df5481e047658c158ab5473b70b8385e89c24e84d4659a2c8e0b7cf723412157d3e44df17de1ad45313544b1 SHA512 8ac67a5a7adab25b5a2f525efc5713d94f24ac229812514eccea5b1e269283f8dc3ca64d14fd60ce4710462abffd5c0ecbb550cf5805b6f578de8a53375287b0 +EBUILD rqlite-8.35.0.ebuild 973 BLAKE2B e20f36bfada886b82adddf6dc3270ad8d72a8f6e598b86f6e6209cac3994ffe93bc23ef2f42abea5b96c236536cc9b768f02e132fa8e18c8b31b8bbb37714785 SHA512 9695c2b81d911dd396b49cd517e482308a8bae03534d75aea7a6a36bf33ff594ee8d930fddb79efc0a5f3e0104958b465ce4ba1b29108d473a3713f34d674015 MISC metadata.xml 305 BLAKE2B 43bc299dae9450677761bfaeaa02ac649ac4ecdbb35e3242c8525db13ef0471397a352b2a8aa751ec725ff8e9c86c2a8a19caf71bbe0de206f266d945f287561 SHA512 3dbddc6b5e4e6d8cd82beb722b5b45af6621e8fb84a1d3a1ec5c444026f595fd14babadc92084afe122202c9b940be21b2e1af145d24846de4225582e5e4d5de diff --git a/dev-db/rqlite/rqlite-8.35.0.ebuild b/dev-db/rqlite/rqlite-8.35.0.ebuild new file mode 100644 index 000000000000..4de8c11d2ff3 --- /dev/null +++ b/dev-db/rqlite/rqlite-8.35.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +EGIT_COMMIT=4d375257bc800fee36f889b1ab9192d3aa58197a + +DESCRIPTION="Replicated SQLite using the Raft consensus protocol" +HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/" +SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_unpack() { + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + default +} + +src_compile() { + GOBIN="${S}/bin" \ + ego install \ + -ldflags="-X main.version=v${PV} + -X main.branch=master + -X main.commit=${EGIT_COMMIT} + -X main.buildtime=$(date +%Y-%m-%dT%T%z)" \ + ./cmd/... || die +} + +src_test() { + GOBIN="${S}/bin" \ + ego test ./... || die +} + +src_install() { + dobin bin/* + dodoc -r *.md DOC +} |