Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion root/ppg/staging/15/macros.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- PG_MAJOR_VERSION: 15
- PG_PREV_MAJOR_VERSION: 14
- PG_MINOR_VERSION: 18
- PG_MINOR_VERSION: 19
- PG_PREV_MINOR_VERSION: 17
- PG_VERSION: %!{PG_MAJOR_VERSION}.%!{PG_MINOR_VERSION}
- PGAUDIT_VERSION: 1.7.1
2 changes: 1 addition & 1 deletion root/ppg/staging/15/percona-patroni/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Homepage: https://github.com/patroni/patroni

Package: percona-patroni
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, lsb-base (>= 3.0-6), python3-psycopg2 , python3-etcd, python3-consul | python3-kazoo | python3-kubernetes, python-six | python3-six, python-requests | python3-requests, python-yaml | python3-yaml, python3-dateutil, python3-yaml, python3-psutil, python3-prettytable, python3-click, python3-cdiff, python3-ydiff, python3-pysyncobj, percona-postgresql-17 | postgresql-17
Depends: ${misc:Depends}, ${python3:Depends}, lsb-base (>= 3.0-6), python3-psycopg2 , python3-etcd, python3-consul | python3-kazoo | python3-kubernetes, python-six | python3-six, python-requests | python3-requests, python-yaml | python3-yaml, python3-dateutil, python3-yaml, python3-psutil, python3-prettytable, python3-click, python3-cdiff, python3-ydiff, python3-pysyncobj, python3-systemd, percona-postgresql-17 | postgresql-17
Suggests: etcd-server | consul | zookeeperd, haproxy, percona-patroni-doc
Provides: patroni
Description: PostgreSQL High Availability with ZooKeeper, etcd, Consul, or Kubernetes
Expand Down
55 changes: 41 additions & 14 deletions root/ppg/staging/15/percona-patroni/rpm/percona-patroni.spec
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@

%global debug_package %{nil}

%if 0%{?fedora} && 0%{?fedora} == 43
%global __ospython %{_bindir}/python3.14
%global python3_pkgversion 3.14
%if 0%{?fedora} && 0%{?fedora} == 45
%global __ospython %{_bindir}/python3.15
%global python3_pkgversion 3.15
%global python3_pkgprefix python3
%endif
%if 0%{?fedora} && 0%{?fedora} <= 42
%global __ospython %{_bindir}/python3.13
%global python3_pkgversion 3.13
%if 0%{?fedora} && 0%{?fedora} <= 44
%global __ospython %{_bindir}/python3.14
%global python3_pkgversion 3.14
%global python3_pkgprefix python3
%endif
%if 0%{?rhel} && 0%{?rhel} == 8
%global __ospython %{_bindir}/python3
%global python3_pkgversion 3.12
%global python3_pkgprefix python3.12
%endif
%if 0%{?rhel} && 0%{?rhel} >= 9
%if 0%{?rhel} && 0%{?rhel} <= 10
%global __ospython %{_bindir}/python3.12
%global python3_pkgversion 3.12
%global python3_pkgprefix python3.12
Expand Down Expand Up @@ -51,12 +46,13 @@ BuildRequires: python%{python3_pkgversion}-devel

Requires: %{python3_pkgprefix}-six
Requires: %{python3_pkgprefix}-dateutil
Requires: %{python3_pkgprefix}-systemd
Requires: %{python3_pkgprefix}-ydiff < 1.5
Requires: %{python3_pkgprefix}-ydiff >= 1.4.2
Requires: %{name}-etcd


%if !0%{?suse_version}
%if !0%{?suse_version} && 0%{?rhel} != 10
Requires: %{python3_pkgprefix}-click
Requires: %{python3_pkgprefix}-cryptography >= 1.4
Requires: %{python3_pkgprefix}-prettytable
Expand All @@ -67,6 +63,17 @@ Requires: %{python3_pkgprefix}-urllib3 >= 1.19.1
Requires: %{python3_pkgprefix}-wcwidth
%endif

