[Lunar-commits] <moonbase> postgresql: version bumped to 8.4.1.
Florin Braescu
florin at lunar-linux.org
Tue Sep 8 14:41:12 CEST 2009
commit 4b98c46c6aea8cf0695cef05033683bce87fe90e
Author: Florin Braescu <florin at lunar-linux.org>
Date: Tue Sep 8 15:41:12 2009 +0300
postgresql: version bumped to 8.4.1.
Bugfixes release.
---
sql/postgresql/BUILD | 4 ++--
sql/postgresql/DETAILS | 6 +++---
sql/postgresql/POST_INSTALL | 23 ++++++++++-------------
3 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/sql/postgresql/BUILD b/sql/postgresql/BUILD
index df00da1..96a7058 100644
--- a/sql/postgresql/BUILD
+++ b/sql/postgresql/BUILD
@@ -11,8 +11,8 @@
# This gives postgresql some additional things like text search,
# some dbase related utils to name a few.
# See /usr/share/doc/postgresql/contrib for more info.
- cd contrib &&
- make all &&
+ cd contrib &&
+ make all &&
make install
# done
diff --git a/sql/postgresql/DETAILS b/sql/postgresql/DETAILS
index 012d532..3e62fc9 100644
--- a/sql/postgresql/DETAILS
+++ b/sql/postgresql/DETAILS
@@ -1,13 +1,13 @@
MODULE=postgresql
- VERSION=8.4.0
+ VERSION=8.4.1
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_URL[0]=ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub/source/v${VERSION}
SOURCE_URL[1]=ftp://ftp.nl.postgresql.org/pub/mirrors/postgresql/source/v${VERSION}
SOURCE_URL[2]=ftp://ftp.us.postgresql.org/pub/mirrors/postgresql/source/v${VERSION}
- SOURCE_VFY=sha1:7a4776155049b8343f3b3b2e071002bb9db47f44
+ SOURCE_VFY=sha1:e6903f0029402ef8fb12645a177204499ea5b2b7
WEB_SITE=http://www.postgresql.org
ENTERED=20011113
- UPDATED=20090701
+ UPDATED=20090908
SHORT="A sophisticated Object-Relational DBMS"
cat << EOF
diff --git a/sql/postgresql/POST_INSTALL b/sql/postgresql/POST_INSTALL
index 1e14a78..7c1723c 100644
--- a/sql/postgresql/POST_INSTALL
+++ b/sql/postgresql/POST_INSTALL
@@ -2,30 +2,27 @@
PGDATA=/var/lib/pgsql/data
INITDB=/usr/bin/initdb
-if [ 'grep postgres /etc/passwd' != 'postgres' ]
- then
+if [ 'grep postgres /etc/passwd' != 'postgres' ]; then
add_priv_user postgres \
-d /var/lib/pgsql \
-s /bin/bash \
-g postgres
- fi
+fi
-if [ ! -d $PGDATA ]
- then
+if [ ! -d $PGDATA ]; then
mkdir -p $PGDATA
chown postgres.postgres $PGDATA
chmod go-rwx $PGDATA
su postgres -c "$INITDB --pgdata=$PGDATA" # > /dev/null 2>&1"
printf "Or run /etc/init.d/postgresql start\n"
- fi
+fi
# Done with database init.
-if [ ! -e /etc/init.d/postgresql ]
- then
+if [ ! -e /etc/init.d/postgresql ]; then
cp $SCRIPT_DIRECTORY/posgtresql/init.d/postgresql
- fi
+fi
-if module_installed DBD-Pg; then lin DBD-Pg; fi
-if module_installed php; then lin -c php; fi
-if module_installed php5; then lin -c php5; fi
-if module_installed php5-suhosin; then lin -c php5-suhosin; fi
+if module_installed DBD-Pg; then lin DBD-Pg; fi
+if module_installed php; then lin -c php; fi
+if module_installed php5; then lin -c php5; fi
+if module_installed php5-suhosin; then lin -c php5-suhosin; fi
More information about the Lunar-commits
mailing list