diff --git a/debian/control b/debian/control index c8578bad..f93a4b47 100644 --- a/debian/control +++ b/debian/control @@ -1,13 +1,12 @@ Source: ngcp-ngcpcfg Section: admin -Priority: optional Maintainer: Sipwise Development Team Homepage: https://www.sipwise.com/ Standards-Version: 4.7.2 Build-Depends: - asciidoctor, debhelper-compat (= 13), dh-sequence-bash-completion, + asciidoctor, fakeroot, git, libcapture-tiny-perl, diff --git a/debian/copyright b/debian/copyright index 41477344..1493021c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,7 +5,7 @@ Upstream-Contact: Sipwise Development Team Files: * Copyright: - Copyright © 2007-2025 Sipwise GmbH, Austria + 2007-2025 Sipwise GmbH, Austria License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,10 +26,10 @@ Comment: Files: hooks/pre-commit Copyright: - Copyright © 2007-2016 Joey Hess - Copyright © 2014 Pim van den Berg - Copyright © 2013 Zdenek Crha - Copyright © 2008 Scott Bronson + 2007-2016 Joey Hess + 2014 Pim van den Berg + 2013 Zdenek Crha + 2008 Scott Bronson License: GPL-2+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/debian/ngcp-ngcpcfg.postinst b/debian/ngcp-ngcpcfg.postinst index c1fcd5a5..0c9abcf7 100644 --- a/debian/ngcp-ngcpcfg.postinst +++ b/debian/ngcp-ngcpcfg.postinst @@ -20,14 +20,11 @@ case "$1" in ;; *) - echo "postinst called with unknown argument \`$1'" >&2 + echo "postinst called with unknown argument '$1'" >&2 exit 1 ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0 diff --git a/debian/ngcpcfg.completion b/debian/ngcpcfg.completion index 0f5b2337..eeceacfe 100644 --- a/debian/ngcpcfg.completion +++ b/debian/ngcpcfg.completion @@ -157,4 +157,4 @@ _ngcpcfg() } && complete -F _ngcpcfg ngcpcfg ngcp-config -# ex: filetype=sh +# ex: filetype=bash diff --git a/debian/rules b/debian/rules index 9ffc2d73..749c1a6a 100755 --- a/debian/rules +++ b/debian/rules @@ -2,12 +2,13 @@ # -*- makefile -*- # Uncomment this to turn on verbose mode. -# export DH_VERBOSE=1 +#export DH_VERBOSE = 1 SCRIPTS = \ $(CURDIR)/usr/sbin/ngcp-instances-validator \ $(CURDIR)/usr/sbin/ngcp-network \ - $(CURDIR)/usr/sbin/ngcp-network-validator + $(CURDIR)/usr/sbin/ngcp-network-validator \ + # EOL %: dh $@ @@ -15,7 +16,7 @@ SCRIPTS = \ override_dh_auto_build: dh_testdir $(MAKE) man - # catch any syntax errors *before* building the .deb + # Catch any syntax errors *before* building the ".deb". $(MAKE) syntaxcheck execute_after_dh_install: @@ -26,9 +27,9 @@ execute_after_dh_install: done execute_after_dh_auto_test: - ## this is a hack to automatically copy the pytest result via pbuilder to - ## the workspace so we can automatically use it as Jenkins test result - # starting with pbuilder v0.216 it defaults to /build + ## This is a hack to automatically copy the pytest result via pbuilder to + ## the workspace so we can automatically use it as Jenkins test result. + # Starting with pbuilder v0.216 it defaults to "/build". if [ -d /build/ ] ; then find $(CURDIR)/results/ -name pytest.xml -exec cp {} /build/ \; || true ; fi - # previous pbuilder versions default to /tmp/buildd + # Previous pbuilder versions default to "/tmp/buildd". if [ -d /tmp/buildd/ ] ; then find $(CURDIR)/results/ -name pytest.xml -exec cp {} /tmp/buildd/ \; || true ; fi