summaryrefslogtreecommitdiffstats
path: root/abs/core/php
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-25 17:56:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-25 17:56:28 (GMT)
commit8225ff1f2c024b9c1d5d168359c7ebb8007b1c7e (patch)
tree3301654ca2ce09101610f390d0734b69bbecf4d5 /abs/core/php
parent688b6272270d6e08eabebc0352bfaf7856d038fe (diff)
parent681ebeed6a7ef573882202165af742bda6e6dd04 (diff)
downloadlinhes_pkgbuild-8225ff1f2c024b9c1d5d168359c7ebb8007b1c7e.zip
linhes_pkgbuild-8225ff1f2c024b9c1d5d168359c7ebb8007b1c7e.tar.gz
linhes_pkgbuild-8225ff1f2c024b9c1d5d168359c7ebb8007b1c7e.tar.bz2
Merge branch 'HEAD' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
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