%if 0%{?rhel} && 0%{?rhel} == 10
Requires: python3-click
Requires: python%{python3_pkgversion}-cryptography >= 1.4
Requires: python3-prettytable
Requires: python%{python3_pkgversion}-pyyaml
Requires: python3-psutil
Requires: python%{python3_pkgversion}-urllib3 >= 1.19.1
Requires: python3-psycopg2
Requires: python3-wcwidth
%endif

%if 0%{?suse_version} >= 1500
Requires: %{python3_pkgprefix}-click
Requires: %{python3_pkgprefix}-cryptography >= 1.4
Expand Down Expand Up @@ -100,18 +107,28 @@ Summary: Related components to use patroni with Consul
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: consul
Requires: %{python3_pkgprefix}-py-consul >= 1.6.0
%if 0%{?rhel} != 10
Requires: %{python3_pkgprefix}-requests
%endif
%if 0%{?rhel} && 0%{?rhel} == 10
Requires: python3-requests
%endif
%description -n %{name}-consul
Meta package to pull consul related dependencies for patroni

%package -n %{name}-etcd
Summary: Related components to use patroni with etcd
Requires: %{name} = %{epoch}:%{version}-%{release}
%if !0%{?suse_version}
%if !0%{?suse_version} && 0%{?rhel} != 10
Requires: %{python3_pkgprefix}-etcd >= 0.4.3
Requires: %{python3_pkgprefix}-dns
%endif
%if 0%{?rhel} && 0%{?rhel} == 10
Requires: python3-etcd >= 0.4.3
Requires: python3-dns
%endif
%if 0%{?suse_version} >= 1500
Requires: %{python3_pkgprefix}-etcd >= 0.4.3
Requires: %{python3_pkgprefix}-dnspython
%endif
%description -n %{name}-etcd
Expand All @@ -120,14 +137,24 @@ Meta package to pull etcd related dependencies for patroni
%package -n %{name}-aws
Summary: Related components to use patroni on AWS
Requires: %{name} = %{epoch}:%{version}-%{release}
%if 0%{?rhel} != 10
Requires: %{python3_pkgprefix}-boto3
%endif
%if 0%{?rhel} && 0%{?rhel} == 10
Requires: python3-boto3
%endif
%description -n %{name}-aws
Meta package to pull AWS related dependencies for patroni

%package -n %{name}-zookeeper
Summary: Related components to use patroni with Zookeeper
Requires: %{name} = %{epoch}:%{version}-%{release}
%if 0%{?rhel} != 10
Requires: %{python3_pkgprefix}-kazoo >= 1.3.1
%endif
%if 0%{?rhel} && 0%{?rhel} == 10
Requires: python3-kazoo >= 1.3.1
%endif
%description -n %{name}-zookeeper
Meta package to pull zookeeper related dependencies for patroni

Expand Down
15 changes: 4 additions & 11 deletions root/ppg/staging/15/percona-pg_cron/rpm/pg_cron.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,12 @@ Requires: postgresql%{pgmajorversion}-server
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives

%if 0%{?suse_version} >= 1315 && 0%{?suse_version} <= 1499
Requires: libopenssl1_0_0
%else
%if 0%{?suse_version} >= 1500
Requires: libopenssl1_1
%else
Requires: openssl-libs >= 1.0.2k
%endif
Requires: libopenssl3
BuildRequires: libopenssl-3-devel
%endif

%if 0%{?suse_version} >= 1315 && 0%{?suse_version} <= 1499
BuildRequires: libopenssl-devel
%else
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8
Requires: openssl-libs >= 1.1.1k
BuildRequires: openssl-devel
%endif

