summaryrefslogtreecommitdiff
path: root/community/xdebug
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
committerroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
commit11484c032f8c236b2044e715a9a3b28e33f65598 (patch)
treeec2f7c7ad850a191e3ef6cf1bcb03a6468744f1c /community/xdebug
parent1a09ca56e4f37ac4e995c924c649ede71a5c82aa (diff)
Mon Feb 20 23:15:21 UTC 2012
Diffstat (limited to 'community/xdebug')
-rw-r--r--community/xdebug/PKGBUILD8
-rw-r--r--community/xdebug/xdebug.install32
2 files changed, 4 insertions, 36 deletions
diff --git a/community/xdebug/PKGBUILD b/community/xdebug/PKGBUILD
index 749bcebd6..d414b935c 100644
--- a/community/xdebug/PKGBUILD
+++ b/community/xdebug/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 54418 2011-08-18 09:30:31Z spupykin $
+# $Id: PKGBUILD 65011 2012-02-20 01:39:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jonathan Wiersma <arch aur at jonw dot org>
# Contributor: Jonathan Wiersma <arch aur at jonw dot org>
# Contributor: sracker <smb.sac@gmail.com>
pkgname=xdebug
-pkgver=2.1.2
-pkgrel=1
+pkgver=2.1.3
+pkgrel=2
pkgdesc="PHP debugging extension"
arch=('i686' 'x86_64')
url="http://www.xdebug.org"
@@ -17,7 +17,7 @@ backup=('etc/php/conf.d/xdebug.ini')
source=(http://www.xdebug.org/files/$pkgname-$pkgver.tgz
xdebug-5.2.ini
xdebug.ini)
-md5sums=('3a9c3402063c8163de6e419ddc8d96e7'
+md5sums=('779f4a66acdccd673553769e403674c4'
'6b7fdbbe0bf381bda40e77e29981f439'
'68de800943369d4c76bdf7eb35c8463b')
diff --git a/community/xdebug/xdebug.install b/community/xdebug/xdebug.install
index fc2fcbc84..a7ec0b9cc 100644
--- a/community/xdebug/xdebug.install
+++ b/community/xdebug/xdebug.install
@@ -1,18 +1,8 @@
-pre_upgrade() {
- local _configfile=/etc/php/conf.d/xdebug.ini
-
- if [ $2 \< "2.0.4-2" -a -f $_configfile ] ; then
- mv -f $_configfile $_configfile.pacold
- fi
- /bin/true
-}
-
post_install() {
local _configfile=/etc/php/conf.d/xdebug.ini
echo " ==> You may wish to uncomment/change the settings found in "
echo " $_configfile"
echo ""
- /bin/true
}
post_upgrade() {
@@ -20,28 +10,6 @@ post_upgrade() {
local PHPVER=$(php -r 'echo phpversion();')
post_install $1
- if [ $2 \< "2.0.4-2" ] ; then
- if [ -f $_configfile.pacold ] ; then
- mv $_configfile $_configfile.pacnew
- mv $_configfile.pacold $_configfile
- echo " ==> There is a new xdebug.ini at $_configfile.pacnew."
- echo " You may wish to copy it or modify your existing file: "
- echo " $_configfile."
- echo ""
- else
- echo " ==> A configuration file for xdebug has been placed at:"
- echo " $_configfile."
- echo " Please remove the following lines from /etc/php/php.ini and move them"
- echo " to $_configfile:"
- echo " zend_extension=/usr/lib/php/xdebug.so"
- echo " xdebug.remote_enable=on"
- echo " xdebug.remote_host=<ip address>"
- echo " xdebug.remote_port=<port>"
- echo " xdebug.remote_handler=dbgp"
- echo ""
- fi
- fi
-
if [ "$PHPVER" \< "5.3" ] ; then
echo " ==> You are currenty running a version of php < 5.3."
echo " When/if you upgrade php to a version >= 5.3, you will need to reinstall $pkgname."