summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/postgresql/README.SBo2
-rw-r--r--system/postgresql/postgresql.SlackBuild6
-rw-r--r--system/postgresql/postgresql.info6
-rw-r--r--system/postgresql/rc.postgresql.new37
-rw-r--r--system/postgresql/setup.postgresql2
5 files changed, 33 insertions, 20 deletions
diff --git a/system/postgresql/README.SBo b/system/postgresql/README.SBo
index f5ab595037..6ec5736c3c 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.3/data -E utf-8 -A md5 -W"
+ # su postgres -c "initdb -D /var/lib/pgsql/9.3/data --locale=en_US.UTF-8 -A md5 -W"
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 c6ea7c5ed5..7e0f2e4ac1 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for PostgreSQL
#
-# $Revision: ab2356040882 $
-# $Date: 2014/02/28 20:54:16 $
+# $Revision: 48079e3de1a0 $
+# $Date: 2014/04/12 06:31:25 $
#
# Copyright 2007-2014 Adis Nezirovic <adis_at_linux.org.ba>
# All rights reserved.
@@ -28,7 +28,7 @@
# Modified by the SlackBuilds.org Project
PRGNAM=postgresql
-VERSION=${VERSION:-9.3.3}
+VERSION=${VERSION:-9.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info
index 0cb8a35ea5..84d1d4a57c 100644
--- a/system/postgresql/postgresql.info
+++ b/system/postgresql/postgresql.info
@@ -1,8 +1,8 @@
PRGNAM="postgresql"
-VERSION="9.3.3"
+VERSION="9.3.4"
HOMEPAGE="http://www.postgresql.org"
-DOWNLOAD="http://ftp.postgresql.org/pub/source/v9.3.3/postgresql-9.3.3.tar.bz2"
-MD5SUM="0247b0a24e76a3f20cc50c06d0aa2412"
+DOWNLOAD="http://ftp.postgresql.org/pub/source/v9.3.4/postgresql-9.3.4.tar.bz2"
+MD5SUM="d0a41f54c377b2d2fab4a003b0dac762"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new
index a505e69572..f4475f3605 100644
--- a/system/postgresql/rc.postgresql.new
+++ b/system/postgresql/rc.postgresql.new
@@ -1,19 +1,32 @@
#!/bin/bash
-## PostgreSQL startup script for Slackware Linux
-##
-## Copyright (c) 2007-2014 Adis Nezirovic <adis _at_ linux.org.ba>
-## Licensed under GNU GPL v2
-
-# Do not source this script (since it contains exit() calls)
-
-# Before you can run PostgreSQL you'll need to create the
-# database files in /var/lib/pgsql. The following should do
-# the trick.
+# PostgreSQL startup script for Slackware Linux
+#
+# $Revision: 61c366027519 $
+# $Date: 2014/03/08 06:55:06 $
#
-# $ su postgres -c "initdb -D /var/lib/pgsql/@PG_VERSION@/data -E utf-8 -A md5 -W"
+# Copyright 2007-2014 Adis Nezirovic <adis_at_linux.org.ba>
+# All rights reserved.
#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Do not source this script (since it contains exit() calls)
+#
# Since version 9.3 this startup script can run multiple PostgreSQL
# versions on different ports and with different data dirs.
#
@@ -67,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 -E utf-8 -A md5 -W\""
+ echo "e.g. su postgres -c \"initdb -D $DATADIR --locale=en_US.UTF-8 -A md5 -W\""
exit 6
fi
diff --git a/system/postgresql/setup.postgresql b/system/postgresql/setup.postgresql
index 4f07996e19..2f0ec5f549 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 -E utf-8 -A md5 -W"
+ su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W"
else
echo "*** WARNING ***" >&2
echo " There is already a database cluster in $PG_HOME/$PG_VERSION/data." >&2