aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 23:17:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commit0edb002be18e898f4d88a0646d339d23b398937b (patch)
tree268fb9657868a31e6bbe8019950b51f7ad282374
parentbf88e104d3a328d1c3f335dec2ec7a361495967d (diff)
libraries/php-mssql: Updated for version 5.6.18.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/php-mssql/README2
-rw-r--r--libraries/php-mssql/doinst.sh2
-rw-r--r--libraries/php-mssql/php-mssql.SlackBuild8
-rw-r--r--libraries/php-mssql/php-mssql.info6
4 files changed, 9 insertions, 9 deletions
diff --git a/libraries/php-mssql/README b/libraries/php-mssql/README
index 5b72ce812e66..61342415957c 100644
--- a/libraries/php-mssql/README
+++ b/libraries/php-mssql/README
@@ -1,5 +1,5 @@
This extension enables PHP to connect to and use MSSQL databases.
-To enable the mssql extension for php, go to /etc/php/mssql.ini
+To enable the mssql extension for php, go to /etc/php.d/mssql.ini
and uncomment the line:
; extension=mssql.so
diff --git a/libraries/php-mssql/doinst.sh b/libraries/php-mssql/doinst.sh
index 5504e584cfb6..808ef73b7205 100644
--- a/libraries/php-mssql/doinst.sh
+++ b/libraries/php-mssql/doinst.sh
@@ -11,4 +11,4 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/php/mssql.ini.new
+config etc/php.d/mssql.ini.new
diff --git a/libraries/php-mssql/php-mssql.SlackBuild b/libraries/php-mssql/php-mssql.SlackBuild
index f89b472ce518..556d25a2775e 100644
--- a/libraries/php-mssql/php-mssql.SlackBuild
+++ b/libraries/php-mssql/php-mssql.SlackBuild
@@ -24,7 +24,7 @@
SRCNAM=php
PRGNAM=php-mssql
-VERSION=${VERSION:-5.4.45}
+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 . \
@@ -93,11 +93,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
-mkdir -p $EXTENSION_DIR $PKG/etc/php
+mkdir -p $EXTENSION_DIR $PKG/etc/php.d
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-install -m 644 $CWD/mssql.ini $PKG/etc/php/mssql.ini.new
+install -m 644 $CWD/mssql.ini $PKG/etc/php.d/mssql.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-mssql/php-mssql.info b/libraries/php-mssql/php-mssql.info
index 30bf61d1cb28..d1fb6f385770 100644
--- a/libraries/php-mssql/php-mssql.info
+++ b/libraries/php-mssql/php-mssql.info
@@ -1,8 +1,8 @@
PRGNAM="php-mssql"
-VERSION="5.4.45"
+VERSION="5.6.18"
HOMEPAGE="http://www.php.net/manual/en/book.mssql.php"
-DOWNLOAD="https://secure.php.net/distributions/php-5.4.45.tar.bz2"
-MD5SUM="185f67f1ca652b18bc0cca9d7edbde7c"
+DOWNLOAD="https://secure.php.net/distributions/php-5.6.18.tar.xz"
+MD5SUM="177ba962557795866ae331ad4ad99bba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="freetds"