diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-18 03:03:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-18 03:03:03 +0000 |
commit | f9f6fa91738181ebe9aca71b75d157d8b5df5335 (patch) | |
tree | 556cf671790196d83709b89133064a855f1879f2 /dev-db | |
parent | 3455c0a5153ae27d7c6c16ecd35fa3dec33f3dda (diff) |
gentoo auto-resync : 18:11:2024 - 03:03:03
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/Manifest.gz | bin | 16583 -> 16588 bytes | |||
-rw-r--r-- | dev-db/libzdb/Manifest | 2 | ||||
-rw-r--r-- | dev-db/libzdb/libzdb-3.4.0.ebuild | 86 | ||||
-rw-r--r-- | dev-db/postgresql/Manifest | 4 | ||||
-rw-r--r-- | dev-db/postgresql/postgresql-17.1.ebuild | 4 | ||||
-rw-r--r-- | dev-db/postgresql/postgresql-9999.ebuild | 4 | ||||
-rw-r--r-- | dev-db/timescaledb/Manifest | 2 | ||||
-rw-r--r-- | dev-db/timescaledb/timescaledb-2.17.2.ebuild | 65 |
8 files changed, 165 insertions, 2 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex 17435de383ee..a30b550d70b3 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/libzdb/Manifest b/dev-db/libzdb/Manifest index 367d91c677a5..8a96296cc651 100644 --- a/dev-db/libzdb/Manifest +++ b/dev-db/libzdb/Manifest @@ -1,3 +1,5 @@ DIST libzdb-3.2.3.tar.gz 771263 BLAKE2B a734dbee38ad175cd4d60afc7fe38c72318d5c74daf1556587997e592b2136d96fc747210aac4151764d8644a8b657a9364ffc1c7fcb133d8487f2585c12c22c SHA512 3cf0641a7aabf91fa9bc7ed93bce6fa3e692cad309086e3f899ede443ffdd84ed20dda38fbc48764733537cdc105ae7e555a23cf7bc9b8f99e233787e0271e29 +DIST libzdb-3.4.0.tar.gz 956184 BLAKE2B b75d35c4061d3b98e88f82515f1289c22fb364eefca8e28cab870fb2cea3206511e7e2d34daf8017b4c129602e5cfbd260f894970603e35cae7827e123f793f6 SHA512 b3363c9d4fb9c5a7e076d2ab465b43e9ed4a4332f5020b22b8229f049f8f8644a20a72a6f36f7e7cb37fa6e1fd7532b051be06c2f33245ff16de9cd91dc05b3a EBUILD libzdb-3.2.3.ebuild 1871 BLAKE2B d7e2cb22c453113c5351f12db3ee3613ee69f5eb4693fbc8fb1f5c96e9f2f8270d137847fbda047eb72a8eded08c8bcc57df5ffa352ea45790df361b13e075e9 SHA512 a5827050474af035826b947926749b31e471e022102a2a040c804c175002f76340b6ea225daae306cd3d6eaf052ac0c2cdcced92604c38a7e68fdc66694becd0 +EBUILD libzdb-3.4.0.ebuild 1873 BLAKE2B d0165160c443242c80b1fedf7399fa73aff8996f3bc4d92915633806aac18005a18e23285e5db1ca1af05827542a537604563ef9c6668c3748f6a9b36e2bc523 SHA512 ea527a0db99d9cca58f6dc7f55deebd451f359549aaef34875eb920aa12a9f07c9f634fc432973401e0da7cea2b41006f44571f6d04d7dfc16867cf0b37e0aff MISC metadata.xml 259 BLAKE2B 3d6e2c71a67eb6eec74e229e746e4ca8c32878d251276044aeacfc21afb48be29752d2257e41ab4ffefbd061fb05929b17237905dd4fd01c65c24e61e464a681 SHA512 ceb54d3784d2abce86137f25059dba4f90ebba03e31dae56d2b8acbc515d9c0d7ed909f46c569a73e929cbe9dac2caef440e9c52b0518d37c081e03be471fa4c diff --git a/dev-db/libzdb/libzdb-3.4.0.ebuild b/dev-db/libzdb/libzdb-3.4.0.ebuild new file mode 100644 index 000000000000..300fd5a6106a --- /dev/null +++ b/dev-db/libzdb/libzdb-3.4.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A thread safe high level multi-database connection pool library" +HOMEPAGE="https://www.tildeslash.com/libzdb/" +SRC_URI="https://www.tildeslash.com/${PN}/dist/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc mysql postgres +sqlite ssl static-libs" +REQUIRED_USE=" || ( postgres mysql sqlite )" + +RESTRICT=test + +RDEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( >=dev-db/sqlite-3.7:3[unlock-notify(+)] ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-text/doxygen )" + +src_prepare() { + default + sed -i -e "s|&& ./pool||g" test/Makefile.in || die +} + +src_configure() { + ## TODO: check what --enable-optimized actually does + ## TODO: find someone with oracle db to add oci8 support + myconf="" + # enable default hidden visibility + myconf="${myconf} --enable-protected" + + if use sqlite; then + myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock" + else + myconf="${myconf} --without-sqlite" + fi + + if use mysql; then + myconf="${myconf} --with-mysql=${EPREFIX}/usr/bin/mysql_config" + else + myconf="${myconf} --without-mysql" + fi + + if use postgres; then + myconf="${myconf} --with-postgresql=${EPREFIX}/usr/bin/pg_config" + else + myconf="${myconf} --without-postgresql" + fi + + econf \ + $(use_enable debug profiling) \ + $(use_enable static-libs static) \ + $(use_enable ssl openssl) \ + --without-oci \ + ${myconf} +} + +src_compile() { + default + if use doc; then + emake doc + fi +} + +src_install() { + default + + # the --disable-static flag only skips .a + use static-libs || rm -f "${D}"/usr/lib*/libzdb.la + + dodoc AUTHORS CHANGES README + if use doc;then + docinto html + dodoc -r "${S}/doc/api-docs"/* + fi +} + +src_test() { + emake verify +} diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest index d0965dda74f2..41645ff18c1c 100644 --- a/dev-db/postgresql/Manifest +++ b/dev-db/postgresql/Manifest @@ -20,6 +20,6 @@ EBUILD postgresql-13.17.ebuild 13514 BLAKE2B be97706c3cb029252e9392b1af7e604399e EBUILD postgresql-14.14.ebuild 13505 BLAKE2B ee4a27cb8a05b11c5ed6d842886ccd523891b445b39156a4d48ab9349ff24cea2bd6489709eb8717149ed5284e2a1090cea7305dc788976182d77d4450861228 SHA512 4568e633f0d4a8b2e121b8b2bf546c23c397765dd3e0eee26ee43e16404574dab5374429ec0e19f0bbd0a611d0c1bb17075d8565667736e87124b48b87c0e8e6 EBUILD postgresql-15.9.ebuild 13567 BLAKE2B 1ba99b4e226773e1b1eff53d06111d7e40d2fa6b7c5968e16f580b50f11c5732a086b38b93aebc169400821d1062041515931ea7ce78b48f860953b227bd0970 SHA512 2573684df847cdde89ea43362d7e8e30b3662261ef91674430e92dffd8136e73dbf67e70844661e8612ca6c460c4a5938b43962562dc88d7f3dd5658118fef38 EBUILD postgresql-16.5.ebuild 13577 BLAKE2B 3df7cc1a7a126871a080ecb9af0003c52bd243edcd3a4e0be401fd1c261802f4841a3ba32034fadad8b19e1fd3698f228a0678e373413072cbe3aef7fc1b4ee0 SHA512 dfdef79d01ac1ea126e4124dfab505ccbfe49a62e4f866b987f73edadb283788e2b943d5acc6294039373ec6035d36b07113ec788c6563e113d0d63388e0bc1d -EBUILD postgresql-17.1.ebuild 13884 BLAKE2B df8d66e6f966f4a63de01998da1d2234f5ad1b04fe60f3d78387b96c79e144cdefe108eb4f197e0dc444b173da932d37f2abad4a2aa0e21a5e7aa93e841d1087 SHA512 b1580cefb3b9414c8d234f402f3ddbff7504847ace85e7b66525ba59602e0ece9b5cbaaac3f8d902bc1acf47e4d173e417dfaf908b13e470334310cf9e3735b9 -EBUILD postgresql-9999.ebuild 14250 BLAKE2B eb23aa09ca89eb166119864004d55b74f1b9f263a38e393783b079deb29c1380b2fcdf521cf6013f88bf227999e44d7ad8d0b5f1942404396a4b00247fbbaaf5 SHA512 0b0b484829b8bc9a0f3df78be1bb812f55bf6fdc7454407601d7f7d5527487529f091d070937590e93b2c60742b7cff8c5a2aa4d0fcfe28247ffe48891ef5614 +EBUILD postgresql-17.1.ebuild 14045 BLAKE2B e8d77abb668c4ac3e223b16e4dd230dd60fb7fc97b4919855a033546866e722efc96a040fd35ca554222b3f9428f34137ac340283482495ab22d57535f1e5abd SHA512 e4a963582b8cf64364801a2e752712bbb834d577d0cec3275703b0482007e736ef3baa27849909cf0500b413c542c944446c70d3e6241e25cd0e261ee79c054a +EBUILD postgresql-9999.ebuild 14411 BLAKE2B c9ad64cdcf781a6fd0f8aceacecc4db91e014d7e35942a0edde23410fc6c0caca164d283a86916213b1a1135040d7362dea803045223b32567a70ff007b8f2ae SHA512 00584cef8a92c6fc44c0f94c09dfbee678d2a96cce305a1eb04d8bc3c9cb10333a7d5cc00f295f0b59fe29a4c667c8da3772fe8939023e1119ff173076a7f74c MISC metadata.xml 653 BLAKE2B b5b85d83ee78ac502e2707d156e2fadf6fea857160e2f48da51c755e221c52a14b9eb04354202287f4aba15c274c07ba7b0911c76fd034bfa774ce3500ccb165 SHA512 fd543af224f6f8677e138cb1db7154d2444295c45df8696e3584911943176023d8d1b179f6b16d88ffc6d290265ec1b2f4c902cf95cc79eb37599ae3635b0942 diff --git a/dev-db/postgresql/postgresql-17.1.ebuild b/dev-db/postgresql/postgresql-17.1.ebuild index d2a1c4679c40..207b1d81566a 100644 --- a/dev-db/postgresql/postgresql-17.1.ebuild +++ b/dev-db/postgresql/postgresql-17.1.ebuild @@ -128,6 +128,10 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now: https://marc.info/?l=pgsql-bugs&m=173185132906874&w=2 + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index b6efc09b8671..82ecf3f45e4f 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -143,6 +143,10 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now: https://marc.info/?l=pgsql-bugs&m=173185132906874&w=2 + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 44c51d27e3b0..3e9fda6ec93f 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,7 +1,9 @@ DIST timescaledb-2.16.1.tar.gz 7449327 BLAKE2B 4eac0f41596db1b7669850cbb576a2d710998f7207f566fb9b4965804e6810f1571d18058a126acdae7862bf77424db44f27720f3600d1191ae1a3c3cf8680ae SHA512 4972ccc385a3c7bda8fab8736c63f75c5b290a3a0206add84718326fcd07c24a52dbbae2114e857fb78246bf5a4b5ec3310cc2219a163af4d5f30f1766e37fae DIST timescaledb-2.17.0.tar.gz 7559829 BLAKE2B 59ae1acabd9cc2657eaef04b42a2e4a9a633bf6dca0080897b2c0645ad2faa3b82c0f693ea121fbda8becf4088877b87f5aac8cf300d73ba85b3226a057ea5e0 SHA512 0c10f04b62e6e57da0e53234d25b82e68724a7925fd8696a9872e2934cbd1a7af9798576afceb504d4a7207ef8b0407421bbeeb4a3deef0f4b4ad17c2753443c DIST timescaledb-2.17.1.tar.gz 7565025 BLAKE2B 8d8325e06739201d17e0da19173ee852abb10c0646d5f3647c51a6c209c1c6df30bc03ee8682e082652fb8d26a0b9bedf5c6014ed143b0af530b450664f6e14f SHA512 f5cd527f1b37e228c7caaad0b9a9802b1cef3b0b4a856951e46e74479263f4fef6190cc37c920ca5819ddd6874ff469645f606eeadec6741b83e82adb8c21f22 +DIST timescaledb-2.17.2.tar.gz 7567447 BLAKE2B c2d5d9883377ffce57184c9c29413d12a41c7ef7891abb088aa72d0d7c410db28370c53585d7ec286fd52b3fe5c89b10f3b6deb547b6a1de132dc9c6697aa8cb SHA512 fc74d41062735bd4136ac71b0e10aecf34a64cdb29fd2ff31eae3f406beb8db00866e8ed7e142d47852e1586a6ad2ffa1652fbd792a45e995174b62464963d1e EBUILD timescaledb-2.16.1.ebuild 1434 BLAKE2B 77976343740622bfde842b51055bce458295dc7304c82f9e06cfc510c9899954e85bf7f0c2f86ab0d8a9b47f1a956fba2102d889f4609c68d6898f59c7a7c5b1 SHA512 19ec48b1c738f884542b6c25cfbf5723727af5b7aba21889ee9a152721432a692feb3f59cd43c2cea0d173d3cdbe2fdba5fa5b0dc50e40563d8c14dddd9179d5 EBUILD timescaledb-2.17.0.ebuild 1437 BLAKE2B 8e0fb37cb92aef40b53608eab5a06496c105a8015fa4065387ebd0ee54c08fe6fc0ba3383b2d1a7767e085016a4e00a089e67bd72769f7f5f4b45bbee0b15958 SHA512 22a62409c4d0e710279f9227b10b20d2df9a7c977d30a2d45c2ab829a29638909d75e5fb16c3146ce8d64a0a702e77935e27d6d910f9cfc4265611dc72c69119 EBUILD timescaledb-2.17.1.ebuild 1437 BLAKE2B 8e0fb37cb92aef40b53608eab5a06496c105a8015fa4065387ebd0ee54c08fe6fc0ba3383b2d1a7767e085016a4e00a089e67bd72769f7f5f4b45bbee0b15958 SHA512 22a62409c4d0e710279f9227b10b20d2df9a7c977d30a2d45c2ab829a29638909d75e5fb16c3146ce8d64a0a702e77935e27d6d910f9cfc4265611dc72c69119 +EBUILD timescaledb-2.17.2.ebuild 1435 BLAKE2B 5db2df97f1a3a553fddba3f1335f0c8ed0d559373db4846a6512ef7ba1312f8c29eb85add3e87cb430718ecffbf70cab8ae3a00553a297d2acbba0335fb0aff6 SHA512 73a4680b81449792ad256be52140d1f07d424793cfa94c080ae2f46f60209710780a0a21df8a802a2bfb1d2931d8ea3743829502cae14bc60f80630f1c6562af MISC metadata.xml 510 BLAKE2B 4e96707c6ee1fd09ff2baff091e02ceab53bfc28a6a3b91265a21fe9918a9728d2fe6394bed01e8bf4417c2349c2e72bab180cfff71cedf4641d462b29a33d3d SHA512 5e91ef3b9a503462dc880300e364f74e6564dd74671d0b0ce723a86ea7471f987424e06e51384d6fb079681122b8d454e255efe2e19726d64de7928df227148a diff --git a/dev-db/timescaledb/timescaledb-2.17.2.ebuild b/dev-db/timescaledb/timescaledb-2.17.2.ebuild new file mode 100644 index 000000000000..6b80b1013751 --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.17.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 14 15 16 17 ) +POSTGRES_USEDEP="ssl" + +inherit postgres-multi cmake + +DESCRIPTION="Open-source time-series SQL database" +HOMEPAGE="https://www.timescale.com/" +SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" +SLOT=0 +KEYWORDS="~amd64" +IUSE="proprietary-extensions" + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +CMAKE_IN_SOURCE_BUILD=yes +CMAKE_BUILD_TYPE="RelWithDebInfo" +BUILD_DIR=${WORKDIR}/${P} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) + + # licensing is tied to features, this useflag disables the non-apache2 licensed bits + if ! use proprietary-extensions ; then + mycmakeargs+=("-DAPACHE_ONLY=ON") + fi + cmake_src_configure +} + +src_configure() { + postgres-multi_foreach timescale_configure +} + +timescale_src_compile() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_compile +} + +src_compile() { + postgres-multi_foreach timescale_src_compile +} + +timescale_src_install() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_install +} + +src_install() { + postgres-multi_foreach timescale_src_install +} |