Skip to content

Commit 0c6df1b

Browse files
elazarltklauser
authored andcommitted
debian: add debian packaging files
This allows to build a debian package by running debuild, fixes #12. Signed-off-by: Elazar Leibovich <[email protected]> Signed-off-by: Tobias Klauser <[email protected]>
1 parent efacfa3 commit 0c6df1b

8 files changed

Lines changed: 75 additions & 0 deletions

File tree

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
llmnrd (0.1) unstable; urgency=medium
2+
3+
* Initial Release.
4+
5+
-- Tobias Klauser <[email protected]> Wed, 30 Nov 2016 20:37:37 +0200

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Source: llmnrd
2+
Section: net
3+
Priority: optional
4+
Maintainer: Tobias Klauser <[email protected]>
5+
Build-Depends: debhelper (>=9), dh-systemd
6+
Standards-Version: 3.9.7
7+
Homepage: https://github.com/tklauser/llmnrd
8+
9+
Package: llmnrd
10+
Architecture: any
11+
Depends: ${shlibs:Depends}, ${misc:Depends}
12+
Description: llmnrd - Link-Local Multicast Resolution Daemon
13+
lmnrd is a daemon implementing the Link-Local Multicast Name Resolution
14+
(LLMNR) protocol according to RFC 4795. It currently only supports Linux, as
15+
it uses the netlink kernel interface.
16+
.
17+
llmnrd will respond to name resolution queries sent by Windows clients in
18+
networks where no DNS server is available. It supports both IPv4 and IPv6.

debian/copyright

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: llmnrd
3+
Upstream-Contact: Tobias Klauser <[email protected]>
4+
Source: https://github.com/tklauser/llmnrd
5+
6+
Files: *
7+
Copyright: 2016 Tobias Klauser <[email protected]>
8+
License: GPL-2
9+
10+
Files: debian/*
11+
Copyright: 2016 Elazar Leibovich <[email protected]>
12+
2016 Tobias Klauser <[email protected]>
13+
License: GPL-2
14+
15+
License: GPL-2
16+
This program is free software: you can redistribute it and/or modify
17+
it under the terms of the GNU General Public License as published by
18+
the Free Software Foundation; version 2 of the License.
19+
.
20+
This package is distributed in the hope that it will be useful,
21+
but WITHOUT ANY WARRANTY; without even the implied warranty of
22+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23+
GNU General Public License for more details.
24+
.
25+
You should have received a copy of the GNU General Public License
26+
along with this program. If not, see <https://www.gnu.org/licenses/>.
27+
.
28+
On Debian systems, the complete text of the GNU General
29+
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

debian/llmnrd.docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

debian/llmnrd.service

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=Link-Local Multicast Name Resolution Daemon
3+
After=network.target
4+
5+
[Service]
6+
Type=simple
7+
ExecStart=/usr/sbin/llmnrd
8+
Restart=on-failure
9+
10+
[Install]
11+
WantedBy=multi-user.target

debian/rules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/make -f
2+
3+
#export DH_VERBOSE = 1
4+
5+
%:
6+
dh $@ --with systemd
7+
8+
override_dh_auto_install:
9+
dh_auto_install -- prefix=/usr

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

0 commit comments

Comments
 (0)