From 374f2f59e92d04addc69bd30f80bc480b208e414 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 1 Feb 2011 03:51:21 +0000
Subject: php: Fix mysql.default_socket in php.ini Ref #753

---
 abs/core/php/PKGBUILD    | 5 ++---
 abs/core/php/__changelog | 2 ++
 abs/core/php/php.ini     | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/abs/core/php/PKGBUILD b/abs/core/php/PKGBUILD
index e36353f..28bd83f 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=6
+pkgrel=7
 _suhosinver=${pkgver}-0.9.10
 pkgdesc='A high-level scripting language'
 arch=('i686' 'x86_64')
@@ -181,8 +181,7 @@ package_php-pear() {
                 [ ! -e "$i" ] || rm -rf "$i"
         done < <(find ${pkgdir} -name '.*')
 }
-
 md5sums=('21ceeeb232813c10283a5ca1b4c87b48'
          'b66b27c43b1332400ef8982944c3b95b'
-         '8ced1a21457e3d513425617667eb8588'
+         '25bf81e701f7914a3d8472a5636640e7'
          '96ca078be6729b665be8a865535a97bf')
diff --git a/abs/core/php/__changelog b/abs/core/php/__changelog
index 5c87426..592eff9 100644
--- a/abs/core/php/__changelog
+++ b/abs/core/php/__changelog
@@ -9,3 +9,5 @@ php.ini -jm
 
 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
diff --git a/abs/core/php/php.ini b/abs/core/php/php.ini
index 5ef9d1d..50413b9 100644
--- a/abs/core/php/php.ini
+++ b/abs/core/php/php.ini
@@ -730,7 +730,7 @@ mysql.default_port =
 
 ; Default socket name for local MySQL connects.  If empty, uses the built-in
 ; MySQL defaults.
-mysql.default_socket =
+mysql.default_socket = /var/run/mysqld/mysqld.sock
 
 ; Default host for mysql_connect() (doesn't apply in safe mode).
 mysql.default_host =
-- 
cgit v0.12