tunneldigger-broker: add broker for tunneldigger
authorNick Hainke <vincent@systemli.org>
Thu, 8 Jun 2023 10:36:33 +0000 (12:36 +0200)
committerNick Hainke <vincent@systemli.org>
Mon, 12 Jun 2023 14:50:46 +0000 (16:50 +0200)
commit7340474c8b74f9f0cb0ff36daf224e3bde7ab835
tree8e65baaf33d7ca9bb5f26da853dfea589f469eb2
parent4ed85ea2479953571322614da70ce4795f38c464
tunneldigger-broker: add broker for tunneldigger

In mesh communities, tunneldigger is widely used to create L2TPv3 tunnels
and mesh via them. Since the broker is typically installed on other
distributions, the openwrt broker package has not received any
maintenance in recent years [0]. I  take now care of the further maintaince
of this package. Furthermore, I consulted with the maintainers to ensure
that they were comfortable with the change [1].

This PR is just a refactoring of the already existing opkg package from
wlanslovenija. It fixes config parsing and in general the config, adapts
to the new python syntax and fixes dependency handling.

- [0] https://github.com/wlanslovenija/firmware-packages-opkg/tree/master/net/tunneldigger-broker
- [1] https://github.com/wlanslovenija/firmware-packages-opkg/issues/24

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 8298ce82346817c09cfb6ace2f991bacf79a6071)
net/tunneldigger-broker/Makefile [new file with mode: 0644]
net/tunneldigger-broker/files/config.default [new file with mode: 0644]
net/tunneldigger-broker/files/hook-mtu-changed [new file with mode: 0755]
net/tunneldigger-broker/files/hook-setup [new file with mode: 0755]
net/tunneldigger-broker/files/hook-teardown [new file with mode: 0755]
net/tunneldigger-broker/files/tunneldigger-broker.init [new file with mode: 0755]
net/tunneldigger-broker/files/tunneldigger.sh [new file with mode: 0644]