diff options
| author | Crucible <crucible@localhost> | 2026-10-08 03:05:01 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-08 03:05:01 -0500 |
| commit | ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9 (patch) | |
| tree | c8fc2b7a985f8e35ead87530c62bfeb3edb46472 /dev-db | |
| parent | 4f8f07779b4dd78123821b104e43fd1eb15281dd (diff) | |
| download | srcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.tar.gz srcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.tar.xz srcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.zip | |
Publish srcux candidate 0000000587-20261008-030306
Diffstat (limited to 'dev-db')
| -rw-r--r-- | dev-db/mariadb/files/mariadb-11.8.9-no-sandbox-options.patch | 17 | ||||
| -rw-r--r-- | dev-db/mariadb/mariadb-11.8.9-r1.ebuild | 1 | ||||
| -rw-r--r-- | dev-db/mariadb/mariadb-12.3.3-r1.ebuild | 1 | ||||
| -rw-r--r-- | dev-db/pgbouncer/Manifest | 1 | ||||
| -rw-r--r-- | dev-db/pgbouncer/files/pgbouncer-1.26-dirs.patch | 19 | ||||
| -rw-r--r-- | dev-db/pgbouncer/pgbouncer-1.26.0.ebuild | 74 | ||||
| -rw-r--r-- | dev-db/sqlite/sqlite-3.53.4.ebuild | 2 |
7 files changed, 114 insertions, 1 deletions
diff --git a/dev-db/mariadb/files/mariadb-11.8.9-no-sandbox-options.patch b/dev-db/mariadb/files/mariadb-11.8.9-no-sandbox-options.patch new file mode 100644 index 000000000000..f8aedd8aed05 --- /dev/null +++ b/dev-db/mariadb/files/mariadb-11.8.9-no-sandbox-options.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/982642#c9 + +Don't try to examine the config directory of the live system. +--- a/extra/generate_option_list.cc ++++ b/extra/generate_option_list.cc +@@ -83,7 +83,10 @@ + command << "\""; + } + command << " --verbose" +- " --help"; ++ " --help" ++ " --datadir="; ++ command << plugin_dir << ""; ++ + #ifdef _WIN32 + command << "\""; + #endif diff --git a/dev-db/mariadb/mariadb-11.8.9-r1.ebuild b/dev-db/mariadb/mariadb-11.8.9-r1.ebuild index 421ee656ece1..54742a1faadd 100644 --- a/dev-db/mariadb/mariadb-11.8.9-r1.ebuild +++ b/dev-db/mariadb/mariadb-11.8.9-r1.ebuild @@ -215,6 +215,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-10.6.12-gcc-13.patch eapply "${FILESDIR}"/${PN}-wsrep-gcc-15.patch + eapply "${FILESDIR}"/${PN}-11.8.9-no-sandbox-options.patch eapply_user diff --git a/dev-db/mariadb/mariadb-12.3.3-r1.ebuild b/dev-db/mariadb/mariadb-12.3.3-r1.ebuild index c968e557ef8e..21a8a06d3788 100644 --- a/dev-db/mariadb/mariadb-12.3.3-r1.ebuild +++ b/dev-db/mariadb/mariadb-12.3.3-r1.ebuild @@ -215,6 +215,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-10.6.12-gcc-13.patch eapply "${FILESDIR}"/${PN}-wsrep-gcc-15.patch + eapply "${FILESDIR}"/${PN}-11.8.9-no-sandbox-options.patch eapply_user diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index cea343557b55..728830c78c8f 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,3 +1,4 @@ DIST pgbouncer-1.23.1.tar.gz 700025 BLAKE2B 60fd69362fe6c4bacdda33064cb0b871ceabe086b22b6fff8762a129e0d1d8332fba1b0abf6dac1ac4426654d84cb283bd86b02fde5229e6c97a7a310c6bf0f1 SHA512 efcd4efa3871a43f2498e4cbbae0c85b98bb7eefa46b6081ceeafd652179e215fcaa74de63941c7e14a919e41f550aff182e2b940c9f8bb0fbf5fffb6440e99b DIST pgbouncer-1.25.2-manpages.tar.gz 102400 BLAKE2B fdc4d2f237989dd8e2629072bffb551a58d0bb645e929f839b940d28cf29a01d230fd563c1aafceecd3b636801e4138edbd5352cf8b9715cf52e4c24d76ef586 SHA512 d65f9422f11ed1fbaf87efb62681b410b004292859dc20515a5a196af5b6f2e3b4552baa368a03de5fb703c4031d604f4108277d5dac9a3010b3ccafecc1ac2f DIST pgbouncer-1.25.2.tar.gz 865371 BLAKE2B dd51eef86fe52858a8c69c3cf31377aa6201015260cad8c5eeb0d89f1964b6ff1457a45bf2b86581ade4cdd6ab66fcfc2fb4b74b6deddfff466c686c1a5a79cf SHA512 4e3e415a674be28cb06e26efa37afdcf90cf469dc6d5d6bd0d62a519deb6ff2d1ad63c0bbc9fb6d7853514c09bc8d43aff9fccdf69bfd7d9c2f6e5214336fa3d +DIST pgbouncer-1.26.0.tar.gz 897943 BLAKE2B 28a7ca51f606782e3fbe0a85b6f0287f7428d71b9d2a0f37a9f056ac694625dbbae440fd21ecf3a7a6017f7424a29225c0a34939e801a6001191845743b15eb5 SHA512 ada8440759e51f1a8690b700a64e21ee2929f3ef60a204ac93681bf85369c79380c44375e9261826d5d37e3d789379c505532ac27bc4ab997c56b75974ab0718 diff --git a/dev-db/pgbouncer/files/pgbouncer-1.26-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.26-dirs.patch new file mode 100644 index 000000000000..e6faec9804cb --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer-1.26-dirs.patch @@ -0,0 +1,19 @@ +--- a/etc/pgbouncer.ini 2026-10-07 09:12:00.164725968 -0000 ++++ b/etc/pgbouncer.ini 2026-10-07 09:13:35.274368963 -0000 +@@ -58,10 +58,12 @@ + listen_addr = localhost + listen_port = 6432 + +-;; On Debian it should be /var/run/postgresql +-;unix_socket_dir = /tmp +-;unix_socket_mode = 0777 +-;unix_socket_group = ++; Unix socket is also used for -R (online restart), but the ++; initscripts can't do that. Generally, you'll want to leave these ++; alone. System-wide default is: /run/postgresql ++unix_socket_dir = /run/postgresql ++unix_socket_mode = 0777 ++unix_socket_group = postgres + + ;; The peer id used to identify this pgbouncer process in a group of pgbouncer + ;; processes that are peered together. When set to 0 pgbouncer peering is disabled diff --git a/dev-db/pgbouncer/pgbouncer-1.26.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.26.0.ebuild new file mode 100644 index 000000000000..8dac8dbef636 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.26.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/" +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd" + +RDEPEND=" + acct-user/pgbouncer + >=dev-libs/libevent-2.0:= + virtual/pandoc + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.26-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo " man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +} diff --git a/dev-db/sqlite/sqlite-3.53.4.ebuild b/dev-db/sqlite/sqlite-3.53.4.ebuild index 5ee98da6c05f..5e495f59f662 100644 --- a/dev-db/sqlite/sqlite-3.53.4.ebuild +++ b/dev-db/sqlite/sqlite-3.53.4.ebuild @@ -24,7 +24,7 @@ else " 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" + 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" |
