debian/0000755000000000000000000000000011757445315007202 5ustar debian/lintian_override0000644000000000000000000000006011757445315012456 0ustar php-xml-rss: copyright-refers-to-bad-php-licensedebian/tests_run0000644000000000000000000000023511757445315011153 0ustar #!/bin/sh set -e pear_pkg=`ls | grep XML_RSS` cd ${pear_pkg} PKG_ROOT=`pwd` cd tests phpunit -d include_path=".:/usr/share/php:${PKG_ROOT}" AllTests.php debian/control0000644000000000000000000000162211757445315010606 0ustar Source: php-xml-rss Section: php Priority: optional Maintainer: Debian PHP PEAR Maintainers Uploaders: Thomas Goirand Build-Depends: debhelper (>= 8), pkg-php-tools, phpunit (>= 3.6), php-xml-parser Build-Depends-Indep: php-pear Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=pkg-php/php-xml-rss.git Vcs-Git: http://git.debian.org/git/pkg-php/php-xml-rss.git Homepage: http://pear.php.net/package/XML_RSS Package: php-xml-rss Architecture: all Depends: ${misc:Depends}, php-pear, ${phppear:Debian-Depends} Recommends: ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks} Description: php based parser for RSS news feeds XML_RSS is a PEAR module for parsing Resource Description Framework (RDF) Site Summary (RSS) documents in PHP. For more information on RSS see the website of the RSS working group (http://www.purl.org/rss/). debian/changelog0000644000000000000000000000432611757445315011061 0ustar php-xml-rss (1.0.2-3) unstable; urgency=low * Added missing Build-Depends: php-xml-parser needed by the unit tests. This fixes the FTBFS (Closes: #674372). -- Thomas Goirand Thu, 24 May 2012 14:49:07 +0000 php-xml-rss (1.0.2-2) unstable; urgency=low * Added a debian/gbp.conf. * Switches to format 3.0 (quilt) * Now running test suite at build time. * Bumps Standard-Version: to 3.9.3 (no changes) -- Thomas Goirand Sat, 12 May 2012 14:58:58 +0000 php-xml-rss (1.0.2-1) unstable; urgency=low * New upstream release. * Corrected VCS-Git / VCS-Browser fields (Closes: #638531). * Using the team as maintainer (pkg-php-pear@lists.alioth.d.o). * Standard-Version is now 3.9.2. * Now using pkg-php-tools and dh short style. * Corrected debian/copyright (DEP5 format and now correct PHP 3.01). -- Thomas Goirand Sun, 18 Sep 2011 19:18:31 +0800 php-xml-rss (1.0.0-1) unstable; urgency=low * New upstream release. * Changed the long and short desc (Closes: #493422). * Added Homepage and Vcs-Browser field. * Added dependency to php-xml-parser (Closes: #473992). * Reworked debian/rules to avoid arch dependent stuffs. * Moved php-pear from Build-Depends to Build-Depends-Indep. * Added a ${misc:Depends} dependency. * Added a lintian override for the PHP 2.02 license. * Now depends on debhelper 7. * Not using dh_clean -k but dh_prep. * Now using my zigo@debian.org as maintainer field. * Section is now php. -- Thomas Goirand Mon, 05 Jul 2010 13:15:08 +0800 php-xml-rss (0.9.10-3) unstable; urgency=low * Not using CDBS anymore (rewrote debian/rules). * Now packaging the pear .reg file so pear install continues to work. * The watch file now works. * The debian/copyright is now consistent. -- Thomas Goirand Sun, 5 Aug 2007 17:31:14 +0800 php-xml-rss (0.9.10-2) unstable; urgency=low * Removed php4 dependency as php4 will soon be removed (Closes: #424826) -- Thomas Goirand Fri, 18 May 2007 12:39:10 +0800 php-xml-rss (0.9.10-1) unstable; urgency=low * Initial release (Closes: #404663) -- Thomas Goirand Fri, 15 Dec 2006 01:34:04 +0100 debian/watch0000644000000000000000000000015511757445315010234 0ustar version=3 http://pear.php.net/package/XML_RSS/download http://download.pear.php.net/package/XML_RSS-(.*).tgz debian/compat0000644000000000000000000000000211757445315010400 0ustar 7 debian/gbp.conf0000644000000000000000000000016411757445315010622 0ustar [DEFAULT] upstream-branch = upstream-sid debian-branch = debian-sid [git-buildpackage] export-dir = ../build-area/ debian/source/0000755000000000000000000000000011757445315010502 5ustar debian/source/format0000644000000000000000000000001411757445315011710 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001206611757445315011142 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: XML_RSS Upstream-Contact: Clay Loveless Martin Jansen Source: http://pear.php.net/package/XML_RSS/download Files: debian/* Copyright: (c) 2006-2011, Thomas Goirand License: BSD Files: * Copyright: (c) Clay Loveless (c) Martin Jansen License: PHP 3.01 License: BSD 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 name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 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 AUTHOR 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. License: PHP 3.01 This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available at through the world-wide-web at http://www.php.net/license/3_01.txt. . -------------------------------------------------------------------- The PHP License, version 3.01 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 software, 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 . . PHP includes the Zend Engine, freely available at . debian/patches/0000755000000000000000000000000011757445315010631 5ustar debian/patches/Fixes-PHPUnit-tests-for-phpunit-3.6.patch0000644000000000000000000000244211757445315020134 0ustar Description: Fixes the unit tests so that they include properly phpunit 3.6 Author: Thomas Goirand Forwarded: no --- php-xml-rss-1.0.2.orig/XML_RSS-1.0.2/tests/AllTests.php +++ php-xml-rss-1.0.2/XML_RSS-1.0.2/tests/AllTests.php @@ -3,7 +3,7 @@ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'AllTests::main'); } -require_once 'PHPUnit/Framework.php'; +require_once 'PHPUnit/Autoload.php'; require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'XML_RSS_Infrastructure_Test.php'; --- php-xml-rss-1.0.2.orig/XML_RSS-1.0.2/tests/XML_RSS_Infrastructure_Test.php +++ php-xml-rss-1.0.2/XML_RSS-1.0.2/tests/XML_RSS_Infrastructure_Test.php @@ -18,7 +18,7 @@ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'XML_RSS_Infrastructure_Test::main'); } -require_once "PHPUnit/Framework.php"; +require_once "PHPUnit/Autoload.php"; require_once "XML/RSS.php"; /** --- php-xml-rss-1.0.2.orig/XML_RSS-1.0.2/tests/XML_RSS_Parsing_Test.php +++ php-xml-rss-1.0.2/XML_RSS-1.0.2/tests/XML_RSS_Parsing_Test.php @@ -18,7 +18,7 @@ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'XML_RSS_Parsing_Test::main'); } -require_once "PHPUnit/Framework.php"; +require_once "PHPUnit/Autoload.php"; require_once "XML/RSS.php"; /** debian/patches/series0000644000000000000000000000005211757445315012043 0ustar Fixes-PHPUnit-tests-for-phpunit-3.6.patch debian/rules0000755000000000000000000000042411757445315010262 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=phppear --with phppear pear_pkg = $(shell ls | grep XML_RSS) override_dh_link: dh_link -O--buildsystem=phppear ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) chmod +x ./debian/tests_run ./debian/tests_run $(pear_pkg) endif