From ef953698c5d7f7cd21392f6c1d9e50cb3c6b3326 Mon Sep 17 00:00:00 2001 From: Clark Rawlins Date: Sun, 14 Dec 2014 11:41:05 -0800 Subject: [PATCH] Fix lintian errors in debian/changelog Lintian complians about a NMU version number. Modify the changelog to use a standard version number. Modify the changelog version to use the last 9 digits of the sha1 hash for the git commit. Add the build-arch and build-indep targets to the debian/rules file. Source init-functions in init script Signed-off-by: Clark Rawlins --- debian/changelog | 2 +- debian/rules | 3 +++ debian/timeoutd.init.d | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2dab048..697da0b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -timeoutd (1.5-10.1ubuntu1~2.93b017313) UNRELEASED; urgency=low +timeoutd (1.5-10.2) unstable; urgency=low * Non-maintainer upload * Resolve the missing symbol XOpenDisplay by linking with libX11 * Update debian/control Standards-Version: 3.9.5 diff --git a/debian/rules b/debian/rules index 50551cf..1c7b12a 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +build-arch: build + +build-indep: build build: $(MAKE) timeoutd diff --git a/debian/timeoutd.init.d b/debian/timeoutd.init.d index a514b37..4b7d283 100644 --- a/debian/timeoutd.init.d +++ b/debian/timeoutd.init.d @@ -16,6 +16,8 @@ DESC="user timeout daemon" test -x $DAEMON || exit 0 +. /lib/lsb/init-functions + set -e case "$1" in