Expand Down
1 change: 1 addition & 0 deletions root/ppg/staging/15/percona-pgbackrest/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Build-Depends: debhelper-compat (= 13),
libpq-dev,
libssh2-1-dev,
libssl-dev,
libsystemd-dev,
libxml-checker-perl,
libxml2-dev,
libyaml-dev,
Expand Down
1 change: 1 addition & 0 deletions root/ppg/staging/15/percona-pgbackrest/debian/debian.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (= 10),
libpq-dev,
libssh2-1-dev,
libssl-dev,
libsystemd-dev,
libxml-checker-perl,
libxml2-dev,
libyaml-dev,
Expand Down
1 change: 0 additions & 1 deletion root/ppg/staging/15/percona-pgvector/debian/compat

This file was deleted.

2 changes: 1 addition & 1 deletion root/ppg/staging/15/percona-pgvector/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Section: database
Priority: optional
Maintainer: Percona Development Team <info@percona.com>
Build-Depends:
debhelper (>= 9),
debhelper-compat (= 13),
percona-postgresql-server-dev-all (>= 153~),
Standards-Version: 4.6.2
Rules-Requires-Root: no
Expand Down
18 changes: 6 additions & 12 deletions root/ppg/staging/15/percona-pgvector/rpm/percona-pgvector.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,26 @@ inner product, and cosine distance
%package llvmjit
Summary: Just-in-time compilation support for pgvector
Requires: %{name}%{?_isa} = %{version}-%{release}
#%%if 0%%{?rhel} && 0%%{?rhel} == 7
#%%ifarch aarch64
#Requires: llvm-toolset-7.0-llvm >= 7.0.1
#%%else
#Requires: llvm5.0 >= 5.0
#%%endif
#%%endif

%if 0%{?suse_version} >= 1315 && 0%{?suse_version} <= 1499
BuildRequires: llvm6-devel clang6-devel
#Requires: llvm6
Requires: llvm6
%endif
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1600
BuildRequires: llvm17-devel clang17-devel clang17 llvm17
#Requires: llvm17
Requires: llvm17
%endif
%if 0%{?suse_version} == 1600
BuildRequires: llvm19-devel clang19-devel clang19 llvm19
#Requires: llvm19
Requires: llvm19
%endif
%if 0%{?suse_version} > 1600
BuildRequires: llvm-devel clang-devel clang llvm
#Requires: llvm
Requires: llvm
%endif
%if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: llvm-devel >= 19.0 clang-devel >= 19.0
#Requires: llvm >= 13.0
Requires: llvm >= 19.0
%endif

%description llvmjit
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Maintainer: Percona Development Team <info@percona.com>
Build-Depends:
debhelper (>= 9),
debhelper (>= 10.1) | dh-systemd (>= 1.19),
debhelper-compat (= 13),
libreadline-dev,

Package: percona-postgresql-common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ ubuntu() {
21.04|21.10) /bin/echo -e "15" ;;
22.04|22.10) /bin/echo -e "15" ;;
24.04|24.10) /bin/echo -e "15" ;;
26.04|26.10) /bin/echo -e "15" ;;
*)
echo "supported-versions: WARNING: Unknown Ubuntu release: $1" >&2
/bin/echo -e "$DEFAULT" ;;
Expand Down
16 changes: 9 additions & 7 deletions root/ppg/staging/15/percona-postgresql/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Rules-Requires-Root: no
Build-Depends:
autoconf,
bison,
clang [!alpha !hppa !hurd-amd64 !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !powerpc !riscv64 !sh4 !sparc64 !x32] <!pkg.postgresql.nollvm>,
clang [amd64 arm64 mips64el ppc64 ppc64el s390x] <!pkg.postgresql.nollvm>,
debhelper-compat (= 13),
dh-exec (>= 0.13~),
docbook-xml,
Expand All @@ -24,6 +24,7 @@ Build-Depends:
liblz4-dev,
libpam0g-dev | libpam-dev,
libperl-dev,
libpq-dev <pkg.postgresql.nolibpkgs>,
libreadline-dev,
libselinux1-dev [linux-any],
libssl-dev,
Expand All @@ -32,7 +33,8 @@ Build-Depends:
libxml2-utils,
libxslt1-dev,
libzstd-dev (>= 1.4.0) <!pkg.postgresql.nozstd>,
llvm-dev [!alpha !hppa !hurd-amd64 !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !powerpc !riscv64 !sh4 !sparc64 !x32] <!pkg.postgresql.nollvm>,
llvm-dev [amd64 arm64 mips64el ppc64 ppc64el s390x] <!pkg.postgresql.nollvm>,
lz4 | liblz4-tool,
mawk,
perl (>= 5.8),
pkg-config | pkgconf,
Expand All @@ -44,6 +46,7 @@ Build-Depends:
uuid-dev,
xsltproc,
zlib1g-dev | libz-dev,
zstd (>= 1.4.0) <!pkg.postgresql.nozstd>,
Homepage: http://www.postgresql.org/

