Commit Graph

69 Commits

Author SHA1 Message Date
Robert Marko 0fed081486 treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 20:04:28 +02:00
Nick Hainke aab3b64e09 olsrd: update to 2023-06-12
Update to latest version.

Remove upstreamed patch:
- 100-rename-avl-to-olsrd_avl.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-06-13 15:20:23 +02:00
Nick Hainke 3e96c851a7 treewide: remove AUTORELEASE
OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.

This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's/\/Makefile$//';);
do
  make package/$i/download
done

[0] - 0c10c224be

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-27 17:14:16 +02:00
Stijn Tintel c2f9428ac5 olsrd: trim trailing space
Found with modified Kconfiglib.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-03 14:50:47 +01:00
Nick Hainke 319fac32b1 olsrd: update to 2022-03-18
fcb30aa4da73 unix: fix meshing with wireguard/point-to-point interfaces

Remove upstreamed patch:
- 101-unix-fix-meshing-with-wireguard-point-to-point-interfaces.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-03-18 14:34:03 +01:00
Etienne Champetier 1cd72bff83 olsrd: fix recursive dependency
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2022-03-14 07:04:39 +01:00
Nick Hainke d5a7e526c7 olsrd: add iptables as dependency
The upcoming OpenWrt version (currently in the master branch) ships
firewall4 by default [1], which uses nftables instead of iptables.

Users might choose to use a compatible layer [2] with iptables-nft,
decide which iptables they want to use, and make appropriate changes
related to fw3/f4[3].

This package requires to use iptables (no matter which variant) for
smart-gw-rules.

[1] 08d9f6e302
[2] https://www.redhat.com/en/blog/using-iptables-nft-hybrid-linux-firewall
[3] 795e7155cb

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-03-06 14:50:28 +01:00
Nick Hainke 0bffe620b4 olsrd: add ubus ipc integration to olsrd
IPC integration of olsrd with OpenWrt. Allow dynamic adding and removing
of interfaces at run-time. We need to rename the avl-tree files, since
libubox also defines avl tree. Also add patch to allow meshing via
wireguard point-to-point links.

The ubus interface offers following functions:
  - add_inteface '{"ifname":"wg_51820"}'
  - del_inteface '{"ifname":"wg_51820"}'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-16 10:24:19 +01:00
Nick Hainke b51394fdd7 olsrd: update to 21-10-06
- Revert "pud: fix build with gpsd >= 3.23.1"
- lib/pud/src/gpsdclient.c: drop handling of gpsdata->fix.status

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-11-06 16:29:25 +01:00
Nick Hainke e7e6800c67 Revert "olsrd: remove pud"
This reverts commit 2ac3accf36.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-11-06 16:29:25 +01:00
Nick Hainke 2ac3accf36 olsrd: remove pud
The gpsd integration in the pud library is wrong. With the new update
the library is no longer compiling. Remove this library.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-10-28 10:10:31 +02:00
Martin Hübner eff944874c olsrd: add olsrd-neigh.sh
This script originates from Freifunk Berlin. It prints a list of
all meshing neighbors known to olsrd on the command line.

Added: Error-checking for IPv4/IPv6-Hosts.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
2021-07-11 19:32:33 +02:00
Nick Hainke a302ee6265 olsrd: update to 2021-06-21
- filtergw: add plugin allow to allow/block gateways
    (even smartgateway)

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-12 10:06:46 +02:00
Nick Hainke dc0adf7dce olsrd: switch to procd
Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-11 08:36:30 +02:00
Nick Hainke 1326a6c252 olsrd: use SPDX
Use SPDX license headers to be machine readable.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-09 19:19:16 +02:00
Nick Hainke 771427cc27 Revert "olsrd: use SPDX and bump copyright"
This reverts commit a46eb8b842.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-09 18:46:37 +02:00
Nick Hainke a46eb8b842 olsrd: use SPDX and bump copyright
1) Use SPDX license headers to be machine readable.
2) Update copyright to 2021.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-08 16:10:05 +02:00
Nick Hainke cfd8ab958f olsrd: update to 2021-06-08
- bsd: allow use of an alternative routing table on OpenBSD

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-08 16:10:05 +02:00
Nick Hainke 27ac56adc6 olsrd: only pud depends on libgps
As a workaround for the glibc-fix the dependency on libgps was moved
to olsrd. However, only pud is using this library.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-07 21:02:34 +02:00
Nick Hainke 4f7791a1fd olsrd: update to 2021-06-07
- pud: fix openwrt glibc compilation

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-07 20:41:32 +02:00
Nick Hainke bdec65a6d9 olsrd: add filtergw plugin
The plugin adds a possibility to filter out gateway HNAs. This can be
very handy e.g. for faulty nodes. A gateway can be taken out directly on
a central node and all traffic is then redirected. Also the underlying
smart gateways are adapted. Currently the link multiplier is often used
to control a faulty node, but it is not necessarily the best way to do
so.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-06 18:12:48 +02:00
Nick Hainke 7ca6e2827f olsrd: only compile pud for musl
Compiling pud on glibc results in errors. Do not compile it util
it is fixed upstream.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-06 16:55:51 +02:00
Nick Hainke 6dac4d296c olsrd: update olsrd to 2021-06-01
Update olsrd to new version.
Remove upstreamed patches:
- 010-musl.patch
- 011-bison.patch
- 012-gpsd.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-06 16:55:51 +02:00
Nick Hainke b455e1809a olsrd: add me as maintainer
I am now the maintainer of olsrd. Add me also as maintainer in the
openwrt-routing feed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-06 16:55:51 +02:00
Nick Hainke 8c7bcb7206 olsrd: use $(AUTORELEASE)
Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-06 16:55:51 +02:00
pmelange 5cc8e05885 olsrd: migrate to using bison 3.7.1
With the upgrade to bison 3.7.1 (openwrt commit 1cf842d) building
olsrd was failing.  Now, instead of the contents of header files
being directly inserted into the generated source files, they are
instead included with a #include directive.

