diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-04 02:07:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-04 02:07:22 +0000 |
commit | 38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (patch) | |
tree | 9416e00c684e43c1731a2189865034d568f2a20f /dev-db | |
parent | 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (diff) |
gentoo auto-resync : 04:12:2024 - 02:07:22
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/Manifest.gz | bin | 16591 -> 16599 bytes | |||
-rw-r--r-- | dev-db/mariadb/Manifest | 7 | ||||
-rw-r--r-- | dev-db/mariadb/files/mariadb-10.6.17-libxml-2.12.patch | 167 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-10.11.10.ebuild | 6 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-10.6.14.ebuild | 7 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-10.6.17.ebuild | 7 | ||||
-rw-r--r-- | dev-db/postgis/Manifest | 3 | ||||
-rw-r--r-- | dev-db/postgis/postgis-3.3.7-r1.ebuild | 142 | ||||
-rw-r--r-- | dev-db/postgis/postgis-3.4.3-r1.ebuild | 140 | ||||
-rw-r--r-- | dev-db/postgis/postgis-3.5.0-r1.ebuild | 137 |
10 files changed, 613 insertions, 3 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex baf0731aedf6..e521284a694f 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index d6697a02565f..64dd8c9c4f94 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -1,6 +1,7 @@ AUX mariadb-10.6.11-gssapi.patch 1824 BLAKE2B 5d0fefad9ff2d35d06dc4df3bcdd08a737a6f5ab7492673102c031c0e88fdd3fd7eeef977fb4128be170b9c948850e6a69a6d11f972d234cf49f2ea742838478 SHA512 0acee9c539782f11480b8e274576bb3b06cc7b2a914fee2d8f85fb692700b014da1f47e08f5f36d5ed264c9b5f820a123791de5b010fdc25f194dc215e890162 AUX mariadb-10.6.11-include.patch 2044 BLAKE2B 050729672c228818658f45b02ef5a70a8153eb43b7729569edcd7b0c9420a5b16a57359f153862232c634a817a21d0d6a20028104ef5cfdc53f3de25e7e63425 SHA512 cb8150274538fd2e3c26f9fde8fdbf0e8c31c2c26efe9e99ca97d984ae17fe967aabf315c7aee4d2659c3c477eaac604afc948f44de7475ee248cd502dac0fa5 AUX mariadb-10.6.12-gcc-13.patch 1145 BLAKE2B 592d1699bf538c7cccac59ba694b5dce981204b89726549541a487b11a2faf6a94d581c10aa366272c3b651d3bfa3ca6d0d72d77eabc1e2f9d6f64380496ee17 SHA512 a6c6f10c67eebd03bfd484325d9b6b2ffd0130af84df10a07fd86ab7682ca927b3aeca6f1fd939e743b082c08136d6fd5041949518cd36a6ee1b2fcc434a99a2 +AUX mariadb-10.6.17-libxml-2.12.patch 5499 BLAKE2B 5e233308d692b614433ca7ede79d35eb4b7ef0bdfecf3f95d1a2fd117b929c2a69ac7d6e1a1f61fc6f8a2f25e98acafccabbc937ddc390fa74ca81d2f448bc79 SHA512 a0552432e5e04af845218c0bd3c6107120532181c2f6d18eb6ea03122499e6d74285355812bd413d37b50a838291ad8c8e499d283f8064457d0494b9bab9fc34 AUX my.cnf-10.2 140 BLAKE2B 3a56b7e38c3dc00215cae4bdc3270e30e85299d3290c0c995a611e4b8b15e66f40d6ac40ab18369e7863742ab6eda94259be5a7f363a26020c6fce28a7582e94 SHA512 85c650670e364f5f71842d9ab07b59c5de6e26e774e7192102562e56f94ed5f8fbc487cef31c134209c22b72fde38f7f53b7279cead97a8af608436d1ecc8857 AUX my.cnf.distro-client 643 BLAKE2B 5ffd286907ee28c92c85bbcc9a6266555733f1115f2d6b8009183dba6939b978ae8d1b8e0a53e672b8e1a1f621650399231723603fc5f96ef7218db84236e176 SHA512 801f6ab8be3110bb4dc38eaa4367715b8d342b69cadfe13dff987ef6c3aedb67d19449f8f2483e63df5d8b444ca30701b0d96f85e211de6b1e3db923b029acbc AUX my.cnf.distro-server 998 BLAKE2B a7f2977a96d394cb7e24d72d82a1c21095c4b55607e5ca4a2c10619278796c328931a5ec076c15b60afef370c2e5da02ca0c628f330e876b4d2c984eeb54df5f SHA512 d9ab6f7fdfe08e6c242f84410ec680ef6aa6778c4bd55fee67c644e1a7d997446d8ef2129be6fc9833d16fe40cf17e09cdf0cf015f06bb145bbf9cfecb51e882 @@ -17,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 42477 BLAKE2B ed380f4031d61252ca8ee82763541908fec201dca0eab9c4ec6e8686c1850304d322a9c8632da987e6a764aab579d3ee484dfe6f5c9457f0a4c53defa663eef8 SHA512 b744160614a7e6d4f0c999267914445565610185d9474b2385a61db8d4283ec66065ea5fcb301d1bf8c2bd8eac8e57f0911375ee7e5ca4b2b4416b33b4380783 +EBUILD mariadb-10.11.10.ebuild 42628 BLAKE2B 69bbeffa36bab9bf85ecf770727c6f4ed5b6096e20a6f59f5c70921c89a4337ee7aef29e43eb68bb2e89ac4d59deaba33f03e08b59c4f55e9c6304d38993ddf7 SHA512 ec5a5df9465afa5e0a810a4f61b4dcf74c2797d5d23d273e26f8fe37095f129b3ba1427ffe313fd12f9061bb81b7ed1a501570220d576a02da10871edef5b474 EBUILD mariadb-10.11.5-r1.ebuild 42586 BLAKE2B 1dbb6909781c812257251cbfda85fafefd92fd8d144195cb3c2403ce770d4e9f0ec102f5c623f12e695dbd8f90ab1098deb83aa278d65209f06989f4950555dc SHA512 62cf97bf264f9d1f74fe0114611cfc4eddf5cb1df8b48f7497c9c6c8c83026ab6478c6b3c773469d1ad01e9c812834dc6d401457896f2c8d8d3b5619dcd57f22 -EBUILD mariadb-10.6.14.ebuild 42784 BLAKE2B 01f3f35d0f70abd13cce4fef0f232d7c0461b3b3ab1656b923629d98a115eb65b48203d279a77b81f17fb82d97741070e4615427da09078fb4d5d76a9babc54f SHA512 4da0a3bd26c001616d59dce98b787a21ca23a1bbb1d2334e25c59f2cb58cd05cb818486d32b1eda894ebe008cd23575d2941ca4bb82e1a6efcb273f4ded12339 +EBUILD mariadb-10.6.14.ebuild 42989 BLAKE2B 64cfd83f271d63e85a8e4886686f8a9289877df2f34a1cb1325711c423afff2e3db6090c91273c81ff5f4d2efb582c98f21d8695dd9cb2456cfe4b86cf5d9d60 SHA512 d25cb2091e8ffccd6577abaefcf2baf2a4931c59a9769be11411cc54f5464199030aa5fe23ed8ae6038922f498d76fce732eba5f12bc8f1cc4a0c784c4e0371b EBUILD mariadb-10.6.15.ebuild 42790 BLAKE2B ed6962c16910d7e7c27168c98abf72dc268ee4aed9a5dba788a03c2ba84aa81fbc65c5cbdad561a5c562ba62faf21fc755c27cc28be6d425eae567a796ce6f2d SHA512 fc3938e2590e128c5ad1e02bf11d88dbfe8acf89df4803fa2dfd2f75079499619b76aac99e05aed1a795dd0641e46257375ebede2a9a2b5790e90bea9f770c7b -EBUILD mariadb-10.6.17.ebuild 42642 BLAKE2B c0b9b0f2dbae445ced25c699bfb257b255eb8fae9887fa77d0c989ac55da9fe19718488192b840895bd71b23e3f732cbc5cd0d5b8f0db8e86a323eae30eeee1d SHA512 8f9b25e8ce1451f6526afc56f9ca8ad0ee8b0aeef6b2fb5c3be0016117e640e6c86d4e3380b9d29b896d0629c5cb91f94711f02074e7a8db7a556d5ec214c85a +EBUILD mariadb-10.6.17.ebuild 42847 BLAKE2B 21adfb8464941e028e28cdbf1a78f2a788366a8e3466baaa491f5ee0214f9e3585bedfa1bf8807c01dfb18213e22219ee6d76790d735c5ce16e1d1bed857556d SHA512 771aa9869430c6376244da3eb0e17e2fec1de0f2d9a227eae4ca3ce9cecef8a24a42a1ad01f4881ad8dbf622125c03d2279b12f6f909cf55dc3888c0bf058598 EBUILD mariadb-10.6.20.ebuild 42713 BLAKE2B 5a0350966c310aa4913667165f47df5b0ac13298f32676108f498c7130e33ef8c464c6e5bc4ce3ea62785845d69fe3b429b5ef61776119668b1002277057cce0 SHA512 24a7d95bb8444ff851ed45100df15a9a97c3b4db4a28c8f56251d4a53fc27b8f1d696562658643c9ac81b53863d981f57dea6f345948bf6ffd35fc59692074f0 EBUILD mariadb-11.4.4.ebuild 42479 BLAKE2B 5b06b12e7899f936c384c7913838cd4399990657869d220e74435c44ff597caa2902a8b313949d7d5501186858f79426da8fb45c154f0240617d464c3cad0634 SHA512 6b737d6ef142d6f2f753751eaa4fe3bd3319ed5f2c26b63614013c752c255c503f95c4d619bd3e3a3d84e3587d76823e13e0173c3b4f3134e8337b4122adf31a MISC metadata.xml 2415 BLAKE2B 15e491cb0881203b21f66652af9e420582e3992a610bde08dfae2d076c417b298529eafd659adaa4cdeecd70b0c10c83796f8dfd8fbdede7489c48fdd2bdb015 SHA512 ecc641157ada5ad6d84b534b6a40e27e59ef428668d61f3908817735d31d4828dd0327343bf4ad13a5f6a1bc306cc46137388489176c3116f2a0e0946471b49b diff --git a/dev-db/mariadb/files/mariadb-10.6.17-libxml-2.12.patch b/dev-db/mariadb/files/mariadb-10.6.17-libxml-2.12.patch new file mode 100644 index 000000000000..d5568afa47d2 --- /dev/null +++ b/dev-db/mariadb/files/mariadb-10.6.17-libxml-2.12.patch @@ -0,0 +1,167 @@ +From cae18632aea530eb73a9f15ee4fd0d924e01a8d3 Mon Sep 17 00:00:00 2001 +From: Jan Tojnar <jtojnar@gmail.com> +Date: Sun, 7 Jan 2024 10:19:54 +0100 +Subject: [PATCH] MDEV-33439 Fix build with libxml2 2.12 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +libxml2 2.12.0 made `xmlGetLastError()` return `const` pointer: + +https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d0a3c8b295c6137956adc3ae55720711 + +Clang 16 does not like this: + + error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers + error: cannot initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') with an rvalue of type 'const xmlError *' (aka 'const _xmlError *') + +Let’s update the variables to `const`. +For older versions, it will be automatically converted. + +But then `xmlResetError(xmlError*)` will not like the `const` pointer: + + error: no matching function for call to 'xmlResetError' + note: candidate function not viable: 1st argument ('const xmlError *' (aka 'const _xmlError *')) would lose const qualifier + +Let’s replace it with `xmlResetLastError()`. + +ALso remove `LIBXMLDOC::Xerr` protected member property. +It was introduced in 65b0e5455b547a3d574fa77b34cce23ae3bea0a0 +along with the `xmlResetError` calls. +It does not appear to be used for anything. +--- + storage/connect/libdoc.cpp | 39 +++++++++++++++++++------------------- + 1 file changed, 19 insertions(+), 20 deletions(-) + +diff --git a/storage/connect/libdoc.cpp b/storage/connect/libdoc.cpp +index 14e1e44895c..01b38366d63 100644 +--- a/storage/connect/libdoc.cpp ++++ b/storage/connect/libdoc.cpp +@@ -93,7 +93,6 @@ class LIBXMLDOC : public XMLDOCUMENT { + xmlXPathContextPtr Ctxp; + xmlXPathObjectPtr Xop; + xmlXPathObjectPtr NlXop; +- xmlErrorPtr Xerr; + char *Buf; // Temporary + bool Nofreelist; + }; // end of class LIBXMLDOC +@@ -327,7 +326,6 @@ LIBXMLDOC::LIBXMLDOC(char *nsl, char *nsdf, char *enc, PFBLOCK fp) + Ctxp = NULL; + Xop = NULL; + NlXop = NULL; +- Xerr = NULL; + Buf = NULL; + Nofreelist = false; + } // end of LIBXMLDOC constructor +@@ -365,8 +363,8 @@ bool LIBXMLDOC::ParseFile(PGLOBAL g, char *fn) + Encoding = (char*)Docp->encoding; + + return false; +- } else if ((Xerr = xmlGetLastError())) +- xmlResetError(Xerr); ++ } else if (xmlGetLastError()) ++ xmlResetLastError(); + + return true; + } // end of ParseFile +@@ -505,9 +503,9 @@ int LIBXMLDOC::DumpDoc(PGLOBAL g, char *ofn) + #if 1 + // This function does not crash ( + if (xmlSaveFormatFileEnc((const char *)ofn, Docp, Encoding, 0) < 0) { +- xmlErrorPtr err = xmlGetLastError(); ++ const xmlError *err = xmlGetLastError(); + strcpy(g->Message, (err) ? err->message : "Error saving XML doc"); +- xmlResetError(Xerr); ++ xmlResetLastError(); + rc = -1; + } // endif Save + // rc = xmlDocDump(of, Docp); +@@ -546,8 +544,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) + if (Nlist) { + xmlXPathFreeNodeSet(Nlist); + +- if ((Xerr = xmlGetLastError())) +- xmlResetError(Xerr); ++ if (xmlGetLastError()) ++ xmlResetLastError(); + + Nlist = NULL; + } // endif Nlist +@@ -555,8 +553,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) + if (Xop) { + xmlXPathFreeObject(Xop); + +- if ((Xerr = xmlGetLastError())) +- xmlResetError(Xerr); ++ if (xmlGetLastError()) ++ xmlResetLastError(); + + Xop = NULL; + } // endif Xop +@@ -564,8 +562,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) + if (NlXop) { + xmlXPathFreeObject(NlXop); + +- if ((Xerr = xmlGetLastError())) +- xmlResetError(Xerr); ++ if (xmlGetLastError()) ++ xmlResetLastError(); + + NlXop = NULL; + } // endif NlXop +@@ -573,8 +571,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) + if (Ctxp) { + xmlXPathFreeContext(Ctxp); + +- if ((Xerr = xmlGetLastError())) +- xmlResetError(Xerr); ++ if (xmlGetLastError()) ++ xmlResetLastError(); + + Ctxp = NULL; + } // endif Ctxp +@@ -590,6 +588,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) + /******************************************************************/ + xmlNodeSetPtr LIBXMLDOC::GetNodeList(PGLOBAL g, xmlNodePtr np, char *xp) + { ++ const xmlError *xerr; + xmlNodeSetPtr nl; + + if (trace(1)) +@@ -649,11 +648,11 @@ xmlNodeSetPtr LIBXMLDOC::GetNodeList(PGLOBAL g, xmlNodePtr np, char *xp) + } else + xmlXPathFreeObject(Xop); // Caused node not found + +- if ((Xerr = xmlGetLastError())) { +- strcpy(g->Message, Xerr->message); +- xmlResetError(Xerr); ++ if ((xerr = xmlGetLastError())) { ++ strcpy(g->Message, xerr->message); ++ xmlResetLastError(); + return NULL; +- } // endif Xerr ++ } // endif xerr + + } // endif Xop + +@@ -1079,7 +1078,7 @@ void XML2NODE::AddText(PGLOBAL g, PCSZ txtp) + /******************************************************************/ + void XML2NODE::DeleteChild(PGLOBAL g, PXNODE dnp) + { +- xmlErrorPtr xerr; ++ const xmlError *xerr; + + if (trace(1)) + htrc("DeleteChild: node=%p\n", dnp); +@@ -1122,7 +1121,7 @@ void XML2NODE::DeleteChild(PGLOBAL g, PXNODE dnp) + if (trace(1)) + htrc("DeleteChild: errmsg=%-.256s\n", xerr->message); + +- xmlResetError(xerr); ++ xmlResetLastError(); + } // end of DeleteChild + + /* -------------------- class XML2NODELIST ---------------------- */ +-- +2.26.2 + diff --git a/dev-db/mariadb/mariadb-10.11.10.ebuild b/dev-db/mariadb/mariadb-10.11.10.ebuild index e2453ed0620e..ba34ac69f32e 100644 --- a/dev-db/mariadb/mariadb-10.11.10.ebuild +++ b/dev-db/mariadb/mariadb-10.11.10.ebuild @@ -355,6 +355,12 @@ src_configure() { mycmakeargs+=( -DWITH_SSL=bundled ) fi + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + mycmakeargs+=( + -DDTRACE="${BROOT}"/usr/bin/stap-dtrace + ) + fi + # bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION mycmakeargs+=( -DWITH_READLINE=$(usex bindist 1 0) diff --git a/dev-db/mariadb/mariadb-10.6.14.ebuild b/dev-db/mariadb/mariadb-10.6.14.ebuild index 25e4c8272981..96dee3339e82 100644 --- a/dev-db/mariadb/mariadb-10.6.14.ebuild +++ b/dev-db/mariadb/mariadb-10.6.14.ebuild @@ -219,6 +219,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-10.6.11-gssapi.patch eapply "${FILESDIR}"/${PN}-10.6.11-include.patch eapply "${FILESDIR}"/${PN}-10.6.12-gcc-13.patch + eapply "${FILESDIR}"/${PN}-10.6.17-libxml-2.12.patch eapply_user @@ -362,6 +363,12 @@ src_configure() { mycmakeargs+=( -DWITH_SSL=bundled ) fi + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + mycmakeargs+=( + -DDTRACE="${BROOT}"/usr/bin/stap-dtrace + ) + fi + # bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION mycmakeargs+=( -DWITH_READLINE=$(usex bindist 1 0) diff --git a/dev-db/mariadb/mariadb-10.6.17.ebuild b/dev-db/mariadb/mariadb-10.6.17.ebuild index f0e877f4ab0c..dcd22d1295c2 100644 --- a/dev-db/mariadb/mariadb-10.6.17.ebuild +++ b/dev-db/mariadb/mariadb-10.6.17.ebuild @@ -218,6 +218,7 @@ src_prepare() { eapply "${WORKDIR}"/mariadb-patches eapply "${FILESDIR}"/${PN}-10.6.11-gssapi.patch eapply "${FILESDIR}"/${PN}-10.6.12-gcc-13.patch + eapply "${FILESDIR}"/${PN}-10.6.17-libxml-2.12.patch eapply_user @@ -361,6 +362,12 @@ src_configure() { mycmakeargs+=( -DWITH_SSL=bundled ) fi + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + mycmakeargs+=( + -DDTRACE="${BROOT}"/usr/bin/stap-dtrace + ) + fi + # bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION mycmakeargs+=( -DWITH_READLINE=$(usex bindist 1 0) diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest index 9d256c6f06f6..a65ceeb163b9 100644 --- a/dev-db/postgis/Manifest +++ b/dev-db/postgis/Manifest @@ -4,7 +4,10 @@ AUX postgis-3.4.0-without-gui.patch 491 BLAKE2B 6c2ff929b453986045e6ecddc3034592 DIST postgis-3.3.7.tar.gz 17782849 BLAKE2B 8f9b1f27c33727a9a24a53972dee67057c4230d0f1f01af352ff6b740d880b9acb7fccbacb5c2cc614c58adadace2cd6be9a1f52a7ce12cc20dbc2a99aa808d7 SHA512 007f0f6fc9b1256f3e7c4536d5d37c0b715fe285613804805567a4000d1ec9a132650b44f585ed184f5ad5209459e11a9464c5caf3ca285b2b230cf89ccf7709 DIST postgis-3.4.3.tar.gz 14957514 BLAKE2B 2c472a66d6063c70a2a5b7d42953233c9d24ee4f283e5837f74b231e0c034ba395e6f84dda9b14a46766ef6f1196c39aa7795d99b50ada106a66b2569ffdd6b4 SHA512 92da910fa87a618e49ab16bcb3d9b4403dc4e08bdfd599631f5b7c7a4955258a1a9e4efb1d982c30ef3a395631f52d055f321a1c17b1b7fe22403580671a2dab DIST postgis-3.5.0.tar.gz 15031829 BLAKE2B a641eaa7b0407108e332bf6f244fef0d22d21ed34c16c2f3cb718f49acf9a0bb3b1bf8b1ec3d7eb4f731beeb652f37f666ff4b8d44c5a66db7da4a9a555caa38 SHA512 baf81b9133db34c87ecb5e019497df89fba9faf293ae2f2e4fa5578dbe608ff5310b5ca718a7bf94e76af51bf7b8ec4b1f69fad91412017d70cdcd70492ae9e5 +EBUILD postgis-3.3.7-r1.ebuild 3361 BLAKE2B 0d4834acb8c9d7a7193f8ae520543c240e1a135aaee704f45ab8e589aeae980fbc17fa114c4d0972a9df907bb2ddabf01b18dede0165ea3aedb4f44e1d97b576 SHA512 3d1cba1fcfe8c25c10d9cb85f62241ec6831bc219239063a841576519a79ddbfa53006645ad281a447903b26e01435bf21fb0b0a6b1c2eeff6298da633117c68 EBUILD postgis-3.3.7.ebuild 3165 BLAKE2B 88491d911e35a591db9f8129b35363d4304648a4e0d913927c8654ca58fd23e96e9cd325c1f07c4ea0d3be6b38ec5c77f2eec59890f64070a2100d712250e80a SHA512 8df61dfa0539fc0e61777ea49653c54426d87bb9da485cc92d5a25f38c2ccfe8659ec0d0b5ef0574cd8e05966128343e9126fb2801d5d02392304e957039acd2 +EBUILD postgis-3.4.3-r1.ebuild 3488 BLAKE2B 310e350b28326a97de239e67f27e74f671976b589793186891e588f582eb8c14c0cd81ca5ca0cec44f3910327e994e17c772787a34c20e6cdce430099ac3c2f6 SHA512 6dbfd7ca11f73a27971ca90997ada88ece7ebe8c86cb477337a4b786724537a995da6503b5ce93911ad5669e4c7be7d5fe2704a37ce3b07cfed7a88238feb768 EBUILD postgis-3.4.3.ebuild 3294 BLAKE2B da49f7d3046cbf5180e0ac35dea6b241bf55d12e732f55149f07d1274da4811d453c8d303d91ad17e2e9c9c24327a899266eeda66e4602df58cfbaf0b8880daf SHA512 68c42f60c5f338799ff79b9abf1b750210f9fce512a207d07b317a5bf4a66e78f897078c7fa628ae1e04e3bd46f415a70b22095d67f21ddefdb743e1ea802f12 +EBUILD postgis-3.5.0-r1.ebuild 3313 BLAKE2B 4febe29a6c803ca272fd64a937ecbd1419d14d92be64cf39a369407dcf897c12a4faa736e58256093a92e1b79db498967d80b8f988f4782148e7cc7232bdd2bc SHA512 ae94efb65c5d23c8afb4372630106321a614cc940e7a96699dafe81efaf60bbae4fa8c1d70f13732d1654cfbffc16f502c49af59e52134f3d925c56781c2921a EBUILD postgis-3.5.0.ebuild 3117 BLAKE2B 666977b91b0a8cf5626bf2cf7da330088661c337cbe3b0f8c3e93429ac954c24c1d7a28c6fcb91a193c4a24dd7eb1aa27ed4a4383e959e3e68ecfa6ba2ace67b SHA512 a7c36569c5c1d2f06a12e422dcd2c1a5afc2fdcb22783cd7c100a1bd6746990f39e4492b33a0646843256c075f7b4be04ee385820375ec7a3185966b6885ccad MISC metadata.xml 818 BLAKE2B 1f49aad6ae27cc838c1eb0908eaec3eda84400174b0ef20a7afd828a3212b0215761e3c6d8dcdb2b62cbb8c7bda7266854d93b02f121c253ae8618cb917e39ce SHA512 c344b128ea11c07a098bb5cf6f6cdf67677a43a6d40222e74258b26951774cf59ec9ad61b515cc6f5abaf5eb99593b38c66fbeabe3f7fafa52e16e055cb7f119 diff --git a/dev-db/postgis/postgis-3.3.7-r1.ebuild b/dev-db/postgis/postgis-3.3.7-r1.ebuild new file mode 100644 index 000000000000..c5a84dafd7f1 --- /dev/null +++ b/dev-db/postgis/postgis-3.3.7-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {11..17} ) +POSTGRES_USEDEP="server" +inherit autotools postgres-multi toolchain-funcs + +MY_P="${PN}-$(ver_rs 3 '')" + +if [[ ${PV} = *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" +else + PGIS="$(ver_cut 1-2)" + SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Geographic Objects for PostgreSQL" +HOMEPAGE="https://postgis.net" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="address-standardizer doc gtk static-libs topology" + +REQUIRED_USE="${POSTGRES_REQ_USE}" + +# Needs a running psql instance, doesn't work out of the box +RESTRICT="test" + +RDEPEND="${POSTGRES_DEP} + dev-libs/json-c:= + dev-libs/libxml2:2 + dev-libs/protobuf-c:= + >=sci-libs/geos-3.9.0 + >=sci-libs/proj-4.9.0:= + >=sci-libs/gdal-1.10.0:= + address-standardizer? ( dev-libs/libpcre2 ) + gtk? ( x11-libs/gtk+:2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-libs/libxslt + virtual/imagemagick-tools[png] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" +) + +src_prepare() { + default + + if [[ ${PV} = *9999* ]] ; then + source "${S}"/Version.config + PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" + fi + + # These modules are built using the same *FLAGS that were used to build + # dev-db/postgresql. The right thing to do is to ignore the current + # *FLAGS settings. + QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" + + # bug #775968 + touch build-aux/ar-lib || die + + # eautoheader MUST be disabled as upstream manually modify its output + # rather than using it directly. The version at runtime at least is + # broken otherwise. See bug #912275. + AT_M4DIR="macros" AT_NOEAUTOHEADER="yes" eautoreconf + + postgres-multi_src_prepare +} + +src_configure() { + export CPP=$(tc-getCPP) + + local myeconfargs=( + $(use_with address-standardizer) + $(use_with gtk gui) + $(use_with topology) + ) + postgres-multi_foreach econf "${myeconfargs[@]}" +} + +src_compile() { + postgres-multi_foreach emake + postgres-multi_foreach emake -C topology + + if use doc ; then + postgres-multi_foreach emake comments + postgres-multi_foreach emake cheatsheets + postgres-multi_forbest emake -C doc html + fi +} + +src_install() { + postgres-multi_foreach emake DESTDIR="${D}" install + postgres-multi_foreach emake -C topology DESTDIR="${D}" install + postgres-multi_forbest dobin ./utils/postgis_restore.pl + + dodoc CREDITS TODO loader/README.* doc/*txt + + docinto topology + dodoc topology/{TODO,README} + + if use doc ; then + postgres-multi_foreach emake DESTDIR="${D}" comments-install + + docinto html + postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} + + docinto html/images + postgres-multi_forbest dodoc doc/html/images/* + fi + + use static-libs || find "${ED}" -name '*.a' -delete +} + +pkg_postinst() { + ebegin "Refreshing PostgreSQL symlinks" + postgresql-config update + eend $? + + local base_uri="https://postgis.net/docs/manual-" + if [[ ${PV} = *9999* ]] ; then + base_uri+="dev" + else + base_uri+="${PGIS}" + fi + + elog "To finish installing PostGIS, follow the directions detailed at:" + elog "${base_uri}/postgis_installation.html#create_new_db_extensions" +} diff --git a/dev-db/postgis/postgis-3.4.3-r1.ebuild b/dev-db/postgis/postgis-3.4.3-r1.ebuild new file mode 100644 index 000000000000..5f181759b13e --- /dev/null +++ b/dev-db/postgis/postgis-3.4.3-r1.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {12..17} ) +POSTGRES_USEDEP="server" +inherit autotools postgres-multi toolchain-funcs + +MY_P="${PN}-$(ver_rs 3 '')" + +if [[ ${PV} = *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" +else + PGIS="$(ver_cut 1-2)" + SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Geographic Objects for PostgreSQL" +HOMEPAGE="https://postgis.net" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="address-standardizer doc gtk static-libs topology" + +REQUIRED_USE="${POSTGRES_REQ_USE}" + +# Needs a running psql instance, doesn't work out of the box +RESTRICT="test" + +RDEPEND="${POSTGRES_DEP} + dev-libs/json-c:= + dev-libs/libxml2:2 + dev-libs/protobuf-c:= + >=sci-libs/geos-3.9.0 + >=sci-libs/proj-6.1.0:= + >=sci-libs/gdal-1.10.0:= + address-standardizer? ( dev-libs/libpcre2 ) + gtk? ( x11-libs/gtk+:2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-libs/libxslt + virtual/imagemagick-tools[png] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" + "${FILESDIR}/${PN}-3.4.0-without-gui.patch" + # source: https://github.com/google/flatbuffers/pull/7897 + #"${FILESDIR}/${PN}-3.3.2-flatbuffers-abseil-2023.patch" # bug 905378 +) + +src_prepare() { + default + + if [[ ${PV} = *9999* ]] ; then + source "${S}"/Version.config + PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" + fi + + # These modules are built using the same *FLAGS that were used to build + # dev-db/postgresql. The right thing to do is to ignore the current + # *FLAGS settings. + QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" + + # bug #775968 + touch build-aux/ar-lib || die + + # eautoheader MUST be disabled as upstream manually modify its output + # rather than using it directly. The version at runtime at least is + # broken otherwise. See bug #912275. + AT_M4DIR="macros" AT_NOEAUTOHEADER="yes" eautoreconf + + postgres-multi_src_prepare +} + +src_configure() { + export CPP=$(tc-getCPP) + + local myeconfargs=( + $(use_with address-standardizer) + $(use_with gtk gui) + $(use_with topology) + ) + postgres-multi_foreach econf "${myeconfargs[@]}" +} + +src_compile() { + postgres-multi_foreach emake + postgres-multi_foreach emake -C topology + + if use doc ; then + postgres-multi_foreach emake comments + postgres-multi_forbest emake cheatsheets + postgres-multi_forbest emake -C doc html + fi +} + +src_install() { + postgres-multi_foreach emake DESTDIR="${D}" install + postgres-multi_foreach emake -C topology DESTDIR="${D}" install + postgres-multi_forbest dobin ./utils/postgis_restore.pl + + dodoc CREDITS TODO loader/README.* doc/*txt + + docinto topology + dodoc topology/{TODO,README} + + if use doc ; then + postgres-multi_foreach emake DESTDIR="${D}" comments-install + postgres-multi_forbest emake DESTDIR="${D}" -C doc cheatsheet-install html-install html-assets-install + fi + + use static-libs || find "${ED}" -name '*.a' -delete +} + +pkg_postinst() { + ebegin "Refreshing PostgreSQL symlinks" + postgresql-config update + eend $? + + local base_uri="https://postgis.net/docs/manual-" + if [[ ${PV} = *9999* ]] ; then + base_uri+="dev" + else + base_uri+="${PGIS}" + fi + + elog "To finish installing PostGIS, follow the directions detailed at:" + elog "${base_uri}/postgis_installation.html#create_new_db_extensions" +} diff --git a/dev-db/postgis/postgis-3.5.0-r1.ebuild b/dev-db/postgis/postgis-3.5.0-r1.ebuild new file mode 100644 index 000000000000..384e437c41b1 --- /dev/null +++ b/dev-db/postgis/postgis-3.5.0-r1.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {12..17} ) +POSTGRES_USEDEP="server" +inherit autotools postgres-multi toolchain-funcs + +MY_P="${PN}-$(ver_rs 3 '')" + +if [[ ${PV} = *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" +else + PGIS="$(ver_cut 1-2)" + SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Geographic Objects for PostgreSQL" +HOMEPAGE="https://postgis.net" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="address-standardizer doc gtk static-libs topology" + +REQUIRED_USE="${POSTGRES_REQ_USE}" + +# Needs a running psql instance, doesn't work out of the box +RESTRICT="test" + +RDEPEND="${POSTGRES_DEP} + dev-libs/json-c:= + dev-libs/libxml2:2 + dev-libs/protobuf-c:= + >=sci-libs/geos-3.9.0 + >=sci-libs/proj-6.1.0:= + >=sci-libs/gdal-1.10.0:= + address-standardizer? ( dev-libs/libpcre2 ) + gtk? ( x11-libs/gtk+:2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-libs/libxslt + virtual/imagemagick-tools[png] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch" +) + +src_prepare() { + default + + if [[ ${PV} = *9999* ]] ; then + source "${S}"/Version.config + PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" + fi + + # These modules are built using the same *FLAGS that were used to build + # dev-db/postgresql. The right thing to do is to ignore the current + # *FLAGS settings. + QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" + + # bug #775968 + touch build-aux/ar-lib || die + + # eautoheader MUST be disabled as upstream manually modify its output + # rather than using it directly. The version at runtime at least is + # broken otherwise. See bug #912275. + AT_M4DIR="macros" AT_NOEAUTOHEADER="yes" eautoreconf + + postgres-multi_src_prepare +} + +src_configure() { + export CPP=$(tc-getCPP) + + local myeconfargs=( + $(use_with address-standardizer) + $(use_with gtk gui) + $(use_with topology) + ) + postgres-multi_foreach econf "${myeconfargs[@]}" +} + +src_compile() { + postgres-multi_foreach emake + postgres-multi_foreach emake -C topology + + if use doc ; then + postgres-multi_foreach emake comments + postgres-multi_forbest emake cheatsheets + postgres-multi_forbest emake -C doc html + fi +} + +src_install() { + postgres-multi_foreach emake DESTDIR="${D}" install + postgres-multi_foreach emake -C topology DESTDIR="${D}" install + postgres-multi_forbest dobin ./utils/postgis_restore.pl + + dodoc CREDITS TODO loader/README.* doc/*txt + + docinto topology + dodoc topology/{TODO,README} + + if use doc ; then + postgres-multi_foreach emake DESTDIR="${D}" comments-install + postgres-multi_forbest emake DESTDIR="${D}" -C doc cheatsheet-install html-install html-assets-install + fi + + use static-libs || find "${ED}" -name '*.a' -delete +} + +pkg_postinst() { + ebegin "Refreshing PostgreSQL symlinks" + postgresql-config update + eend $? + + local base_uri="https://postgis.net/docs/manual-" + if [[ ${PV} = *9999* ]] ; then + base_uri+="dev" + else + base_uri+="${PGIS}" + fi + + elog "To finish installing PostGIS, follow the directions detailed at:" + elog "${base_uri}/postgis_installation.html#create_new_db_extensions" +} |