--- /dev/null
+Source: mqtt-arp
+Section: net
+Priority: optional
+Maintainer: Jonathan McDowell <noodles@earth.li>
+Build-Depends: debhelper-compat (= 13),
+ libmosquitto-dev
+Standards-Version: 4.5.1
+Homepage: https://github.com/u1f35c/mqtt-arp
+Rules-Requires-Root: no
+
+Package: mqtt-arp
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Simple tool to watch for ARP presence and report using MQTT
+ mqtt-arp is an imaginatively named program that uses the Linux kernel netlink
+ interface to watch for details of hosts making ARP requests. It uses these
+ requests to determine if a device is present and report that information via
+ MQTT.
+ .
+ It can, for example, be used with Home Assistant to provide details of
+ detected wifi devices for use with presence decisions.
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mqtt-arp
+Upstream-Contact: Jonathan McDowell <noodles@earth.li/
+Source: https://github.com/u1f35c/mqtt-arp
+
+Files: *
+Copyright: 2018, 2020, 2021 Jonathan McDowell <noodles@earth.li>
+License: GPL-3+
+
+License: GPL-3+
+ 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 3 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 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
--- /dev/null
+[Unit]
+Description=MQTT ARP watcher
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/mqtt-arp
+Restart=on-failure
+PrivateTmp=true
+ProtectSystem=full
+NoNewPrivileges=true
+PrivateDevices=true
+MemoryDenyWriteExecute=true
+ProtectKernelModules=true
+ProtectControlGroups=true
+RestrictRealtime=true
+RestrictNamespaces=true
+
+[Install]
+WantedBy=multi-user.target