summaryrefslogtreecommitdiff
path: root/libraries/php-pdo_dblib
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 23:20:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commit41761f24df2c0c975136f0bdb1ac8c392d1a2036 (patch)
tree05a949f222679ba8fa0fbfa0088c30d72e990d3f /libraries/php-pdo_dblib
parent0edb002be18e898f4d88a0646d339d23b398937b (diff)
downloadslackbuilds-41761f24df2c0c975136f0bdb1ac8c392d1a2036.tar.gz
libraries/php-pdo_dblib: Updated for version 5.6.18.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/php-pdo_dblib')
-rw-r--r--libraries/php-pdo_dblib/README2
-rw-r--r--libraries/php-pdo_dblib/doinst.sh2
-rw-r--r--libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild8
-rw-r--r--libraries/php-pdo_dblib/php-pdo_dblib.info6
4 files changed, 9 insertions, 9 deletions
diff --git a/libraries/php-pdo_dblib/README b/libraries/php-pdo_dblib/README
index f14be774d4..b322779f66 100644
--- a/libraries/php-pdo_dblib/README
+++ b/libraries/php-pdo_dblib/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/pdo_dblib.ini
+To enable the mssql extension for php, go to /etc/php.d/pdo_dblib.ini
and uncomment this line:
; extension=pdo_dblib.so
diff --git a/libraries/php-pdo_dblib/doinst.sh b/libraries/php-pdo_dblib/doinst.sh
index 8043bde6e4..258bbef1d1 100644
--- a/libraries/php-pdo_dblib/doinst.sh
+++ b/libraries/php-pdo_dblib/doinst.sh
@@ -11,5 +11,5 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/php/pdo_dblib.ini.new
+config etc/php.d/pdo_dblib.ini.new
diff --git a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
index 58f164e326..e83aa192d2 100644
--- a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
+++ b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=php-pdo_dblib
-VERSION=${VERSION:-5.4.45}
+VERSION=${VERSION:-5.6.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,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/pdo_dblib.ini $PKG/etc/php/pdo_dblib.ini.new
+install -m 644 $CWD/pdo_dblib.ini $PKG/etc/php.d/pdo_dblib.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-pdo_dblib/php-pdo_dblib.info b/libraries/php-pdo_dblib/php-pdo_dblib.info
index 64e1d67fae..e093f972c4 100644
--- a/libraries/php-pdo_dblib/php-pdo_dblib.info
+++ b/libraries/php-pdo_dblib/php-pdo_dblib.info
@@ -1,8 +1,8 @@
PRGNAM="php-pdo_dblib"
-VERSION="5.4.45"
+VERSION="5.6.18"
HOMEPAGE="http://php.net/manual/en/ref.pdo-dblib.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"