]> the.earth.li Git - mqtt-arp.git/log
mqtt-arp.git
9 months agoUpdated README main
claes [Sat, 10 Jun 2023 20:20:50 +0000 (22:20 +0200)]
Updated README

9 months agoMake the config file overridable
claes [Sat, 10 Jun 2023 20:01:43 +0000 (22:01 +0200)]
Make the config file overridable

2 years agoAdd missing debian/source/format indicating we're a native package
Jonathan McDowell [Sat, 12 Feb 2022 17:58:25 +0000 (17:58 +0000)]
Add missing debian/source/format indicating we're a native package

2 years agoAdd initial Debian packaging
Jonathan McDowell [Wed, 9 Feb 2022 19:37:15 +0000 (19:37 +0000)]
Add initial Debian packaging

Basic packaging for Debian, including a systemd unit file.

2 years agoAllow CC/CFLAGS/LDFLAGS to be overriden in Makefile
Jonathan McDowell [Wed, 9 Feb 2022 18:33:35 +0000 (18:33 +0000)]
Allow CC/CFLAGS/LDFLAGS to be overriden in Makefile

Helpful when building a package.

2 years agoAdd a basic install target to the Makefile
Jonathan McDowell [Wed, 9 Feb 2022 18:31:41 +0000 (18:31 +0000)]
Add a basic install target to the Makefile

Helpful when building a package.

3 years agoFix option parsing on some platforms (e.g. ARM)
Jonathan McDowell [Wed, 23 Sep 2020 08:14:38 +0000 (09:14 +0100)]
Fix option parsing on some platforms (e.g. ARM)

getopt_long returns an int, not a char, and on some platforms we hit
issues with the sign extension as a result. Do it properly.

Fixes #2

5 years agoAdd README.md
Jonathan McDowell [Tue, 18 Sep 2018 19:19:15 +0000 (20:19 +0100)]
Add README.md

5 years agoAdd a .gitignore to ignore build items / editor files
Jonathan McDowell [Sat, 15 Sep 2018 17:10:30 +0000 (18:10 +0100)]
Add a .gitignore to ignore build items / editor files

5 years agoAdd basic config file parsing
Jonathan McDowell [Fri, 14 Sep 2018 17:39:53 +0000 (18:39 +0100)]
Add basic config file parsing

Rather than requiring all the parameters on the command line read a
config file. The command line can still override all options.

5 years agoFix setting of default options
Jonathan McDowell [Thu, 13 Sep 2018 17:38:18 +0000 (18:38 +0100)]
Fix setting of default options

mqtt_topic / location were never being set with their defaults.

5 years agoSilently drop RTM_DELNEIGH/RTM_GETNEIGH messages
Jonathan McDowell [Mon, 11 Jun 2018 20:36:15 +0000 (21:36 +0100)]
Silently drop RTM_DELNEIGH/RTM_GETNEIGH messages

Rather than printing that we don't understand these messages, silently
drop them.

5 years agoFix alignment when parsing Netlink messages
Jonathan McDowell [Wed, 6 Jun 2018 17:30:56 +0000 (18:30 +0100)]
Fix alignment when parsing Netlink messages

The Netlink header should be treated as NLA_HDRLEN in length, and
NLA_ALIGN() used to deal with padding after attributes.

5 years agoAdd support for clean shutdown via SIGTERM
Jonathan McDowell [Wed, 30 May 2018 19:53:02 +0000 (20:53 +0100)]
Add support for clean shutdown via SIGTERM

Catch SIGTERM to allow ourselves to do an orderly shutdown. This isn't
useful in general operation (as a TERM will do all this cleanup anyway)
but allows for testing under valgrind to ensure no leaks or invalid
accesses.

5 years agoAdd command line parameters for MQTT username + password
Jonathan McDowell [Wed, 30 May 2018 19:41:33 +0000 (20:41 +0100)]
Add command line parameters for MQTT username + password

5 years agoFix MAC address command line parsing
Jonathan McDowell [Wed, 30 May 2018 17:28:38 +0000 (18:28 +0100)]
Fix MAC address command line parsing

We weren't setting valid to true + incrementing our count when we saw
a MAC address on the command line.

5 years agoAdd command line parsing of options
Jonathan McDowell [Wed, 23 May 2018 21:46:54 +0000 (22:46 +0100)]
Add command line parsing of options

Rather than hard coding all of the relevant details allow them to be
specified on the command line. Refactor config into a single config
structure to help with this.

5 years agoAdd a basic Makefile
Jonathan McDowell [Wed, 23 May 2018 18:29:39 +0000 (19:29 +0100)]
Add a basic Makefile

5 years agoInitial commit
Jonathan McDowell [Wed, 23 May 2018 07:10:09 +0000 (08:10 +0100)]
Initial commit