diff -Nru switchsh-0~20070801/debian/changelog switchsh-0~20070801/debian/changelog --- switchsh-0~20070801/debian/changelog 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/changelog 2017-01-26 00:02:17.000000000 +0000 @@ -1,3 +1,30 @@ +switchsh (0~20070801-4) unstable; urgency=medium + + * Acknowledge the NMU changes + + Thanks Gilles Filippini and Chris Lamb + * debian/control: + + Use my debian email address + + Drop DM-Upload-Allowed flag + + Bump Standards-Version, no change needed + + Update versioned dependency on debhelper + + Drop dependency on quilt + + Update the VCS URLs and make them use https + * debian/compat: + + Bump debhelper compat level to 10 + * debian/source/format: + + Switch to format 3.0 quilt + * debian/switchsh.1: correct spelling mistake + * debian/postinst: + + Do not use dpkg-statoverride to make switchsh setuid + (Closes: #562826) + + Remove any existing dpkg-statoverride if it matches the one we + used to set + * debian/postrm: + + Drop it as it is now obsolete + * debian/rules: install switchsh as setuid + + -- Raphael Geissert Thu, 26 Jan 2017 01:02:17 +0100 + switchsh (0~20070801-3.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru switchsh-0~20070801/debian/compat switchsh-0~20070801/debian/compat --- switchsh-0~20070801/debian/compat 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/compat 2017-01-25 23:32:16.000000000 +0000 @@ -1 +1 @@ -5 \ No newline at end of file +10 diff -Nru switchsh-0~20070801/debian/control switchsh-0~20070801/debian/control --- switchsh-0~20070801/debian/control 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/control 2017-01-25 23:38:48.000000000 +0000 @@ -1,13 +1,12 @@ Source: switchsh Section: utils Priority: optional -Maintainer: Raphael Geissert -Build-Depends: debhelper (>= 5), cdbs, quilt -Standards-Version: 3.8.0 +Maintainer: Raphael Geissert +Build-Depends: debhelper (>= 10), cdbs +Standards-Version: 3.9.8 Homepage: http://www.linux.it/~md/software/ -XS-DM-Upload-Allowed: yes -Vcs-Git: git://git.debian.org/git/users/atomo64-guest/switchsh.git -Vcs-Browser: http://git.debian.org/?p=users/atomo64-guest/switchsh.git +Vcs-Git: https://anonscm.debian.org/git/git/users/atomo64-guest/switchsh.git +Vcs-Browser: https://anonscm.debian.org/git/users/atomo64-guest/switchsh.git Package: switchsh Architecture: any diff -Nru switchsh-0~20070801/debian/postinst switchsh-0~20070801/debian/postinst --- switchsh-0~20070801/debian/postinst 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/postinst 2017-01-25 23:47:27.000000000 +0000 @@ -4,8 +4,10 @@ bin=/usr/bin/switchsh -if [ "$1" = "configure" ] && ! dpkg-statoverride --list $bin >/dev/null 2>&1; then - dpkg-statoverride --update --add root root 4755 $bin +if [ "$1" = "configure" ] && output="$(LC_ALL=C dpkg-statoverride --list $bin)"; then + if [ "$output" = "root root 4755 $bin" ]; then + dpkg-statoverride --remove $bin + fi fi #DEBHELPER# diff -Nru switchsh-0~20070801/debian/postrm switchsh-0~20070801/debian/postrm --- switchsh-0~20070801/debian/postrm 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ]; then - dpkg-statoverride --remove /usr/bin/switchsh || test $? -eq 2 -fi - -#DEBHELPER# diff -Nru switchsh-0~20070801/debian/rules switchsh-0~20070801/debian/rules --- switchsh-0~20070801/debian/rules 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/rules 2017-01-25 23:59:46.000000000 +0000 @@ -4,14 +4,17 @@ CFLAGS += $(shell dpkg-buildflags --get CFLAGS) -pedantic -Werror -Wextra -Wformat -Wformat-security +DEB_FIXPERMS_EXCLUDE = usr/bin/switchsh +export DEB_FIXPERMS_EXCLUDE + include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk build/switchsh:: $(CC) $(CFLAGS) -s switchsh.c -o switchsh install/switchsh:: cp switchsh $(DEB_DESTDIR)/usr/bin/ + chmod 4755 $(DEB_DESTDIR)/usr/bin/switchsh clean:: $(RM) switchsh diff -Nru switchsh-0~20070801/debian/source/format switchsh-0~20070801/debian/source/format --- switchsh-0~20070801/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ switchsh-0~20070801/debian/source/format 2017-01-25 23:34:02.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru switchsh-0~20070801/debian/switchsh.1 switchsh-0~20070801/debian/switchsh.1 --- switchsh-0~20070801/debian/switchsh.1 2017-01-26 07:13:08.000000000 +0000 +++ switchsh-0~20070801/debian/switchsh.1 2017-01-25 23:37:06.000000000 +0000 @@ -23,7 +23,7 @@ .SH DESCRIPTION .B switchsh executes the given command bind-mounting bash as /bin/sh. This permits the usage -of bashisms by the command or its childs while having /bin/sh linked to whatever +of bashisms by the command or its children while having /bin/sh linked to whatever shell interpreter is linked. .SH AUTHOR .TP diff -Nru switchsh-0~20070801/debian/switchsh.lintian-overrides switchsh-0~20070801/debian/switchsh.lintian-overrides --- switchsh-0~20070801/debian/switchsh.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ switchsh-0~20070801/debian/switchsh.lintian-overrides 2017-01-26 00:01:07.000000000 +0000 @@ -0,0 +1 @@ +switchsh: setuid-binary usr/bin/switchsh 4755 root/root