summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorElazar Leibovich <elazarl@gmail.com>2016-11-30 22:21:51 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-12-01 09:08:06 +0100
commit0c6df1b810241dd535bcc019a192d17a09a20dda (patch)
treeb15bcee7eaec5f39d3f688525b31b634e7e628fa /debian
parentefacfa3e42779e5f0bdd857c969d17eb8ad98789 (diff)
debian: add debian packaging files
This allows to build a debian package by running debuild, fixes #12. Signed-off-by: Elazar Leibovich <elazarl@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control18
-rw-r--r--debian/copyright29
-rw-r--r--debian/llmnrd.docs1
-rw-r--r--debian/llmnrd.service11
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
8 files changed, 75 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..57599e5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+llmnrd (0.1) unstable; urgency=medium
+
+ * Initial Release.
+
+ -- Tobias Klauser <tklauser@distanz.ch> Wed, 30 Nov 2016 20:37:37 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7058c99
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: llmnrd
+Section: net
+Priority: optional
+Maintainer: Tobias Klauser <tklauser@distanz.ch>
+Build-Depends: debhelper (>=9), dh-systemd
+Standards-Version: 3.9.7
+Homepage: https://github.com/tklauser/llmnrd
+
+Package: llmnrd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: llmnrd - Link-Local Multicast Resolution Daemon
+ lmnrd is a daemon implementing the Link-Local Multicast Name Resolution
+ (LLMNR) protocol according to RFC 4795. It currently only supports Linux, as
+ it uses the netlink kernel interface.
+ .
+ llmnrd will respond to name resolution queries sent by Windows clients in
+ networks where no DNS server is available. It supports both IPv4 and IPv6.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f54e08d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: llmnrd
+Upstream-Contact: Tobias Klauser <tklauser@distanz.ch>
+Source: https://github.com/tklauser/llmnrd
+
+Files: *
+Copyright: 2016 Tobias Klauser <tklauser@distanz.ch>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2016 Elazar Leibovich <elazarl@gmail.com>
+ 2016 Tobias Klauser <tklauser@distanz.ch>
+License: GPL-2
+
+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
+ the Free Software Foundation; version 2 of the License.
+ .
+ This package 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
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ 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/debian/llmnrd.docs b/debian/llmnrd.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/llmnrd.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/llmnrd.service b/debian/llmnrd.service
new file mode 100644
index 0000000..62d8764
--- /dev/null
+++ b/debian/llmnrd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Link-Local Multicast Name Resolution Daemon
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/llmnrd
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f6421bd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+
+%:
+ dh $@ --with systemd
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)