diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2016-02-06 23:29:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-07 15:06:56 +0700 |
commit | 3236f58d492043f86216cfacc31b5ca7afa81f9c (patch) | |
tree | aa7107b86b2bddad62200627b39e09d5b0f41ecd /libraries | |
parent | 41761f24df2c0c975136f0bdb1ac8c392d1a2036 (diff) | |
download | slackbuilds-3236f58d492043f86216cfacc31b5ca7afa81f9c.tar.gz |
libraries/php-pgsql: Updated for version 5.6.18.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/php-pgsql/README | 2 | ||||
-rw-r--r-- | libraries/php-pgsql/doinst.sh | 4 | ||||
-rw-r--r-- | libraries/php-pgsql/php-pgsql.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/php-pgsql/php-pgsql.info | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/libraries/php-pgsql/README b/libraries/php-pgsql/README index 0bfd01616e..f33e29e8cf 100644 --- a/libraries/php-pgsql/README +++ b/libraries/php-pgsql/README @@ -1,5 +1,5 @@ This extension enables PHP to connect to and use PostgreSQL databases. -To enable the pgsql extension for php, go to /etc/php/pgsql.ini +To enable the pgsql extension for php, go to /etc/php.d/pgsql.ini and uncomment the line: ; extension=pgsql.so diff --git a/libraries/php-pgsql/doinst.sh b/libraries/php-pgsql/doinst.sh index a27ba5dba6..b4fdb0a75a 100644 --- a/libraries/php-pgsql/doinst.sh +++ b/libraries/php-pgsql/doinst.sh @@ -11,6 +11,6 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -config etc/php/pgsql.ini.new -config etc/php/pdo_pgsql.ini.new +config etc/php.d/pgsql.ini.new +config etc/php.d/pdo_pgsql.ini.new diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild index 6a17aff385..b9b06cb99e 100644 --- a/libraries/php-pgsql/php-pgsql.SlackBuild +++ b/libraries/php-pgsql/php-pgsql.SlackBuild @@ -24,7 +24,7 @@ SRCNAM=php PRGNAM=php-pgsql -VERSION=${VERSION:-5.6.11} +VERSION=${VERSION:-5.6.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -91,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ make -mkdir -p $EXTENSION_DIR $PKG/etc/php +mkdir -p $EXTENSION_DIR $PKG/etc/php.d make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR @@ -119,8 +119,8 @@ make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR cd - -install -m 644 $CWD/pgsql.ini $PKG/etc/php/pgsql.ini.new -install -m 644 $CWD/pdo_pgsql.ini $PKG/etc/php/pdo_pgsql.ini.new +install -m 644 $CWD/pgsql.ini $PKG/etc/php.d/pgsql.ini.new +install -m 644 $CWD/pdo_pgsql.ini $PKG/etc/php.d/pdo_pgsql.ini.new find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/php-pgsql/php-pgsql.info b/libraries/php-pgsql/php-pgsql.info index 9cf67cadb2..0073b1cb85 100644 --- a/libraries/php-pgsql/php-pgsql.info +++ b/libraries/php-pgsql/php-pgsql.info @@ -1,8 +1,8 @@ PRGNAM="php-pgsql" -VERSION="5.6.11" +VERSION="5.6.18" HOMEPAGE="http://php.net/manual/en/book.pgsql.php" -DOWNLOAD="https://php.net/distributions/php-5.6.11.tar.bz2" -MD5SUM="a0c842c1d30fedbe972e1556ae9cee27" +DOWNLOAD="https://secure.php.net/distributions/php-5.6.18.tar.xz" +MD5SUM="177ba962557795866ae331ad4ad99bba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" |