Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: php-net-ldap2

php-net-ldap2 (2.2.0-3ubuntu2) cosmic; urgency=medium * debian/patches/phpunit7-compatibility.patch: assertTrue returns void. -- Iain Lane <iain@orangesquash.org.uk> Wed, 08 Aug 2018 11:00:25 +0100 php-net-ldap2 (2.2.0-3ubuntu1) bionic; urgency=medium * debian/patches/phpunit6_compatibility.patch: PHPUnit 6 has namespaced classes. -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Wed, 14 Feb 2018 13:06:16 -0800

Modifications :
  1. Download patch debian/tests/control

    --- 2.2.0-3/debian/tests/control 2016-06-24 06:23:45.000000000 +0000 +++ 2.2.0-3ubuntu2/debian/tests/control 2018-08-08 09:49:10.000000000 +0000 @@ -1,2 +1,2 @@ Test-Command: phpunit Net_LDAP2-*/tests -Depends: @, phpunit +Depends: @, phpunit (>= 7)
  2. Download patch debian/patches/phpunit6_compatibility.patch

    --- 2.2.0-3/debian/patches/phpunit6_compatibility.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2.2.0-3ubuntu2/debian/patches/phpunit6_compatibility.patch 2018-02-14 21:06:09.000000000 +0000 @@ -0,0 +1,79 @@ +Description: PHPUnit 6 has namespaced classes +Author: Nishanth Aravamudan <nish.aravamudan@canonical.com> +Forwarded: Will be done by Nishanth Aravamudan +Last-Update: 2018-02-14 + +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_EntryTest.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_EntryTest.php +@@ -24,8 +24,8 @@ class Net_LDAP2_EntryTest extends Net_LD + public static function main() { + require_once "PHPUnit/TextUI/TestRunner.php"; + +- $suite = new PHPUnit_Framework_TestSuite("Net_LDAP2_EntryTest"); +- $result = PHPUnit_TextUI_TestRunner::run($suite); ++ $suite = new PHPUnit\Framework\TestSuite("Net_LDAP2_EntryTest"); ++ $result = PHPUnit\TextUI\TestRunner::run($suite); + } + + /** +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_FilterTest.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_FilterTest.php +@@ -21,8 +21,8 @@ class Net_LDAP2_FilterTest extends Net_L + public static function main() { + require_once "PHPUnit/TextUI/TestRunner.php"; + +- $suite = new PHPUnit_Framework_TestSuite("Net_LDAP2_FilterTest"); +- $result = PHPUnit_TextUI_TestRunner::run($suite); ++ $suite = new PHPUnit\Framework\TestSuite("Net_LDAP2_FilterTest"); ++ $result = PHPUnit\TextUI\TestRunner::run($suite); + } + + /** +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_LDIFTest.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_LDIFTest.php +@@ -91,8 +91,8 @@ class Net_LDAP2_LDIFTest extends Net_LDA + public static function main() { + require_once "PHPUnit/TextUI/TestRunner.php"; + +- $suite = new PHPUnit_Framework_TestSuite("Net_LDAP2_LDIFTest"); +- $result = PHPUnit_TextUI_TestRunner::run($suite); ++ $suite = new PHPUnit\Framework\TestSuite("Net_LDAP2_LDIFTest"); ++ $result = PHPUnit\TextUI\TestRunner::run($suite); + } + + /** +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_RootDSETest.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_RootDSETest.php +@@ -16,8 +16,8 @@ class Net_LDAP2_RootDSETest extends Net_ + public static function main() { + require_once "PHPUnit/TextUI/TestRunner.php"; + +- $suite = new PHPUnit_Framework_TestSuite("Net_LDAP2_RootDSETest"); +- $result = PHPUnit_TextUI_TestRunner::run($suite); ++ $suite = new PHPUnit\Framework\TestSuite("Net_LDAP2_RootDSETest"); ++ $result = PHPUnit\TextUI\TestRunner::run($suite); + } + + /** +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_TestBase.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_TestBase.php +@@ -1,5 +1,5 @@ + <?php +-class Net_LDAP2_TestBase extends PHPUnit_Framework_TestCase ++class Net_LDAP2_TestBase extends PHPUnit\Framework\TestCase + { + public static function assertTrue($condition, $msg = null) + { +--- php-net-ldap2-2.2.0.orig/Net_LDAP2-2.2.0/tests/Net_LDAP2_UtilTest.php ++++ php-net-ldap2-2.2.0/Net_LDAP2-2.2.0/tests/Net_LDAP2_UtilTest.php +@@ -16,8 +16,8 @@ class Net_LDAP2_UtilTest extends Net_LDA + public static function main() { + require_once "PHPUnit/TextUI/TestRunner.php"; + +- $suite = new PHPUnit_Framework_TestSuite("Net_LDAP2_UtilTest"); +- $result = PHPUnit_TextUI_TestRunner::run($suite); ++ $suite = new PHPUnit\Framework\TestSuite("Net_LDAP2_UtilTest"); ++ $result = PHPUnit\TextUI\TestRunner::run($suite); + } + + /**
  3. Download patch debian/patches/phpunit7-compatibility.patch

    --- 2.2.0-3/debian/patches/phpunit7-compatibility.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2.2.0-3ubuntu2/debian/patches/phpunit7-compatibility.patch 2018-08-08 09:49:28.000000000 +0000 @@ -0,0 +1,23 @@ +Description: With phpunit7, $msg needs to be a string and the function needs to return void +Author: Iain Lane <iain.lane@canonical.com> +Forwarded: not-needed (upstream is dead) + +Index: b/Net_LDAP2-2.2.0/tests/Net_LDAP2_TestBase.php +=================================================================== +--- a/Net_LDAP2-2.2.0/tests/Net_LDAP2_TestBase.php ++++ b/Net_LDAP2-2.2.0/tests/Net_LDAP2_TestBase.php +@@ -1,12 +1,12 @@ + <?php + class Net_LDAP2_TestBase extends PHPUnit\Framework\TestCase + { +- public static function assertTrue($condition, $msg = null) ++ public static function assertTrue($condition, $msg = ''): void + { + if ($condition instanceof Net_LDAP2_Error) { + self::fail('Error: ' . $condition->getMessage()); + } +- return parent::assertTrue($condition, $msg); ++ parent::assertTrue($condition, $msg); + } + } + ?>
  4. Download patch debian/control

    --- 2.2.0-3/debian/control 2016-06-24 06:35:00.000000000 +0000 +++ 2.2.0-3ubuntu2/debian/control 2018-08-08 09:48:29.000000000 +0000 @@ -1,12 +1,13 @@ Source: php-net-ldap2 Section: php Priority: optional -Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org> Uploaders: Benoit Mortier <benoit.mortier@opensides.be>, Prach Pongpanich <prach@debian.org> Build-Depends: debhelper (>= 9), php-pear (>= 1.10.1), - phpunit, + phpunit (>= 7), pkg-php-tools (>= 1.32) Standards-Version: 3.9.8 Homepage: http://pear.php.net/package/Net_LDAP2/
  5. Download patch debian/patches/series

    --- 2.2.0-3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 2.2.0-3ubuntu2/debian/patches/series 2018-08-08 09:45:46.000000000 +0000 @@ -0,0 +1,2 @@ +phpunit6_compatibility.patch +phpunit7-compatibility.patch
  1. php-net-ldap2