diff -Nru patator-0.6/debian/changelog patator-0.6/debian/changelog --- patator-0.6/debian/changelog 2016-11-03 16:14:24.000000000 +0000 +++ patator-0.6/debian/changelog 2017-08-26 11:35:18.000000000 +0000 @@ -1,3 +1,12 @@ +patator (0.6-3) unstable; urgency=medium + + * Team upload. + * Improve usage output. + * Bump Standards-Version to 4.1.0. + * Bump debhelper compat level to 10. + + -- Raphaƫl Hertzog Sat, 26 Aug 2017 13:35:18 +0200 + patator (0.6-2) unstable; urgency=medium [ Gianfranco Costamagna ] diff -Nru patator-0.6/debian/compat patator-0.6/debian/compat --- patator-0.6/debian/compat 2016-11-03 16:14:24.000000000 +0000 +++ patator-0.6/debian/compat 2017-08-26 11:35:18.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru patator-0.6/debian/control patator-0.6/debian/control --- patator-0.6/debian/control 2016-11-03 16:14:24.000000000 +0000 +++ patator-0.6/debian/control 2017-08-26 11:35:18.000000000 +0000 @@ -3,8 +3,8 @@ Priority: extra Maintainer: Debian Security Tools Packaging Team Uploaders: Hugo Lefeuvre -Build-Depends: debhelper (>= 9) -Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 10) +Standards-Version: 4.1.0 Homepage: https://github.com/lanjelot/patator Vcs-Git: https://anonscm.debian.org/git/pkg-security/patator.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-security/patator.git/ diff -Nru patator-0.6/debian/patches/Improve-usage-output-to-report-correct-executable-name.patch patator-0.6/debian/patches/Improve-usage-output-to-report-correct-executable-name.patch --- patator-0.6/debian/patches/Improve-usage-output-to-report-correct-executable-name.patch 1970-01-01 00:00:00.000000000 +0000 +++ patator-0.6/debian/patches/Improve-usage-output-to-report-correct-executable-name.patch 2017-08-26 11:35:18.000000000 +0000 @@ -0,0 +1,39 @@ +From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= +Date: Sat, 26 Aug 2017 13:33:47 +0200 +Subject: Improve usage output to report correct executable name + +When patator.py is installed as "patator" it now correctly displays +"patator". +--- + patator.py | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/patator.py b/patator.py +index 1c37993..9f05a3f 100755 +--- a/patator.py ++++ b/patator.py +@@ -754,7 +754,7 @@ class Output: + # imports {{{ + import re + import os +-from sys import exc_info, exit, version_info, maxint ++from sys import exc_info, exit, version_info, maxint, argv + from time import localtime, strftime, sleep + from timeit import default_timer + from functools import reduce +@@ -4049,10 +4049,13 @@ if __name__ == '__main__': + + def show_usage(): + print(__banner__) +- print('''Usage: patator.py module --help ++ print('''Usage: %s module --help + + Available modules: +-%s''' % '\n'.join(' + %-13s : %s' % (k, v[1].__doc__) for k, v in modules)) ++%s''' % ( ++ os.path.basename(argv[0]), ++ '\n'.join(' + %-13s : %s' % (k, v[1].__doc__) for k, v in modules) ++)) + + exit(2) + diff -Nru patator-0.6/debian/patches/series patator-0.6/debian/patches/series --- patator-0.6/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ patator-0.6/debian/patches/series 2017-08-26 11:35:18.000000000 +0000 @@ -0,0 +1 @@ +Improve-usage-output-to-report-correct-executable-name.patch