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

bash (5.0-6ubuntu1) focal; urgency=medium * Merge from Debian unstable. Remaining changes: - skel.bashrc: - Run lesspipe. - Enable ls aliases. - Set options in ll alias to -alF. - Define an alert alias. - Enabled colored grep aliases. - etc.bash.bashrc: - Add sudo hint. - Resurrect "Set the default path to comply with Debian policy" in deb-bash-config.diff. - Add autopkgtest for the built-in path. -- Matthias Klose <doko@ubuntu.com> Tue, 25 Feb 2020 13:03:22 +0100

Modifications :
  1. Download patch debian/tests/builtin-path.sh

    --- 5.0-6/debian/tests/builtin-path.sh 1970-01-01 00:00:00.000000000 +0000 +++ 5.0-6ubuntu1/debian/tests/builtin-path.sh 2019-05-03 13:31:21.000000000 +0000 @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +expected_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +actual_path=$(env -u PATH /bin/bash -c 'echo $PATH') +if [ "$expected_path" == "$actual_path" ] +then + echo OK +else + echo FAIL, expected + echo $expected_path + echo but got: + echo $actual_path + exit 1 +fi
  2. Download patch debian/tests/control

    --- 5.0-6/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ 5.0-6ubuntu1/debian/tests/control 2019-05-03 13:31:21.000000000 +0000 @@ -0,0 +1,2 @@ +Tests: builtin-path.sh +Depends: bash
  3. Download patch debian/skel.bashrc

    --- 5.0-6/debian/skel.bashrc 2015-01-28 16:34:29.000000000 +0000 +++ 5.0-6ubuntu1/debian/skel.bashrc 2019-11-10 16:42:52.000000000 +0000 @@ -28,7 +28,7 @@ shopt -s checkwinsize #shopt -s globstar # make less more friendly for non-text input files, see lesspipe(1) -#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then @@ -79,18 +79,22 @@ if [ -x /usr/bin/dircolors ]; then #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' - #alias grep='grep --color=auto' - #alias fgrep='fgrep --color=auto' - #alias egrep='egrep --color=auto' + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' fi # colored GCC warnings and errors #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' # some more ls aliases -#alias ll='ls -l' -#alias la='ls -A' -#alias l='ls -CF' +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' + +# Add an "alert" alias for long running commands. Use like so: +# sleep 10; alert +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' # Alias definitions. # You may want to put all your additions into a separate file like
  4. Download patch debian/patches/deb-bash-config.diff

    --- 5.0-6/debian/patches/deb-bash-config.diff 2018-06-01 18:33:31.000000000 +0000 +++ 5.0-6ubuntu1/debian/patches/deb-bash-config.diff 2019-11-10 16:42:53.000000000 +0000 @@ -15,20 +15,29 @@ # DP: - don't define a default DEFAULT_MAIL_DIRECTORY, because it # DP: can cause a timeout on NFS mounts. -Index: b/config-bot.h +Index: bash-5.0/config-bot.h =================================================================== ---- a/config-bot.h -+++ b/config-bot.h +--- bash-5.0.orig/config-bot.h ++++ bash-5.0/config-bot.h @@ -200,4 +200,4 @@ /******************************************************************/ /* If you don't want bash to provide a default mail file to check. */ -/* #undef DEFAULT_MAIL_DIRECTORY */ +#undef DEFAULT_MAIL_DIRECTORY -Index: b/config-top.h +Index: bash-5.0/config-top.h =================================================================== ---- a/config-top.h -+++ b/config-top.h +--- bash-5.0.orig/config-top.h ++++ bash-5.0/config-top.h +@@ -63,7 +63,7 @@ + /* The default value of the PATH variable. */ + #ifndef DEFAULT_PATH_VALUE + #define DEFAULT_PATH_VALUE \ +- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:." ++ "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + #endif + + /* If you want to unconditionally set a value for PATH in every restricted @@ -91,20 +91,20 @@ #define DEFAULT_BASHRC "~/.bashrc"
  5. Download patch debian/control

    --- 5.0-6/debian/control 2020-02-24 10:21:06.000000000 +0000 +++ 5.0-6ubuntu1/debian/control 2020-02-25 12:03:22.000000000 +0000 @@ -1,7 +1,8 @@ Source: bash Section: base Priority: required -Maintainer: Matthias Klose <doko@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Matthias Klose <doko@debian.org> Standards-Version: 4.5.0 Build-Depends: autoconf, autotools-dev, bison, libncurses5-dev, texinfo, texi2html, debhelper (>= 9.20160115~), gettext, sharutils,
  6. Download patch debian/autoreconf.after
  7. Download patch debian/autoreconf.before
  8. Download patch debian/etc.bash.bashrc

    --- 5.0-6/debian/etc.bash.bashrc 2018-02-06 10:51:32.000000000 +0000 +++ 5.0-6ubuntu1/debian/etc.bash.bashrc 2019-11-10 16:42:52.000000000 +0000 @@ -40,6 +40,19 @@ fi # fi #fi +# sudo hint +if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then + case " $(groups) " in *\ admin\ *|*\ sudo\ *) + if [ -x /usr/bin/sudo ]; then + cat <<-EOF + To run a command as administrator (user "root"), use "sudo <command>". + See "man sudo_root" for details. + + EOF + fi + esac +fi + # if the command-not-found package is installed, use it if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then function command_not_found_handle {

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