Package: libpq-dev
Expand Down Expand Up @@ -144,12 +147,11 @@ Depends:
ssl-cert,
tzdata,
curl,
percona-pg-telemetry%!{PG_MAJOR_VERSION},
${misc:Depends},
${shlibs:Depends}
Provides: percona-postgresql-contrib-%!{PG_MAJOR_VERSION}, postgresql-contrib-%!{PG_MAJOR_VERSION} (= ${binary:Version}), postgresql-%!{PG_MAJOR_VERSION} (= ${binary:Version}),
postgresql-%!{PG_MAJOR_VERSION}-jit-llvm (= ${llvm:Version}) [!alpha !hppa !hurd-amd64 !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !powerpc !riscv64 !sh4 !sparc64 !x32],
Recommends: sysstat
postgresql-%!{PG_MAJOR_VERSION}-jit-llvm (= ${llvm:Version}) [amd64 arm64 mips64el ppc64 ppc64el s390x],
Recommends: sysstat, percona-pg-telemetry%!{PG_MAJOR_VERSION}
Description: The World's Most Advanced Open Source Relational Database
PostgreSQL, also known as Postgres, is a free and open-source relational
database management system (RDBMS) emphasizing extensibility and SQL
Expand Down Expand Up @@ -192,9 +194,9 @@ Package: percona-postgresql-server-dev-%!{PG_MAJOR_VERSION}
Architecture: any
Section: libdevel
Depends:
clang-${llvm:Version} [!alpha !hppa !hurd-amd64 !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !powerpc !riscv64 !sh4 !sparc64 !x32] <!pkg.postgresql.nollvm>,
clang-${llvm:Version} [amd64 arm64 mips64el ppc64 ppc64el s390x] <!pkg.postgresql.nollvm>,
libpq-dev (>= %!{PG_MAJOR_VERSION}~~),
llvm-${llvm:Version}-dev [!alpha !hppa !hurd-amd64 !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !powerpc !riscv64 !sh4 !sparc64 !x32] <!pkg.postgresql.nollvm>,
llvm-${llvm:Version}-dev [amd64 arm64 mips64el ppc64 ppc64el s390x] <!pkg.postgresql.nollvm>,
percona-postgresql-client-%!{PG_MAJOR_VERSION}, percona-postgresql-common (>= 162~),
${misc:Depends},
${shlibs:Depends}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,16 @@
gettext_noop("Shows the name of the SSL library."),
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -726,6 +726,8 @@
@@ -726,7 +726,9 @@
# - Other Defaults -

#dynamic_library_path = '$libdir'
+#extension_destdir = '' # prepend path when loading extensions
+ # and shared objects (added by Debian)
#gin_fuzzy_search_limit = 0


#output_plugin_libraries = 'pgoutput, test_decoding' # approved plugins for logical decoding


--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -280,6 +280,7 @@ extern PGDLLIMPORT char *ConfigFileName;
Expand Down
2 changes: 1 addition & 1 deletion root/ppg/staging/15/percona-postgresql/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ifeq ($(call version_ge,11),y)
endif
endif

ifeq ($(call version_ge,16),y)
ifeq ($(call version_ge,15),y)
CONFIGURE_FLAGS += --with-lz4
endif

Expand Down
Loading
Loading