summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/README.Debian4
-rw-r--r--debian/changelog516
-rw-r--r--debian/control58
-rw-r--r--debian/copyright241
-rw-r--r--debian/liblldpctl-dev.install3
-rw-r--r--debian/lldpd.default2
-rw-r--r--debian/lldpd.docs3
-rw-r--r--debian/lldpd.init.d109
-rw-r--r--debian/lldpd.install7
-rw-r--r--debian/lldpd.lintian-overrides4
-rw-r--r--debian/lldpd.postinst20
-rw-r--r--debian/lldpd.postrm20
-rw-r--r--debian/lldpd.symbols5
-rw-r--r--debian/not-installed8
-rw-r--r--debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch26
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control10
-rw-r--r--debian/upstream/signing-key.asc89
-rw-r--r--debian/watch3
21 files changed, 1143 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8d26720
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,4 @@
+If you want to run lldpctl as normal user, just put yourself in adm
+group.
+
+ -- Vincent Bernat <bernat@debian.org>, Mon, 17 Nov 2008 20:24:05 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..397380f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,516 @@
+lldpd (1.0.18-1) unstable; urgency=medium
+
+ [ Vincent Bernat ]
+ * New upstream release.
+
+ [ Chris Hofstaedtler ]
+ * d/rules: use pkg-config to place systemd service definition
+ Closes: #1059173
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 25 Jan 2024 09:08:08 +0100
+
+lldpd (1.0.17-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/control: remove dependency on lsb-base.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 27 Jul 2023 09:49:54 +0200
+
+lldpd (1.0.16-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 12 Nov 2022 09:11:39 +0100
+
+lldpd (1.0.15-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 10 Nov 2022 09:57:15 +0100
+
+lldpd (1.0.14-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 25 May 2022 19:16:27 +0200
+
+lldpd (1.0.13-1) unstable; urgency=high
+
+ * New upstream release.
+ + Fix a crash in SONMP decoder. CVE-2021-43612.
+ + Fix encapsulation of LLDPU in VLAN 0 in some cases.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 13 Nov 2021 16:11:47 +0100
+
+lldpd (1.0.12-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 29 Aug 2021 08:52:15 +0200
+
+lldpd (1.0.11-1) unstable; urgency=medium
+
+ * New upstream release.
+ + Automatically disable LLDP in firmware for i40e (Intel) cards.
+ + Support for ice (Intel) cards.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 01 May 2021 19:53:34 +0200
+
+lldpd (1.0.10-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Fri, 09 Apr 2021 13:02:40 +0200
+
+lldpd (1.0.9-1) unstable; urgency=medium
+
+ * New upstream release. More fixes related to CVE-2020-27827.
+ * d/tests: add some non-trivial autopkgtests.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 08 Apr 2021 20:03:44 +0200
+
+lldpd (1.0.8-1) unstable; urgency=medium
+
+ * New upstream release. Fix CVE-2020-27827.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 13 Jan 2021 19:10:12 +0100
+
+lldpd (1.0.7-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 01 Nov 2020 09:02:06 +0100
+
+lldpd (1.0.6-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/patches: remove patch for 32-bit arch, applied upstream
+ * d/symbols: add 4.9 version of liblldpctl
+ * d/postinst: replace /var/run by /run
+ * d/docs: install upstream README.md and NEWS files
+ * d/not-installed: initialize the needed files
+ * d/control: switch to debhelper-compat 13
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 05 Sep 2020 19:55:40 +0200
+
+lldpd (1.0.5-2) unstable; urgency=medium
+
+ * d/patches: fix bitmap tests on 32bit archs.
+
+ -- Vincent Bernat <bernat@debian.org> Fri, 03 Apr 2020 22:43:52 +0200
+
+lldpd (1.0.5-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 03 Feb 2020 07:45:24 +0100
+
+lldpd (1.0.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/{post,pre}{inst,rm}: remove use of dpkg-maintscript-helper.
+ * d/watch: add OpenPGP signature.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 07 Jul 2019 10:42:05 +0200
+
+lldpd (1.0.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 10 Dec 2018 16:16:57 +0100
+
+lldpd (1.0.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/control: build-depends on libcap-dev.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 01 Dec 2018 16:06:04 +0100
+
+lldpd (1.0.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ + Fix systemd service file. Closes: #895276.
+ * d/control: update Vcs-* to salsa.debian.org.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 09 Apr 2018 22:10:28 +0200
+
+lldpd (0.9.9-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/control: bump Standards-Version.
+ * d/control: build-depends on recent debhelper instead of dh-systemd.
+ * d/watch: use HTTPS.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 22 Nov 2017 19:31:28 +0100
+
+lldpd (0.9.8-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Move back ZSH completions in vendor-completions directory.
+ * Remove upstart configuration file.
+ * Remove upstream signature check.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 21 Aug 2017 09:07:16 +0200
+
+lldpd (0.9.7-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/copyright: updates.
+ * d/control: remove dependency on libjansson-dev.
+ * d/control: bump Standards-Version.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 13 Jul 2017 08:35:39 +0200
+
+lldpd (0.9.6-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 21 Jan 2017 13:34:38 +0100
+
+lldpd (0.9.5-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 22 Oct 2016 14:51:30 +0200
+
+lldpd (0.9.4-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/copyright: misc updates.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 18 Jun 2016 20:33:31 +0200
+
+lldpd (0.9.3-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/control: bump Standards-Version.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 22 May 2016 08:44:57 +0200
+
+lldpd (0.9.2-2) unstable; urgency=medium
+
+ * d/rules: enable dh_systemd use.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 17 Apr 2016 11:51:41 +0200
+
+lldpd (0.9.2-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/control: bump Standards-Version.
+ * d/control: update Vcs-* URL.
+ * d/rules: switch to dh.
+ * d/rules: enable PIE (previously autodetected).
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 19 Mar 2016 19:08:57 +0100
+
+lldpd (0.7.19-1) unstable; urgency=medium
+
+ * New upstream release.
+ + Fix a buffer overflow when parsing management addresses. Not
+ exploitable, but can crash the process.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 17 Oct 2015 19:43:41 +0200
+
+lldpd (0.7.17-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add upstream GPG signature verification.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 10 Sep 2015 15:04:53 +0200
+
+lldpd (0.7.16-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update debian/lldpd.symbols to account for new versioning scheme.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 08 Aug 2015 18:27:23 +0200
+
+lldpd (0.7.15-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Enable JSON output.
+ * Move bash completions to /usr/share/bash-completion/completions.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 21 May 2015 21:34:42 +0200
+
+lldpd (0.7.14-2) unstable; urgency=medium
+
+ * Run unittests.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 14 May 2015 20:47:38 +0200
+
+lldpd (0.7.14-1) unstable; urgency=medium
+
+ * New upstream release.
+ + All previous patches are unneeded. Drop them.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 26 Apr 2015 17:26:56 +0200
+
+lldpd (0.7.11-2) unstable; urgency=medium
+
+ * Cherry-pick 0001-lib-fix-pkgconfig-file-substitutions.patch to fix
+ substitutions in .pc file in liblldpctl-dev package.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 24 Nov 2014 08:51:28 +0100
+
+lldpd (0.7.11-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Bump Standards-Version to 3.9.6.
+ * Cherry-pick 0001-systemd-fix-systemd-unit-file.patch to fix systemd
+ unit file.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 26 Oct 2014 18:30:51 +0100
+
+lldpd (0.7.10-1) unstable; urgency=medium
+
+ * New upstream version.
+ + Update symbols.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 26 Jul 2014 10:19:24 +0200
+
+lldpd (0.7.9-2) unstable; urgency=medium
+
+ * Depends again on libpci-dev as libsnmp-dev is not up-to-date in
+ kfreebsd.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 05 Jul 2014 10:37:07 +0200
+
+lldpd (0.7.9-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Drop dependency on libsensors4-dev and libpci-dev. libsnmp-dev now
+ depends on those.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 31 May 2014 19:33:30 +0200
+
+lldpd (0.7.8-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Depends on libpci-dev to workaround bug #744023. Closes: #746060.
+ * Bump Standards-Version to 3.9.5.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 07 May 2014 13:37:16 +0200
+
+lldpd (0.7.7-1) unstable; urgency=low
+
+ * New upstream version.
+ + lldpd now builds its chroot itself. This removes the need to use
+ mkdir/cp in lldpd.service and closes: #725098.
+ + lldpd ships its own lldpd.service. Use it.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 17 Nov 2013 09:48:00 +0100
+
+lldpd (0.7.6-2) unstable; urgency=low
+
+ * Build-Depends on dh-systemd to correctly register service files.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 12 Aug 2013 17:52:07 +0200
+
+lldpd (0.7.6-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 22 Jul 2013 08:18:53 +0200
+
+lldpd (0.7.5-2) unstable; urgency=low
+
+ * control: use canonical URL for Vcs-* fields.
+ * init: do not source /lib/init/vars.sh in init script.
+ * lintian: update override about liblldpctl.
+ * symbols: update liblldpctl version.
+ * postinst/postrm: use `set -e` in case they are invoked with `sh`.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 23 Jun 2013 19:23:41 +0200
+
+lldpd (0.7.5-1) unstable; urgency=low
+
+ * New upstream version.
+ + Fix FTBFS due to embedded libevent during autoreconf step by
+ shipping a more recent version of libevent compatible with automake
+ 1.14. Closes: #713773.
+ * Add back libsensors4-dev as a Build-Depends since it is missing from
+ libsnmp-dev for kfreebsd-*.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 22 Jun 2013 13:19:43 +0200
+
+lldpd (0.7.3-4) unstable; urgency=low
+
+ * debian/control:
+ + switch architecture to "linux-any kfreebsd-any"
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 26 May 2013 10:43:07 +0200
+
+lldpd (0.7.3-3) unstable; urgency=low
+
+ * Fix call to dpkg-statoverride in postrm. Closes: #709128.
+
+ -- Vincent Bernat <bernat@debian.org> Tue, 21 May 2013 09:22:30 +0200
+
+lldpd (0.7.3-2) unstable; urgency=low
+
+ * Don't Build-Depends on libsensors*-dev or on libperl-dev. They were
+ needed in the past to link against libsnmp-dev but this is not the
+ case anymore. Closes: #708990.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 20 May 2013 08:06:50 +0200
+
+lldpd (0.7.3-1) unstable; urgency=low
+
+ * New upstream version.
+ + lldpd now watches for link down events. Closes: #551606.
+ + lldpd should now build on Debian kFreeBSD as well.
+ * debian/control:
+ + build-depends on libevent-dev, pkg-config for lldpd
+ + build-depends on libreadline-dev for lldpcli
+ + build-depends on dh-autoreconf
+ + update homepage
+ + bump Standards-Version to 3.9.4
+ * Add support for upstart and systemd.
+ * Ship a liblldpctl-dev package. There is no liblldpctlX package because
+ the library is contained in lldpd package: while the library provide
+ API and ABI stability, the internals are dependent on the exact
+ version of lldpd (the communication is done through a binary RPC
+ protocol). Add a lintian override for this.
+ * Introduce a symbol files for liblldpctl.so.
+ * Update debian/copyright for libevent, various M4 macros and shipped
+ include files.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 12 May 2013 12:12:01 +0200
+
+lldpd (0.5.7-2) unstable; urgency=low
+
+ * Update debian/watch.
+ * Add a "status" command to init.d script.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 24 Jun 2012 01:56:37 +0200
+
+lldpd (0.5.7-1) unstable; urgency=low
+
+ * New upstream version.
+ + Fix a possible infinite loop in the receiving part which may
+ prevent lldpd to send frames.
+ * Bump Standards-Version to 3.9.3.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 01 Mar 2012 00:06:43 +0100
+
+lldpd (0.5.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Don't ship changelog twice.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 16 Nov 2011 22:16:48 +0100
+
+lldpd (0.5.4-1) unstable; urgency=low
+
+ * New upstream release.
+ + flag to specify which interfaces lldpd listen to (Closes: #584806).
+ * Correct debian/watch to download from GitHub.
+ * Correct homepage location (now on Github).
+ * Bump Standards-Version to 3.9.2. No changes required.
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 02 Jul 2011 20:17:32 +0200
+
+lldpd (0.5.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Enable XML output for lldpctl.
+ * Bump Standards-Version to 3.9.1. No changes required.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 21 Feb 2011 21:36:04 +0100
+
+lldpd (0.5.1-1) unstable; urgency=low
+
+ * New upstream release.
+ + Do not report MTU as MFS anymore. Closes: #559314.
+ + lldpctl reports information ages. Closes: #551607.
+ + lldpctl now supports a key/value output. Closes: #551608.
+
+ -- Vincent Bernat <bernat@debian.org> Fri, 18 Jun 2010 19:53:33 +0200
+
+lldpd (0.4.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump Standards-Version to 3.8.4. No changes required.
+ * Put /etc/localtime into chroot to ensure correct timestamps for
+ syslog.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 11 Mar 2010 19:35:55 +0100
+
+lldpd (0.4.1-1) unstable; urgency=low
+
+ * New upstream release: drop all patchs, they have been applied on 0.4.1.
+ * Switch to dpkg-source 3.0 (quilt) format.
+
+ -- Vincent Bernat <bernat@debian.org> Thu, 14 Jan 2010 07:48:04 +0100
+
+lldpd (0.4.0-2) unstable; urgency=low
+
+ * Fix init.d script with respect with the incorrect LSB header, thanks
+ to Peter Reinholdtsen. Closes: #542161.
+ * Add some patches from git:
+ + fix EDP vlan handling when there is no VLAN [c3f02fe]
+ + fix a bug in CDP packet generation [62d75ae]
+ + add missing argument in some call to LLOG_INFO [1ac88e1]
+ * Bump Standards-Version to 3.8.3. No changes required.
+
+ -- Vincent Bernat <bernat@debian.org> Tue, 18 Aug 2009 14:08:54 +0200
+
+lldpd (0.4.0-1) unstable; urgency=low
+
+ * New upstream version. Should work on ARM.
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 20 May 2009 19:15:19 +0200
+
+lldpd (0.3.3-2) unstable; urgency=low
+
+ * Create /var/run/lldpd in init.d. /var/run can be in a ramfs.
+ LP: #316335.
+ * Bump Standards-Version to 3.8.1.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 05 Apr 2009 12:59:09 +0200
+
+lldpd (0.3.3-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Vincent Bernat <bernat@debian.org> Sat, 14 Mar 2009 21:57:35 +0100
+
+lldpd (0.3.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 02 Mar 2009 17:14:17 +0100
+
+lldpd (0.3-1) unstable; urgency=low
+
+ * New upstream version
+ + LLDP-MED support
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 14 Dec 2008 12:02:23 +0100
+
+lldpd (0.2.1-1) unstable; urgency=low
+
+ * New upstream version
+ + Fix a lintian warning about a syntax error in manual page
+ * Ship upstream changelog
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 19 Nov 2008 20:12:13 +0100
+
+lldpd (0.2-1) unstable; urgency=low
+
+ * New upstream version
+ + FDP support
+ + privilege separation
+ * Provide debian/postinst and debian/postrm to create _lldpd user and group.
+ * /usr/sbin/lldpctl is now installed with setuid _lldpd, owned by adm
+ group and can be executed only by adm group. Any user in adm group can
+ run lldpctl.
+
+ -- Vincent Bernat <bernat@debian.org> Mon, 17 Nov 2008 20:22:17 +0100
+
+lldpd (0.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #502301)
+
+ -- Vincent Bernat <bernat@debian.org> Wed, 15 Oct 2008 21:41:21 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..17d3e5a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: lldpd
+Section: net
+Priority: optional
+Maintainer: Vincent Bernat <bernat@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ libsnmp-dev,
+ libpci-dev,
+ libxml2-dev,
+ libevent-dev,
+ libreadline-dev,
+ libbsd-dev,
+ libcap-dev,
+ pkg-config,
+ check,
+ systemd-dev,
+Standards-Version: 4.1.1
+Vcs-Browser: https://salsa.debian.org/debian/lldpd
+Vcs-Git: https://salsa.debian.org/debian/lldpd.git
+Homepage: https://lldpd.github.io
+
+Package: lldpd
+Architecture: linux-any kfreebsd-any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
+Suggests: snmpd
+Description: implementation of IEEE 802.1ab (LLDP)
+ LLDP is an industry standard protocol designed to supplant
+ proprietary Link-Layer protocols such as Extreme's EDP (Extreme
+ Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of
+ LLDP is to provide an inter-vendor compatible mechanism to deliver
+ Link-Layer notifications to adjacent network devices.
+ .
+ This implementation provides LLDP sending and reception, supports
+ VLAN and includes an SNMP subagent that can interface to an SNMP
+ agent through AgentX protocol.
+ .
+ This daemon is also able to deal with CDP, SONMP, FDP and EDP
+ protocol. It also handles LLDP-MED extension.
+
+Package: liblldpctl-dev
+Section: libdevel
+Architecture: linux-any kfreebsd-any
+Depends: lldpd (= ${binary:Version}), ${misc:Depends}
+Description: implementation of IEEE 802.1ab (LLDP) - development files
+ LLDP is an industry standard protocol designed to supplant
+ proprietary Link-Layer protocols such as Extreme's EDP (Extreme
+ Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of
+ LLDP is to provide an inter-vendor compatible mechanism to deliver
+ Link-Layer notifications to adjacent network devices.
+ .
+ This implementation provides LLDP sending and reception, supports
+ VLAN and includes an SNMP subagent that can interface to an SNMP
+ agent through AgentX protocol.
+ .
+ This daemon is also able to deal with CDP, SONMP, FDP and EDP
+ protocol. It also handles LLDP-MED extension.
+ .
+ This package contains development files to develop clients for lldpd.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e2aa198
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,241 @@
+Files: *
+Copyright: © 2008-2013 Vincent Bernat <bernat@luffy.cx>
+ © 2003, 2004 Henning Brauer <henning@openbsd.org>
+ © 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
+ © 2010 Andreas Hofmeister <andi@collax.com>
+License: ISC
+
+Files: libevent/*
+Copyright: Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
+ Copyright 2007-2012 Niels Provos and Nick Mathewson
+License: BSD-3-clause
+Comment:
+ The content of this directory is shipped with lldpd but not used for
+ compilation when the system libevent is recent enough.
+
+Files: libevent/arc4random.c
+Copyright: Copyright (c) 2010 Chris Davis, Niels Provos, and Nick Mathewson
+ Copyright (c) 2010-2012 Niels Provos and Nick Mathewson
+ Copyright (c) 1996, David Mazieres <dm@uun.org>
+ Copyright (c) 2008, Damien Miller <djm@openbsd.org>
+License: ISC
+
+Files: src/privsep_io.c
+Copyright: Copyright (c) 2003 Can Erkin Acar
+ Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org>
+License: ISC
+
+Files: src/privsep_fd.c
+Copyright: Copyright 2001 Niels Provos <provos@citi.umich.edu>
+ Copyright (c) 2002 Matthieu Herrb
+License: BSD-2-clause
+
+Files: src/client/utf8.c
+Copyright: Copyright (c) 2011 Joseph A. Adams
+License: Expat
+
+Files: m4/ax_cflags_gcc_option.m4
+Copyright: Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
+License: GPL-2+ with Autoconf exception
+
+Files: m4/ax_ld_check_flag.m4
+Copyright: Copyright (c) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+License: GPL-2+ with Autoconf exception
+
+Files: m4/ax_lib_readline.m4
+Copyright: Copyright (c) 2008 Ville Laurikari <vl@iki.fi>
+License: permissive
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice
+ and this notice are preserved. This file is offered as-is, without any
+ warranty.
+
+Files: m4/ax_prog_doxygen.m4
+Copyright: Copyright (c) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
+License: permissive
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice
+ and this notice are preserved. This file is offered as-is, without any
+ warranty.
+
+Files: include/linux/*
+Copyright: Copyright (C) 1991-2012 Linus Torvalds
+ and many others
+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; either version
+ 2 of the License, or (at your option) any later version.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+Comment:
+ It is believed that header files are an interface for user space and
+ therefore cannot be covered by copyright.
+
+Files: include/netinet/if_ether.h include/sys/queue.h
+Copyright: Copyright (c) 1982, 1986, 1993 The Regents of the University of California
+License: BSD-3-clause
+
+Files: include/osx/*
+Copyright: Copyright (c) 2003-2010 Apple Computer, Inc
+License: APSL-2
+ This file contains Original Code and/or Modifications of Original Code
+ as defined in and that are subject to the Apple Public Source License
+ Version 2.0 (the 'License'). You may not use this file except in
+ compliance with the License. The rights granted to you under the License
+ may not be used to create, or enable the creation or redistribution of,
+ unlawful or unlicensed copies of an Apple operating system, or to
+ circumvent, violate, or enable the circumvention or violation of, any
+ terms of an Apple operating system software license agreement.
+ .
+ Please obtain a copy of the License at
+ http://www.opensource.apple.com/apsl/ and read it before using this file.
+ .
+ The Original Code and all software distributed under the License are
+ distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ Please see the License for the specific language governing rights and
+ limitations under the License.
+Comment:
+ APSL incompatibility with GPL is not a problem here:
+ 1. It is believed that header files are an interface for user space and
+ therefore cannot be covered by copyright.
+ 2. Those headers are used only on OS X.
+
+Files: compat/asprintf.c
+Copyright: Copyright (c) 2004 Darren Tucker
+ Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
+License: ISC
+
+Files: compat/daemon.c
+Copyright: Copyright (c) 1990, 1993 The Regents of the University of California
+License: BSD-3-clause
+
+Files: compat/getline.c
+Copyright: Copyright (c) 2009 The NetBSD Foundation, Inc
+License: BSD-2-clause
+
+Files: compat/strlcpy.c
+Copyright: Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
+License: ISC
+
+Files: compat/strtonum.c
+Copyright: Copyright (c) 2004 Ted Unangst and Todd Miller
+License: ISC
+
+Files: debian/*
+Copyright: © 2008 Vincent Bernat <bernat@debian.org>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+License: GPL-2+ with Autoconf exception
+ 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 along
+ with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+ .
+ As a special exception, the respective Autoconf Macro's copyright owner
+ gives unlimited permission to copy, distribute and modify the configure
+ scripts that are the output of Autoconf when processing the Macro. You
+ need not follow the terms of the GNU General Public License when using
+ or distributing such scripts, even though portions of the text of the
+ Macro appear in them. The GNU General Public License (GPL) does govern
+ all other use of the material that constitutes the Autoconf Macro.
+ .
+ This special exception to the GPL applies to versions of the Autoconf
+ Macro released by the Autoconf Archive. When you make and distribute a
+ modified version of the Autoconf Macro, you may extend this special
+ exception to the GPL to apply to your modified version as well.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/liblldpctl-dev.install b/debian/liblldpctl-dev.install
new file mode 100644
index 0000000..7240f32
--- /dev/null
+++ b/debian/liblldpctl-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/*.h
+debian/tmp/usr/lib/*/*.so
+debian/tmp/usr/lib/*/pkgconfig/*.pc
diff --git a/debian/lldpd.default b/debian/lldpd.default
new file mode 100644
index 0000000..3acacfd
--- /dev/null
+++ b/debian/lldpd.default
@@ -0,0 +1,2 @@
+# Uncomment to start SNMP subagent and enable CDP, SONMP and EDP protocol
+#DAEMON_ARGS="-x -c -s -e"
diff --git a/debian/lldpd.docs b/debian/lldpd.docs
new file mode 100644
index 0000000..0a8ed1d
--- /dev/null
+++ b/debian/lldpd.docs
@@ -0,0 +1,3 @@
+usr/share/doc/lldpd/NEWS
+usr/share/doc/lldpd/README.md
+usr/share/doc/lldpd/CONTRIBUTE.md
diff --git a/debian/lldpd.init.d b/debian/lldpd.init.d
new file mode 100644
index 0000000..d337615
--- /dev/null
+++ b/debian/lldpd.init.d
@@ -0,0 +1,109 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: lldpd
+# Required-Start: $remote_fs $network $syslog
+# Required-Stop: $network $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: LLDP daemon
+# Description: lldpd is a 802.1AB implementation, a L2 network
+# discovery protocol. It also supports CDP, EDP and
+# various other protocols.
+### END INIT INFO
+
+# Do NOT "set -e"
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="LLDP daemon"
+NAME=lldpd
+DAEMON=/usr/sbin/$NAME
+DAEMON_ARGS=""
+PIDFILE=/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+CHROOT=/run/$NAME
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# LSB log_* functions
+. /lib/lsb/init-functions
+
+do_start()
+{
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+ || return 1
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
+ $DAEMON_ARGS \
+ || return 2
+}
+
+do_stop()
+{
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ RETVAL="$?"
+ [ "$RETVAL" = 2 ] && return 2
+ start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+ [ "$?" = 2 ] && return 2
+ rm -f $PIDFILE
+ return "$RETVAL"
+}
+
+do_reload() {
+ start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+ return 0
+}
+
+case "$1" in
+ start)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+ do_start
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ stop)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ reload)
+ log_daemon_msg "Reloading $DESC" "$NAME"
+ do_reload
+ log_end_msg $?
+ ;;
+ restart|force-reload)
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1)
+ do_start
+ case "$?" in
+ 0) log_end_msg 0 ;;
+ 1) log_end_msg 1 ;; # Old process is still running
+ *) log_end_msg 1 ;; # Failed to start
+ esac
+ ;;
+ *)
+ # Failed to stop
+ log_end_msg 1
+ ;;
+ esac
+ ;;
+ status)
+ status_of_proc $DAEMON $NAME -p $PIDFILE && exit 0 || exit $?
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2
+ exit 3
+ ;;
+esac
+
+:
diff --git a/debian/lldpd.install b/debian/lldpd.install
new file mode 100644
index 0000000..6f5bfb3
--- /dev/null
+++ b/debian/lldpd.install
@@ -0,0 +1,7 @@
+debian/tmp${env:deb_systemdsystemunitdir}/lldpd.service
+debian/tmp/usr/lib/*/*.so.*
+debian/tmp/usr/share/man/man8/*
+debian/tmp/usr/sbin/lldp*
+debian/tmp/usr/share/bash-completion/completions/*
+debian/tmp/usr/share/zsh/vendor-completions/*
+debian/tmp/etc/lldpd.d/*
diff --git a/debian/lldpd.lintian-overrides b/debian/lldpd.lintian-overrides
new file mode 100644
index 0000000..aeaad64
--- /dev/null
+++ b/debian/lldpd.lintian-overrides
@@ -0,0 +1,4 @@
+# liblldpctl is tightly coupled with lldpd because of the use of a
+# binary RPC mechanism between the library and lldpd. The library can
+# only work with the exact version of lldpd it was compiled with.
+lldpd binary: package-name-doesnt-match-sonames liblldpctl*
diff --git a/debian/lldpd.postinst b/debian/lldpd.postinst
new file mode 100644
index 0000000..a1b2266
--- /dev/null
+++ b/debian/lldpd.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ adduser --system --disabled-password --disabled-login --home /run/lldpd \
+ --no-create-home --quiet --force-badname --group _lldpd
+
+ for i in /usr/sbin/lldpcli; do
+ if ! dpkg-statoverride --list $i > /dev/null 2>&1; then
+ dpkg-statoverride --update --add _lldpd adm 4750 $i
+ fi
+ done
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/lldpd.postrm b/debian/lldpd.postrm
new file mode 100644
index 0000000..9c2c640
--- /dev/null
+++ b/debian/lldpd.postrm
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ purge)
+ dpkg-statoverride --remove /usr/sbin/lldpcli
+ dpkg-statoverride --quiet --remove /usr/sbin/lldpctl || true
+ deluser --system _lldpd || true
+ delgroup --system _lldpd || true
+
+ rm -rf /run/lldpd
+ ;;
+ *)
+ ;;
+esac
+
+exit 0
diff --git a/debian/lldpd.symbols b/debian/lldpd.symbols
new file mode 100644
index 0000000..cc49668
--- /dev/null
+++ b/debian/lldpd.symbols
@@ -0,0 +1,5 @@
+liblldpctl.so.4 lldpd #MINVER#
+ (symver)LIBLLDPCTL_4.6 0.7.16
+ (symver)LIBLLDPCTL_4.7 0.7.16
+ (symver)LIBLLDPCTL_4.8 0.8.0
+ (symver)LIBLLDPCTL_4.9 1.0.6
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..2ebdc8f
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,8 @@
+# installed by dh_installchangelog
+usr/share/doc/lldpd/ChangeLog
+# for compat with SysV init, we handle user creation ourselves
+usr/lib/sysusers.d/lldpd.sysusers.conf
+# should not be installed
+usr/share/doc/lldpd/LICENSE
+usr/lib/*/liblldpctl.a
+usr/lib/*/liblldpctl.la
diff --git a/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch b/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
new file mode 100644
index 0000000..7eee536
--- /dev/null
+++ b/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
@@ -0,0 +1,26 @@
+From 335f86aece1bbca456b49c644b5d6e651822a58d Mon Sep 17 00:00:00 2001
+From: Vincent Bernat <vincent@bernat.im>
+Date: Mon, 21 Aug 2017 09:10:52 +0200
+Subject: [PATCH] build: put ZSH completion in vendor-completions
+
+This is Debian-specific.
+---
+ src/client/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/client/Makefile.am b/src/client/Makefile.am
+index 3877f1c37b67..6f7ccd4ecd7e 100644
+--- a/src/client/Makefile.am
++++ b/src/client/Makefile.am
+@@ -35,7 +35,7 @@ endif
+ # Completions
+ bashcompletiondir = $(datadir)/bash-completion/completions
+ dist_bashcompletion_DATA = completion/lldpcli
+-zshcompletiondir = $(datadir)/zsh/site-functions
++zshcompletiondir = $(datadir)/zsh/vendor-completions
+ dist_zshcompletion_DATA = completion/_lldpcli
+
+ # Default configuration
+--
+2.14.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..66ab576
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-build-put-ZSH-completion-in-vendor-completions.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d818e34
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export deb_systemdsystemunitdir=$(shell pkg-config --variable=systemdsystemunitdir systemd)
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --enable-pie \
+ --with-snmp \
+ --with-xml \
+ --with-systemdsystemunitdir=$(deb_systemdsystemunitdir)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e929b94
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,10 @@
+Test-Command: /usr/sbin/lldpcli -vv
+Depends: lldpd
+Restrictions: needs-root
+
+Test-Command: /usr/sbin/lldpd -vv
+Depends: lldpd
+
+Test-Command: service lldpd status && lldpcli show configuration && lldpcli show neighbors
+Depends: lldpd
+Restrictions: needs-root, isolation-container
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..374f274
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,89 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBE/cpVkBEACi8ZoEu+dhI604/5zMuuAlPt7e1GDj75UgXZh5f21JYRt/laVs
+xiK07BG9NkTCpFzoAFRfndf7HvvTcKrumgPUFw0bYy9uvkrDDAzRV3slA+rL+n6h
+ugbxMrtWM+sSoB7pteZcfADDwfcO3SjvQV9mGdVcBOQq3lABdbWP7IAG5myrIvoz
+C/Li8v8w1dUeT7dnO1ciVS8y4J3fLNXD+EzGllSmc4BOWpkNJylkHLC0aeduhtgf
+e+t4aC/zaX9ccgWapei2kV8k87imayEQ0oaz/112jyGMJHJYnhlzDa/UcYA93EWG
+mRNeiEBrV1w2RGHm8oK4eh/xMWpHVEd/tNS261x9Q/dOHZxX6Qf/WQcmARRAkBhH
+mt+K+6F/TtOZqldRksUO8CGdQ9zt74Vg2RRVmctkOp+5Vh1iLOBzBzFybzlyOhw6
++cdE0S5EgS787dcjGw9MBpqt5ZX25dcp+obyMQJCREyuUs6a9F+H0I8YYhw8b7yg
+EbTpGmQCZRFcw196luniZHHlfyfY/xsH5FuxfmeVfHJsA36I6G6ge4JBjK8/6WpV
+DH0DmbAHCs5ChT8ppIwNHkdJw7JTCAUx2AQ6HlEK0R/CBXpTnozM40ni3BD0tUh0
+4qUenvni+VxpfxyhkNqBCq5wyIoGqXpkxc8TPeSq05Zu9/KSxlKLoJn/TwARAQAB
+tCBWaW5jZW50IEJlcm5hdCA8YmVybmF0QGx1ZmZ5LmN4PokCOgQTAQgAJAIbAwUL
+CQgHAwUVCgkICwUWAgMBAAIeAQIXgAIZAQUC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yn7lpD2DoyI
+Egmie+eQStzzo7FogFguh2N+k0pw75sgWDLNRt1v9GvjBRbvPpsj3jis1ySeqh36
+HJ5nBQFP3krTEZKUk3cDdHQj0GAtSTgTLNAvWAduQ9dWDOhuPW0D9KrtbyQm9GZh
+LFcHmc0caqd9KaN6a2Rwu+8fJrYqPDLCozk9x/MbKF/FwaULZRbvU20FCibymsNX
+B9om70EeYP2Y0o78mx2kuMBVLtfyNR7bEa7bi6RiY/CZbJNZusWtXYsDONsR/qdV
+NT8vXGKSnm2i+veGtOto7Fy+Dx8fekJpScrTn2n5blmTNfkgTJ57gigd9L4rxZuG
+RoaTnyjG0dXJor3Y8ovfyds1TkAk7RLUY1HcDUwsgGPkQcIaQST9Uw2tA+91MwQc
+cJb/yJUjT9Z1yqNYtqJYNMxCp4EI2h7HtJy/NZeiYVuh5fJrF2a4Ugaivy8koKE=
+=B+Vf
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9e31241
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=pgpsigurlmangle=s/$/.gpg/ \
+https://vincent.bernat.ch/en/projects .*/lldpd-([\d.]+).tar.gz