summaryrefslogtreecommitdiffstats
path: root/abs/core/php
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/php')
-rw-r--r--abs/core/php/PKGBUILD4
-rw-r--r--abs/core/php/__changelog2
-rw-r--r--abs/core/php/php.install2
3 files changed, 6 insertions, 2 deletions
diff --git a/abs/core/php/PKGBUILD b/abs/core/php/PKGBUILD
index 28bd83f..394f495 100644
--- a/abs/core/php/PKGBUILD
+++ b/abs/core/php/PKGBUILD
@@ -1,7 +1,7 @@
pkgbase=php
pkgname=('php' 'php-cgi' 'php-pear')
pkgver=5.3.3
-pkgrel=7
+pkgrel=8
_suhosinver=${pkgver}-0.9.10
pkgdesc='A high-level scripting language'
arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@ makedepends=('mysql' 'libpng' 'libjpeg' 'sqlite3' 'libmcrypt' 'libtool' \
'freetype2' 'libjpeg' 'curl' 'libxslt' 'pam' 'openssl' 'bzip2' \
'gdbm' 'db>=4.8.26')
options=('emptydirs')
-source=("http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2" \
+source=("http://museum.php.net/php5/${pkgname}-${pkgver}.tar.bz2" \
"http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz" \
'php.ini' 'apache.conf')
diff --git a/abs/core/php/__changelog b/abs/core/php/__changelog
index 592eff9..754dc7c 100644
--- a/abs/core/php/__changelog
+++ b/abs/core/php/__changelog
@@ -11,3 +11,5 @@ split package into "php" "php-cgi" and "php-pear" -mh
php-pear replaces PearLog -mh
php.ini: mysql.default_socket = /var/run/mysqld/mysqld.sock Ref #753 -mh
+
+php.install: Change mysql.default_socket
diff --git a/abs/core/php/php.install b/abs/core/php/php.install
index fb543f3..b040032 100644
--- a/abs/core/php/php.install
+++ b/abs/core/php/php.install
@@ -1,4 +1,6 @@
post_install() {
+ # change mysql.default_socket for mythweb
+ sed -i 's/^mysql.default_socket.*$/mysql.default_socket = \/var\/run\/mysqld\/mysqld.sock/g' /etc/php/php.ini
if [ -f /etc/systemconfig ]
then
. /etc/systemconfig