Source: bash-completion

bash-completion (1:2.10-1ubuntu1) focal; urgency=low * Merge from Debian unstable. Remaining changes: - Add 15-add_backslash_for_tilde.patch: Adding backslash makes sure that tilde is not special character for bash, but character for purpose. -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 01 Feb 2020 21:31:16 -0800

Modifications :
  1. Download patch debian/control

    --- 1:2.10-1/debian/control 2020-01-24 22:23:54.000000000 +0000 +++ 1:2.10-1ubuntu1/debian/control 2020-01-26 03:42:17.000000000 +0000 @@ -1,7 +1,8 @@ Source: bash-completion Section: shells Priority: standard -Maintainer: Gabriel F. T. Gomes <gabriel@inconstante.net.br> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Gabriel F. T. Gomes <gabriel@inconstante.net.br> Build-Depends: debhelper (>= 11~) Build-Depends-Indep: perl Standards-Version: 4.4.0
  2. Download patch debian/patches/series

    --- 1:2.10-1/debian/patches/series 2020-01-25 19:28:46.000000000 +0000 +++ 1:2.10-1ubuntu1/debian/patches/series 2020-01-26 03:42:18.000000000 +0000 @@ -2,4 +2,5 @@ 04-xine_add_more_formats.patch 06-xpdf_support_compressed_pdf.patch 07-dpkg_support_raw-extract_vextract.patch +15-add_backslash_for_tilde.patch 11-add-completions-for-openrc-rc-service.patch
  3. Download patch debian/patches/15-add_backslash_for_tilde.patch

    --- 1:2.10-1/debian/patches/15-add_backslash_for_tilde.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.10-1ubuntu1/debian/patches/15-add_backslash_for_tilde.patch 2018-04-02 02:16:46.000000000 +0000 @@ -0,0 +1,24 @@ +Description: Fix Slow bash completion with AD authentication + There is hang when using ~ bash-completion with AD + Add backslash for ~ to specify ~ is special character +Author: Ove Risberg +Origin: other, https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1390061 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1390061 +Reviewed-by: Seyeong Kim <seyeong.kim@canonical.com> +Last-Update: 2014-11-06 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/bash_completion ++++ b/bash_completion +@@ -542,9 +542,9 @@ + elif [[ $1 == \'* ]]; then + # Leave out first character + printf -v $2 %s "${1:1}" +- elif [[ $1 == ~* ]]; then ++ elif [[ $1 == \~* ]]; then + # avoid escaping first ~ +- printf -v $2 ~%q "${1:1}" ++ printf -v $2 \~%q "${1:1}" + else + printf -v $2 %q "$1" + fi
  1. bash
  2. bash-completion