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

aptitude (0.8.10-6ubuntu1) bionic; urgency=low * Merge from Debian unstable. Remaining changes: - Drop aptitude-doc to Suggests. - 03_branding: Ubuntu branding. - 04_changelog: Take changelogs from changelogs.ubuntu.com. - 14_html2text_preferred: Switch back to html2text in favor of elinks, since html2text is in main and elinks isn't. Convert all files to utf-8 encoding as it is better then ascii for iso-8859-1 (English docs). - Try forcing -O2 build, to resolve FTBFS on ppc64el. -- Julian Andres Klode <juliank@ubuntu.com> Fri, 19 Jan 2018 12:30:23 +0100

Modifications :
  1. Download patch debian/rules

    --- 0.8.10-6/debian/rules 2018-01-16 21:25:37.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/rules 2018-01-17 04:15:26.000000000 +0000 @@ -9,6 +9,10 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_O DEB_CXXFLAGS_MAINT_APPEND += -fno-inline endif +DEB_CXXFLAGS_MAINT_APPEND += -std=c++14 + +DEB_CXXFLAGS_MAINT_APPEND += -O2 + export DEB_CXXFLAGS_MAINT_APPEND ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
  2. Download patch debian/patches/14_html2text_preferred

    --- 0.8.10-6/debian/patches/14_html2text_preferred 1970-01-01 00:00:00.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/patches/14_html2text_preferred 2016-09-06 12:45:46.000000000 +0000 @@ -0,0 +1,91 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14_html2text_preferred.dpatch by Steve Langasek <steve.langasek@ubuntu.com> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Switch back to using html2text, not elinks, which is not in main in +## DP: Ubuntu + +@DPATCH@ +--- + doc/aptitude-txt.style | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ + doc/html-to-text | 8 +++++- + 2 files changed, 68 insertions(+), 1 deletion(-) + +--- /dev/null ++++ b/doc/aptitude-txt.style +@@ -0,0 +1,61 @@ ++ ++/* these are the defaults uses in '-style pretty' mode */ ++ ++A.attributes.internal_link = NONE ++A.attributes.external_link = NONE ++ ++OL.TYPE = 1 ++OL.vspace.before = 1 ++OL.vspace.after = 1 ++OL.indents = 5 ++UL.vspace.before = 1 ++UL.vspace.after = 1 ++UL.indents = 2 ++DL.vspace.before = 1 ++DL.vspace.after = 1 ++DT.vspace.before = 1 ++DIR.vspace.before = 1 ++DIR.indents = 2 ++MENU.vspace.before = 1 ++MENU.vspace.after = 1 ++DT.indent = 2 ++DD.indent = 6 ++I.attributes = UNDERLINE ++HR.marker = - ++H1.prefix = ++H2.prefix = ++H3.prefix = ++H4.prefix = ++H5.prefix = ++H6.prefix = ++H1.suffix = ++H2.suffix = ++H3.suffix = ++H4.suffix = ++H5.suffix = ++H6.suffix = ++H1.vspace.before = 2 ++H2.vspace.before = 1 ++H3.vspace.before = 1 ++H4.vspace.before = 1 ++H5.vspace.before = 1 ++H6.vspace.before = 1 ++H1.vspace.after = 1 ++H2.vspace.after = 1 ++H3.vspace.after = 1 ++H4.vspace.after = 1 ++H5.vspace.after = 1 ++H6.vspace.after = 1 ++TABLE.vspace.before = 1 ++TABLE.vspace.after = 1 ++CODE.vspace.before = 0 ++CODE.vspace.after = 0 ++BLOCKQUOTE.vspace.before = 1 ++BLOCKQUOTE.vspace.after = 1 ++/*PRE.vspace.before = 1 ++PRE.vspace.after = 1*/ ++PRE.indent.left = 0 ++P.vspace.after = 1 ++IMG.replace.noalt = [IMAGE] ++IMG.alt.prefix = \ ++IMG.alt.suffix = \ +--- a/doc/html-to-text ++++ b/doc/html-to-text +@@ -8,4 +8,10 @@ + in="$1" + encoding=$2 + +-exec elinks -dump -dump-charset $encoding -no-references -no-numbering "$in" ++#exec elinks -dump -dump-charset $encoding -no-references -no-numbering "$in" ++DIR=$(dirname $0) ++exec html2text -width 80 -utf8 -nobs -rcfile "$DIR/aptitude-txt.style" "$1" ++ ++# html2text has -ascii and -utf8 encodings only ++# aptitude documentation is in iso-8859-1 (en) and utf-8 (rest of languages) ++# so we can assume utf-8 for all of them
  3. Download patch debian/patches/fix-missing-mkinstalldirs.patch

    --- 0.8.10-6/debian/patches/fix-missing-mkinstalldirs.patch 2018-01-16 21:25:37.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/patches/fix-missing-mkinstalldirs.patch 2018-01-17 04:15:26.000000000 +0000 @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -13,6 +13,7 @@ +@@ -13,6 +13,7 @@ AM_GNU_GETTEXT([external]) dnl Checks for programs. AC_PROG_CXX AC_PROG_RANLIB @@ -10,7 +10,7 @@ AC_PATH_PROG(XSLTPROC, xsltproc) --- a/po/Makefile.in.in +++ b/po/Makefile.in.in -@@ -29,8 +29,7 @@ +@@ -29,8 +29,7 @@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -20,7 +20,7 @@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ -@@ -171,7 +170,7 @@ +@@ -171,7 +170,7 @@ install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ @@ -29,7 +29,7 @@ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ -@@ -184,13 +183,13 @@ +@@ -184,13 +183,13 @@ install-data: install-data-@USE_NLS@ fi install-data-no: all install-data-yes: all @@ -45,7 +45,7 @@ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ -@@ -230,19 +229,19 @@ +@@ -230,19 +229,19 @@ installdirs: installdirs-exec installdir installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \
  4. Download patch debian/control

    --- 0.8.10-6/debian/control 2018-01-16 21:26:23.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/control 2018-01-19 11:30:23.000000000 +0000 @@ -1,7 +1,8 @@ Source: aptitude Section: admin Priority: optional -Maintainer: Aptitude Development Team <aptitude-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Aptitude Development Team <aptitude-devel@lists.alioth.debian.org> Uploaders: Manuel A. Fernandez Montecelo <mafm@debian.org>, Axel Beckert <abe@debian.org> Build-Depends: debhelper (>= 11~), @@ -25,7 +26,7 @@ Build-Depends: debhelper (>= 11~), Build-Depends-Indep: docbook-xml, docbook-xsl, - elinks, + html2text, librsvg2-bin, po4a, xsltproc,
  5. Download patch debian/patches/03_branding

    --- 0.8.10-6/debian/patches/03_branding 1970-01-01 00:00:00.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/patches/03_branding 2018-01-03 22:11:15.000000000 +0000 @@ -0,0 +1,80 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_branding.dpatch by <egon@localhost.localdomain> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +--- a/section-descriptions ++++ b/section-descriptions +@@ -22,13 +22,13 @@ Aptitude::Sections + + admin "Administrative utilities (install software, manage users, etc)\n Packages in the 'admin' section allow you to perform administrative tasks such as installing software, managing users, configuring and monitoring your system, examining network traffic, and so on."; + alien "Packages converted from foreign formats (rpm, tgz, etc)\n Packages in the 'alien' section were created by the 'alien' program from a non-Debian package format such as RPM"; +- base "The Debian base system\n Packages in the 'base' section are part of the initial system installation."; ++ base "The Ubuntu base system\n Packages in the 'base' section are part of the initial system installation."; + cli-mono "Mono and the Common Language Infrastructure\n Packages in the 'cli-mono' section provide open source implementation of Microsoft's .NET development framework based on the ECMA standards for C# and the Common Language Runtime. Unless you are a .NET programmer, you don't need to install packages from this section explicitly; the package system will install them if they are required."; + comm "Programs for faxmodems and other communication devices\n Packages in the 'comm' section are used to control modems and other hardware communications devices. This includes software to control faxmodems (for instance, PPP for dial-up internet connections and programs originally written for that purpose, such as zmodem/kermit), as well as software to control cellular phones, interface with FidoNet, and run a BBS."; + database "Database servers and tools\n Packages in the 'database' section contain database engines such as PostgreSQL and SQLite, database clients, and database management tools."; + debug "Debugging symbols\n Packages in the 'debug' section contain files required for debugging programs. You don't need packages from this section unless you want to debug a particular piece of software."; + devel "Utilities and programs for software development\n Packages in the 'devel' section are used to write new software and work on existing software. Non-programmers who do not compile their own software probably do not need much software from this section.\n .\n It includes compilers, debugging tools, programmer's editors, source processing tools, and other things related to software development."; +- doc "Documentation and specialized programs for viewing documentation\n Packages in the 'doc' section document parts of the Debian system, or are viewers for documentation formats."; ++ doc "Documentation and specialized programs for viewing documentation\n Packages in the 'doc' section document parts of the Ubuntu system, or are viewers for documentation formats."; + editors "Text editors and word processors\n Packages in the 'editors' section allow you to edit plain ASCII text. These are not necessarily word processors, although some word processors may be found in this section."; + education "Software, documentation or data related to educational activities\n Packages in the 'education' section are related to educational activities."; + electronics "Programs for working with circuits and electronics\n Packages in the 'electronics' section include circuit design tools, simulators and assemblers for microcontrollers, and other related software."; +@@ -60,7 +60,7 @@ Aptitude::Sections + net "Programs to connect to and provide various services\n Packages in the 'net' section include clients and servers for many protocols, tools to manipulate and debug low-level network protocols, IM systems, and other network-related software."; + news "Usenet clients and servers\n Packages in the 'news' section are related to the Usenet distributed news system. They include news readers and news servers."; + ocaml "OCaml programming language and libraries\n Packages in the 'ocaml' section provide the OCaml programming language and many third-party libraries for it. Unless you are a OCaml programmer, you don't need to install packages from this section explicitly; the package system will install them if they are required."; +- oldlibs "Obsolete libraries\n Packages in the 'oldlibs' section are obsolete and should not be used by new software. They are provided for compatibility reasons, or because software distributed by Debian still requires them.\n .\n With very few exceptions, you should not need to explicitly install a package from this section; the package system will install them as required to fulfill dependencies."; ++ oldlibs "Obsolete libraries\n Packages in the 'oldlibs' section are obsolete and should not be used by new software. They are provided for compatibility reasons, or because software distributed by Ubuntu still requires them.\n .\n With very few exceptions, you should not need to explicitly install a package from this section; the package system will install them as required to fulfill dependencies."; + otherosfs "Emulators and software to read foreign filesystems\n Packages in the 'otherosfs' section emulate hardware and operating systems and provide tools for transferring data between different operating systems and hardware platforms. (for instance, utilities to read DOS floppies, and utilities to communicate with Palm Pilots)\n .\n It is worth noting that CD burning software is included in THIS section."; + perl "Perl programming language and libraries\n Packages in the 'perl' section provide the Perl programming language and many third-party libraries for it. Unless you are a Perl programmer, you don't need to install packages from this section explicitly; the package system will install them if they are required."; + php "PHP programming language and libraries\n Packages in the 'php' section provide the PHP programming language and many third-party libraries for it. Unless you are a PHP programmer, you don't need to install packages from this section explicitly; the package system will install them if they are required."; +@@ -80,8 +80,9 @@ Aptitude::Sections + xfce "The Xfce Desktop Environment\n Xfce is a collection of software which provides an easy-to-use desktop. Packages in the 'xfce' section are part of the Xfce environment or closely integrated into it."; + zope "Zope/Plone framework\n Packages in the 'zope' section provide application server for building content management systems, intranets, portals, and custom applications. One such a content management system build upon Zope is Plone."; + +- main "The main Debian archive\n The Debian distribution consists of packages from the 'main' section. Every package in 'main' is Free Software.\n .\n For more information about what Debian considers to be Free Software, see http://www.debian.org/social_contract#guidelines"; +- contrib "Programs which depend on software not in Debian\n Packages in the 'contrib' section are not part of Debian.\n .\n These packages are Free Software, but they depend on software which is not part of Debian. This may be because it is not Free Software, but is packaged in the non-free section of the archive, because Debian cannot distribute it at all, or (in rare cases) because no-one has packaged it yet.\n .\n For more information about what Debian considers to be Free Software, see http://www.debian.org/social_contract#guidelines"; +- non-free "Programs which are not free software\n Packages in the 'non-free' section are not part of Debian.\n .\n These packages fail to meet one or more of the requirements of the Debian Free Software Guidelines (see below). You should read the license of programs in this section to be sure that you are allowed to use them in the way you intend.\n .\n For more information about what Debian considers to be Free Software, see http://www.debian.org/social_contract#guidelines"; ++ main "Fully supported Free Software.\n .\nUbuntu software in the \"main\" component is fully supported, and is Free Software. Not only is this software freely available, it comes with signficant rights for you to modify it, improve it and share it. Read more about the Ubuntu manifesto and licence policy at http://www.ubuntulinux.org/ubuntu/licensing/"; ++ restricted "Binary-only device drivers.\n .\nThe \"restricted\" component of Ubuntu consists of device drivers that are only available in binary form, and cannot be modified. We provide these solely because it is the only way to make the rest of Ubuntu run on certain hardware, we recommend you determine whether or not you need this, and if not, to remove it."; ++ universe "Unsupported Free Software.\n .\nUbuntu software in the \"universe\" component is Free Software, but does not receive the same level of testing and polish that software in the \"main\" component receives. The Ubuntu team does not review this software for security, nor does it provide any assurance of ongoing security updates after release."; ++ multiverse "Unsupported Non-free Software.\n .\nSoftware in the \"multiverse\" component has not been determined to be Free Software, please make certain that you verify your rights to use this software and comply with the licensing terms of the copyright holder. This software receives no support and usually cannot be fixed or updated. Use it at your own risk on your own advice."; + }; + }; +--- a/src/gtk/previewtab.cc ++++ b/src/gtk/previewtab.cc +@@ -94,7 +94,7 @@ namespace gui + // be in common code. + const char * const PreviewView::Generator::child_names[num_pkg_action_states]= + { +- N_("Packages with unsatisfied dependencies\n The dependency requirements of these packages will be unmet after the install is complete.\n .\n The presence of this tree probably indicates that something is broken, either on your system or in the Debian archive."), ++ N_("Packages with unsatisfied dependencies\n The dependency requirements of these packages will be unmet after the install is complete.\n .\n The presence of this tree probably indicates that something is broken, either on your system or in the Ubuntu archive."), + N_("Packages being removed because they are no longer used\n These packages are being deleted because they were automatically installed to fulfill dependencies, and the planned action will result in no installed package declaring an 'important' dependency on them.\n"), + N_("Packages being automatically held in their current state\n These packages could be upgraded, but they have been kept in their current state to avoid breaking dependencies."), + N_("Packages being automatically installed to satisfy dependencies\n These packages are being installed because they are required by another package you have chosen for installation."), +--- a/src/pkg_grouppolicy.cc ++++ b/src/pkg_grouppolicy.cc +@@ -459,9 +459,9 @@ public: + + const char * const pkg_grouppolicy_status::state_titles[numgroups] = + { +- N_("Security Updates\n Security updates for these packages are available from security.debian.org (or mirrors)."), ++ N_("Security Updates\n Security updates for these packages are available from security.ubuntu.com (or mirrors)."), + N_("Upgradable Packages\n A newer version of these packages is available."), +- N_("New Packages\n These packages have been added to Debian since the last time you cleared the list of \"new\" packages (choose \"Forget new packages\" from the Actions menu to empty this list)."), ++ N_("New Packages\n These packages have been added to Ubuntu since the last time you cleared the list of \"new\" packages (choose \"Forget new packages\" from the Actions menu to empty this list)."), + N_("Installed Packages\n These packages are currently installed on your computer."), + N_("Not Installed Packages\n These packages are not installed on your computer."), + N_("Obsolete and Locally Created Packages\n These packages are currently installed on your computer, but they are not available from any apt source. They may be obsolete and removed from the archive, or you may have built a private version of them yourself."), +@@ -687,7 +687,7 @@ public: + + const char * const pkg_grouppolicy_mode::child_names[num_pkg_action_states]= + { +- N_("Packages with unsatisfied dependencies\n The dependency requirements of these packages will be unmet after the install is complete.\n .\n The presence of this tree probably indicates that something is broken, either on your system or in the Debian archive."), ++ N_("Packages with unsatisfied dependencies\n The dependency requirements of these packages will be unmet after the install is complete.\n .\n The presence of this tree probably indicates that something is broken, either on your system or in the Ubuntu archive."), + N_("Packages being removed because they are no longer used\n These packages are being deleted because they were automatically installed to fulfill dependencies, and the planned action will result in no installed package declaring an 'important' dependency on them.\n"), + N_("Packages being automatically held in their current state\n These packages could be upgraded, but they have been kept in their current state to avoid breaking dependencies."), + N_("Packages being automatically installed to satisfy dependencies\n These packages are being installed because they are required by another package you have chosen for installation."),
  6. Download patch debian/patches/series

    --- 0.8.10-6/debian/patches/series 2018-01-16 21:25:37.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/patches/series 2018-01-17 04:15:26.000000000 +0000 @@ -1 +1,4 @@ +03_branding +04_changelog +14_html2text_preferred fix-missing-mkinstalldirs.patch
  7. Download patch debian/patches/04_changelog

    --- 0.8.10-6/debian/patches/04_changelog 1970-01-01 00:00:00.000000000 +0000 +++ 0.8.10-6ubuntu1/debian/patches/04_changelog 2018-01-03 22:11:27.000000000 +0000 @@ -0,0 +1,81 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_changelog.dpatch by <egon@localhost.localdomain> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +--- a/src/apt_options.cc ++++ b/src/apt_options.cc +@@ -302,7 +302,7 @@ option_item misc_options[]={ + "should only need to change this if the changelogs move " + "to a different URL."), + "APT::Changelogs::Server", +- "http://metadata.ftp-master.debian.org/changelogs"), ++ "http://changelogs.ubuntu.com/changelogs"), + option_item(N_("Display a preview of what will be done before doing it"), + N_("If this option is enabled, then when you ask " + "aptitude to perform an install run, it will " +--- a/src/cmdline/cmdline_changelog.cc ++++ b/src/cmdline/cmdline_changelog.cc +@@ -292,7 +292,7 @@ void do_cmdline_changelog(const vector<s + + if(access("/usr/bin/sensible-pager", X_OK)!=0) + { +- _error->Warning(_("Can't execute sensible-pager, is this a working Debian system?")); ++ _error->Warning(_("Can't execute sensible-pager, is this a working Ubuntu system?")); + + pager=getenv("PAGER"); + +--- a/src/generic/apt/pkg_changelog.cc ++++ b/src/generic/apt/pkg_changelog.cc +@@ -582,14 +582,14 @@ namespace aptitude + + // WATCH: apt/cmdline/apt-get.cc(DownloadChangelog) + string server = aptcfg->Find("APT::Changelogs::Server", +- "http://metadata.ftp-master.debian.org/changelogs"); +- string path = cw::util::ssprintf("%s/%s/%s/%s_%s", ++ "http://changelogs.ubuntu.com/changelogs"); ++ string path = cw::util::ssprintf("pool/%s/%s/%s/%s_%s", + realsection.c_str(), + prefix.c_str(), + source_package.c_str(), + source_package.c_str(), + realver.c_str()); +- uri = cw::util::ssprintf("%s/%s_changelog", ++ uri = cw::util::ssprintf("%s/%s/changelog", + server.c_str(), + path.c_str()); + } +@@ -688,8 +688,7 @@ bool check_valid_origin(const pkgCache:: + { + if (!vf.File().end() && + vf.File().Origin() && +- (string("Debian") == vf.File().Origin() || +- string("Debian Backports") == vf.File().Origin())) ++ (string("Ubuntu") == vf.File().Origin())) + { + return true; + } +--- a/src/view_changelog.cc ++++ b/src/view_changelog.cc +@@ -275,7 +275,7 @@ static void do_view_changelog(const stri + string menulabel = + ssprintf(_("Changelog of %s"), pkgname.c_str()); + string tablabel = ssprintf(_("%s changes"), pkgname.c_str()); +- string desclabel = _("View the list of changes made to this Debian package."); ++ string desclabel = _("View the list of changes made to this Ubuntu package."); + + cw::util::ref_ptr<aptitude::apt::changelog> changelog(aptitude::apt::parse_changelog(filename)); + cw::fragment *f = changelog.valid() ? render_changelog(changelog, curverstr) : NULL; +--- a/src/generic/apt/download_queue.cc ++++ b/src/generic/apt/download_queue.cc +@@ -870,7 +870,8 @@ namespace aptitude + + if (req.get_uri().find("/changelogs/") != std::string::npos) + { +- std::string uri_filename = req.get_uri().substr(req.get_uri().find_last_of("/") + 1); ++ auto last_slash = req.get_uri().find_last_of("/"); ++ std::string uri_filename = req.get_uri().substr(req.get_uri().find_last_of("/", last_slash - 1) + 1); + + std::regex underscore_regex("[^_]+"); + auto elem_begin = std::sregex_iterator(uri_filename.begin(), uri_filename.end(), underscore_regex);

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

Source: lintian

lintian (2.5.75ubuntu1) bionic; urgency=medium * Merge with Debian; remaining changes: - tests/binaries-general: Don't expect the binary-compiled-with-profiling-enabled tag with binutils 2.30. -- Matthias Klose <doko@ubuntu.com> Fri, 16 Feb 2018 11:38:42 +0700

Modifications :
  1. Download patch t/tests/binaries-general/post_test

    --- 2.5.75/t/tests/binaries-general/post_test 2018-02-14 14:24:49.000000000 +0000 +++ 2.5.75ubuntu1/t/tests/binaries-general/post_test 2018-02-16 04:38:42.000000000 +0000 @@ -1 +1,2 @@ /: hardening-.*/ d +/: binary-compiled-with-profiling-enabled.*/ d
  2. Download patch t/tests/binaries-general/desc

    --- 2.5.75/t/tests/binaries-general/desc 2018-02-14 14:24:49.000000000 +0000 +++ 2.5.75ubuntu1/t/tests/binaries-general/desc 2018-02-16 04:38:42.000000000 +0000 @@ -4,7 +4,6 @@ Description: Misc errors related to bina Architecture: any Test-For: arch-dependent-file-in-usr-share - binary-compiled-with-profiling-enabled binary-or-shlib-defines-rpath debug-file-should-use-detached-symbols debug-file-with-no-debug-symbols
  3. Download patch t/tests/binaries-general/tags

    --- 2.5.75/t/tests/binaries-general/tags 2018-02-14 14:24:49.000000000 +0000 +++ 2.5.75ubuntu1/t/tests/binaries-general/tags 2018-02-16 04:38:42.000000000 +0000 @@ -6,7 +6,6 @@ E: binaries-general: debug-symbols-direc E: binaries-general: library-in-debug-or-profile-should-not-be-stripped usr/lib/debug/usr/share/foo/basic E: binaries-general: statically-linked-binary usr/bin/static E: binaries-general: unstripped-binary-or-object usr/bin/unstripped -W: binaries-general: binary-compiled-with-profiling-enabled usr/share/foo/basic W: binaries-general: binary-without-manpage usr/bin/static W: binaries-general: binary-without-manpage usr/bin/unstripped W: binaries-general: debug-file-should-use-detached-symbols usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug

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

Source: zsh

zsh (5.4.2-3ubuntu1) bionic; urgency=low * Merge from Debian unstable. Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set. - Support cross-compiling: - Adjust upstream autoconf cross-compile default fallbacks. - Skip zcompile when cross-compiling. - Add libelf-dev dependency. -- Julian Andres Klode <juliank@ubuntu.com> Fri, 19 Jan 2018 10:11:06 +0100

Modifications :
  1. Download patch debian/rules

    --- 5.4.2-3/debian/rules 2017-12-30 06:25:44.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/rules 2018-01-19 09:09:13.000000000 +0000 @@ -6,6 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk H_LDFLAGS = $(LDFLAGS) @@ -94,6 +95,8 @@ override_dh_auto_install-indep: build-dy cd obj && $(MAKE) install.fns DESTDIR=$(CURDIR)/debian/zsh-common rm -r debian/zsh-common/usr/local +# move this to a non-root section; also drop it for cross-compiles +ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; \ /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } \ END { printf "%s/%s\n", head, tail; };' \ @@ -104,6 +107,7 @@ override_dh_auto_install-indep: build-dy zcompile -U -M $$i.zwc $$i/*~*.zwc(^/); \ chmod 644 $$i.zwc; \ done' +endif # Docs: Info + HTML cd obj && $(MAKE) install.info install.html \
  2. Download patch debian/control

    --- 5.4.2-3/debian/control 2017-12-30 06:25:44.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/control 2017-12-30 22:17:15.000000000 +0000 @@ -9,6 +9,7 @@ Build-Depends: bsdmainutils, groff, groff-base, libcap-dev [linux-any], + libelf-dev, libncursesw5-dev, libpcre3-dev, texinfo (>= 5~), @@ -16,7 +17,8 @@ Build-Depends: bsdmainutils, texlive-latex-base, texlive-latex-recommended, yodl (>= 3.08.01) | yodl (<< 3.08.00) -Maintainer: Debian Zsh Maintainers <pkg-zsh-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Zsh Maintainers <pkg-zsh-devel@lists.alioth.debian.org> Uploaders: Michael Prokop <mika@debian.org>, Axel Beckert <abe@debian.org>, Frank Terbeck <ft@bewatermyfriend.org>,
  3. Download patch debian/clean

    --- 5.4.2-3/debian/clean 2017-12-30 06:25:44.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/clean 2018-01-19 09:09:50.000000000 +0000 @@ -20,3 +20,4 @@ META-FAQ obj-static/ obj/ stamp-h.in +config.h.in
  4. Download patch debian/patches/cross-compile.diff

    --- 5.4.2-3/debian/patches/cross-compile.diff 1970-01-01 00:00:00.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/patches/cross-compile.diff 2016-08-23 10:35:26.000000000 +0000 @@ -0,0 +1,64 @@ +Description: Adjust cross-compile fallback values to yes. +Origin: commit, revision id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt +Author: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com> +Last-Update: 2012-12-20 +X-Bzr-Revision-Id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt + +=== modified file 'aczsh.m4' +--- old/aczsh.m4 2009-09-08 17:04:03 +0000 ++++ new/aczsh.m4 2012-12-20 15:33:57 +0000 +@@ -171,7 +171,7 @@ + } + ], [zsh_cv_shared_$1=yes], + [zsh_cv_shared_$1=no], +-[zsh_cv_shared_$1=no] ++[zsh_cv_shared_$1=yes] + ) + else + zsh_cv_shared_$1=no +@@ -242,7 +242,7 @@ + } + ], [zsh_cv_sys_dynamic_clash_ok=yes], + [zsh_cv_sys_dynamic_clash_ok=no], +-[zsh_cv_sys_dynamic_clash_ok=no] ++[zsh_cv_sys_dynamic_clash_ok=yes] + ) + else + zsh_cv_sys_dynamic_clash_ok=no +@@ -315,7 +315,7 @@ + } + ], [zsh_cv_sys_dynamic_rtld_global=yes], + [zsh_cv_sys_dynamic_rtld_global=no], +-[zsh_cv_sys_dynamic_rtld_global=no] ++[zsh_cv_sys_dynamic_rtld_global=yes] + ) + else + zsh_cv_sys_dynamic_rtld_global=no +@@ -384,7 +384,7 @@ + int fred () { return 42; } + ], [zsh_cv_sys_dynamic_execsyms=yes], + [zsh_cv_sys_dynamic_execsyms=no], +-[zsh_cv_sys_dynamic_execsyms=no] ++[zsh_cv_sys_dynamic_execsyms=yes] + ) + LDFLAGS=$save_ldflags + else +@@ -457,7 +457,7 @@ + int fred () { return 42; } + ], [zsh_cv_sys_dynamic_strip_exe=yes], + [zsh_cv_sys_dynamic_strip_exe=no], +-[zsh_cv_sys_dynamic_strip_exe=no] ++[zsh_cv_sys_dynamic_strip_exe=yes] + ) + LDFLAGS=$save_ldflags + else +@@ -522,7 +522,7 @@ + } + ], [zsh_cv_sys_dynamic_strip_lib=yes], + [zsh_cv_sys_dynamic_strip_lib=no], +-[zsh_cv_sys_dynamic_strip_lib=no] ++[zsh_cv_sys_dynamic_strip_lib=yes] + ) + else + zsh_cv_sys_dynamic_strip_lib=no +
  5. Download patch debian/patches/series

    --- 5.4.2-3/debian/patches/series 2017-08-10 16:06:06.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/patches/series 2018-01-19 09:03:14.000000000 +0000 @@ -1,2 +1,3 @@ further-mitigate-test-suite-hangs.patch update-debian-sections.patch +cross-compile.diff
  6. Download patch debian/zshrc

    --- 5.4.2-3/debian/zshrc 2017-08-10 15:09:51.000000000 +0000 +++ 5.4.2-3ubuntu1/debian/zshrc 2017-12-30 22:17:15.000000000 +0000 @@ -102,3 +102,11 @@ zstyle ':completion:*:sudo:*' command-pa (( ${+aliases[run-help]} )) && unalias run-help autoload -Uz run-help + +# If you don't want compinit called here, place the line +# skip_global_compinit=1 +# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofile +if [[ -z "$skip_global_compinit" ]]; then + autoload -U compinit + compinit +fi
  1. aptitude
  2. lintian
  3. zsh