The local.mk has, until now, done some magic with *-tmp files,
which is not longer necessary and even causes builds to fail.

src/cfgparser/oparse.c:265:10: fatal error: oparse.h-tmp: No such file or directory
 #include "oparse.h-tmp"

Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2020-08-27 18:01:39 +02:00
Rosen Penev 14668df74b
olsrd: fix compilation with musl 1.2.x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 12:38:12 -07:00
Nick Hainke 2b6a4e1beb olsrd: bump to latest version
Fixes https://github.com/openwrt-routing/packages/issues/547

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-06-18 14:02:51 +02:00
Russell Senior c1a41b1740 olsrd: update to 0.9.8
Allows building against gpsd-3.19.

Signed-off-by: Russell Senior <russell@personaltelco.net>
2019-08-12 12:35:21 -07:00
pmelange 20b9ab3cea [OLSRd] Bump OLSRd version to 0.9.7
This patch bumps OLSRd from 0.9.6.2 to 0.9.7 (released 06-March-2019)

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-03-23 14:16:40 +01:00
Daniel Engberg 43449bcbbd treewide: Basic cleanup and alignment to package guidelines (#383)
This is a very basic cleanup, several packages needs more work
but this at least drops git for https and removes the use of
PKG_MD5SUM and some minor fixes.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-12 16:50:47 +02:00
Bastian Bittorf f33ccc725c
Merge pull request #300 from OLSR/master
olsrd: pud: does not depend on ncurses
2017-12-13 12:41:10 +01:00
Thomas Huehn 78049b46ac [olsr] Bump olsr version to 0.9.6.2
This patch bumps olsr version from 0.9.6.1 to 0.9.6.2
One major bugfix comes with the newer version, which is quite relevant
for our Freifunk mesh network: the feature LinkQualityMult was not
working in 0.9.6.1 and got fixed in the new version.

Tested on 92 productive mesh nodes running current LEDE trunk .

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
2017-10-13 20:18:51 +02:00
Ferry Huberts 15e50466fb olsrd: pud: does not depend on ncurses
BTW According to Matthias there is no ncurses package either way!

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2017-06-07 10:17:21 +01:00
Ferry Huberts ede4989259 olsrd: update to v0.9.6.1
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2017-02-10 11:14:52 +01:00
Ferry Huberts 54e47597d7 olsrd: update to v0.9.6
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2017-02-01 18:48:35 +01:00
Sven Roederer 9627e2956b olsrd: Makefile - remove empty line
doesn't look like it intended

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-16 01:43:23 +01:00
Bastian Bittorf dcecd7007d olsrd: disable parallel build and swap a dependency order, should fix buildbot 2016-12-18 21:39:12 +01:00
Bastian Bittorf 3b14a1c5b6 olsrd: plugins: pud: fix missing dependency for libgps
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2016-12-16 17:14:24 +01:00
FreifunkUFO 803575c023 olsrd: add netjson plugin
netjson plugin added
2016-12-07 14:29:04 +01:00
Sven Roederer 8a7364f257 olsrd: update (c)-header date 2016-03-18 08:51:39 +01:00
Sven Roederer 8136a3603d [olsr, oonf] change to new repo 2016-03-18 02:44:25 +01:00
Bastian Bittorf 3d25d77935 olsrd: convert Makefile for using 'git'
For easier fiddling with other versions, switch to git
This way one don't need to wait for a release-tarball.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2016-01-14 11:51:37 +01:00
Saverio Proto 3b4de3e112 olsrd: bump to version 0.9.0.3 2015-09-21 12:34:09 +02:00
Bastian Bittorf 6172dcef32 olsrd: 0.9.0.1 -> 0.9.0.2 (bugfix-release) 2015-07-01 21:31:54 +02:00
Bastian Bittorf fcf34a758e olsrd: Makefile version typo: 0.9.1 -> 0.9.0.1 2015-06-19 13:19:57 +02:00
Bastian Bittorf 2c58742f63 olsrd: bump to version 0.9.1 (bugfixes)
We did a bug-fix release of olsrd v1.
It fixes a route-recalculation issue and at least one crash.

Everyone using olsrd v1 is strongly urged to upgrade, especially people
using Smart-Gateway.

The shortlog is appended.

0.9.0.1 -------------------------------------------------------------------

Ferry Huberts (3):
      neighbors: signal link changes when deleting a neighbor
      jsoninfo: do not output smart-gateway info when not enabled.
      txtinfo: do not output smart-gateway info when not enabled.

Henning Rogge (2):
      Update version after release of v0.9.0
      Release v0.9.0.1
2015-06-18 20:08:31 +02:00
Bastian Bittorf d7b3bbc896 olsrd: bump to new release 0.9.0
see: https://lists.olsr.org/pipermail/olsr-dev/2015-June/007598.html

"Everyone using olsrd v1 is strongly urged to upgrade, especially people
using Smart-Gateway.

In this release the Multi-Smart-Gateway additions are declared stable.

Also, Smart-Gateway timeouts are now implemented, which is a major fix
to the Smart-Gateway system. These timeouts were missing ever since its
first implementation." (Ferry Huberts)
2015-06-08 09:27:56 +02:00
Saverio Proto b759b28ee4 olsrd: increasing package version after merging pull request 2015-01-05 08:40:53 +01:00
Saverio Proto 743e4c27e2 olsrd: bump to 0.6.8 2014-12-29 14:09:37 +01:00