summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2016-12-16 19:32:45 -0500
committerJonathan McCrohan <jmccrohan@gmail.com>2016-12-16 19:32:45 -0500
commit5d25e1c155555bc80fef31d96fc2dca42cafadac (patch)
tree44d889da3f0478202235da7a02136ab6ff32f29d
Import lcd4linux_0.11.0~svn1203-1.debian.tar.xz
[dgit import tarball lcd4linux 0.11.0~svn1203-1 lcd4linux_0.11.0~svn1203-1.debian.tar.xz]
-rw-r--r--NEWS10
-rw-r--r--changelog250
-rw-r--r--compat1
-rw-r--r--control39
-rw-r--r--copyright24
-rw-r--r--dirs2
-rw-r--r--docs2
-rwxr-xr-xget-svn-source.sh19
-rw-r--r--init.d63
-rw-r--r--lcd4linux.871
-rw-r--r--lcd4linux.lintian-overrides2
-rw-r--r--lcd4linux.service13
-rwxr-xr-xrules45
-rw-r--r--source/format1
-rw-r--r--source/lintian-overrides2
15 files changed, 544 insertions, 0 deletions
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..2d6255b
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,10 @@
+lcd4linux (0.11.0~svn1165-1) unstable; urgency=low
+
+ As of 0.11.0~svn1165-1, direct raw parallel port access has been disabled
+ by default. The generic_parport driver depended on sys/io.h which is not
+ available on all architectures. This change means that lcd4linux is now
+ available on the mipsel, powerpc, s390x and sparc architectures. If you
+ still require raw I/O, you can uncomment the --with-outb argument in
+ debian/rules and rebuild the package.
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 27 Dec 2011 00:27:15 +0000
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..ef52201
--- /dev/null
+++ b/changelog
@@ -0,0 +1,250 @@
+lcd4linux (0.11.0~svn1203-1) unstable; urgency=medium
+
+ * New upstream snapshot
+ * d/control: replace BD on libmysqlclient-dev with
+ default-libmysqlclient-dev
+ * Add lintian override for non-standard-file-perm etc/lcd4linux.conf; this
+ is expected behaviour
+ * d/control: Change Vcs/Homepage links to https
+ * d/control: Bump Standards Version to 3.9.8
+ - No changes required
+ * d/rules: Add all build hardening options
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sat, 17 Dec 2016 00:32:45 +0000
+
+lcd4linux (0.11.0~svn1200-3) unstable; urgency=medium
+
+ * ACK libtool-bin NMU
+ - Thanks to Matthias Klose!
+ * Install modified lcd4linux.sample.conf as dummy lcd4linux.conf file to
+ satisfy startup checks (Closes: 758057)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sat, 01 Nov 2014 20:16:22 +0000
+
+lcd4linux (0.11.0~svn1200-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build-depend on libtool-bin. Closes: #761762.
+
+ -- Matthias Klose <doko@debian.org> Thu, 09 Oct 2014 10:38:13 +0000
+
+lcd4linux (0.11.0~svn1200-2) unstable; urgency=medium
+
+ * d/control: libgphoto2-2-dev is now a transitional package; switch to
+ libgphoto2-dev instead (Closes: #739351)
+ * d/lcd4linux.8: update location of sample conf file in manpage (Closes:
+ #735938)
+ * Update Standards Version to 3.9.5
+ - No changes required
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 15 Apr 2014 00:29:36 +0100
+
+lcd4linux (0.11.0~svn1200-1) unstable; urgency=low
+
+ * New upstream snapshot
+ * Add systemd service file
+ - Add dh-systemd to Build-Depends
+ * Update Standards Version to 3.9.4
+ - No changes required
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sat, 12 Oct 2013 00:38:01 +0100
+
+lcd4linux (0.11.0~svn1197-1) unstable; urgency=low
+
+ * New upstream snapshot
+ - Disabled raspi plugin unless explicitly enabled
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Thu, 16 May 2013 00:30:58 +0100
+
+lcd4linux (0.11.0~svn1196-1) unstable; urgency=low
+
+ * New upstream snapshot
+ * debian/rules: Pass '--with-python' to configure script
+ - Actually enables python support (Closes: #702602)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Mon, 06 May 2013 15:24:39 +0100
+
+lcd4linux (0.11.0~svn1189-1) unstable; urgency=low
+
+ * New upstream snapshot
+ - Adds Hex support to the evaluator
+ - Fixes -Wimplicit-function-declaration build warnings
+ - Fixes -Werror=format-security build errors
+ - Fixes plugin_file syslog flood if file does not exist
+ * d/rules: Add get-orig-source target
+ * Bump dh to v9
+ * Switch to dh-style debian/rules
+ * Add Build-Depends on libftdi-dev, libgphoto2-2-dev, libmpdclient-dev and
+ libvncserver-dev to enable new drivers
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sat, 19 May 2012 15:10:03 +0100
+
+lcd4linux (0.11.0~svn1180-1) unstable; urgency=low
+
+ [ Jonathan McCrohan ]
+ * New upstream snapshot
+ - adds new DPF driver
+ - adds new TeakLCM driver
+ - adds new Futaba VFD driver
+ - adds new Samsung SPF driver
+ * Update to S-V 3.9.3
+ * Rewrite init script to use lsb-base functions
+ - fixes issue where invoke-rc.d would return error status during
+ installation
+ * Lintian fixes
+ - spelling-error-in-manpage
+ - copyright-refers-to-symlink-license
+ - init.d-script-does-not-implement-optional-option
+ * Add watchfile lintian override; Using upstream svn instead
+
+ [ Reinhard Tartler ]
+ * Updated Vcs-Bzr location to the newly created lcd4linux packaging
+ team.
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 18 Mar 2012 17:14:15 +0100
+
+lcd4linux (0.11.0~svn1165-1) unstable; urgency=low
+
+ * New upstream snapshot
+ - raw port I/O in generic_parport driver disabled. Fixes FTBFS
+ issues on mipsel, powerpc, s390x and sparc.
+ - includes updates for D4D driver.
+ - fixes compilation warnings.
+ * debian/NEWS added to announce change in generic_parport driver
+ * Update libmysqlclient-dev virtual package in build-depends,
+ thanks to Clint Byrum (Closes: #652132)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 27 Dec 2011 00:27:15 +0000
+
+lcd4linux (0.11.0~svn1158-1) unstable; urgency=low
+
+ * New upstream snapshot
+ - includes picoLCD driver, Closes: #538823
+ - includes Pertelian driver, Closes: #506121
+ * Make lcd4linux linux specific (requested by kFreeBSD team)
+ * Add optional build targets build-indep and build-dep
+ (thanks to lintian for catching this)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sun, 28 Aug 2011 14:29:48 +0100
+
+lcd4linux (0.11.0~svn1143-1) unstable; urgency=low
+
+ * New upstream snapshot
+ * Bump standards version
+ * No longer compile against Python. Python 2.6 now links against libssl,
+ which is in conflicts with the package license GPL.
+ * No longer build the mpd module. Closes: #578226
+ * Bug fix: "script lcd4linux/init.d/lcd4linux missing dependency on
+ $syslog", thanks to Petter Reinholdtsen (Closes: #582825).
+ * add libdbus-1-dev to build depends
+ * new co-maintainer: Jonathan McCrohan <jmccrohan@gmail.com>
+ * add sqlite3-dev to build depends
+
+ -- Reinhard Tartler <siretart@tauware.de> Fri, 29 Apr 2011 18:25:10 +0200
+
+lcd4linux (0.10.1~rc2-4) unstable; urgency=low
+
+ * avoid LOCALMODLIBS for CFLAGS, only causes FTBFS in python 2.6
+
+ -- Reinhard Tartler <siretart@tauware.de> Tue, 16 Mar 2010 15:58:55 +0100
+
+lcd4linux (0.10.1~rc2-3) unstable; urgency=low
+
+ * Add $remote-fs dependencies to init script. Reported by lintian.
+ * update ac_python_devel.m4 from autoconf-archive package. This allows
+ to build with python2.6. Closes: #571493
+ * update config.guess && config.sub, Closes: #542077
+ * disable mpd plugin. According to bugreports, it makes lcd4linux
+ unusable for non-mpd users. Please consider co-maintaining the package
+ if you want to see it coming back. Closes: #500068, #499055
+ * bump debhelper compat level to 7
+ * bump standards version to 3.8.4.
+ * Allow user control over lcd4linux args,
+ thanks to "Karl O. Pinc" <kop@meme.com> for the patch. Closes: #506370
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 28 Feb 2010 22:11:24 +0100
+
+lcd4linux (0.10.1~rc2-2) unstable; urgency=medium
+
+ * Bugfix: "lcd4linux: FTBFS: undefined reference to `rdtscl'" Patch
+ taken from upstream svn. Thanks to Robert Buchholz and Michael Reinelt
+ (upstream) for reviewing the patch. Closes: #436332
+ * Urgency medium for RC bug
+ * bump to standards version 3.7.3 (no changes needed)
+ * add Vcs-Bzr and Homepage header.
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 10 Jan 2008 10:30:49 +0100
+
+lcd4linux (0.10.1~rc2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Reinhard Tartler <siretart@tauware.de> Mon, 30 Apr 2007 09:34:59 +0200
+
+lcd4linux (0.10.1~rc1-1) unstable; urgency=low
+
+ * New upstream release
+ * new upstream tarball no longer contains a debian/ directory at all
+ (Closes: #385152)
+ * add LSB keyword section
+
+ -- Reinhard Tartler <siretart@tauware.de> Thu, 5 Apr 2007 15:41:11 +0200
+
+lcd4linux (0.10.0+cvs20060825-1) unstable; urgency=medium
+
+ * New Maintainer!
+ * Dropping old maintainer in agreement with nobse@debian.org.
+ Thanks for your work so far, nobse!
+ * urgency medium because of release critical bugs
+ * Bump standards version to 3.7.2 (no changes needed)
+ * add build depends on libmpd-dev for mpd support
+ * new upstream snapshot
+ * drop dependency of ${misc:Depends}, not used anyway
+ * now supporting USB2LCD
+ * don't update config.{sub,guess} in clean target automatically
+ * new target ``update-config-sub-guess'' to update config.{sub,guess}
+ * Acking NMU, Thanks Steinar! (Closes: #374682)
+ * Bug fix: "FTBFS: undefined reference to many X functions", thanks to
+ Eric Dorland. The problem was in driver.m4 (Closes: #381606).
+ * Bug fix: "Please stop Build-Depending on automake", thanks to Eric
+ Dorland (Closes: #381812).
+ * Don't ship /etc/lcd4linux.conf anymore. Please install and customize
+ it yourself using /usr/share/doc/lcd4linux.conf.sample as template
+ * Bug fix: "lcd4linux - FTBFS: uses ia32 assembler", thanks to Bastian
+ Blank. Fixed by adding #ifdefs to produce those asm statements on i386
+ and amd64 only. (Closes: #336017).
+ * Removing outdated NEWS, FAQ, README.KDE on upstream request.
+ * Install manpage for lcd4linux
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 27 Aug 2006 17:16:46 +0200
+
+lcd4linux (0.10.0+cvs20051015-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build-depend on libxt-dev, to make sure configure detects X; fixes FTBFS.
+ (Closes: #374682)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Thu, 6 Jul 2006 18:10:58 +0200
+
+lcd4linux (0.10.0+cvs20051015-3) unstable; urgency=low
+
+ * Use libgd2-noxpm-dev instead libgd2-xpm-dev in build-dependencies.
+ (closes: #335834)
+ * Built against libmysqlclient15-dev instead libmysqlclient14-dev.
+ (closes: #343770)
+
+ -- Norbert Tretkowski <nobse@debian.org> Tue, 21 Feb 2006 22:42:57 +0100
+
+lcd4linux (0.10.0+cvs20051015-2) unstable; urgency=low
+
+ * Added libmysqlclient-dev, python-dev, libx11-dev, libncurses5-dev, libusb-dev
+ and libgd2-xpm-dev to build-dependencies.
+
+ -- Norbert Tretkowski <nobse@debian.org> Mon, 24 Oct 2005 21:09:48 +0200
+
+lcd4linux (0.10.0+cvs20051015-1) unstable; urgency=low
+
+ * Initial release. (closes: #334114)
+
+ -- Norbert Tretkowski <nobse@debian.org> Sun, 16 Oct 2005 20:20:42 +0200
+
diff --git a/compat b/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644
index 0000000..a7828a5
--- /dev/null
+++ b/control
@@ -0,0 +1,39 @@
+Source: lcd4linux
+Section: utils
+Priority: optional
+Maintainer: Reinhard Tartler <siretart@tauware.de>
+Uploaders: Jonathan McCrohan <jmccrohan@gmail.com>
+Build-Depends:
+ autotools-dev,
+ libtool-bin,
+ debhelper (>= 9),
+ dh-autoreconf,
+ dh-systemd (>= 1.3),
+ libdbus-1-dev,
+ libftdi-dev,
+ libgd2-xpm-dev,
+ libgphoto2-dev,
+ libmpdclient-dev,
+ default-libmysqlclient-dev,
+ libncurses5-dev,
+ libsqlite3-dev,
+ libusb-dev,
+ libvncserver-dev,
+ libx11-dev,
+ libxt-dev,
+ python-dev
+Standards-Version: 3.9.8
+Vcs-Bzr: https://bazaar.launchpad.net/~lcd4linux/lcd4linux/debian
+Homepage: https://ssl.bulix.org/projects/lcd4linux/
+
+Package: lcd4linux
+Architecture: linux-any
+Depends:
+ lsb-base,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Grabs information and displays it on an external lcd
+ Small program that grabs information from the kernel and some subsystems
+ and displays it on an external liquid crystal display.
+ .
+ See http://ssl.bulix.org/projects/lcd4linux/ for Documentation
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..940f6be
--- /dev/null
+++ b/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Norbert Tretkowski <nobse@debian.org> on
+Sun, 16 Oct 2005 20:20:42 +0200.
+
+It was downloaded from http://ssl.bulix.org/projects/lcd4linux/
+
+Copyright (C) 1999-2007 Michael Reinelt <reinelt@eunet.at>
+
+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
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License with
+the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2;
+if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
diff --git a/dirs b/dirs
new file mode 100644
index 0000000..44ac6eb
--- /dev/null
+++ b/dirs
@@ -0,0 +1,2 @@
+etc
+usr/sbin
diff --git a/docs b/docs
new file mode 100644
index 0000000..23e2175
--- /dev/null
+++ b/docs
@@ -0,0 +1,2 @@
+README
+lcd4linux.conf.sample \ No newline at end of file
diff --git a/get-svn-source.sh b/get-svn-source.sh
new file mode 100755
index 0000000..e55e0a3
--- /dev/null
+++ b/get-svn-source.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+UPSTREAM_VERSION=$(dpkg-parsechangelog | sed -e '/^Version/!d' -e 's/^Version: //g' -e 's/-.*//g')
+UPSTREAM_REVISION=$(echo ${UPSTREAM_VERSION} | sed -e 's/.*svn/-r/')
+UPSTREAM_SVN=https://ssl.bulix.org/svn/lcd4linux/trunk/
+UPSTREAM_CHECKOUT=lcd4linux-${UPSTREAM_VERSION}
+OLDDIR=${PWD}
+GOS_DIR=${OLDDIR}/get-orig-source
+
+if [ -z ${UPSTREAM_VERSION} ]; then
+ echo 'Please run this script from the sources root directory.'
+ exit 1
+fi
+
+rm -rf ${GOS_DIR}
+mkdir ${GOS_DIR} && cd ${GOS_DIR}
+svn export ${UPSTREAM_REVISION} ${UPSTREAM_SVN} ${UPSTREAM_CHECKOUT}
+tar -zcf ../../lcd4linux_${UPSTREAM_VERSION}.orig.tar.gz ${UPSTREAM_CHECKOUT}
+rm -rf ${GOS_DIR}
diff --git a/init.d b/init.d
new file mode 100644
index 0000000..010bef9
--- /dev/null
+++ b/init.d
@@ -0,0 +1,63 @@
+#! /bin/sh
+
+### BEGIN INIT INFO
+# Provides: lcd4linux
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Should-Start: $syslog
+# Should-Stop: $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: daemon for driving LCD based displays
+# Description: LCD4Linux is a small program that grabs information from
+# the kernel and some subsystems and displays it on an
+# external liquid crystal display.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/lcd4linux
+NAME=lcd4linux
+DESC=lcd4linux
+
+. /lib/lsb/init-functions
+
+test -x $DAEMON || exit 0
+test -f /etc/lcd4linux.conf || exit 0
+
+test -f /etc/default/lcd4linux && . /etc/default/lcd4linux
+DAEMON_OPTS="$ARGS"
+
+set -e
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting $DESC" "$NAME"
+ chmod 600 /etc/lcd4linux.conf
+ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON -- $DAEMON_OPTS
+ log_end_msg $?
+ ;;
+ stop)
+ log_daemon_msg "Stopping $DESC" "$NAME"
+ start-stop-daemon --stop --quiet --retry=TERM/15/KILL/5 \
+ --pidfile /var/run/$NAME.pid --exec $DAEMON
+ log_end_msg $?
+ ;;
+ restart|force-reload)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+ status)
+ status_of_proc $DAEMON "$NAME"
+ status=$?
+ exit $status
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|restart|status|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/lcd4linux.8 b/lcd4linux.8
new file mode 100644
index 0000000..759216c
--- /dev/null
+++ b/lcd4linux.8
@@ -0,0 +1,71 @@
+.TH VERSION "8" "March 2012" "http://ssl.bulix.org/projects/lcd4linux/" "System Administration Utilities"
+.SH NAME
+Version \- daemon for ''lcd'' display devices
+.SH SYNOPSIS
+.B lcd4linux [\fIOPTIONS...\fR]
+.SH DESCRIPTION
+.PP
+LCD4Linux is a small program that grabs information from the kernel and
+some subsystems and displays it on an external liquid crystal display.
+.PP
+If started without any options, it will try to read its configuration from
+\fB/etc/lcd4linux.conf\fR and daemonize. Please make sure your configuration file
+is owned by the user you run lcd4linux (typically \fIroot\fR) and has permissions
+\fB600\fR.
+.TP
+\fB\-f\fR
+Alternate configuration file to read. Use this switch to make lcd4linux read another
+file than \fI/etc/lcd4linux.conf\fR.
+.TP
+\fB\-F\fR
+Run in forground and don't daemonize. Useful for debugging.
+.TP
+\fB\-c\fR \fIarg\fR
+allows one to overwrite entries in the config-file from the command line. arg is 'key=value'
+.TP
+\fB\-h\fR
+shows a really short usage of lcd4linux
+.TP
+\fB\-i\fR
+starts lcd4linux in interactive mode. Can be used multiple times
+.TP
+\fB\-l\fR
+Prints a list of supported displays
+.TP
+\fB\-o\fR
+Specifies an output file (see http://ssl.bulix.org/projects/lcd4linux/ for details)
+.TP
+\fB\-q\fR
+makes lcd4linux more quiet. Can be used multiple times
+.TP
+\fB\-v\fR
+increases verbose level. Can be used multiple times
+.SH FILES
+.TP
+.I "/etc/lcd4linux.conf"
+Contains the configuration of lcd4linux. Please note that distributions
+generally don't install this file, please create it yourself using the
+sample configuration as template.
+.TP
+.I "/usr/share/doc/lcd4linux/lcd4linux.conf.sample.gz"
+Contains a detailed and extensive example configuration file
+.SH AUTHOR
+lcd4linux was written by Michael Reinelt <reinelt@eunet.at>
+.br
+Copyright (C) 2005 The LCD4Linux Team <lcd4linux\-devel@users.sourceforge.net>
+.SH ORIGIN
+Development of lcd4linux is at http://ssl.bulix.org/projects/lcd4linux/. Use that
+web service for reporting upstream bugs getting in touch with development.
+.SH COPYRIGHT
+This manual page was written by Reinhard Tartler <siretart@tauware.de>
+in August 2006, for the Debian project, but may also be used by others. Revised
+by Jonathan McCrohan <jmccrohan@gmail.com> in March 2012.
+.br
+This manual page and lcd4linux is free software; you can redistribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the
+License, or (at your option) any later version.
+.br
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
diff --git a/lcd4linux.lintian-overrides b/lcd4linux.lintian-overrides
new file mode 100644
index 0000000..06981ff
--- /dev/null
+++ b/lcd4linux.lintian-overrides
@@ -0,0 +1,2 @@
+# lcd4linux requires 600 permissions on /etc/lcd4linux.conf
+lcd4linux: non-standard-file-perm etc/lcd4linux.conf 0600 != 0644
diff --git a/lcd4linux.service b/lcd4linux.service
new file mode 100644
index 0000000..ef54280
--- /dev/null
+++ b/lcd4linux.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=daemon for driving LCD based displays
+
+[Service]
+Type=forking
+EnvironmentFile=-/etc/default/lcd4linux
+ExecStart=/usr/sbin/lcd4linux $ARGS
+User=root
+PIDFile=/var/run/lcd4linux.pid
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target
diff --git a/rules b/rules
new file mode 100755
index 0000000..7e52562
--- /dev/null
+++ b/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+override_dh_auto_configure:
+ ln -s . m4
+ dh_autoreconf
+ dh_auto_configure -- \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --bindir=/usr/sbin \
+ --disable-rpath \
+ --with-python
+# Enable raw parallel port I/O
+# --with-outb
+
+override_dh_installman:
+ dh_installman debian/lcd4linux.8
+
+override_dh_install:
+ dh_install
+ sed -e "1c lcd4linux debian sample config" \
+ -e "2d" \
+ -e "3a This is a dummy config file using the NULL driver." \
+ -e "3a Please amend this file as required by your specific LCD device." \
+ -e "s@#Display 'NULL'@Display 'NULL'@" \
+ -e "s@Display 'ACool'@#Display 'ACool'@" \
+ -e "s@Layout 'TestLayer'@#Layout 'TestLayer'@" \
+ -e "s@#Layout 'Default'@Layout 'Default'@" \
+ lcd4linux.conf.sample > debian/lcd4linux/etc/lcd4linux.conf
+ chmod 600 debian/lcd4linux/etc/lcd4linux.conf
+
+override_dh_fixperms:
+ dh_fixperms -X debian/lcd4linux/etc/lcd4linux.conf
+
+%:
+ dh $@ --with autotools_dev --with systemd
+
+get-orig-source:
+ debian/get-svn-source.sh
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/source/lintian-overrides b/source/lintian-overrides
new file mode 100644
index 0000000..eb0d9c3
--- /dev/null
+++ b/source/lintian-overrides
@@ -0,0 +1,2 @@
+# we build from upstream svn revisions, ignore watchfile.
+lcd4linux source: debian-watch-file-is-missing