summaryrefslogtreecommitdiffstats
path: root/system/postgresql
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2023-09-18 14:19:00 +0900
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:33:31 +0700
commitb7025dae27f8d20091627f85c3b4da6e9b3ee9d1 (patch)
tree9c004755953a78a48891881e021d5eddafb1e20c /system/postgresql
parent8e394e4c9c7f968314ba764a9cd96a2ee3a2dda3 (diff)
downloadslackbuilds-b7025dae27f8d20091627f85c3b4da6e9b3ee9d1.tar.gz
slackbuilds-b7025dae27f8d20091627f85c3b4da6e9b3ee9d1.tar.xz
system/postgresql: Updated for version 14.9.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/postgresql')
-rw-r--r--system/postgresql/postgresql.SlackBuild10
-rw-r--r--system/postgresql/postgresql.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index a916f694c6..f405f0e0ce 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -30,8 +30,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postgresql
-VERSION=${VERSION:-14.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-14.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -61,11 +61,11 @@ OUTPUT=${OUTPUT:-/tmp}
# For slackbuilds.org, assigned postgres uid/gid are 209/209
# See http://slackbuilds.org/uid_gid.txt
# Other popular choice is 26/26
-if ! grep ^postgres: /etc/group 2>&1 > /dev/null; then
+if ! grep ^postgres: /etc/group > /dev/null 2>&1 ; then
echo " You must have a postgres group to run this script."
echo " # groupadd -g $PG_GID postgres"
exit 1
-elif ! grep ^postgres: /etc/passwd 2>&1 > /dev/null; then
+elif ! grep ^postgres: /etc/passwd > /dev/null 2>&1 ; then
echo " You must have a postgres user to run this script."
echo " # useradd -u $PG_UID -g $PG_GID -d /var/lib/pgsql postgres"
exit 1
@@ -156,7 +156,7 @@ strip $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/$PG_VERSION/bin/pg_config
PG_EXTENSIONS=${PG_EXTENSIONS:-"adminpack pgcrypto ltree xml2 postgres_fdw file_fdw hstore citext"}
-if [ "x$PG_EXTENSIONS" = "xALL" ];then
+if [ "$PG_EXTENSIONS" = "ALL" ];then
cd $TMP/$PRGNAM-$VERSION/contrib
make all
make install-strip DESTDIR=$PKG
diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info
index 1f642e478e..1eacb7229a 100644
--- a/system/postgresql/postgresql.info
+++ b/system/postgresql/postgresql.info
@@ -1,8 +1,8 @@
PRGNAM="postgresql"
-VERSION="14.7"
+VERSION="14.9"
HOMEPAGE="https://www.postgresql.org"
-DOWNLOAD="https://ftp.postgresql.org/pub/source/v14.7/postgresql-14.7.tar.gz"
-MD5SUM="8d92692b55d37020e09baa21d5262c57"
+DOWNLOAD="https://ftp.postgresql.org/pub/source/v14.9/postgresql-14.9.tar.gz"
+MD5SUM="08c55c0025f598151b4107844c55b14d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""