aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAdis Nezirovic <adis_at_linux.org.ba>2017-08-22 17:55:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-26 07:19:43 +0700
commit555c1ee95a2a948b76dcd46b7bfc451e20a88f71 (patch)
tree1a5b5a29d665c9b351df0d3bf881d40c416b90d0 /system
parent15c283cdbb611bc3394ab667b20a11792bed6c47 (diff)
system/postgresql: Updated for version 9.6.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/postgresql/README.SBo2
-rw-r--r--system/postgresql/postgresql.SlackBuild2
-rw-r--r--system/postgresql/postgresql.info6
-rw-r--r--system/postgresql/rc.postgresql.new2
-rw-r--r--system/postgresql/setup.postgresql2
5 files changed, 7 insertions, 7 deletions
diff --git a/system/postgresql/README.SBo b/system/postgresql/README.SBo
index 0bd4fc3f2e674..04080f0be41d3 100644
--- a/system/postgresql/README.SBo
+++ b/system/postgresql/README.SBo
@@ -1,7 +1,7 @@
Before you can run postgresql you'll need to create the
database files in /var/lib/pgsql. The following should do
the trick.
- # su postgres -c "initdb -D /var/lib/pgsql/9.6/data --locale=en_US.UTF-8 -A md5 -W"
+ # su postgres -c "initdb -D /var/lib/pgsql/9.6/data --locale=en_US.UTF-8 -A md5 -W --data-checksums"
Additionally, a logrotation script and init script are included.
For production level log file handling please read
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index 6553746576dfa..5104dcb0794f2 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org Project
PRGNAM=postgresql
-VERSION=${VERSION:-9.6.3}
+VERSION=${VERSION:-9.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info
index af8cd4bd36226..efc28309af25a 100644
--- a/system/postgresql/postgresql.info
+++ b/system/postgresql/postgresql.info
@@ -1,8 +1,8 @@
PRGNAM="postgresql"
-VERSION="9.6.3"
+VERSION="9.6.4"
HOMEPAGE="https://www.postgresql.org"
-DOWNLOAD="https://ftp.postgresql.org/pub/source/v9.6.3/postgresql-9.6.3.tar.bz2"
-MD5SUM="ce1d0a57ace0a5b7a994b56796fdba35"
+DOWNLOAD="https://ftp.postgresql.org/pub/source/v9.6.4/postgresql-9.6.4.tar.bz2"
+MD5SUM="67b01523a75271fd6cb2638eb2b55795"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new
index c2348707daa66..db5c40ca050b8 100644
--- a/system/postgresql/rc.postgresql.new
+++ b/system/postgresql/rc.postgresql.new
@@ -80,7 +80,7 @@ case "$1" in
if [ ! -e $DATADIR/PG_VERSION ]; then
echo "You should initialize the PostgreSQL database at location $DATADIR"
- echo "e.g. su postgres -c \"initdb -D $DATADIR --locale=en_US.UTF-8 -A md5 -W\""
+ echo "e.g. su postgres -c \"initdb -D $DATADIR --locale=en_US.UTF-8 -A md5 -W --data-checksums\""
exit 6
fi
diff --git a/system/postgresql/setup.postgresql b/system/postgresql/setup.postgresql
index 2f0ec5f5496aa..32fc3e1e718ab 100644
--- a/system/postgresql/setup.postgresql
+++ b/system/postgresql/setup.postgresql
@@ -23,7 +23,7 @@ chmod 700 $PG_HOME/$PG_VERSION/data
## database cluster
if [ ! -f $PG_HOME/$PG_VERSION/data/PG_VERSION ]; then
echo "Creating database cluster in $PG_HOME/$PG_VERSION/data..."
- su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W"
+ su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W --data-checksums"
else
echo "*** WARNING ***" >&2
echo " There is already a database cluster in $PG_HOME/$PG_VERSION/data." >&2