Diff postgresql-13.12 with a postgresql-14.9
/usr/portage/dev-db/postgresql/postgresql-14.9.ebuild 2023-10-09 14:52:29.336368346 +0300 | ||
---|---|---|
21 | 21 |
DESCRIPTION="PostgreSQL RDBMS" |
22 | 22 |
HOMEPAGE="https://www.postgresql.org/" |
23 | 23 | |
24 |
IUSE="debug doc icu kerberos ldap llvm nls pam perl python +readline |
|
24 |
IUSE="debug doc icu kerberos ldap llvm lz4 nls pam perl python +readline |
|
25 | 25 |
selinux +server systemd ssl static-libs tcl uuid xml zlib" |
26 | 26 | |
27 | 27 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
... | ... | |
36 | 36 |
kerberos? ( virtual/krb5 ) |
37 | 37 |
ldap? ( net-nds/openldap:= ) |
38 | 38 |
llvm? ( |
39 |
<sys-devel/llvm-16:= |
|
40 |
<sys-devel/clang-16:= |
|
39 |
<sys-devel/llvm-16:= |
|
40 |
<sys-devel/clang-16:= |
|
41 | 41 |
) |
42 |
lz4? ( app-arch/lz4 ) |
|
42 | 43 |
pam? ( sys-libs/pam ) |
43 | 44 |
perl? ( >=dev-lang/perl-5.8:= ) |
44 | 45 |
python? ( ${PYTHON_DEPS} ) |
... | ... | |
91 | 92 |
} |
92 | 93 | |
93 | 94 |
src_prepare() { |
94 |
eapply "${FILESDIR}"/${PN}-13.3-riscv-spinlocks.patch |
|
95 | ||
96 | 95 |
# Set proper run directory |
97 | 96 |
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \ |
98 | 97 |
-i src/include/pg_config_manual.h || die |
... | ... | |
102 | 101 |
# hardened and non-hardened environments. (Bug #528786) |
103 | 102 |
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die |
104 | 103 | |
105 |
use server || eapply "${FILESDIR}/${PN}-13.8-no-server.patch" |
|
104 |
use server || eapply "${FILESDIR}/${PN}-14.5-no-server.patch" |
|
106 | 105 | |
107 | 106 |
if use pam ; then |
108 | 107 |
sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ |
... | ... | |
145 | 144 |
$(use_with kerberos gssapi) \ |
146 | 145 |
$(use_with ldap) \ |
147 | 146 |
$(use_with llvm) \ |
147 |
$(use_with lz4) \ |
|
148 | 148 |
$(use_with pam) \ |
149 | 149 |
$(use_with perl) \ |
150 | 150 |
$(use_with python) \ |