diff -Nru debian-goodies-0.86/checkrestart debian-goodies-0.87/checkrestart --- debian-goodies-0.86/checkrestart 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/checkrestart 2020-12-25 03:43:36.000000000 +0000 @@ -568,6 +568,12 @@ # Skip memfd files if f.startswith('/memfd:'): return 0 + # Skip dovecot mail indexes + if f.endswith('/dovecot.index (deleted)') or f.endswith('/dovecot.index'): + return 0 + # Skip sssd cache + if f.startswith('/var/lib/sss/mc/'): + return 0 # Skip, if asked to, files that do not belong to any package if onlyPackageFiles: # Remove some lsof information from the file to ensure that it is diff -Nru debian-goodies-0.86/debian/changelog debian-goodies-0.87/debian/changelog --- debian-goodies-0.86/debian/changelog 2020-05-22 01:13:47.000000000 +0000 +++ debian-goodies-0.87/debian/changelog 2020-12-25 04:27:37.000000000 +0000 @@ -1,3 +1,32 @@ +debian-goodies (0.87) unstable; urgency=medium + + [ Paul Wise ] + * find-dbgsym-packages: print the command being executed + + [ Javier Fernández-Sanguino Peña ] + * checkrestart: Ignore deleted files in /var/lib/sss/mc/ as + these are caches from sssd using patch provided by + Baptiste Beauplat (Closes: #929802) + + [ Boyd Stephen Smith Jr. ] + * find-dbgsym-packages: Support 64-bit build-ids like in chromium. + (Closes: #977924) + + [ Axel Beckert ] + * Fix some rendering and consistency issues in find-dbgsym-packages(1). + * Declare compliance with Debian Policy 4.5.1. (No changes needed.) + * debmany: Bail out properly if neither whiptail nor dialog is + installed. Thanks to Jakub Wilk for the bug report! (Closes: #969024) + + [ Jakub Wilk ] + * debmany: use apt-helper for package downloads. (Closes: #969025) + + [ Christopher David Howie ] + * checkrestart: Don't flags dovecot for restart due to deleted + dovecot.index files. (Closes: #916825) + + -- Axel Beckert Fri, 25 Dec 2020 05:27:37 +0100 + debian-goodies (0.86) unstable; urgency=medium [ Paul Wise ] diff -Nru debian-goodies-0.86/debian/control debian-goodies-0.87/debian/control --- debian-goodies-0.86/debian/control 2020-05-21 20:07:28.000000000 +0000 +++ debian-goodies-0.87/debian/control 2020-12-25 01:37:02.000000000 +0000 @@ -8,7 +8,7 @@ help2man Vcs-Git: https://salsa.debian.org/debian/debian-goodies.git Vcs-Browser: https://salsa.debian.org/debian/debian-goodies -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Rules-Requires-Root: no Package: debian-goodies diff -Nru debian-goodies-0.86/debmany/debmany debian-goodies-0.87/debmany/debmany --- debian-goodies-0.86/debmany/debmany 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/debmany/debmany 2020-12-25 03:36:27.000000000 +0000 @@ -4,7 +4,7 @@ # description: select manpages+docs of any [not] installed Debian package # comment: debmany is based on the work of debman and debget # gui uses: whiptail (preferred), dialog or zenity as well -# other uses: curl, $PAGER or sensible-pager (can be overwritten: -o) +# other uses: apt, $PAGER or sensible-pager (can be overwritten: -o) # optional: -k -x: kfmclient exec (konqueror), xdg-open (xdg-utils) # This is free software. You may redistribute copies of it under the terms of # the GNU General Public License . @@ -152,7 +152,15 @@ fi else test -z "$package" && usage "You must specify one package or a Debian package file." - test -x $whiptail && cmd=$whiptail || cmd=$dialog + if [ -x $whiptail ]; then + cmd=$whiptail + elif [ -x $dialog ]; then + cmd=$dialog + else + echo "$0: Either whiptail or dialog is required." 1>&2 + echo "Please install at least one of them." 1>&2 + exit 2 + fi # determine the size of your terminal read y x <"$file" || error "Failed to download '$url' to '$file'." - status=repos-curl + debug "Mode3: Start download using APT" # comment + /usr/lib/apt/apt-helper download-file "$url" "$file" || error "Failed to download '$url' to '$file'." + status=repos-download fi fi cd "$temp" diff -Nru debian-goodies-0.86/debmany/man/debmany.1 debian-goodies-0.87/debmany/man/debmany.1 --- debian-goodies-0.86/debmany/man/debmany.1 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/debmany/man/debmany.1 2020-12-25 03:28:32.000000000 +0000 @@ -43,7 +43,7 @@ .PP The manpages are temporarily extracted to a temporary directory under /tmp (or /var/tmp, if /tmp is not a directory). You can override the path if you set and export the environment variable TMPDIR or set it as a temporary variable. .PP -You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "curl" installed. +You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "apt" installed. .SH "EXAMPLES" .TP debmany coreutils diff -Nru debian-goodies-0.86/debmany/man/debmany.de.1 debian-goodies-0.87/debmany/man/debmany.de.1 --- debian-goodies-0.86/debmany/man/debmany.de.1 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/debmany/man/debmany.de.1 2020-12-25 03:28:32.000000000 +0000 @@ -43,7 +43,7 @@ .PP Die Manpages werden temporär nach /tmp oder /var/tmp extrahiert. Durch das Setzen und Exportieren der Umgebungsvariable TMPDIR bzw. das Setzen als temporären Variable kann der Speicherort überschrieben werden. .PP -Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "curl" muss installiert sein. +Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "apt" muss installiert sein. .SH "BEISPIELE" .TP debmany coreutils diff -Nru debian-goodies-0.86/find-dbgsym-packages debian-goodies-0.87/find-dbgsym-packages --- debian-goodies-0.86/find-dbgsym-packages 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/find-dbgsym-packages 2020-12-25 01:34:04.000000000 +0000 @@ -144,6 +144,10 @@ } } + # Print the command that is being executed so + # that it is clear what password is needed + say("\$ @cmd"); + # Finally execute the command constructed above exec(@cmd); @@ -183,12 +187,13 @@ # 0x7f7f7235e000+0x17000 - /usr/share/locale/de/LC_MESSAGES/bash.mo - /usr/share/locale/de/LC_MESSAGES/bash.mo # 0x7ffd4098a000+0x2000 de7dac2df9f596f46fa94a387858ef25170603ec@0x7ffd4098a7d0 . - [vdso: 1740] # 0x7f37090fb000+0x2a000 dc5cb16f5e644116cac64a4c3f5da4d081b81a4f@0x7f37090fb248 - - /lib/x86_64-linux-gnu/ld-2.27.so (deleted) + # 0x562f3d01b000+0xa725000 9b43003ffd70d8db@0x562f3d01b34c /usr/lib/chromium/chromium /usr/lib/debug/.build-id/9b/43003ffd70d8db.debug /usr/lib/chromium/chromium if ($line =~ m{ ^(?: 0 | 0x[[:xdigit:]]+ ) [+] 0x[[:xdigit:]]+ \s+ - ( [[:xdigit:]]{40} [@] 0x[[:xdigit:]]+ | - ) + ( [[:xdigit:]]+ [@] 0x[[:xdigit:]]+ | - ) \s+ ( \S+ ) \s+ @@ -213,7 +218,7 @@ if ($id eq '-') { warn "W: No build-ID for $name\n"; next; - } elsif ($id =~ /^([[:xdigit:]]{40})[@]/) { + } elsif ($id =~ /^([[:xdigit:]]+)[@]/) { $id = $1; } else { die "BUG: id='$id'"; diff -Nru debian-goodies-0.86/find-dbgsym-packages.pod debian-goodies-0.87/find-dbgsym-packages.pod --- debian-goodies-0.86/find-dbgsym-packages.pod 2020-05-21 16:35:57.000000000 +0000 +++ debian-goodies-0.87/find-dbgsym-packages.pod 2020-12-25 01:32:31.000000000 +0000 @@ -35,15 +35,18 @@ =item C<--install> Don't display the list of required dbgsym packages but directly use -L to install them. If not being run as root and L is -installed, call C, else use C. +L to install them. (Shows the apt command being executed, +though.) If not being run as root and L is installed, call +C, else use C. =item C<--ssh> Use C instead of C or C. to gain administrative privileges. +This requires the package C and an SSH daemon +(e.g. C) to be installed (and running). + =item C<--deb> Generate a metapackage which depends on all the still needed debug symbol packages.