diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-29 03:04:32 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-29 03:04:32 -0500 |
| commit | 1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1 (patch) | |
| tree | 977e8a4ceec4c6469193a34c8bd0f3cbb26f3878 /dev-db | |
| parent | d078a6bb97ca56a274a131a62e0cfe7d85c4452d (diff) | |
| download | baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.tar.gz baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.tar.xz baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.zip | |
Adding metadata
Diffstat (limited to 'dev-db')
47 files changed, 634 insertions, 136 deletions
diff --git a/dev-db/citus/citus-12.1.12.ebuild b/dev-db/citus/citus-12.1.12.ebuild index e7cf278dc1d2..140a7fa638b6 100644 --- a/dev-db/citus/citus-12.1.12.ebuild +++ b/dev-db/citus/citus-12.1.12.ebuild @@ -9,16 +9,12 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/citus/citus-13.2.1.ebuild b/dev-db/citus/citus-13.2.1.ebuild index 0442784842dd..c0210a66c25b 100644 --- a/dev-db/citus/citus-13.2.1.ebuild +++ b/dev-db/citus/citus-13.2.1.ebuild @@ -9,16 +9,12 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/citus/citus-13.2.2.ebuild b/dev-db/citus/citus-13.2.2.ebuild index 0442784842dd..c0210a66c25b 100644 --- a/dev-db/citus/citus-13.2.2.ebuild +++ b/dev-db/citus/citus-13.2.2.ebuild @@ -9,16 +9,12 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/citus/citus-13.3.0.ebuild b/dev-db/citus/citus-13.3.0.ebuild index 0442784842dd..9e602df7ca9d 100644 --- a/dev-db/citus/citus-13.3.0.ebuild +++ b/dev-db/citus/citus-13.3.0.ebuild @@ -9,17 +9,13 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - RESTRICT="test" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP} app-arch/lz4 diff --git a/dev-db/citus/citus-14.0.0.ebuild b/dev-db/citus/citus-14.0.0.ebuild index fbd18e7ef051..c183ec669b3e 100644 --- a/dev-db/citus/citus-14.0.0.ebuild +++ b/dev-db/citus/citus-14.0.0.ebuild @@ -9,16 +9,12 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/citus/citus-14.0.1.ebuild b/dev-db/citus/citus-14.0.1.ebuild index fbd18e7ef051..c183ec669b3e 100644 --- a/dev-db/citus/citus-14.0.1.ebuild +++ b/dev-db/citus/citus-14.0.1.ebuild @@ -9,16 +9,12 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/citus/citus-14.1.0.ebuild b/dev-db/citus/citus-14.1.0.ebuild index fbd18e7ef051..4179cf5c6e7e 100644 --- a/dev-db/citus/citus-14.1.0.ebuild +++ b/dev-db/citus/citus-14.1.0.ebuild @@ -9,17 +9,13 @@ inherit postgres-multi DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" HOMEPAGE="https://www.citusdata.com/" - SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="~amd64" - -SLOT=0 - RESTRICT="test" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP} app-arch/lz4 diff --git a/dev-db/citus/citus-9999.ebuild b/dev-db/citus/citus-9999.ebuild index a61f6ec022cd..f382369f198f 100644 --- a/dev-db/citus/citus-9999.ebuild +++ b/dev-db/citus/citus-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,10 @@ HOMEPAGE="https://www.citusdata.com/" EGIT_REPO_URI="https://github.com/citusdata/citus.git" -IUSE="" LICENSE="POSTGRESQL AGPL-3" - +SLOT="0" KEYWORDS="" - -SLOT=0 - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP} diff --git a/dev-db/hypopg/hypopg-1.4.3.ebuild b/dev-db/hypopg/hypopg-1.4.3-r1.ebuild index 0ef7730320db..cdc6fb5ae124 100644 --- a/dev-db/hypopg/hypopg-1.4.3.ebuild +++ b/dev-db/hypopg/hypopg-1.4.3-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi @@ -15,9 +15,14 @@ SRC_URI="https://github.com/HypoPG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}. LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" src_install() { - default + einstalldocs + postgres-multi_src_install } diff --git a/dev-db/pg_background/Manifest b/dev-db/pg_background/Manifest index 88a359b46ddc..7fb4ceed7d22 100644 --- a/dev-db/pg_background/Manifest +++ b/dev-db/pg_background/Manifest @@ -1 +1,3 @@ DIST pg_background-1.5.tar.gz 32977 BLAKE2B 3eda5db0bfffa4d27e13cbd4791f12a51d9453dc6e86529656aa954159bec0de27cc406bfc27fac07d911121a9ee7f0c5c55cdf57e72fcb1993bcf21bbc9f1bd SHA512 b886c69069fa53f64f866549d807adcc1bd40afafb47601ec2e323b7c9014b93f7896c8a0b1c10644f6ff263f9a24b7b8952c3ba2025fc99de53a7d3f9541e58 +DIST pg_background-1.9.3.tar.gz 131250 BLAKE2B 636d83bc42fc7c9e4c9cd299fb09c5de27dd09fb050a152aaac57aa16817b9bf2ace6c4c3616e98e4b5617e74993b4bcbe5a3a5bf25008c1c14e06cb968344d7 SHA512 7c63b8d61733c365804c9c2b333102ee92933d7af66ce39ead6f3a980c03195a9bb5c182d6b647e69f7bf8286b91eb89e5a87042747e39c053766825c16587c8 +DIST pg_background-2.0.2.tar.gz 209320 BLAKE2B b1c178047a984a96f674c65a60fb84bb3f4b8e16dfd8691e8f913f91ce3aa5ecfd12a1030d01ec69d656dea85c667f32d63d550aa090c9db2f827db10d63149d SHA512 ac54d037bf47d509ed7b118be9efee572bb700a559afa41b912af423637744d49327cae660f7ace4052b788da6146fb1e5fc50f1d473b0cbaf92d818c3a45442 diff --git a/dev-db/pg_background/pg_background-1.5.ebuild b/dev-db/pg_background/pg_background-1.5.ebuild index ae1c2d05749d..e293ffc35f7b 100644 --- a/dev-db/pg_background/pg_background-1.5.ebuild +++ b/dev-db/pg_background/pg_background-1.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,10 +12,9 @@ HOMEPAGE="https://github.com/vibhorkum/pg_background" SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" - -SLOT=0 +SLOT="0" KEYWORDS="~amd64" - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP}" @@ -27,11 +26,3 @@ src_prepare() { default postgres-multi_src_prepare } - -src_compile() { - postgres-multi_foreach emake || die "emake failed" -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install -} diff --git a/dev-db/pg_background/pg_background-1.9.3.ebuild b/dev-db/pg_background/pg_background-1.9.3.ebuild new file mode 100644 index 000000000000..6173e4fde7ca --- /dev/null +++ b/dev-db/pg_background/pg_background-1.9.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 14 15 16 17 18 ) + +inherit postgres-multi + +DESCRIPTION="Postgres Background Worker" +HOMEPAGE="https://github.com/vibhorkum/pg_background" +SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +src_prepare() { + default + postgres-multi_src_prepare +} diff --git a/dev-db/pg_background/pg_background-2.0.2.ebuild b/dev-db/pg_background/pg_background-2.0.2.ebuild new file mode 100644 index 000000000000..9267a93ab5a9 --- /dev/null +++ b/dev-db/pg_background/pg_background-2.0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 14 15 16 17 18 19 ) + +inherit postgres-multi + +DESCRIPTION="Postgres Background Worker" +HOMEPAGE="https://github.com/vibhorkum/pg_background" +SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +src_prepare() { + default + postgres-multi_src_prepare +} diff --git a/dev-db/pg_qualstats/pg_qualstats-2.1.4.ebuild b/dev-db/pg_qualstats/pg_qualstats-2.1.4-r1.ebuild index 181922ccaf74..b24e55db0e3a 100644 --- a/dev-db/pg_qualstats/pg_qualstats-2.1.4.ebuild +++ b/dev-db/pg_qualstats/pg_qualstats-2.1.4-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi @@ -15,6 +15,10 @@ SRC_URI="https://github.com/powa-team/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" @@ -27,5 +31,6 @@ src_prepare() { } src_install() { - default + einstalldocs + postgres-multi_src_install } diff --git a/dev-db/pg_stat_kcache/pg_stat_kcache-2.3.2.ebuild b/dev-db/pg_stat_kcache/pg_stat_kcache-2.3.2-r1.ebuild index d0330a36f3d9..415a47965a71 100644 --- a/dev-db/pg_stat_kcache/pg_stat_kcache-2.3.2.ebuild +++ b/dev-db/pg_stat_kcache/pg_stat_kcache-2.3.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 MY_PV="REL${PV//./_}" POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi @@ -17,9 +17,14 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" src_install() { - default + einstalldocs + postgres-multi_src_install } diff --git a/dev-db/pg_track_settings/pg_track_settings-2.1.2.ebuild b/dev-db/pg_track_settings/pg_track_settings-2.1.2-r1.ebuild index 89d31edd4062..56de84ea3dd0 100644 --- a/dev-db/pg_track_settings/pg_track_settings-2.1.2.ebuild +++ b/dev-db/pg_track_settings/pg_track_settings-2.1.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi @@ -15,6 +15,10 @@ SRC_URI="https://github.com/rjuju/pg_track_settings/archive/refs/tags/${PV}.tar. LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" @@ -26,5 +30,6 @@ src_prepare() { } src_install() { - default + einstalldocs + postgres-multi_src_install } diff --git a/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild b/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9-r1.ebuild index 88104ea2b3ef..d440323ab5cc 100644 --- a/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild +++ b/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi @@ -15,14 +15,19 @@ SRC_URI="https://github.com/postgrespro/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" src_compile() { export USE_PGXS="1" - default + postgres-multi_src_compile } src_install() { - default + einstalldocs + postgres-multi_src_install } diff --git a/dev-db/pglogical/pglogical-2.4.4.ebuild b/dev-db/pglogical/pglogical-2.4.4.ebuild index 9354bae60f33..f4ecf37f9cab 100644 --- a/dev-db/pglogical/pglogical-2.4.4.ebuild +++ b/dev-db/pglogical/pglogical-2.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -20,6 +20,7 @@ SRC_URI="https://github.com/2ndQuadrant/pglogical/archive/REL${MY_PV}.tar.gz" LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP}" RDEPEND="${DEPEND}" diff --git a/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild b/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild index 363bbe634a1a..e91e4e2a2e84 100644 --- a/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild +++ b/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP} dev-libs/libxml2:= diff --git a/dev-db/pgmodeler/pgmodeler-1.2.3.ebuild b/dev-db/pgmodeler/pgmodeler-1.2.3.ebuild index 6f0790be80b2..d8828a7d23e1 100644 --- a/dev-db/pgmodeler/pgmodeler-1.2.3.ebuild +++ b/dev-db/pgmodeler/pgmodeler-1.2.3.ebuild @@ -13,6 +13,7 @@ SRC_URI="https://github.com/nullptrlabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP} dev-libs/libxml2:= diff --git a/dev-db/pgpool2/pgpool2-4.4.7-r1.ebuild b/dev-db/pgpool2/pgpool2-4.4.7-r1.ebuild index a389dbd9154f..8519eaa1efc2 100644 --- a/dev-db/pgpool2/pgpool2-4.4.7-r1.ebuild +++ b/dev-db/pgpool2/pgpool2-4.4.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,12 +12,12 @@ MY_P="${PN/2/-II}-${PV}" DESCRIPTION="Connection pool server for PostgreSQL" HOMEPAGE="https://www.pgpool.net/" SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" + LICENSE="BSD" SLOT="0" - KEYWORDS="~amd64 ~x86" - IUSE="doc memcached pam ssl static-libs" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND=" ${POSTGRES_DEP} diff --git a/dev-db/pgpool2/pgpool2-4.4.7.ebuild b/dev-db/pgpool2/pgpool2-4.4.7.ebuild index d328edb146d3..f50a7e78aa27 100644 --- a/dev-db/pgpool2/pgpool2-4.4.7.ebuild +++ b/dev-db/pgpool2/pgpool2-4.4.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,12 +12,12 @@ MY_P="${PN/2/-II}-${PV}" DESCRIPTION="Connection pool server for PostgreSQL" HOMEPAGE="https://www.pgpool.net/" SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" + LICENSE="BSD" SLOT="0" - KEYWORDS="amd64 x86" - IUSE="doc memcached pam ssl static-libs" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND=" ${POSTGRES_DEP} diff --git a/dev-db/pgrouting/pgrouting-3.6.2.ebuild b/dev-db/pgrouting/pgrouting-3.6.2.ebuild index 1638d6e53236..8c0ff780aa2a 100644 --- a/dev-db/pgrouting/pgrouting-3.6.2.ebuild +++ b/dev-db/pgrouting/pgrouting-3.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,18 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" POSTGRES_COMPAT=( {12..16} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit cmake postgres-multi DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" HOMEPAGE="https://pgrouting.org/" -LICENSE="GPL-2 MIT Boost-1.0" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT Boost-1.0" SLOT="0" KEYWORDS="amd64 ~x86" -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND="${POSTGRES_DEP} >=dev-db/postgis-2.0 diff --git a/dev-db/pgrouting/pgrouting-3.7.0.ebuild b/dev-db/pgrouting/pgrouting-3.7.0.ebuild index d06b7b9c9b2c..8d8dd2b39e29 100644 --- a/dev-db/pgrouting/pgrouting-3.7.0.ebuild +++ b/dev-db/pgrouting/pgrouting-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,18 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" POSTGRES_COMPAT=( {13..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit cmake postgres-multi DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" HOMEPAGE="https://pgrouting.org/" -LICENSE="GPL-2 MIT Boost-1.0" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT Boost-1.0" SLOT="0" KEYWORDS="amd64 ~x86" -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND="${POSTGRES_DEP} >=dev-db/postgis-2.0 diff --git a/dev-db/pgrouting/pgrouting-3.7.3.ebuild b/dev-db/pgrouting/pgrouting-3.7.3.ebuild index 4d4dfaa327cb..1faea3e6df72 100644 --- a/dev-db/pgrouting/pgrouting-3.7.3.ebuild +++ b/dev-db/pgrouting/pgrouting-3.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,18 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" POSTGRES_COMPAT=( {13..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit cmake postgres-multi DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" HOMEPAGE="https://pgrouting.org/" -LICENSE="GPL-2 MIT Boost-1.0" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT Boost-1.0" SLOT="0" KEYWORDS="~amd64 ~x86" -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND="${POSTGRES_DEP} >=dev-db/postgis-2.0 diff --git a/dev-db/pgrouting/pgrouting-3.8.0.ebuild b/dev-db/pgrouting/pgrouting-3.8.0.ebuild index 4d4dfaa327cb..1faea3e6df72 100644 --- a/dev-db/pgrouting/pgrouting-3.8.0.ebuild +++ b/dev-db/pgrouting/pgrouting-3.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,18 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" POSTGRES_COMPAT=( {13..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit cmake postgres-multi DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" HOMEPAGE="https://pgrouting.org/" -LICENSE="GPL-2 MIT Boost-1.0" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT Boost-1.0" SLOT="0" KEYWORDS="~amd64 ~x86" -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND="${POSTGRES_DEP} >=dev-db/postgis-2.0 diff --git a/dev-db/pgrouting/pgrouting-4.0.1.ebuild b/dev-db/pgrouting/pgrouting-4.0.1.ebuild index 54015bd808ff..0d2c15993a8b 100644 --- a/dev-db/pgrouting/pgrouting-4.0.1.ebuild +++ b/dev-db/pgrouting/pgrouting-4.0.1.ebuild @@ -6,18 +6,18 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" POSTGRES_COMPAT=( {14..18} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit cmake postgres-multi DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" HOMEPAGE="https://pgrouting.org/" -LICENSE="GPL-2 MIT Boost-1.0" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 MIT Boost-1.0" SLOT="0" KEYWORDS="~amd64 ~x86" -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -IUSE="" +REQUIRED_USE="${POSTGRES_REQ_USE}" RDEPEND="${POSTGRES_DEP} >=dev-db/postgis-2.0 diff --git a/dev-db/pgtap/pgtap-1.3.3.ebuild b/dev-db/pgtap/pgtap-1.3.3.ebuild index 722ebcc44a20..1eaf51b59897 100644 --- a/dev-db/pgtap/pgtap-1.3.3.ebuild +++ b/dev-db/pgtap/pgtap-1.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,6 +14,7 @@ SRC_URI="https://api.pgxn.org/dist/${PN}/${PV}/${P}.zip" LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="amd64" +REQUIRED_USE="${POSTGRES_REQ_USE}" DEPEND="${POSTGRES_DEP} app-arch/unzip diff --git a/dev-db/plr/plr-8.4.5.ebuild b/dev-db/plr/plr-8.4.5.ebuild index a75eb62a0b0f..f89445e362f0 100644 --- a/dev-db/plr/plr-8.4.5.ebuild +++ b/dev-db/plr/plr-8.4.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi diff --git a/dev-db/plr/plr-8.4.6.ebuild b/dev-db/plr/plr-8.4.6.ebuild index bb10bae54f14..29719f6c335c 100644 --- a/dev-db/plr/plr-8.4.6.ebuild +++ b/dev-db/plr/plr-8.4.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 POSTGRES_COMPAT=( {12..16} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit postgres-multi diff --git a/dev-db/postgis/postgis-3.3.7-r2.ebuild b/dev-db/postgis/postgis-3.3.7-r2.ebuild index 5cee936b315f..aaf3fddbd97b 100644 --- a/dev-db/postgis/postgis-3.3.7-r2.ebuild +++ b/dev-db/postgis/postgis-3.3.7-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {11..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.3.8-r1.ebuild b/dev-db/postgis/postgis-3.3.8-r1.ebuild index a1975a76329f..f7835613234a 100644 --- a/dev-db/postgis/postgis-3.3.8-r1.ebuild +++ b/dev-db/postgis/postgis-3.3.8-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {11..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.3.9.ebuild b/dev-db/postgis/postgis-3.3.9.ebuild index bc757266cafb..f7835613234a 100644 --- a/dev-db/postgis/postgis-3.3.9.ebuild +++ b/dev-db/postgis/postgis-3.3.9.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( {11..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.4.4-r1.ebuild b/dev-db/postgis/postgis-3.4.4-r1.ebuild index 4ea5c666b36b..7a38a9dd5143 100644 --- a/dev-db/postgis/postgis-3.4.4-r1.ebuild +++ b/dev-db/postgis/postgis-3.4.4-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {12..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.4.5.ebuild b/dev-db/postgis/postgis-3.4.5.ebuild index 13908bcbaa49..7a38a9dd5143 100644 --- a/dev-db/postgis/postgis-3.4.5.ebuild +++ b/dev-db/postgis/postgis-3.4.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( {12..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.5.2-r1.ebuild b/dev-db/postgis/postgis-3.5.2-r1.ebuild index acd7527a5d38..8c1d66ff66cf 100644 --- a/dev-db/postgis/postgis-3.5.2-r1.ebuild +++ b/dev-db/postgis/postgis-3.5.2-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {12..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.5.3-r2.ebuild b/dev-db/postgis/postgis-3.5.3-r2.ebuild index 7ca89671715a..9e7cc80b848a 100644 --- a/dev-db/postgis/postgis-3.5.3-r2.ebuild +++ b/dev-db/postgis/postgis-3.5.3-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {12..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.5.5.ebuild b/dev-db/postgis/postgis-3.5.5.ebuild index cca81aed7340..9e7cc80b848a 100644 --- a/dev-db/postgis/postgis-3.5.5.ebuild +++ b/dev-db/postgis/postgis-3.5.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( {12..17} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.6.0.ebuild b/dev-db/postgis/postgis-3.6.0.ebuild index c8bb40b99723..c6bbc5ad35a2 100644 --- a/dev-db/postgis/postgis-3.6.0.ebuild +++ b/dev-db/postgis/postgis-3.6.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( {12..18} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/postgis/postgis-3.6.2.ebuild b/dev-db/postgis/postgis-3.6.2.ebuild index a6d08e90bcc9..33c4dd232b5a 100644 --- a/dev-db/postgis/postgis-3.6.2.ebuild +++ b/dev-db/postgis/postgis-3.6.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( {12..18} ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit autotools postgres-multi toolchain-funcs MY_P="${PN}-$(ver_rs 3 '')" diff --git a/dev-db/powa-archivist/powa-archivist-5.1.2.ebuild b/dev-db/powa-archivist/powa-archivist-5.1.2-r1.ebuild index 98df025a5f25..ab814d5307b7 100644 --- a/dev-db/powa-archivist/powa-archivist-5.1.2.ebuild +++ b/dev-db/powa-archivist/powa-archivist-5.1.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 POSTGRES_COMPAT=( 14 15 16 17 18 ) -POSTGRES_USEDEP="server" +POSTGRES_USEDEP="server(+)" inherit optfeature postgres-multi @@ -16,11 +16,16 @@ S="${WORKDIR}/${PN}-REL_${PV//./_}" LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${POSTGRES_REQ_USE}" + +RDEPEND="${POSTGRES_DEP}" +DEPEND="${RDEPEND}" RESTRICT="test" src_install() { - default + einstalldocs + postgres-multi_src_install } pkg_postinst() { diff --git a/dev-db/repmgr/repmgr-5.5.0.ebuild b/dev-db/repmgr/repmgr-5.5.0.ebuild index 90f8ed3be877..3154b01b00b7 100644 --- a/dev-db/repmgr/repmgr-5.5.0.ebuild +++ b/dev-db/repmgr/repmgr-5.5.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 POSTGRES_COMPAT=( 13 14 15 16 17 ) -RESTRICT="test" +inherit postgres-multi DESCRIPTION="PostgreSQL Replication Manager" HOMEPAGE="http://www.repmgr.org/" @@ -14,8 +14,8 @@ SRC_URI="https://github.com/EnterpriseDB/repmgr/releases/download/v${PV}/${P}.ta LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" - -inherit postgres-multi +REQUIRED_USE="${POSTGRES_REQ_USE}" +RESTRICT="test" DEPEND="${POSTGRES_DEP} dev-libs/json-c" diff --git a/dev-db/slony1/slony1-2.2.10-r1.ebuild b/dev-db/slony1/slony1-2.2.10-r1.ebuild index 1115cf1c6835..9c092ab502c2 100644 --- a/dev-db/slony1/slony1-2.2.10-r1.ebuild +++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server,threads(+)" +POSTGRES_USEDEP="server(+),threads(+)" inherit flag-o-matic postgres-multi diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest index 53da2e4e18c3..72d5f5fc7738 100644 --- a/dev-db/sqlite/Manifest +++ b/dev-db/sqlite/Manifest @@ -1,4 +1,6 @@ DIST sqlite-doc-3530100.zip 11796231 BLAKE2B aff3462d5d9ccdac9cb7bed65d4ed1b52ae8268c6eff738804ba32bb6852fee4ce0a934ccaf47259cd86b0d832dc57571652816159411493d435d6f5f4029ed0 SHA512 fe1234a91408536c899991cd50633fc755544206931560e0308cf9aa9114f4161fe33eb6046eb3f4c62a0d94439108ad32c2ef5cedb410c59c89d70c1260118a DIST sqlite-doc-3530200.zip 11807834 BLAKE2B 6dcdd24e80cf82ded185c4ec17b9be33b7e55c7628128727c23073cd5d9e18214035cee41e20c2c6c564c40e89f8c000f2b1476e536bf4103325828933724701 SHA512 58048eff2245b3371a46a8728410d663d1ed9f65f54da87691499ad5bb8d8479e22c2400a6e0e5ba993cc7608da4a981964974bc36c6aeddedd170873ec35a96 +DIST sqlite-doc-3530300.zip 11814077 BLAKE2B 26a7c8ba32034ff7d2eed3b077d5ebb966b89f933a6a7601a8e8558f4f86fdd6512168ae48b5ef776eb0a78addef6eeba949793db73925c31f102d3a7068940e SHA512 9c63baa5156090061b4741e318a4f647c70e92230f077d4ea43f422bbf605dd9ae7bf21eaad7ffac079cf900ca3949b867d650c05333fd1119a6dfc1b6ac49ba DIST sqlite-src-3530100.zip 14515734 BLAKE2B 4677b83156ded5d65336161dc6b565268ba5d39bf110e3b69a71809b7a9ae1511684a2150d268c298f9991a316ac2cda7adea2bd692292d75a78f05d5807cd0d SHA512 e6b429dbec2056e1e90557896940f46b0976b9c4a3cfa6890d23f690fcab4d7cff2f2dea3a3d2cfc5faf87d0d6feb318c70212ec101008416d106189c6bc0133 DIST sqlite-src-3530200.zip 14527073 BLAKE2B d06696d0d77becea85b15a04be178971e356dfe8babb9440ce150633dfe6e6195eac852ff434d306ca27a511273ef4f02bf2aec70a3ce6ec86f0b003c9aa64c4 SHA512 ebb8f1d05c416f1e8962ea94b5e09a7d92df9ace3af6ff0c090d4bec244fff741861257b3cb79f14b7b38c16992f5b1495121266bd01e865fb377aa402e33332 +DIST sqlite-src-3530300.zip 14537772 BLAKE2B c9e2de4e20398f9cd954ccce5fcb05c1a6d3ca7950d0141b7aab9f121b59a365c9cfefbe6cd64eea90a62486447dbf1b26ca31e67055f3bf6c11d9c6deb219b9 SHA512 56faea22a885b556877fba25b750de627b0c5a449545b95bd771c8a8a885363c73a876db099b438632c1f8ededa70d1897156cd04b84f53d2af9ca88c2948096 diff --git a/dev-db/sqlite/sqlite-3.53.3.ebuild b/dev-db/sqlite/sqlite-3.53.3.ebuild new file mode 100644 index 000000000000..5ee98da6c05f --- /dev/null +++ b/dev-db/sqlite/sqlite-3.53.3.ebuild @@ -0,0 +1,448 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib 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/2026/${PN}-src-${SRC_PV}.zip + doc? ( https://sqlite.org/2026/${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 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="public-domain" +SLOT="3" +IUSE="debug doc icu +readline secure-delete static-libs tcl test test-full tools" +REQUIRED_USE="test-full? ( test )" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/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}] ) +" +if [[ ${PV} == 9999 ]]; then + BDEPEND+=" dev-vcs/fossil" +else + BDEPEND+=" app-arch/unzip" +fi + +PATCHES=( + "${FILESDIR}"/${PN}-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.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 + + 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 + options+=( --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 + options+=( --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 + options+=( --enable-rtree --enable-geopoly ) + + # Support Session extension. + # https://sqlite.org/compile.html#enable_session + # https://sqlite.org/sessionintro.html + options+=( --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 + options+=( --with-icu-config ) + 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 + + if [[ ${CHOST} != *-darwin* ]] ; then + # set SONAME for the library + options+=( --soname=legacy ) + else + # to allow install_name_tool id change + append-ldflags -headerpad_max_install_names + fi + + # https://sqlite.org/forum/forumpost/4f4d06a9f6683bb9 + tc-export_build_env BUILD_CC + + CC_FOR_BUILD=${BUILD_CC} econf "${options[@]}" +} + +multilib_src_compile() { + emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" + + if use tools && multilib_is_native_abi; then + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer 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 tclextension + if multilib_is_native_abi; then + emake -Onone $(usex test-full 'xdevtest' 'test') + else + emake srctree-check fuzztest sourcetest $TESTPROGS testrunner + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install + + if [[ ${CHOST} == *-darwin* ]] ; then + # fix install_name, soname=legacy doesn't work for this (but + # breaks the build instead) + install_name_tool \ + -id "${EPREFIX}/usr/$(get_libdir)/libsqlite3$(get_libname 0)" \ + "${ED}/usr/$(get_libdir)/libsqlite3$(get_libname ${PV})" \ + || die "failed to fix install_name" + fi + + 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 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_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/timescaledb/timescaledb-2.26.4.ebuild b/dev-db/timescaledb/timescaledb-2.26.4.ebuild index 308f5fb016dd..1011f3bb80a7 100644 --- a/dev-db/timescaledb/timescaledb-2.26.4.ebuild +++ b/dev-db/timescaledb/timescaledb-2.26.4.ebuild @@ -13,10 +13,10 @@ 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 +SLOT="0" KEYWORDS="~amd64" IUSE="proprietary-extensions" - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP}" diff --git a/dev-db/timescaledb/timescaledb-2.27.2.ebuild b/dev-db/timescaledb/timescaledb-2.27.2.ebuild index 308f5fb016dd..1011f3bb80a7 100644 --- a/dev-db/timescaledb/timescaledb-2.27.2.ebuild +++ b/dev-db/timescaledb/timescaledb-2.27.2.ebuild @@ -13,10 +13,10 @@ 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 +SLOT="0" KEYWORDS="~amd64" IUSE="proprietary-extensions" - +REQUIRED_USE="${POSTGRES_REQ_USE}" RESTRICT="test" DEPEND="${POSTGRES_DEP}" |
