Browse Source

ap/postgresql: Upgraded to postgresql-9.6.6.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
4a3f1074ff
  1. 10
      ap/postgresql/README_UPGRADE.txt
  2. 1
      ap/postgresql/php-5.6.30.tar.xz.sha256
  3. 1
      ap/postgresql/php-5.6.32.tar.xz.sha256
  4. 1
      ap/postgresql/postgresql-9.6.2.tar.bz2.sha256
  5. 1
      ap/postgresql/postgresql-9.6.6.tar.bz2.sha256
  6. 6
      ap/postgresql/postgresql.SlackBuild
  7. 2
      ap/postgresql/rc.postgresql

10
ap/postgresql/README_UPGRADE.txt

@ -1,10 +1,10 @@
*** UPGRADING FROM POSTGRESQL 9.4.x ***
*** UPGRADING FROM POSTGRESQL 9.5.x ***
It is not possible to simply install PostgreSQL 9.4.8 above an existing
PostgreSQL 9.4.x (or lower) server. The database files are not compatible.
It is not possible to simply install PostgreSQL 9.6.6 above an existing
PostgreSQL 9.5.x (or lower) server. The database files are not compatible.
Before installing the new version, you must dump all the contents of
your running PostgreSQL 9.4.x cluster, then stop the server:
your running PostgreSQL 9.5.x cluster, then stop the server:
pg_dumpall -U postgres > backup
/etc/rc.d/rc.postgresql stop
@ -17,7 +17,7 @@ configuration files within, if you have modified them):
Upgrade the postgresql package, and initialize the data directory for
the upgraded server:
upgradepkg postgresql-9.6.2-i486-1GGD.txz
upgradepkg postgresql-9.6.6-i486-1GGD.txz
mv /etc/rc.d/rc.postgresql.new /etc/rc.d/rc.postgresql
/etc/rc.d/rc.postgresql init

1
ap/postgresql/php-5.6.30.tar.xz.sha256

@ -1 +0,0 @@
a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805 php-5.6.30.tar.xz

1
ap/postgresql/php-5.6.32.tar.xz.sha256

@ -0,0 +1 @@
8c2b4f721c7475fb9eabda2495209e91ea933082e6f34299d11cba88cd76e64b php-5.6.32.tar.xz

1
ap/postgresql/postgresql-9.6.2.tar.bz2.sha256

@ -1 +0,0 @@
0187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9 postgresql-9.6.2.tar.bz2

1
ap/postgresql/postgresql-9.6.6.tar.bz2.sha256

@ -0,0 +1 @@
399cdffcb872f785ba67e25d275463d74521566318cfef8fe219050d063c8154 postgresql-9.6.6.tar.bz2

6
ap/postgresql/postgresql.SlackBuild

@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-postgresql}
VERSION=${VERSION:-9.6.2}
VERSION=${VERSION:-9.6.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://ftp.postgresql.org/pub/source/v$VERSION/postgresql-$VERSION.tar.bz2}
@ -121,7 +121,7 @@ install -D -m 755 $CWD/rc.postgresql $PKG/etc/rc.d/rc.postgresql.new
mkdir -p $PKG/etc/pgsql $PKG/var/log/pgsql
# Install the documentation
install -m 644 COPYRIGHT HISTORY INSTALL README doc/KNOWN_BUGS \
install -m 644 COPYRIGHT INSTALL README doc/KNOWN_BUGS \
doc/bug.template $CWD/README_UPGRADE.txt $PKG/usr/doc/$NAME
(
cd doc/src/sgml
@ -134,7 +134,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install PHP extension
if type -p phpize ; then
# Get latest PHP included with Slackware-14.2
PHP_ARCHIVE=php-5.6.30.tar.xz
PHP_ARCHIVE=php-5.6.32.tar.xz
(
cd $CWD
if [ ! -r $PHP_ARCHIVE ]; then

2
ap/postgresql/rc.postgresql

@ -24,7 +24,7 @@ pgsql_init() {
echo "$PGDATA is the data directory of an old PostgreSQL server."
echo "PostgreSQL 9.6 can not directly use these data. If you are"
echo "migrating from a previous major version of PostgreSQL, please"
echo "read the file /usr/doc/postgresql-9.6.2/README_UPGRADE.txt."
echo "read the file /usr/doc/postgresql-9.6.6/README_UPGRADE.txt."
exit 1
fi
}

Loading…
Cancel
Save