summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-04-15 13:58:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-04-15 13:58:06 (GMT)
commitc0713a8a1b174ed93a145ca666d963f931add8ae (patch)
tree358be454f8bf3086d4c6cfa9fb5641d2ab2f1335
parent630e90d4bea676f1252c53e9722d802003f741ee (diff)
downloadlinhes_pkgbuild-c0713a8a1b174ed93a145ca666d963f931add8ae.zip
linhes_pkgbuild-c0713a8a1b174ed93a145ca666d963f931add8ae.tar.gz
linhes_pkgbuild-c0713a8a1b174ed93a145ca666d963f931add8ae.tar.bz2
php: php.ini uncomment extension=pdo_mysql.so for zoneminder
-rw-r--r--abs/core/php/PKGBUILD4
-rw-r--r--abs/core/php/php.ini.patch4
-rwxr-xr-xabs/core/php/php.install2
3 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/php/PKGBUILD b/abs/core/php/PKGBUILD
index b092e71..d20dc55 100644
--- a/abs/core/php/PKGBUILD
+++ b/abs/core/php/PKGBUILD
@@ -23,7 +23,7 @@ pkgname=('php'
'php-tidy'
'php-xsl')
pkgver=5.6.3
-pkgrel=1
+pkgrel=3
arch=('i686' 'x86_64')
license=('PHP')
url='http://www.php.net'
@@ -384,7 +384,7 @@ package_php-xsl() {
}
md5sums=('7635f344145a4edd7dff6ecec795aaea'
'SKIP'
- '8768a43f8e435e9bbe56ef714214f9b6'
+ 'b1088bdc55787f55019a2853e28dff84'
'dec2cbaad64e3abf4f0ec70e1de4e8e9'
'6bc1fc4ceee039d21ff3b56aa845cc5a'
'25bc67ad828e8147a817410b68d8016c'
diff --git a/abs/core/php/php.ini.patch b/abs/core/php/php.ini.patch
index 78f51d4..920553e 100644
--- a/abs/core/php/php.ini.patch
+++ b/abs/core/php/php.ini.patch
@@ -1,5 +1,5 @@
--- php.ini-production.orig 2014-12-08 15:38:39.686053082 +0000
-+++ php.ini-production 2014-12-08 15:45:54.966578982 +0000
++++ php.ini-production 2015-04-15 12:09:34.685705719 +0000
@@ -199,7 +199,7 @@
; Development Value: Off
; Production Value: Off
@@ -114,7 +114,7 @@
+;extension=odbc.so
+;zend_extension=opcache.so
+extension=openssl.so
-+;extension=pdo_mysql.so
++extension=pdo_mysql.so
+;extension=pdo_odbc.so
+;extension=pdo_pgsql.so
+;extension=pdo_sqlite.so
diff --git a/abs/core/php/php.install b/abs/core/php/php.install
index 772c0ea..49fe408 100755
--- a/abs/core/php/php.install
+++ b/abs/core/php/php.install
@@ -4,7 +4,7 @@ post_install() {
. /etc/systemconfig
if [ -f /etc/php/php.ini ]
then
- sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
+ sed -i 's|^.*date.timezone.*=.*$|date.timezone='${timezone}'|' /etc/php/php.ini
fi
fi
}