ap/postgresql: Upgraded to postgresql-9.4.11.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent 7c5157baa2
commit 5670f5108c

@ -1,7 +1,7 @@
*** UPGRADING FROM POSTGRESQL 9.4.4 ***
*** UPGRADING FROM POSTGRESQL 9.4.x ***
A dump/restore procedure is not needed when upgrading from PostgreSQL
9.4.4. Just shutdown the server, upgrade the package, and restart the
9.4.x. Just shutdown the server, upgrade the package, and restart the
server.

@ -1 +0,0 @@
05100e33005169212640c32637013ea93a333a00 php-5.6.23.tar.xz

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

@ -0,0 +1 @@
e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23 postgresql-9.4.11.tar.bz2

@ -1 +0,0 @@
4e119e2667c8c4c3b35544dfefd7a4d9aaac3eef postgresql-9.4.8.tar.bz2

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2013,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2008-2013,2015-2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,13 +27,13 @@
# Source package infos
NAMESRC=${NAMESRC:-postgresql}
VERSION=${VERSION:-9.4.8}
VERSION=${VERSION:-9.4.11}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://ftp.postgresql.org/pub/source/v$VERSION/postgresql-$VERSION.tar.bz2}
# Build infos
NAMEPKG=${NAMEPKG:-postgresql}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -102,7 +102,8 @@ CXXFLAGS=$CPUOPT \
--with-libxml \
--with-libxslt \
--with-system-tzdata=/usr/share/zoneinfo \
--with-gnu-ld
--with-gnu-ld \
--build=$ARCH-slackware-linux
make -j $JOBS
make install-strip DESTDIR=$PKG
@ -134,14 +135,14 @@ 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.23.tar.xz
PHP_ARCHIVE=php-5.6.30.tar.xz
(
cd $CWD
if [ ! -r $PHP_ARCHIVE ]; then
wget -c -O $PHP_ARCHIVE.part "http://slackware.mirrors.ovh.net/ftp.slackware.com/slackware64-14.2/source/n/php/$PHP_ARCHIVE"
wget -c -O $PHP_ARCHIVE.part "http://slackware.mirrors.ovh.net/ftp.slackware.com/slackware64-14.2/patches/source/php/$PHP_ARCHIVE"
mv $PHP_ARCHIVE.part $PHP_ARCHIVE
fi
sha1sum -c $PHP_ARCHIVE.sha1
sha256sum -c $PHP_ARCHIVE.sha256
)
tar xf $CWD/$PHP_ARCHIVE

Loading…
Cancel
Save