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: xdelta3

xdelta3 (3.0.11-dfsg-1ubuntu1) zesty; urgency=medium * debian/rules: Run tests during build. * debian/patches/skip_permission_tests_when_root: Skip no_output tests when running as root or under fakeroot, since they rely on getting an EPERM when trying to write to a mode 0000 file. -- William Grant <wgrant@ubuntu.com> Tue, 06 Dec 2016 13:04:51 +1100

Modifications :
  1. Download patch debian/rules

    --- 3.0.11-dfsg-1/debian/rules 2016-02-10 20:33:48.000000000 +0000 +++ 3.0.11-dfsg-1ubuntu1/debian/rules 2016-12-06 02:04:51.000000000 +0000 @@ -3,3 +3,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +build/xdelta3:: + ./xdelta3regtest +endif
  2. Download patch debian/patches/skip_permission_tests_when_root

    --- 3.0.11-dfsg-1/debian/patches/skip_permission_tests_when_root 1970-01-01 00:00:00.000000000 +0000 +++ 3.0.11-dfsg-1ubuntu1/debian/patches/skip_permission_tests_when_root 2016-12-06 02:04:49.000000000 +0000 @@ -0,0 +1,20 @@ +Index: xdelta3-3.0.11-dfsg/xdelta3-test.h +=================================================================== +--- xdelta3-3.0.11-dfsg.orig/xdelta3-test.h ++++ xdelta3-3.0.11-dfsg/xdelta3-test.h +@@ -2950,7 +2950,14 @@ xd3_selftest (void) + #if SHELL_TESTS + DO_TEST (force_behavior, 0, 0); + DO_TEST (stdout_behavior, 0, 0); +- DO_TEST (no_output, 0, 0); ++ ++ // The no_output tests rely on writing to a mode 0000 file failing, ++ // which isn't the case when running as root or under fakeroot. ++ if (geteuid() != 0) ++ { ++ DO_TEST (no_output, 0, 0); ++ } ++ + DO_TEST (appheader, 0, 0); + DO_TEST (command_line_arguments, 0, 0); +
  3. Download patch debian/control

    --- 3.0.11-dfsg-1/debian/control 2016-02-27 12:01:04.000000000 +0000 +++ 3.0.11-dfsg-1ubuntu1/debian/control 2016-12-06 02:04:51.000000000 +0000 @@ -2,7 +2,8 @@ Source: xdelta3 Section: utils Priority: optional XS-Python-Version: all -Maintainer: A Mennucc1 <mennucc1@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: A Mennucc1 <mennucc1@debian.org> Build-Depends: cdbs, debhelper, liblzma-dev Standards-Version: 3.9.6.0
  4. Download patch .pc/applied-patches

    --- 3.0.11-dfsg-1/.pc/applied-patches 2016-12-10 18:40:29.056425948 +0000 +++ 3.0.11-dfsg-1ubuntu1/.pc/applied-patches 2016-12-10 18:40:29.320433111 +0000 @@ -1,2 +1,3 @@ unversioned_shebangs.diff manpage_lzma +skip_permission_tests_when_root
  5. Download patch .pc/skip_permission_tests_when_root/xdelta3-test.h
  6. Download patch debian/patches/series

    --- 3.0.11-dfsg-1/debian/patches/series 2016-02-27 12:27:27.000000000 +0000 +++ 3.0.11-dfsg-1ubuntu1/debian/patches/series 2016-12-06 02:03:26.000000000 +0000 @@ -4,3 +4,4 @@ manpage_lzma +skip_permission_tests_when_root
  7. Download patch xdelta3-test.h

    --- 3.0.11-dfsg-1/xdelta3-test.h 2015-11-11 07:04:13.000000000 +0000 +++ 3.0.11-dfsg-1ubuntu1/xdelta3-test.h 2016-12-10 18:40:29.000000000 +0000 @@ -2950,7 +2950,14 @@ xd3_selftest (void) #if SHELL_TESTS DO_TEST (force_behavior, 0, 0); DO_TEST (stdout_behavior, 0, 0); - DO_TEST (no_output, 0, 0); + + // The no_output tests rely on writing to a mode 0000 file failing, + // which isn't the case when running as root or under fakeroot. + if (geteuid() != 0) + { + DO_TEST (no_output, 0, 0); + } + DO_TEST (appheader, 0, 0); DO_TEST (command_line_arguments, 0, 0);
  1. xdelta3