From 344751f81a18533524e3f945ac8e33fa0243d606 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 14 Nov 2011 17:27:44 -0600
Subject: php: change mysql.default_socket for existing php.ini

---
 abs/core/php/PKGBUILD    | 4 ++--
 abs/core/php/__changelog | 2 ++
 abs/core/php/php.install | 2 ++
 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
-- 
cgit v0.12


From 81b8c11ec695a33b28a5ebcd8ddef89ffb91a524 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 14 Nov 2011 17:33:06 -0600
Subject: linhes-scripts: upgrade_linhes_script.sh: revert php/mysql fix

php/mysql fix is now handled in the php pkg
---
 abs/core/linhes-scripts/PKGBUILD                 | 4 ++--
 abs/core/linhes-scripts/upgrade_linhes_script.sh | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index 421d774..fb9a04a 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=linhes-scripts
 pkgver=7
-pkgrel=18
+pkgrel=19
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -97,4 +97,4 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          '35693f50939d5827aeabfce8c5dce589'
          'a94fe6d980f4b810f2e2ae5352084b39'
          '974c137d3fcb85942ba8945a1bc815fe'
-         'd279763f58a9bc9998f3cba6e7224ced')
+         '5ada346a85ceb4b4fc15514706c65fe7')
diff --git a/abs/core/linhes-scripts/upgrade_linhes_script.sh b/abs/core/linhes-scripts/upgrade_linhes_script.sh
index 851bcc5..e48824b 100644
--- a/abs/core/linhes-scripts/upgrade_linhes_script.sh
+++ b/abs/core/linhes-scripts/upgrade_linhes_script.sh
@@ -145,8 +145,6 @@ remove_service.sh portmap
 wget ftp://ftp.knoppmyth.net/R6/sources/wallpaper.png -P /tmp
 mv /tmp/wallpaper.png /home/mythtv/.fluxbox/
 chown mythtv.mythtv /home/mythtv/.fluxbox/wallpaper.png
-mv /etc/php/php.ini /etc/php/php.ini.prer7
-mv /etc/php/php.ini.pacnew /etc/php/php.ini
 echo "All done!"
 
 
-- 
cgit v0.12


From 166cde7d41467eae9eae925a96470d07afa8a235 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 17 Nov 2011 23:19:38 -0600
Subject: python2: recompile for missing CDROM.py files and others

---
 abs/core/python2/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core/python2/PKGBUILD b/abs/core/python2/PKGBUILD
index 1574208..da78268 100644
--- a/abs/core/python2/PKGBUILD
+++ b/abs/core/python2/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=python2
 pkgver=2.6.6
-pkgrel=4
+pkgrel=5
 _pybasever=2.6
 pkgdesc="A high-level scripting language"
 arch=('i686' 'x86_64')
-- 
cgit v0.12


From 681ebeed6a7ef573882202165af742bda6e6dd04 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 22 Nov 2011 22:22:07 -0600
Subject: linhes-scripts: upgrade_linhes_script.sh: remove
 hauppauge-hvr-firmware pkg

---
 abs/core/linhes-scripts/PKGBUILD                 | 4 ++--
 abs/core/linhes-scripts/upgrade_linhes_script.sh | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index fb9a04a..3bdc2c4 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=linhes-scripts
 pkgver=7
-pkgrel=19
+pkgrel=20
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -97,4 +97,4 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          '35693f50939d5827aeabfce8c5dce589'
          'a94fe6d980f4b810f2e2ae5352084b39'
          '974c137d3fcb85942ba8945a1bc815fe'
-         '5ada346a85ceb4b4fc15514706c65fe7')
+         'aad75575c9af70aa8bf3a06718985664')
diff --git a/abs/core/linhes-scripts/upgrade_linhes_script.sh b/abs/core/linhes-scripts/upgrade_linhes_script.sh
index e48824b..1c543fc 100644
--- a/abs/core/linhes-scripts/upgrade_linhes_script.sh
+++ b/abs/core/linhes-scripts/upgrade_linhes_script.sh
@@ -33,6 +33,7 @@ echo "Removing misc outdated packages "
 pacman -R --noconfirm  aufs-utils aufs >> $LOGFILE
 pacman -R --noconfirm xf86-video-sis >> $LOGFILE
 pacman -R --noconfirm madwifi >> $LOGFILE
+pacman -R --noconfirm hauppauge-hvr-firmware >> $LOGFILE
 
 
 echo "Resyncing with repository"
@@ -42,7 +43,7 @@ if [ ! -s /tmp/linhes_upgrade ]
 then
 	echo "No upgrades found.  This could mean the repository is busy."
 	echo "Or your system is already up to date."
-	echo "If you have not upgrade, please try again later."
+	echo "If you have not upgraded, please try again later."
 	echo "Starting the backend."
 	sv start mythbackend &>/dev/null
 	exit 1
-- 
cgit v0.12

