diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rwxr-xr-x | postgresql-check-db-dir | 4 | ||||
-rw-r--r-- | postgresql-run-socket.patch | 17 |
4 files changed, 24 insertions, 28 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Sun Sep 23 10:17:19 UTC 2018 pkgbase = postgresql-src-beta - pkgver = 11beta4 - pkgrel = 6 + pkgver = 14rc1 + pkgrel = 1 url = http://www.postgresql.org/ arch = aarch64 arch = i686 @@ -11,18 +9,18 @@ pkgbase = postgresql-src-beta makedepends = python makedepends = perl makedepends = openssl>=1.0.0 - source = http://ftp.postgresql.org/pub/source/v11beta4/postgresql-11beta4.tar.bz2 + source = http://ftp.postgresql.org/pub/source/v14rc1/postgresql-14rc1.tar.bz2 source = postgresql-run-socket.patch source = postgresql.pam source = postgresql.logrotate source = postgresql.service source = postgresql-check-db-dir - sha256sums = bb0b21f7f551cf5b3e13c05fdf8266fd0ce14db1f62e9c8d21b395ddbaf68fe4 - sha256sums = 8538619cb8bea51078b605ad64fe22abd6050373c7ae3ad6595178da52f6a7d9 + sha256sums = 586a816cb7811985f474eda0d4926fabd2378f0f6d5659d12fba421d38a07616 + sha256sums = 70954ea0a5f68fa39131afa55837c0c29a0b38948030208d909e78f0ed1cc826 sha256sums = 57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5 sha256sums = 6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e sha256sums = b48fe97f8e43ed0d2041d519119a4dafb70fcae72870951bf4fb7350fe169ac8 - sha256sums = 7912aa25937cba9e971c071625e5117638509fe2cf4232e071d18fc53b585500 + sha256sums = 981bc15147eaec368fe92386bd208bda2af171d38299a9b89d311330e5dc0d7b pkgname = postgresql-src-beta-libs pkgdesc = Libraries for use with PostgreSQL @@ -43,7 +41,7 @@ pkgname = postgresql-src-beta-docs pkgname = postgresql-src-beta pkgdesc = A sophisticated object-relational DBMS (from source, LTO enabled) install = postgresql.install - depends = postgresql-src-beta-libs>=11beta4 + depends = postgresql-src-beta-libs>=14rc1 depends = krb5 depends = readline>=6.0 depends = openssl>=1.0.0 @@ -59,4 +57,3 @@ pkgname = postgresql-src-beta options = staticlibs backup = etc/pam.d/postgresql backup = etc/logrotate.d/postgresql - @@ -2,9 +2,9 @@ pkgbase=postgresql-src-beta pkgname=('postgresql-src-beta-libs' 'postgresql-src-beta-docs' 'postgresql-src-beta') -pkgver=11beta4 -_majorver=11.0 -pkgrel=6 +pkgver=14rc1 +_majorver=14rc1 +pkgrel=1 CFLAGS=`echo $CFLAGS | sed s/-Ofast/-O3/` CFLAGS="${CFLAGS} -flto" CXXFLAGS=`echo $CXXFLAGS | sed s/-Ofast/-O3/` @@ -20,17 +20,17 @@ source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar postgresql.pam postgresql.logrotate postgresql.service postgresql-check-db-dir) -sha256sums=('bb0b21f7f551cf5b3e13c05fdf8266fd0ce14db1f62e9c8d21b395ddbaf68fe4' - '8538619cb8bea51078b605ad64fe22abd6050373c7ae3ad6595178da52f6a7d9' +sha256sums=('586a816cb7811985f474eda0d4926fabd2378f0f6d5659d12fba421d38a07616' + '70954ea0a5f68fa39131afa55837c0c29a0b38948030208d909e78f0ed1cc826' '57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5' '6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e' 'b48fe97f8e43ed0d2041d519119a4dafb70fcae72870951bf4fb7350fe169ac8' - '7912aa25937cba9e971c071625e5117638509fe2cf4232e071d18fc53b585500') + '981bc15147eaec368fe92386bd208bda2af171d38299a9b89d311330e5dc0d7b') build() { cd "${srcdir}/postgresql-${pkgver}" - patch -Np1 < ../postgresql-run-socket.patch + patch -p0 < ../postgresql-run-socket.patch ./configure \ --prefix=/usr \ diff --git a/postgresql-check-db-dir b/postgresql-check-db-dir index 084bad1df282..95371c5eadc9 100755 --- a/postgresql-check-db-dir +++ b/postgresql-check-db-dir @@ -16,9 +16,9 @@ then fi # PGMAJORVERSION is major version -PGMAJORVERSION=11 +PGMAJORVERSION=13 # PREVMAJORVERSION is the previous major version, e.g., 8.4, for upgrades -PREVMAJORVERSION=9.6 +PREVMAJORVERSION=12.3 # Check for the PGDATA structure if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ] diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch index b558c7b74961..67680d65f1b2 100644 --- a/postgresql-run-socket.patch +++ b/postgresql-run-socket.patch @@ -1,12 +1,11 @@ -diff -Naur postgresql-9.2.0.sockets/src/include/pg_config_manual.h postgresql-9.2.0/src/include/pg_config_manual.h ---- postgresql-9.2.0.sockets/src/include/pg_config_manual.h 2012-09-06 17:26:17.000000000 -0400 -+++ postgresql-9.2.0/src/include/pg_config_manual.h 2012-09-06 18:13:18.183092471 -0400 -@@ -144,7 +144,7 @@ - * here's where to twiddle it. You can also override this at runtime - * with the postmaster's -k switch. +--- src/include/pg_config_manual.h 2020-05-24 07:26:31.931113200 -0400 ++++ src/include/pg_config_manual.h.orig 2020-05-24 07:17:33.409105276 -0400 +@@ -201,7 +201,7 @@ + * support them yet. */ + #ifndef WIN32 -#define DEFAULT_PGSOCKET_DIR "/tmp" +#define DEFAULT_PGSOCKET_DIR "/run/postgresql" - - /* - * The random() function is expected to yield values between 0 and + #else + #define DEFAULT_PGSOCKET_DIR "" + #endif |