To resolve the symbol XOpenDisplay link with libX11

When building the timeoutd binary the linker was not
finding the XOpenDisplay symbol.  By linking with
libX11 the missing symbol is found

Signed-off-by: Clark Rawlins <clark@defiant.bit63.org>
Update debian/control Standards-Version:

Update debian/control Standards-Version to the
current value: 3.9.5.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Ignore files generated by building debian package

Configure git to ignore files generated by the
build process and by the debian package build
process.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Update debian/changelog with recent local changes

Update the debian changelog with recent changes to the package.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Update debian/compat to version 5

To support recent versions of deb-buildpackage
increment debian/compat to version 5 (from version 4)

Signed-off-by: Clark Rawlins <clark@bit63.org>
Ignore warnings on unused return values

Modify the Makefile to silence warnings about unused
return values in the source code.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Use a temp to convert ut_time to time_t

The localtime function takes a time_t* argument.  Passing
the ut_time member of the utmp struct as this argument
doesn't work on 64 bit systems because the lengths of the
arguments don't agree.  So use a temproary variable to
store the ut_time value in a time_t variable and pass
the address of the time_t variable to localtime.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Switch from dh_clean -k to dh_prep

dh_clean -k is deprecated. Switch to the supported dh_clean
instead.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Add ${misc:Depends} to binary dependencies

Packages built with debhelper may introduce additional
binary package dependencies to a package that uses its
functions.  Adding ${misc:Depends} allows debhelper to
add any required dependencies to the package.

Signed-off-by: Clark Rawlins <clark@bit63.org>
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 <clark@bit63.org>
Configure source format

Define the source format as 3.0 (git)

Signed-off-by: Clark Rawlins <clark@bit63.org>