diff options
Diffstat (limited to 'dev-db')
19 files changed, 587 insertions, 11 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex f7fe6ec2fe6b..1d36ccb0bbfb 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/mariadb-connector-c/Manifest b/dev-db/mariadb-connector-c/Manifest index 5d55af670715..078d65c91e34 100644 --- a/dev-db/mariadb-connector-c/Manifest +++ b/dev-db/mariadb-connector-c/Manifest @@ -4,8 +4,8 @@ AUX mariadb-connector-c-3.3.4-remove-zstd.patch 732 BLAKE2B 56544c653e2eded85bce DIST mariadb-connector-c-3.2.7-src.tar.gz 1212691 BLAKE2B ae2d1317fdc087c6d64b7cf11f4343bf35662d04da5c693f6f3b45ec405ff0f3d5d03157eb56a9c05cf4e16b9980baffec8800b886ae3d962d22a828a6938671 SHA512 3f0c67c5fd12e889a3704e0a638b64a784f05d12c7c424f7ce64e78a3eb17e2ad588e0e23f0ce037cd49efb695294ab69277da78f02940c2a7ea0676886b9c36 DIST mariadb-connector-c-3.3.4-src.tar.gz 1389030 BLAKE2B 4bee45ee4f76979d36072ab2119042b4de1127a42e99510bd0c1bc5e163fdb4e9b7ca4cce9381ed89e0c733158293d0641c7b7cbd14feaf3257a442c62083e23 SHA512 3a3f20efe58f8458a426501248b154107b76bd2001a43e41923e31568c8419cd88f2379e3636a54118ee64ac160a1c6f68dd79c0ac053fa273d9b6b127410ef6 DIST mariadb-connector-c-3.3.8-src.tar.gz 1393368 BLAKE2B 09a8a310f97809f0b0396770a77d4512fe1124de263e2077e5a14a2fa1fbc59d7e35a09d97b0471b687943fc9ce06925507e4b950fdacfdc7ca04ea5ee56bf9e SHA512 d2630bda8deb28696842a6b5dd308060a8b9a83a04dfb3ed908387f53af4108510c6f536aaecc4a3c9a035c7be91b98229d6c480366a3579b6be2c5a8d85ff56 -EBUILD mariadb-connector-c-3.2.7.ebuild 3500 BLAKE2B ce482edaf7858f1c117453e6a22f665ccd58bb3030d3638649e1535efd823714854cf3777cb6947284e369b8ab724c12a40bc91405cccee9618967661c4a3c3b SHA512 fb8639f5f557fb43d2351373f3863e96253fa9ca8c688713962976c65f520de8c2b58627dd8d745e591e119aeb3e52d4e99ecfa8fd24dba20344fdb82b0df116 -EBUILD mariadb-connector-c-3.3.4.ebuild 3611 BLAKE2B 96b919fc67061718183e9978b4d69534fb3cff7b36fc56185106c3c459c0c48fb626ab89c694287adf3dfd067ad572e03896a8b0dc5aad49ade9cf9fe9902368 SHA512 522d68756c9ccf0159467d488fb613ac7ca3b64f93237f16f2e27032e1b713cca87b90a011ecb2c00d2fb20f98868c86b28302b827d4ce3500869eb2a40184ab -EBUILD mariadb-connector-c-3.3.8.ebuild 3812 BLAKE2B aafdc3af70c3b0e6df6ae7e1a68c86a532adf1db241db9cddb3b4da0df3f7b02ab47ec6c15264ebed448eb23b2c94827d36aeb9447b3049d7b6dd6d0b870bcc6 SHA512 23d54c709091e1f3dbc56341f316318d288d5e38b3328c1d072e553afe1b7f85914c8dd77929d54395f7c86a58bceead8e7ab0421878cdd9ed97c91a842c1f39 -EBUILD mariadb-connector-c-9999.ebuild 3812 BLAKE2B aafdc3af70c3b0e6df6ae7e1a68c86a532adf1db241db9cddb3b4da0df3f7b02ab47ec6c15264ebed448eb23b2c94827d36aeb9447b3049d7b6dd6d0b870bcc6 SHA512 23d54c709091e1f3dbc56341f316318d288d5e38b3328c1d072e553afe1b7f85914c8dd77929d54395f7c86a58bceead8e7ab0421878cdd9ed97c91a842c1f39 +EBUILD mariadb-connector-c-3.2.7.ebuild 3542 BLAKE2B f6eb1fe296cc2bb9a52d2d09fe9c8dc8636c15d321765d308333e767263971f27f41273ae3b5d008f063371eb0624df352a592a1e29d69e1310c6143d451d4f4 SHA512 cf4d440ffbaf8adfd277b68becd643108713dbba1f55d867c611577d07f6a26badb5a3d5946dc8757b145712fe6a4beeb99b6a3a001699123121f9e9c0b7c3fc +EBUILD mariadb-connector-c-3.3.4.ebuild 3653 BLAKE2B 034d1ba2357e76829dacfa9b5315ff1c5cad60670eec1b9819720f76e574356262480e85c960e709a4f81b7e10ea2eefe638f4baf818ebab44806614ede6034c SHA512 6c0465efe935bf745dd162dcb4c5d53f62277f28708e4b0a00f2302d2de349ce8155d14280e2867ff0d1fb329fc3a9b50c6aad93793c93fb2bbbdd3c8a7d92ab +EBUILD mariadb-connector-c-3.3.8.ebuild 3854 BLAKE2B 98c80ec76898da321a84f72fcf81a67a94fd5832232e6187e5592475b75796106b16749f105cd1ceaa56f5a1b5712c293720887393a533b6916409914b67d3ec SHA512 aad15183963c93e4a1b6377b91eba5df5c13fca18ea042ef44b847bfe206cd2044a5d179deef5578a305664d4cb6cd1c86bbb75a0d36eaecd4d2596557c0cd8b +EBUILD mariadb-connector-c-9999.ebuild 3854 BLAKE2B 98c80ec76898da321a84f72fcf81a67a94fd5832232e6187e5592475b75796106b16749f105cd1ceaa56f5a1b5712c293720887393a533b6916409914b67d3ec SHA512 aad15183963c93e4a1b6377b91eba5df5c13fca18ea042ef44b847bfe206cd2044a5d179deef5578a305664d4cb6cd1c86bbb75a0d36eaecd4d2596557c0cd8b MISC metadata.xml 348 BLAKE2B 4c817753c3ccda9cdade926d129408d83169373335553a3c990224a74444e122d1150cfb031395d923959911e8485b1dc88e00cce2aeb599d4a26b2fd5d8eef5 SHA512 009615c60fbffadc877e7d26cddd26e1f5fbfbbc844ba7cf388ea748a091f16f819ac539a8998c0588fc96c3cd882fb3cadde556510fa1732636aac64c95ddf9 diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild index 32b2a72a9b2f..edcdefb279d3 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.2.7.ebuild @@ -71,6 +71,9 @@ src_configure() { # bug #855233 (MDEV-11914, MDEV-25633) at least filter-lto + # bug #943757 + append-cflags -std=gnu17 + cmake-multilib_src_configure } diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild index d162dff6697d..0965ba371186 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.4.ebuild @@ -73,6 +73,9 @@ src_configure() { # bug #855233 (MDEV-11914, MDEV-25633) at least filter-lto + # bug #943757 + append-cflags -std=gnu17 + cmake-multilib_src_configure } diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild index 018cfb5eb5b1..45553edc1b5e 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.3.8.ebuild @@ -77,6 +77,9 @@ src_configure() { # bug #855233 (MDEV-11914, MDEV-25633) at least filter-lto + # bug #943757 + append-cflags -std=gnu17 + cmake-multilib_src_configure } diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild index 018cfb5eb5b1..45553edc1b5e 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild @@ -77,6 +77,9 @@ src_configure() { # bug #855233 (MDEV-11914, MDEV-25633) at least filter-lto + # bug #943757 + append-cflags -std=gnu17 + cmake-multilib_src_configure } diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index c7d819da8236..094739c3ed6d 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -18,11 +18,11 @@ DIST mariadb-10.6.20-patches-01.tar.xz 5304 BLAKE2B dd038f4f60e9410965111fd912b5 DIST mariadb-10.6.20.tar.gz 102697156 BLAKE2B 8bd665406c3462890a783276f4946c92d8824f9b134ffc912908b8404c83aad2342f86391ff1a827420e0dc7221adfa0203eb76fceb1cd3dffc53acc421242cc SHA512 de5465551fa837b6834b8435a5f04f894c2c2d5d0fdb7a05373728e166755a384f19cebd4e87910240929d3657d361b3943616246b4fcf0d97cf706e317ece96 DIST mariadb-11.4.4-patches-01.tar.xz 5300 BLAKE2B dbebe4e5068c8ce56dc11527e37aea16727723d7ac9351865e8761e95209900ca50782ab2ce44fd86ad2e70f59b6ffa9c0758f158c48870e343ce37bca37b9fb SHA512 af51163404c699e7580ffd1fa931f86dafa7e6471641ba40f7072a04b6f1f4df0e89cc89926be6062810d18c55b97e3c696367ae483fbabab0227e69d7866f99 DIST mariadb-11.4.4.tar.gz 111017581 BLAKE2B 0680c7d0a93b60dc02bd5cba49fcc050245606edc6a14aead7995b5f4baa15d731b857d5f1ca4bec2febd1b0a0062c5162ff9a8231397a40c9a740db4e5264d0 SHA512 dfa4c137d67c11c997bf67bceb27d072c51831f35e2ad438fe2f234cb530eb74e3283429aef620036db06943d7309dec36a4d015f578fd2a1f933637681841fb -EBUILD mariadb-10.11.10.ebuild 42798 BLAKE2B 9e34c3975d2260bb94e1a49dd10bb63859d80b7f457b90c25964ba4db3da4c2e5f8a87d08cf88fceb93e38693b8c0233cdae471b536276a1ed420d2fb1149216 SHA512 f5c354e88944260c655d05f82aeb0b6582abd29c29aa7d82f89bc48f48aab3cf309294a3c7cf0d182fc42328ef9894abd2740c95965879f49582eff33ab1a034 -EBUILD mariadb-10.11.5-r1.ebuild 42582 BLAKE2B e459ad8c3e5990a509d3548320a75b6d7644449699fb0e344c9ca0a4ac37a316e73ce8d1f11e80a552f6604ad8ebf3242a39017e00bf010c2d9eb184a93b43c9 SHA512 4214e894039f8fe648cc467d98eaab86ec95de9cf233713813bf7f27e1185a591e219a7e8d62119b39525cc679a0c8541d73b74846908a0f7632ced9e90ae8b4 -EBUILD mariadb-10.6.14.ebuild 42985 BLAKE2B 727364f5d07fb3d3a1b2f2aebe634a9144acb5d8616c09a4cfa9fcea8c597f9dde861029e220fb63090035babe1ae28a4fc435b3a8a45b63c3fdbfa8c59962ae SHA512 3d5b431bde0670484f4b287a36b0d2db3802105e6df7317f688c3d8d9fba95497c458134214abe2a23a64f41543f8f16693b412ae88b93c1b0877fd93893d2cb -EBUILD mariadb-10.6.15.ebuild 42786 BLAKE2B e09ad6c1e5a221a529583688f0d6ebddbd27db8440e10c8a27a455693f392f186c5f9f0c1e5c6ea0c9381d6c268eb8a26b9c24573dfdfeede2fc210293ee1e41 SHA512 42d904b9059e745660b27b363d9d352c41e4f5082f708b6c1ed1d2c77529a66212b584e5bfa179123dbf37567f6b72314c3cd5a50389bf4135b7eb8795df7f58 -EBUILD mariadb-10.6.17.ebuild 42843 BLAKE2B c446c8ff359ebccc4cfbaec43bff29de05d3a41d8c81b1052eeafd33c967ddf9dedd77d62405aad956071071ce6f7b24c0d605af2bad4afc85db6fa683bf4dc0 SHA512 d1ac6297bde2925403fe346b833239805347b48159e5b1e6ff486e36634649ae9955c4a8e21499fd7f2c4991476d22e1662b1ce0e9b0727ba889d7caeacc2ad3 -EBUILD mariadb-10.6.20.ebuild 42709 BLAKE2B dec288c5b1951bbe35867d06f9dbd010ed66b4c4a3218f92e885344a1095d0b6c0e7cdecdfcbe4385b8342e8f4383a95bbcdb408b3731ed23937c193ad57a164 SHA512 baab4145388831c280404ca297cb5ac1ef2e81f7c8cb96f69936a257dcd43b38c3aba35ad2e300968adbbbeb18fd45594f6306813d7966a5b87ff3a9080e1a7b -EBUILD mariadb-11.4.4.ebuild 42800 BLAKE2B 215e38ac79dccf266b0122393735234e2e87aac9d76ca2c43802e975291eb33b80b8f14cab77b85d98fde2f49df55a0134af6a34979c6e52f997422fcabbc3ad SHA512 93ea2b2f04b4b7c4d0280c8e18735a5fdef90826435067fe0e8e9e1a48d90c2ab2c7247700f86d7074a424915d572a10267397e0f3f393f5945b4a41f95e10df +EBUILD mariadb-10.11.10.ebuild 42840 BLAKE2B ac89ddc8926281cff97bda8d399d20279d3dcb4d43b61999271b81337c75a6cfa90b8dce8cc4f655b91c34b90128d3c44bfaf4291d39c93348ad1ab6a26fddce SHA512 f1bbbe374cd228e5ef9805389155a951931bc7a2df8fafa218b1d437d70a207cc1c243f9d71554b52d7c37ee3d63291003330248bc973a29750facdf22b16755 +EBUILD mariadb-10.11.5-r1.ebuild 42624 BLAKE2B 4986355393faf58cf56afb08ba21628ec9655617586d165df1667c4ffbe8792f76dff1a319b03de2cdc8f857a312d7e3200a17c3d9e1008d32d568cc71b00bc5 SHA512 54b914d59947932ee487514300a968b363201312991e41a812caf53dae29f085712dd1bb158ce24dadef3117705bbd9b326567d473fac2332bf7521a914b67d3 +EBUILD mariadb-10.6.14.ebuild 43027 BLAKE2B b2d5adf3ed54f435d6f09ab651d89b54db446b41f3e1bfcb220f005559baf93d4d4dee85c6d94a1df46bdfe11550713c5da6f1e179a77d13a29cdbd2503c1545 SHA512 392a6063672ab098671413cd76a6011d6110ec8f51c9d8a2e669cbf38dc574672c6ab317d32634aaa4daeee75010ec09c97c8b05e02f77c438b08a886c032db7 +EBUILD mariadb-10.6.15.ebuild 42828 BLAKE2B 3d02a9a306819fee4d70481d97f8d2ae246864477a54a71199e69419f26e09ed20c7c3d7805940784c5d5e277d49c7b27b38211c001167b496324f6aec37681c SHA512 7ff2877e1254c86190595ac6283f1a2b37f63eb37c579fe53b1eb05e51a7ea1f8dae9444e31964bb7b0caee03524d74f5bb3d03aebe6ea4ea222bd82f781ec64 +EBUILD mariadb-10.6.17.ebuild 42885 BLAKE2B 2e4f123ba402d38f537f46cee3536dea219081e56ef9e19ab3b2671d65af7f3356028867ed923fe7c26d15427f1b2be4669ef04d71c998d70d49cf88e4998d25 SHA512 5b2edb5694818b5112f5a7e993aa3c812872d4964b33c8c6b2a045be0e87b2e8c5ef8ebc42332e4b994bebf4e1396432953b06507b85b11d4d27b35b6cbcdb02 +EBUILD mariadb-10.6.20.ebuild 42751 BLAKE2B d74213a0be2cf1b2be7a159b410be4badd73c312e1de891135c844412b568fdc4f8e6c64019d2dd5cd008e65025203fd5ecaae71ef356230ecfa8a949ba183d7 SHA512 4ae6e25fa7e28391a11ac71f3c8795808a532e4c51d62b3c19c477340e36ca5cf456ccac29a58093b676c2aa1ec1803e7855ff2c17d9897d2ab256eedabda729 +EBUILD mariadb-11.4.4.ebuild 42842 BLAKE2B 9885d3dade2744a7e112b9d7fac9311cd29c0d5095f3d873b90bc5cfb7012b2a5d7a36931d34259023a31e940ac0cd00092940ec7acc85faa494cab1fd0c5a80 SHA512 4452d4aa1bf9031d7148e32018bce9e3a509456a405a784b08c1bb100f7b58a8ca903d107d53063bed50319d6bf2bbd31c97a8818eb1065219def58ba218fd41 MISC metadata.xml 2415 BLAKE2B 15e491cb0881203b21f66652af9e420582e3992a610bde08dfae2d076c417b298529eafd659adaa4cdeecd70b0c10c83796f8dfd8fbdede7489c48fdd2bdb015 SHA512 ecc641157ada5ad6d84b534b6a40e27e59ef428668d61f3908817735d31d4828dd0327343bf4ad13a5f6a1bc306cc46137388489176c3116f2a0e0946471b49b diff --git a/dev-db/mariadb/mariadb-10.11.10.ebuild b/dev-db/mariadb/mariadb-10.11.10.ebuild index 3c1a6e634be9..91122de09f6a 100644 --- a/dev-db/mariadb/mariadb-10.11.10.ebuild +++ b/dev-db/mariadb/mariadb-10.11.10.ebuild @@ -295,6 +295,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-10.11.5-r1.ebuild b/dev-db/mariadb/mariadb-10.11.5-r1.ebuild index 5feb42bd4f5f..935d3e35a064 100644 --- a/dev-db/mariadb/mariadb-10.11.5-r1.ebuild +++ b/dev-db/mariadb/mariadb-10.11.5-r1.ebuild @@ -286,6 +286,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-10.6.14.ebuild b/dev-db/mariadb/mariadb-10.6.14.ebuild index 3cf017e4304e..9255fba16887 100644 --- a/dev-db/mariadb/mariadb-10.6.14.ebuild +++ b/dev-db/mariadb/mariadb-10.6.14.ebuild @@ -297,6 +297,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-10.6.15.ebuild b/dev-db/mariadb/mariadb-10.6.15.ebuild index 80f891650e3b..da35494bb8d6 100644 --- a/dev-db/mariadb/mariadb-10.6.15.ebuild +++ b/dev-db/mariadb/mariadb-10.6.15.ebuild @@ -296,6 +296,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-10.6.17.ebuild b/dev-db/mariadb/mariadb-10.6.17.ebuild index 7c38b5f9b164..acf533c2cb8c 100644 --- a/dev-db/mariadb/mariadb-10.6.17.ebuild +++ b/dev-db/mariadb/mariadb-10.6.17.ebuild @@ -296,6 +296,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-10.6.20.ebuild b/dev-db/mariadb/mariadb-10.6.20.ebuild index 298f78a52a7b..d802e68212fd 100644 --- a/dev-db/mariadb/mariadb-10.6.20.ebuild +++ b/dev-db/mariadb/mariadb-10.6.20.ebuild @@ -299,6 +299,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/mariadb/mariadb-11.4.4.ebuild b/dev-db/mariadb/mariadb-11.4.4.ebuild index 671476b33ea4..6f83048a4765 100644 --- a/dev-db/mariadb/mariadb-11.4.4.ebuild +++ b/dev-db/mariadb/mariadb-11.4.4.ebuild @@ -295,6 +295,9 @@ src_configure() { # It fails on alpha without this use alpha && append-ldflags "-Wl,--no-relax" + # bug #945352 + append-cflags -std=gnu17 + append-cxxflags -felide-constructors # bug #283926, with GCC4.4, this is required to get correct behavior. diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest index 5c044f546b4a..28a460170a54 100644 --- a/dev-db/sqlite/Manifest +++ b/dev-db/sqlite/Manifest @@ -6,11 +6,14 @@ AUX sqlite-3.47.1-buildtclext.patch 986 BLAKE2B ba43fd663a77a2a161a26f31ca3db0f4 DIST sqlite-doc-3460100.zip 10851427 BLAKE2B 7462e83ca84e3e9aac7236f575fd2bdddac7744ae700a63fe8fdc9d2df3157c59fd374d99a0526bd4d9f742005ee7a90f3d78057861d3c3fcba9f897630e48db SHA512 1ad7dfc938d182f69ea9367b4f5ead1d48b991626521249e8b58c9fb4c2553e348ce402de9cc81b0ad699d4c45c467de56a98ee39f9c3555c6fafff15fba41ce DIST sqlite-doc-3470000.zip 10937359 BLAKE2B 3fc349e4b2b0cd3fc59147519062133261463e09933419f330cd18e6b120d3498c10a1864c85c2de144430f1dbf7f9a867aba47ab77dbe2aa0b5128e0742dddf SHA512 20c126551a95905e63e99930e3f7964b6e3fc8b72fbbedf5484f669817af2a8384f05fce89d6117a5e232ba71f5469894d4bb22ba7abd796b24fd624372c7c17 DIST sqlite-doc-3470100.zip 10945765 BLAKE2B 10181e3c5d35f76edf40b6fbda1d5505eb0a6996ff7ca2eebb39140c7e167493377ff66e746b42d543d8040d6f87b4a7960711ad8e12ff419b1a36cb2d15542d SHA512 7d02f4aa5e1c49670b15cdbc013bbdd713b3dac574f2d8a71d0eed2ecf5785c7dc64039079bcff6f872d3a9cf798977468b4147e5a166c9fa49b9d5c6ef2e9d8 +DIST sqlite-doc-3470200.zip 10957830 BLAKE2B cbc40dd440d1c5af4ad4333090a7306bd54ec43250a478b6900b8f74bd721035018ea7647f3a208d42cc0639827325be26a9412d17af7d390f4e584d4c6acf44 SHA512 48349d512b7cd9bc6f6a5da3a2b2285de159d4653667311adb0f5e6a970060db940a590c2d01b529afc1614065b22434d5b3ac4d8d0122d003d74926745ba56e DIST sqlite-src-3460100.zip 14276926 BLAKE2B df16ea944e317df8ed64fdfab289e3699ec71725ce55e2b30450adaeb41c061b4fba1eb8c41ba638b0edcd12b23264a1f9e413b69fd593c2b65fb1037d3fc8b2 SHA512 6d32a0db9f95d3cec34f02f3fd45b453bf7c422d4d4d9570790f641e7d190b8b31be8e8715afacc1b6e4417f15a4d15a0b28e608ae0b4b5f3054b075783b916e DIST sqlite-src-3470000.zip 14408459 BLAKE2B c8e883410fdf9f020bc55ef01d7c2c5b7f1744d3475e7755f2395b24b2d5397302aac2eb7912161cbc2a705a1d7a94b1fa5e8f4e5dbf374c31de56228cbc9e5d SHA512 294d718fb1ebb23e2a4d6e8b7f498d7a7d922e6af5e36452fae075c0d48f4d4f64b5f235ab561b1e47fb7722efc647dfe541164cc385ddc0e2ec0dbce1f40b01 DIST sqlite-src-3470100.zip 14415832 BLAKE2B 0f238a263c00da5e388fd56080a2a9e7fd64177f0bc59868b52dac96ab4615841500f6dc0b294ae54dd7415217b3a8720db28a354be622a7dcc0c162dbe1c161 SHA512 a7f82a91e1f694d446c9c12398e082074c2c5374a00f1b7e382f077a956bc1e0171abfdb84172605b31e4e61cf1b7ed22adbf7196d41637916c508d12aa1196a +DIST sqlite-src-3470200.zip 14421983 BLAKE2B dcaea5be0099b2dad1b53403933f0037ace48b1f248040c1b5cc116ac2ad6c9b44c71b8efe3afd16bef01119b440d1a2ec9d553a22f855e0ba55793684f53d8d SHA512 a6280a02304bfae173d9e9ebf376b2d3624658f04af4d8e95d5a042e24cf0405a47c0a4023f4dbc2790716cd85e16b97fcc0a83c1534e6d554f4eb0bfb0a3ed3 EBUILD sqlite-3.46.1.ebuild 12792 BLAKE2B ca98f4e22e0ba7abdf3c1c8a785e82a6f64d19f186a68d9733fbe31db879c2d3d0b1b517b3ea3f0af5c678cd9c036a8702c4f3e87f3a20c5b4342e391fd720d9 SHA512 6633db1ba661ed8948e21ffb245f59f7507669224d3b827c16d4fc5332d9b2bd62f176066afc7f59ed5104b0a5d15dc4eb8ed91ba4ab55b2afb773d6026708a0 EBUILD sqlite-3.47.0-r1.ebuild 12913 BLAKE2B efef3474627c29bbafa616f192569e6091bac26d2abd4a29beaf6749c6ee4e2b6646567c465c800e08de37ba815ae5a8b096fa4bf25b159e77b6869528224070 SHA512 c6ffa3c6de1aad5592a2442908d7632fe8c53f759de539cd393eb5116bf029b170339fa0d464fa549e94f16ff9a08bdbcc3c24d2737fd32da9cc6cc1f709d0b0 EBUILD sqlite-3.47.1.ebuild 12818 BLAKE2B a6c4b7404ef3eae9fc7fd8122f510f7faa1d3e44c5ac4b39fb35ad047223da5671f23633ef65343d87964e2542515c1b48a063158875494f1b8263242ee438e5 SHA512 510f19d0a90e04edadb7f254077bf8b9220106b75646faf16be1f943172b969d44b23eb3c81303914e68e11c12529a72ed51046b025c6b2ad5f6b21e30599bf4 +EBUILD sqlite-3.47.2.ebuild 12818 BLAKE2B a6c4b7404ef3eae9fc7fd8122f510f7faa1d3e44c5ac4b39fb35ad047223da5671f23633ef65343d87964e2542515c1b48a063158875494f1b8263242ee438e5 SHA512 510f19d0a90e04edadb7f254077bf8b9220106b75646faf16be1f943172b969d44b23eb3c81303914e68e11c12529a72ed51046b025c6b2ad5f6b21e30599bf4 EBUILD sqlite-9999.ebuild 12715 BLAKE2B d79519648d078c7c19312f1df796e2e681c40f2992649fa21b146a5fd16d469656fe02c2a52292a1dff66b38d9ac8061cbc468b162a4051cef56b4d4f1a462cd SHA512 fc50a53d730f618f33c600bf7886e94176404908975da1e5f893916f36c86bf0c4135ee1469026d703483339994638076f0fdc884aa7bad802be2cfaf713dc92 MISC metadata.xml 824 BLAKE2B 8ab2e8f230bf3a2b26077d90944bca7bf35ae905310205b90bf243365148488303256606c0ee7c3fb736300686466a1c2583bf103693c20063ca668fe9e52647 SHA512 ed4a89e3c2d633cb6ebf8bcbf3ca055d0d1b2ffd801ba559395f812faeaafdfedd97dae11a5a53a4c068e43026fbd4eed4cb12c8b89a7fda6dabe6f78a2e0b38 diff --git a/dev-db/sqlite/sqlite-3.47.2.ebuild b/dev-db/sqlite/sqlite-3.47.2.ebuild new file mode 100644 index 000000000000..a5d7c70c508f --- /dev/null +++ b/dev-db/sqlite/sqlite-3.47.2.ebuild @@ -0,0 +1,427 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal toolchain-funcs + +DESCRIPTION="SQL database engine" +HOMEPAGE="https://sqlite.org/" + +# On version updates, make sure to read the forum (https://sqlite.org/forum/forum) +# for hints regarding test failures, backports, etc. +if [[ ${PV} == 9999 ]]; then + S="${WORKDIR}"/${PN} + PROPERTIES="live" +else + printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ") + DOC_PV="${SRC_PV}" + #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ") + + SRC_URI=" + https://sqlite.org/2024/${PN}-src-${SRC_PV}.zip + doc? ( https://sqlite.org/2024/${PN}-doc-${DOC_PV}.zip ) + " + S="${WORKDIR}/${PN}-src-${SRC_PV}" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="public-domain" +SLOT="3" +IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib:=[${MULTILIB_USEDEP}] + icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) + tools? ( dev-lang/tcl:= ) +" +DEPEND=" + ${RDEPEND} + test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] ) +" +BDEPEND=">=dev-lang/tcl-8.6:0" +if [[ ${PV} == 9999 ]]; then + BDEPEND+=" dev-vcs/fossil" +else + BDEPEND+=" app-arch/unzip" +fi + +PATCHES=( + "${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch + "${FILESDIR}"/${PN}-3.47.1-buildtclext.patch +) + +_fossil_fetch() { + local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" + local repo_id="${1}" + local repo_uri="${2}" + + local -x FOSSIL_HOME="${HOME}" + + mkdir -p "${T}/fossil/${repo_id}" || die + pushd "${T}/fossil/${repo_id}" > /dev/null || die + + if [[ -n "${EVCS_OFFLINE}" ]]; then + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\"" + fi + else + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" + fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die + echo + else + cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die + einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" + fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die + echo + fi + + ( + addwrite "${distdir}" + mkdir -p "${distdir}/fossil-src/${repo_id}" || die + cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die + ) + fi + + popd > /dev/null || die +} + +_fossil_checkout() { + local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" + local repo_id="${1}" + local branch_or_commit="${2}" + local target_directory="${3}" + + local -x FOSSIL_HOME="${HOME}" + + if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then + die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\"" + fi + + if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then + mkdir -p "${T}/fossil/${repo_id}" || die + cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die + fi + + mkdir "${target_directory}" || die + pushd "${target_directory}" > /dev/null || die + + einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" + fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die + echo + + popd > /dev/null || die +} + +fossil_fetch() { + local repo_id="${1}" + local repo_uri="${2}" + local target_directory="${3}" + + local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}" + + _fossil_fetch "${repo_id}" "${repo_uri}" + _fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}" +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}" + if use doc; then + fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc" + fi + else + default + fi +} + +src_prepare() { + default + + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" + local options=() + + options+=( + --enable-load-extension + --enable-threadsafe + ) + + # Support detection of misuse of SQLite API. + # https://sqlite.org/compile.html#enable_api_armor + append-cppflags -DSQLITE_ENABLE_API_ARMOR + + # Support bytecode and tables_used virtual tables. + # https://sqlite.org/compile.html#enable_bytecode_vtab + # https://sqlite.org/bytecodevtab.html + append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB + + # Support column metadata functions. + # https://sqlite.org/compile.html#enable_column_metadata + # https://sqlite.org/c3ref/column_database_name.html + append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA + + # Support sqlite_dbpage virtual table. + # https://sqlite.org/compile.html#enable_dbpage_vtab + # https://sqlite.org/dbpage.html + append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB + + # Support dbstat virtual table. + # https://sqlite.org/compile.html#enable_dbstat_vtab + # https://sqlite.org/dbstat.html + append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB + + # Support sqlite3_serialize() and sqlite3_deserialize() functions. + # https://sqlite.org/compile.html#enable_deserialize + # https://sqlite.org/c3ref/serialize.html + # https://sqlite.org/c3ref/deserialize.html + append-cppflags -DSQLITE_ENABLE_DESERIALIZE + + # Support comments in output of EXPLAIN. + # https://sqlite.org/compile.html#enable_explain_comments + append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS + + # Support Full-Text Search versions 3, 4 and 5. + # https://sqlite.org/compile.html#enable_fts3 + # https://sqlite.org/compile.html#enable_fts3_parenthesis + # https://sqlite.org/compile.html#enable_fts4 + # https://sqlite.org/compile.html#enable_fts5 + # https://sqlite.org/fts3.html + # https://sqlite.org/fts5.html + append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 + options+=( --enable-fts5 ) + + # Support hidden columns. + append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS + + # Support memsys5 memory allocator. + # https://sqlite.org/compile.html#enable_memsys5 + # https://sqlite.org/malloc.html#memsys5 + append-cppflags -DSQLITE_ENABLE_MEMSYS5 + + # Support sqlite3_normalized_sql() function. + # https://sqlite.org/c3ref/expanded_sql.html + append-cppflags -DSQLITE_ENABLE_NORMALIZE + + # Support sqlite_offset() function. + # https://sqlite.org/compile.html#enable_offset_sql_func + # https://sqlite.org/lang_corefunc.html#sqlite_offset + append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC + + # Support pre-update hook functions. + # https://sqlite.org/compile.html#enable_preupdate_hook + # https://sqlite.org/c3ref/preupdate_count.html + append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK + + # Support Resumable Bulk Update extension. + # https://sqlite.org/compile.html#enable_rbu + # https://sqlite.org/rbu.html + append-cppflags -DSQLITE_ENABLE_RBU + + # Support R*Trees. + # https://sqlite.org/compile.html#enable_rtree + # https://sqlite.org/compile.html#enable_geopoly + # https://sqlite.org/rtree.html + # https://sqlite.org/geopoly.html + append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY + + # Support Session extension. + # https://sqlite.org/compile.html#enable_session + # https://sqlite.org/sessionintro.html + append-cppflags -DSQLITE_ENABLE_SESSION + + # Support scan status functions. + # https://sqlite.org/compile.html#enable_stmt_scanstatus + # https://sqlite.org/c3ref/stmt_scanstatus.html + # https://sqlite.org/c3ref/stmt_scanstatus_reset.html + append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS + + # Support sqlite_stmt virtual table. + # https://sqlite.org/compile.html#enable_stmtvtab + # https://sqlite.org/stmt.html + append-cppflags -DSQLITE_ENABLE_STMTVTAB + + # Support unknown() function. + # https://sqlite.org/compile.html#enable_unknown_sql_function + append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + + # Support unlock notification. + # https://sqlite.org/compile.html#enable_unlock_notify + # https://sqlite.org/c3ref/unlock_notify.html + # https://sqlite.org/unlock_notify.html + append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY + + # Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements. + # https://sqlite.org/compile.html#enable_update_delete_limit + # https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses + # https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses + append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT + + # Support soundex() function. + # https://sqlite.org/compile.html#soundex + # https://sqlite.org/lang_corefunc.html#soundex + append-cppflags -DSQLITE_SOUNDEX + + # Support URI filenames. + # https://sqlite.org/compile.html#use_uri + # https://sqlite.org/uri.html + append-cppflags -DSQLITE_USE_URI + + options+=( $(use_enable debug) ) + + if use icu; then + # Support ICU extension. + # https://sqlite.org/compile.html#enable_icu + append-cppflags -DSQLITE_ENABLE_ICU + sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + fi + + options+=( + --disable-editline + $(use_enable readline) + ) + + if use readline; then + options+=( --with-readline-inc="-I${ESYSROOT}/usr/include/readline" ) + fi + + if use secure-delete; then + # Enable secure_delete pragma by default. + # https://sqlite.org/compile.html#secure_delete + # https://sqlite.org/pragma.html#pragma_secure_delete + append-cppflags -DSQLITE_SECURE_DELETE + fi + + options+=( $(use_enable static-libs static) ) + + # tcl, test, tools USE flags. + if use tcl || use test || { use tools && multilib_is_native_abi; }; then + options+=( + --enable-tcl + --with-tcl="${ESYSROOT}/usr/$(get_libdir)" + ) + else + options+=( --disable-tcl ) + fi + + if [[ "${ABI}" == "x86" ]]; then + if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then + append-cflags -mfpmath=sse + else + append-cflags -ffloat-store + fi + fi + + econf "${options[@]}" +} + +multilib_src_compile() { + emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" + + if use tools && multilib_is_native_abi; then + emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh + fi + + if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then + emake tclsqlite3.c + + local build_directory="$(pwd)" + build_directory="${build_directory##*/}" + + mkdir "${WORKDIR}/${PN}-doc-build" || die + pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die + + emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc + rmdir doc/matrix{/*,} || die + + popd > /dev/null || die + fi +} + +multilib_src_test() { + if [[ "${EUID}" -eq 0 ]]; then + ewarn "Skipping tests due to root permissions" + return + fi + + local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}" + + # e_uri.test tries to open files in /. + # bug #839798 + local SANDBOX_PREDICT=${SANDBOX_PREDICT} + addpredict "/test.db" + addpredict "/ΓΏ.db" + + emake -Onone $(usex debug 'fulltest' 'test') +} + +multilib_src_install() { + emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install + + if use tools && multilib_is_native_abi; then + install_tool() { + if [[ -f ".libs/${1}" ]]; then + newbin ".libs/${1}" "${2}" + else + newbin "${1}" "${2}" + fi + } + + install_tool changeset sqlite3-changeset + install_tool dbdump sqlite3-db-dump + install_tool dbhash sqlite3-db-hash + install_tool dbtotxt sqlite3-db-to-txt + install_tool index_usage sqlite3-index-usage + install_tool rbu sqlite3-rbu + install_tool scrub sqlite3-scrub + install_tool showdb sqlite3-show-db + install_tool showjournal sqlite3-show-journal + install_tool showshm sqlite3-show-shm + install_tool showstat4 sqlite3-show-stat4 + install_tool showwal sqlite3-show-wal + install_tool sqldiff sqlite3-diff + install_tool sqlite3_analyzer sqlite3-analyzer + install_tool sqlite3_checker sqlite3-checker + install_tool sqlite3_expert sqlite3-expert + install_tool sqltclsh sqlite3-tclsh + + unset -f install_tool + fi +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die + + doman sqlite3.1 + + if use doc; then + if [[ ${PV} == 9999 ]]; then + pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die + else + pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die + fi + + find "(" -name "*.db" -o -name "*.txt" ")" -delete || die + if [[ ${PV} != 9999 ]]; then + rm search search.d/admin || die + rmdir search.d || die + find -name "*~" -delete || die + fi + + ( + docinto html + dodoc -r * + ) + + popd > /dev/null || die + fi +} diff --git a/dev-db/unixODBC/Manifest b/dev-db/unixODBC/Manifest index fd327639bc0a..4f24281af113 100644 --- a/dev-db/unixODBC/Manifest +++ b/dev-db/unixODBC/Manifest @@ -1,3 +1,5 @@ +AUX unixODBC-2.3.12-bug-936060.patch 1018 BLAKE2B 3efeb58341af9e004bbc9adc4652a64ff8149a0d89bb1e73925b5e282240c2976f87aaf22656c584443e307e2f97bd36d57acc127526f3d8285480445371904d SHA512 812d3cac8a2168e477ff231dbef3fbcda41caac87368811ae192dcd67483553b97d14a6028624509dc772b0ab6cbc59917390f43131fd7e90b40dc6a199dbb4d DIST unixODBC-2.3.12.tar.gz 1753915 BLAKE2B 9da9b0fb5ff962db8ec1483b700aca5d4adf88f3349b22010bd0b4b4ec1fe2e7a51d761527e3b9e49b08286a00e55aadc38c320a6db512ba52f491aecad7fd83 SHA512 ca9d8db943195679a44db1fc09391dc6662ab1721112c93d448f04011e98502462ffe14b8364eb03707d851db456eced20eb61a22370392ca88d917038d45b56 +EBUILD unixODBC-2.3.12-r1.ebuild 1968 BLAKE2B 608a66ab7a8518a832c8b53e53cf6b93678f77638844a6492fcb5d5760d8e26a0e6d5f8b0ceecb05c8d5ac60ec25009b22f675fe524668430e20f312a913ecfb SHA512 96cc2bba289b90b7adbf758777751a814e649a2b98a2e415f703019c7a6c50fb24f9ebfefe992b8575b71177c70828be082b56638997009083285b40865297b3 EBUILD unixODBC-2.3.12.ebuild 1910 BLAKE2B d5c84937b47a9659e8a077c0188c2266f4fa5b61c74195db20093c55fe87a7c71fd55ce792d00c1eff9f56586e4d3562f79b33d99690a3517cfdbc4c48423e82 SHA512 3306788ded0d691280796f8881682ada3a7e5489bba5f170645f430da233cf12e17b39d25c3fb0e5c835814bcb481ad8b0c7edcb8d8454fdf7dcbb8d7f30280f MISC metadata.xml 479 BLAKE2B 298fd55d5c29508598a3e221f0d3b850b3f2e195885460c5a9cb9d4111d9246576d1ae0c8c586f6484931ea2b8b9a2e0127db5e4c01c456e66fb66436b62f2aa SHA512 a751b3121ce1298c50e4f66ce8c654d578be088fdf52490a4149d380053bef287736d27ef1b430fef789019cc1e0f53904cafc6c292d984a78da105a493be6a5 diff --git a/dev-db/unixODBC/files/unixODBC-2.3.12-bug-936060.patch b/dev-db/unixODBC/files/unixODBC-2.3.12-bug-936060.patch new file mode 100644 index 000000000000..55131a34e851 --- /dev/null +++ b/dev-db/unixODBC/files/unixODBC-2.3.12-bug-936060.patch @@ -0,0 +1,33 @@ +This issue has been reported and fixed upstream, but not yet released. See links below. + +https://bugs.gentoo.org/936060 +https://github.com/lurcher/unixODBC/issues/158 +https://github.com/lurcher/unixODBC/commit/45f501e1be2db6b017cc242c79bfb9de32b332a1 +--- a/Drivers/Postgre7.1/info.c ++++ b/Drivers/Postgre7.1/info.c +@@ -1779,14 +1779,14 @@ + char index_name[MAX_INFO_STRING]; + short fields_vector[8]; + char isunique[10], isclustered[10]; +-SDWORD index_name_len, fields_vector_len; ++SQLLEN index_name_len, fields_vector_len; + TupleNode *row; + int i; + HSTMT hcol_stmt; + StatementClass *col_stmt, *indx_stmt; + char column_name[MAX_INFO_STRING], relhasrules[MAX_INFO_STRING]; + char **column_names = 0; +-Int4 column_name_len; ++SQLLEN column_name_len; + int total_columns = 0; + char error = TRUE; + ConnInfo *ci; +@@ -2136,7 +2136,7 @@ + StatementClass *tbl_stmt; + char tables_query[STD_STATEMENT_LEN]; + char attname[MAX_INFO_STRING]; +-SDWORD attname_len; ++SQLLEN attname_len; + char pktab[MAX_TABLE_LEN + 1]; + Int2 result_cols; + diff --git a/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild b/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild new file mode 100644 index 000000000000..87141847f80b --- /dev/null +++ b/dev-db/unixODBC/unixODBC-2.3.12-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="Complete ODBC driver manager" +HOMEPAGE="https://www.unixodbc.org/" +SRC_URI="https://www.unixodbc.org/unixODBC-${PV}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+minimal odbcmanual static-libs unicode" + +RDEPEND=" + dev-libs/libltdl:0[${MULTILIB_USEDEP}] + >=sys-libs/readline-6.2_p5-r1:=[${MULTILIB_USEDEP}] + >=sys-libs/ncurses-5.9-r3:=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} + sys-devel/bison + sys-devel/flex +" + +PATCHES=( + "${FILESDIR}"/${P}-bug-936060.patch +) + +MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/unixODBC/unixodbc_conf.h /usr/include/unixodbc.h ) + +src_prepare() { + default + + # Only needed for config.h install patch + eautoreconf +} + +multilib_src_configure() { + # Needs flex, bison + export LEX=flex + unset YACC + + # --enable-driver-conf is --enable-driverc as per configure.in + local myeconfargs=( + --cache-file="${BUILD_DIR}"/config.cache + --sysconfdir="${EPREFIX}"/etc/${PN} + --disable-editline + --disable-static + --enable-iconv + --enable-shared + $(use_enable static-libs static) + $(use_enable !minimal drivers) + $(use_enable !minimal driverc) + $(use_with unicode iconv-char-enc UTF8) + $(use_with unicode iconv-ucode-enc UTF16LE) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + if use odbcmanual ; then + # We could simply run "make install-html" if we'd not had + # out-of-source builds here. + docinto html + dodoc -r doc/. + find "${ED}/usr/share/doc/${PF}/html" -name "Makefile*" -delete || die + fi + + use prefix && dodoc README* + find "${ED}" -type f -name '*.la' -delete || die +} |