From 0c6df1b810241dd535bcc019a192d17a09a20dda Mon Sep 17 00:00:00 2001 From: Elazar Leibovich Date: Wed, 30 Nov 2016 22:21:51 +0200 Subject: debian: add debian packaging files This allows to build a debian package by running debuild, fixes #12. Signed-off-by: Elazar Leibovich Signed-off-by: Tobias Klauser --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 18 ++++++++++++++++++ debian/copyright | 29 +++++++++++++++++++++++++++++ debian/llmnrd.docs | 1 + debian/llmnrd.service | 11 +++++++++++ debian/rules | 9 +++++++++ debian/source/format | 1 + 8 files changed, 75 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/llmnrd.docs create mode 100644 debian/llmnrd.service create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') 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 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 +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 +Source: https://github.com/tklauser/llmnrd + +Files: * +Copyright: 2016 Tobias Klauser +License: GPL-2 + +Files: debian/* +Copyright: 2016 Elazar Leibovich + 2016 Tobias Klauser +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 . + . + 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) -- cgit v1.2.3-54-g00ecf