summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic2024-02-20 23:34:47 +0100
committerDominic2024-02-20 23:34:47 +0100
commit16892f71cf2bd3fe548be3e3fc6e456a9437f6ad (patch)
tree4930acbfac0788c689abf28ec6672d3a0212c6ef
parent019ca38131d260783529fcf5da1a88a54dcc3ad9 (diff)
downloadaur-postgresql13.tar.gz
postgresql13 13.14-1
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD20
-rw-r--r--compile-with-newer-libxml2.patch20
3 files changed, 20 insertions, 50 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 259cc6dd4599..6e5ef63b59f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = postgresql13
pkgdesc = Sophisticated object-relational DBMS
- pkgver = 13.13
- pkgrel = 2
+ pkgver = 13.14
+ pkgrel = 1
url = https://www.postgresql.org/
arch = x86_64
license = custom:PostgreSQL
@@ -16,12 +16,11 @@ pkgbase = postgresql13
makedepends = icu
makedepends = systemd
makedepends = libldap
- makedepends = llvm15
- makedepends = clang15
+ makedepends = llvm<19
+ makedepends = clang<19
makedepends = libxslt
options = debug
- source = https://ftp.postgresql.org/pub/source/v13.13/postgresql-13.13.tar.bz2
- source = compile-with-newer-libxml2.patch
+ source = https://ftp.postgresql.org/pub/source/v13.14/postgresql-13.14.tar.bz2
source = postgresql-run-socket.patch
source = postgresql-perl-rpath.patch
source = postgresql.pam
@@ -30,8 +29,7 @@ pkgbase = postgresql13
source = postgresql-check-db-dir
source = postgresql.sysusers
source = postgresql.tmpfiles
- md5sums = d0c2efc0a6996421129c43e5b8baa075
- md5sums = f14da933fe32e107bbe614a329129eed
+ md5sums = ed4b42c9b53c04d7d601327eacfcd231
md5sums = 0f96c09cb07cb5bf7c0f74b399128f33
md5sums = 21816c9949ab9766c409421314045d2e
md5sums = 96f82c38f3f540b53f3e5144900acf17
@@ -40,8 +38,7 @@ pkgbase = postgresql13
md5sums = 38fe206c794e2eff95556947af0e5ce5
md5sums = 2050d34e4dfa05f3c6fe4cd7615eaa4b
md5sums = 02d017978f0bba21f455feceb3f0a45a
- sha256sums = 8af69c2599047a2ad246567d68ec4131aef116954d8c3e469e9789080b37a474
- sha256sums = 03c99bb791e83f42f847e6c3ff893f7118fa6c61399fa75638f60b39ab6a8443
+ sha256sums = b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed
sha256sums = 02ffb53b0a5049233f665c873b96264db77daab30e5a2194d038202d815a8e6a
sha256sums = af6186d40128e043f333da4591455bf62b7c96e80214835f5c8c60b635ea9afb
sha256sums = 57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5
@@ -50,8 +47,7 @@ pkgbase = postgresql13
sha256sums = 7db9626c322928b2465aa126b48ba7f0eebd366bf2aa19c9c0a92b488cb469c5
sha256sums = 7fa8f0ef3f9d40abd4749cc327c2f52478cb6dfb6e2405bd0279c95e9ff99f12
sha256sums = 4a4c0bb9ceb156cc47e9446d8393d1f72b4fe9ea1d39ba17213359df9211da57
- b2sums = ee4b2d022c1b3003dc9c4da96e5900878a2fc70b3033470d0fb972131e063a047895e86d5d1e36297885f2821f0ef3af966cabe32941efba4bd11bdd0557e44f
- b2sums = 7a61d390037eae8c70778def53b9ab491d9de9ae952bf79591e313757df21e54d9f0b8bbdd38c3dcc0a444f257c7d39bfc610975a495bae20013a1415664b05b
+ b2sums = 67b1c85cac910f445a393060646e901e03eccf9c00d3b4d41b12acc9d94254697c46060f09a4c6ed57ec33b202c18916b03f8b322c3be0f195e0315e7a874933
b2sums = 71dc1b4e41294fd235db05317c991d42de082c49d38a2f97d1394572a93a4aa77f42ec29b4e6cf0a17adb3a4471afcb1e2464870f2b9e847906bf49541763a53
b2sums = 5135c5f9dafe427de8d3740d4a67c6dba2869be47dc52b4190b8aa1148e702992fde1821371b68e93b224f5805f697d490ea28ec80d7ce55e5a224551b0a6247
b2sums = 3eab84d332d96678fe6e435ee243c8f1a82b838f601d61d3604d11e918aed7a62202edca5e476c4b9031ed284570e6fcd6c659cfdbd9624aa0019d3233755f81
@@ -69,7 +65,7 @@ pkgname = postgresql13-libs
depends = zlib
depends = libldap
provides = postgresql-client
- provides = postgresql-libs=13.13
+ provides = postgresql-libs=13.14
provides = libpq.so
provides = libecpg.so
provides = libecpg_compat.so
@@ -79,7 +75,7 @@ pkgname = postgresql13-libs
pkgname = postgresql13-docs
pkgdesc = HTML documentation for PostgreSQL
- provides = postgresql-docs=13.13
+ provides = postgresql-docs=13.14
conflicts = postgresql-docs
options = debug
options = docs
@@ -87,7 +83,7 @@ pkgname = postgresql13-docs
pkgname = postgresql13
pkgdesc = Sophisticated object-relational DBMS
install = postgresql.install
- depends = postgresql-libs>=13.13
+ depends = postgresql-libs>=13.14
depends = krb5
depends = libxml2
depends = readline>=6.0
@@ -96,7 +92,7 @@ pkgname = postgresql13
depends = icu
depends = systemd-libs
depends = libldap
- depends = llvm15-libs
+ depends = llvm-libs<19
depends = libxslt
depends = libicui18n.so=74
depends = libicuuc.so=74
@@ -106,7 +102,7 @@ pkgname = postgresql13
optdepends = tcl: for PL/Tcl support
optdepends = postgresql-old-upgrade: upgrade from previous major version using pg_upgrade
optdepends = logrotate: rotates system logs automatically
- provides = postgresql=13.13
+ provides = postgresql=13.14
conflicts = postgresql
options = debug
options = staticlibs
diff --git a/PKGBUILD b/PKGBUILD
index 124e75bdacef..3ad72c79d022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,18 +5,17 @@
pkgbase=postgresql13
pkgname=($pkgbase-libs $pkgbase-docs $pkgbase)
-pkgver=13.13
+pkgver=13.14
_majorver=${pkgver%.*}
-pkgrel=2
+pkgrel=1
pkgdesc='Sophisticated object-relational DBMS'
url='https://www.postgresql.org/'
arch=('x86_64')
license=('custom:PostgreSQL')
makedepends=('krb5' 'libxml2' 'python' 'perl' 'tcl>=8.6.0' 'openssl>=1.0.0'
- 'pam' 'zlib' 'icu' 'systemd' 'libldap' 'llvm15' 'clang15' 'libxslt')
+ 'pam' 'zlib' 'icu' 'systemd' 'libldap' 'llvm<19' 'clang<19' 'libxslt')
options=('debug')
source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2
- compile-with-newer-libxml2.patch
postgresql-run-socket.patch
postgresql-perl-rpath.patch
postgresql.pam
@@ -25,8 +24,7 @@ source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.ta
postgresql-check-db-dir
postgresql.sysusers
postgresql.tmpfiles)
-md5sums=('d0c2efc0a6996421129c43e5b8baa075'
- 'f14da933fe32e107bbe614a329129eed'
+md5sums=('ed4b42c9b53c04d7d601327eacfcd231'
'0f96c09cb07cb5bf7c0f74b399128f33'
'21816c9949ab9766c409421314045d2e'
'96f82c38f3f540b53f3e5144900acf17'
@@ -35,8 +33,7 @@ md5sums=('d0c2efc0a6996421129c43e5b8baa075'
'38fe206c794e2eff95556947af0e5ce5'
'2050d34e4dfa05f3c6fe4cd7615eaa4b'
'02d017978f0bba21f455feceb3f0a45a')
-sha256sums=('8af69c2599047a2ad246567d68ec4131aef116954d8c3e469e9789080b37a474'
- '03c99bb791e83f42f847e6c3ff893f7118fa6c61399fa75638f60b39ab6a8443'
+sha256sums=('b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed'
'02ffb53b0a5049233f665c873b96264db77daab30e5a2194d038202d815a8e6a'
'af6186d40128e043f333da4591455bf62b7c96e80214835f5c8c60b635ea9afb'
'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
@@ -45,8 +42,7 @@ sha256sums=('8af69c2599047a2ad246567d68ec4131aef116954d8c3e469e9789080b37a474'
'7db9626c322928b2465aa126b48ba7f0eebd366bf2aa19c9c0a92b488cb469c5'
'7fa8f0ef3f9d40abd4749cc327c2f52478cb6dfb6e2405bd0279c95e9ff99f12'
'4a4c0bb9ceb156cc47e9446d8393d1f72b4fe9ea1d39ba17213359df9211da57')
-b2sums=('ee4b2d022c1b3003dc9c4da96e5900878a2fc70b3033470d0fb972131e063a047895e86d5d1e36297885f2821f0ef3af966cabe32941efba4bd11bdd0557e44f'
- '7a61d390037eae8c70778def53b9ab491d9de9ae952bf79591e313757df21e54d9f0b8bbdd38c3dcc0a444f257c7d39bfc610975a495bae20013a1415664b05b'
+b2sums=('67b1c85cac910f445a393060646e901e03eccf9c00d3b4d41b12acc9d94254697c46060f09a4c6ed57ec33b202c18916b03f8b322c3be0f195e0315e7a874933'
'71dc1b4e41294fd235db05317c991d42de082c49d38a2f97d1394572a93a4aa77f42ec29b4e6cf0a17adb3a4471afcb1e2464870f2b9e847906bf49541763a53'
'5135c5f9dafe427de8d3740d4a67c6dba2869be47dc52b4190b8aa1148e702992fde1821371b68e93b224f5805f697d490ea28ec80d7ce55e5a224551b0a6247'
'3eab84d332d96678fe6e435ee243c8f1a82b838f601d61d3604d11e918aed7a62202edca5e476c4b9031ed284570e6fcd6c659cfdbd9624aa0019d3233755f81'
@@ -58,7 +54,6 @@ b2sums=('ee4b2d022c1b3003dc9c4da96e5900878a2fc70b3033470d0fb972131e063a047895e86
prepare() {
cd postgresql-${pkgver}
- patch -p0 < ../compile-with-newer-libxml2.patch
patch -p1 < ../postgresql-run-socket.patch
patch -p1 < ../postgresql-perl-rpath.patch
}
@@ -96,7 +91,6 @@ build() {
# so I don't know why this was added, but I can't keep this
#CFLAGS+=" -ffat-lto-objects"
- LLVM_CONFIG=llvm-config-15 CLANG=/usr/lib/llvm15/bin/clang \
./configure "${configure_options[@]}"
make world
}
@@ -178,7 +172,7 @@ package_postgresql13() {
pkgdesc='Sophisticated object-relational DBMS'
backup=('etc/pam.d/postgresql' 'etc/logrotate.d/postgresql')
depends=("postgresql-libs>=${pkgver}" 'krb5' 'libxml2' 'readline>=6.0'
- 'openssl>=1.0.0' 'pam' 'icu' 'systemd-libs' 'libldap' 'llvm15-libs' 'libxslt')
+ 'openssl>=1.0.0' 'pam' 'icu' 'systemd-libs' 'libldap' 'llvm-libs<19' 'libxslt')
optdepends=('python: for PL/Python 3 support'
'perl: for PL/Perl support'
'tcl: for PL/Tcl support'
diff --git a/compile-with-newer-libxml2.patch b/compile-with-newer-libxml2.patch
deleted file mode 100644
index 57508e37056c..000000000000
--- a/compile-with-newer-libxml2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/backend/utils/adt/xml.c 2024-01-01 12:01:49.570101240 +0100
-+++ src/backend/utils/adt/xml.c 2024-01-01 12:02:17.888276684 +0100
-@@ -119,7 +119,7 @@
-
- static xmlParserInputPtr xmlPgEntityLoader(const char *URL, const char *ID,
- xmlParserCtxtPtr ctxt);
--static void xml_errorHandler(void *data, xmlErrorPtr error);
-+static void xml_errorHandler(void *data, const xmlError *error);
- static void xml_ereport_by_code(int level, int sqlcode,
- const char *msg, int errcode);
- static void chopStringInfoNewlines(StringInfo str);
-@@ -1750,7 +1750,7 @@
- * Error handler for libxml errors and warnings
- */
- static void
--xml_errorHandler(void *data, xmlErrorPtr error)
-+xml_errorHandler(void *data, const xmlError *error)
- {
- PgXmlErrorContext *xmlerrcxt = (PgXmlErrorContext *) data;
- xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) error->ctxt;