--- php-xdebug-2.0.2.orig/debian/compat +++ php-xdebug-2.0.2/debian/compat @@ -0,0 +1 @@ +5 --- php-xdebug-2.0.2.orig/debian/xdebug.ini +++ php-xdebug-2.0.2/debian/xdebug.ini @@ -0,0 +1 @@ +zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so --- php-xdebug-2.0.2.orig/debian/watch +++ php-xdebug-2.0.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pecl.php.net/package/xdebug \ + /get/xdebug-([\d\.]*).tgz debian uupdate --- php-xdebug-2.0.2.orig/debian/copyright +++ php-xdebug-2.0.2/debian/copyright @@ -0,0 +1,295 @@ +This package was debianized by Mark A. Hershberger +on Thu, 29 Nov 2007 14:36:40 -0500. + +It was downloaded from http://pecl.php.net/package/xdebug + +This product includes Xdebug, freely available from + + +Portions of the code included from PHP, which requires this notice: + + This product includes PHP, freely available from + + +Portions of the code included from the Zend Engine, which requires +this notice: + + This product includes the Zend Engine, freely available at + http://www.zend.com + +---------------------------------------- +main code base: + +Upstream Author: Derick Rethans + +Copyright: 2003-2007 Derick Rethans + +License: + + -------------------------------------------------------------------- + The Xdebug License, version 1.01 + (Based on "The PHP License", version 3.0) + Copyright (c) 2003-2007 Derick Rethans. All rights reserved. + -------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, is permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "Xdebug" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact derick@xdebug.org. + + 4. Products derived from this software may not be called "Xdebug", nor + may "Xdebug" appear in their name, without prior written permission + from derick@xdebug.org. + + 5. Derick Rethans may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. Once covered code has been + published under a particular version of the license, you may + always continue to use it under the terms of that version. You + may also choose to use such covered code under the terms of any + subsequent version of the license published by Derick Rethans. No + one other than Derick Rethans has the right to modify the terms + applicable to covered code created under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: "This product includes Xdebug, freely available + from ". + + THIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + -------------------------------------------------------------------- + + This software consists of voluntary contributions made by some + individuals on behalf of Derick Rethans. + + Derick Rethans can be contacted via e-mail at derick@xdebug.org. + + For more information Xdebug, please see . + +---------------------------------------- +xdebug_compat.* + +Upstream Authors: Jim Winstead + Andi Gutmans + Zeev Suraski + Derick Rethans + +Copyright: 1997-2004 The PHP Group + 1998-2004 Zend Technologies Ltd + +License: + + The PHP License, version 3.0 and The Zend Engine License, + version 2.00 + + -------------------------------------------------------------------- + The PHP License, version 3.0 + Copyright (c) 1999 - 2006 The PHP Group. All rights reserved. + -------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, is permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + ". + + THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND + ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP + DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + -------------------------------------------------------------------- + + This software consists of voluntary contributions made by many + individuals on behalf of the PHP Group. + + The PHP Group can be contacted via Email at group@php.net. + + For more information on the PHP Group and the PHP project, + please see . + + This product includes the Zend Engine, freely available at + . + + -------------------------------------------------------------------- + The Zend Engine License, version 2.00 + Copyright (c) 1999-2002 Zend Technologies Ltd. All rights reserved. + -------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, is permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The names "Zend" and "Zend Engine" must not be used to endorse + or promote products derived from this software without prior + permission from Zend Technologies Ltd. For written permission, + please contact license@zend.com. + + 4. Zend Technologies Ltd. may publish revised and/or new versions + of the license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by Zend Technologies Ltd. No one other than Zend + Technologies Ltd. has the right to modify the terms applicable + to covered code created under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes the Zend Engine, freely available at + http://www.zend.com" + + 6. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "The Zend Engine is freely available at http://www.zend.com" + + THIS SOFTWARE IS PROVIDED BY ZEND TECHNOLOGIES LTD. ``AS IS'' AND + ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ZEND + TECHNOLOGIES LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + -------------------------------------------------------------------- + +---------------------------------------- +xdebug_hash.* +xdebug_llist.* + +Upstream Author: Sterling Huges + +Copyright: 2000, 2001, 2002 Vulcan Logic Group. + +License: + + Vulcan Logic Public Licence + + (Based upon the Apache Software License) + + Version 1.1 + Copyright (c) 2002 Vulcan Logic. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, + must include the following acknowledgment: + + "This product includes software developed by Vulcan Logic + (http://www.vl-srm.net/)." + + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Vulcan Logic" and "SRM" must not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact group@vl-srm.net. + + 5. Products derived from this software may not be called "SRM", nor may + "SRM" appear in their name, without prior written permission of the + Vulcan Logic Group. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many + individuals on behalf of Vulcan Logic. For more information on the + Vulcan Logic Group, please see . + + © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by The Vulcan + Logic Group + --- php-xdebug-2.0.2.orig/debian/docs +++ php-xdebug-2.0.2/debian/docs @@ -0,0 +1,2 @@ +xdebug-2.0.2/README +xdebug-2.0.2/CREDITS --- php-xdebug-2.0.2.orig/debian/pecl +++ php-xdebug-2.0.2/debian/pecl @@ -0,0 +1 @@ +modules/xdebug.so --- php-xdebug-2.0.2.orig/debian/rules +++ php-xdebug-2.0.2/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# template debian/rules provided by dh-make-php. +# GNU copyright 2005 by Uwe Steinmann. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -O2 -Wall +CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g + DEBUG := --enable-debug +else + DEBUG := --disable-debug +endif + +TAR=tar +PECL_PKG_NAME=xdebug +PECL_PKG_REALNAME=xdebug +PECL_PKG_VERSION=2.0.2 +PACKAGE_NAME=php-xdebug +BIN_PACKAGE_NAME=php5-xdebug +PHPIZE=/usr/bin/phpize +PHPCONFIG=/usr/bin/php-config +EXT_DIR=$(shell $(PHPCONFIG) --extension-dir) +SOURCE_DIR=$(shell ls -d $(PECL_PKG_REALNAME)-*) + +phpapiver=$(shell /usr/bin/php-config --phpapi) + +configure: configure-stamp +configure-stamp: + dh_testdir + + cp -f /usr/share/misc/config.sub \ + ${PECL_PKG_NAME}-${PECL_PKG_VERSION}/debugclient/config.sub + cp -f /usr/share/misc/config.guess \ + ${PECL_PKG_NAME}-${PECL_PKG_VERSION}/debugclient/config.guess + (cd $(SOURCE_DIR); \ + $(PHPIZE); \ + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info CFLAGS="${CFLAGS}" \ + --with-php-config=$(PHPCONFIG)) + touch $@ + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + (cd $(SOURCE_DIR); $(MAKE); mkdir -p ../tmp/modules; cp modules/* ../tmp/modules) + $(shell /usr/share/dh-make-php/phppkginfo . changelog > debian/Changelog) + touch build-stamp + +clean: + dh_clean + + dh_testdir + dh_testroot + rm -f build-stamp* configure-stamp* + + (cd $(SOURCE_DIR); \ + $(MAKE) clean; \ + $(PHPIZE) --clean) + rm -rf tmp/modules + +install: build + dh_testdir + dh_testroot + dh_installdirs + + (cd $(SOURCE_DIR); \ + $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(PACKAGE_NAME) install) + mkdir -p debian/$(BIN_PACKAGE_NAME)/$(EXT_DIR) + install -m 644 -o root -g root tmp/modules/$(PECL_PKG_NAME).so debian/$(BIN_PACKAGE_NAME)/$(EXT_DIR)/$(PECL_PKG_NAME).so + if [ -f "debian/$(PECL_PKG_NAME).ini" ]; then \ + mkdir -p debian/$(BIN_PACKAGE_NAME)/etc/php5/conf.d; \ + cp debian/$(PECL_PKG_NAME).ini debian/$(BIN_PACKAGE_NAME)/etc/php5/conf.d; \ + fi + +binary-indep: install + echo "php:Depends=phpapi-$(phpapiver)" >> debian/$(BIN_PACKAGE_NAME).substvars + +binary-arch: + dh_testdir + dh_testroot + dh_installchangelogs debian/Changelog + dh_installdocs + dh_installexamples + dh_installdebconf + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- php-xdebug-2.0.2.orig/debian/changelog +++ php-xdebug-2.0.2/debian/changelog @@ -0,0 +1,6 @@ +php-xdebug (2.0.2-0ubuntu1) hardy; urgency=low + + * Initial Release (LP: #189928). + + -- Mark A. Hershberger Thu, 29 Nov 2007 16:23:42 -0500 + --- php-xdebug-2.0.2.orig/debian/php5-xdebug.dirs +++ php-xdebug-2.0.2/debian/php5-xdebug.dirs @@ -0,0 +1 @@ +usr/lib/php5 --- php-xdebug-2.0.2.orig/debian/control +++ php-xdebug-2.0.2/debian/control @@ -0,0 +1,34 @@ +Source: php-xdebug +Section: web +Priority: optional +XSBC-Original-Maintainer: Mark A. Hershberger +Homepage: http://xdebug.org/ +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>= 5), po-debconf, xsltproc , php5-dev, + autotools-dev , dh-make-php +Standards-Version: 3.7.3 + +Package: php5-xdebug +Architecture: any +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} +Description: xdebug module for PHP 5 + Provides extensive debugging utilities for PHP. + . + The Xdebug extension helps you debugging your script by providing a + lot of valuable debug information. The debug information that Xdebug + can provide includes the following: + . + * stack and function traces in error messages with: + o full parameter display for user defined functions + o function name, file name and line indications + o support for member functions + * memory allocation + * protection for infinite recursions + . + Xdebug also provides: + . + * profiling information for PHP scripts + * code coverage analysis + * capabilities to debug your scripts interactively with a (remote) + debug client (GDB or DBGp) +