From a2c357a6cc4b3ba366c0f8b419d4291681902b23 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 3 Oct 2014 16:22:44 -0400 Subject: [PATCH] Fix lintian errors * Fix lintian errors: - Update LSB header for tids init script - Make tids wrapper executable - Override things lintian gets wrong --- debian/changelog | 9 +++++++++ debian/moonshot-trust-router.lintian-overrides | 5 ++++- debian/moonshot-trust-router.postinst | 2 +- debian/moonshot-trust-router.tids.init | 6 +++--- debian/rules | 3 +++ 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index f183c8f..dac8a99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +moonshot-trust-router (1.4-9) unstable; urgency=medium + + * Fix lintian errors: + - Update LSB header for tids init script + - Make tids wrapper executable + - Override things lintian gets wrong + + -- Sam Hartman Fri, 03 Oct 2014 16:22:31 -0400 + moonshot-trust-router (1.4-8) unstable; urgency=medium * Fix umask of database diff --git a/debian/moonshot-trust-router.lintian-overrides b/debian/moonshot-trust-router.lintian-overrides index cb277d8..e61e544 100644 --- a/debian/moonshot-trust-router.lintian-overrides +++ b/debian/moonshot-trust-router.lintian-overrides @@ -1,3 +1,6 @@ moonshot-trust-router: binary-without-manpage usr/bin/tidc moonshot-trust-router: binary-without-manpage usr/bin/trust_router -moonshot-trust-router: binary-without-manpage usr/bin/tids \ No newline at end of file +moonshot-trust-router: binary-without-manpage usr/bin/tids +moonshot-trust-router: script-not-executable usr/share/trust_router/redhat/* +# No, actually we do test earlier and exit if the default file is not present +moonshot-trust-router: init.d-script-sourcing-without-test diff --git a/debian/moonshot-trust-router.postinst b/debian/moonshot-trust-router.postinst index 7a4afbe..870aaac 100644 --- a/debian/moonshot-trust-router.postinst +++ b/debian/moonshot-trust-router.postinst @@ -20,7 +20,7 @@ case "$1" in if dpkg --compare-versions "$2" lt 1.2-2; then adduser --quiet --system --home /var/lib/trust_router --group --disabled-login trustrouter fi - su -s /bin/sh -c "umask 027&&/usr/bin/sqlite3