Skip to contentSkip to conversation

mrouted upgrade with systemd build fix

PATCH In review Joachim Wiberg 2 participants 4 messages Jun 4, 2023 – Jul 30, 2023

lore
Share & tools
lore
#0 lore raw

cover mrouted upgrade with systemd build fix

- Bump mrouted to latest release
- Add missing /var/lib/misc for persistent state on systemd builds

Joachim Wiberg (2):
package/mrouted: bump for v4.5 release package/mrouted: add /var/lib/misc for systemd builds

 package/mrouted/mrouted.hash | 4 ++--
 package/mrouted/mrouted.mk   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/2 package/mrouted: bump for v4.5 release

Upstream ChangeLog:

- Ignore IGMP proxy querys (src ip: 0.0.0.0), they must never win a querier election
- Fix compat read location and new location for mrouted.genid
- Fix "non-decreasing" generation id, must increment on each restart
- Add support for configurable IGMP query response interval
- Add support for configurable IGMP querier timeout
- New 'join-group <group>' phyint option for cases where an IGMP snooping switch blocks flooding of multicast to the port where mrouted is connected
- On startup and reconf, log why we skip disabled interfaces
- Change to always log when assuming the IGMP querier role

---
 package/mrouted/mrouted.hash | 4 ++--
 package/mrouted/mrouted.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/mrouted/mrouted.hash +2 -2
index affb323b4b..7516a1329c 100644
@@ -1,5 +1,5 @@
-# From https://github.com/troglobit/mrouted/releases/download/4.4/mrouted-4.4.tar.gz.sha256
-sha256  095439e544d69c91ed64fa87db7e35bc2155eef48b7f268281d80946d2c6b953  mrouted-4.4.tar.gz
+# From https://github.com/troglobit/mrouted/releases/
+sha256  99e1a1ca45e4e6c05b3cf379fd59a239aeabd9512656114528ad5e172d3c8ba8  mrouted-4.5.tar.gz
 
 # Locally calculated
 sha256  834f45ed282fd010f354ecc0a50538af519a1cfcc4d2866de3be06982fa9ed29  LICENSE
package/mrouted/mrouted.mk +1 -1
index 4014b8f896..3e2f49dc10 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MROUTED_VERSION = 4.4
+MROUTED_VERSION = 4.5
 MROUTED_SITE = \
 	https://github.com/troglobit/mrouted/releases/download/$(MROUTED_VERSION)
 MROUTED_DEPENDENCIES = host-bison
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 2/2 package/mrouted: add /var/lib/misc for systemd builds

In reply to Joachim Wiberg

Similar to dnsmasq, mrouted saves state data across reboots in the /var/lib/misc/ directory. In the case of mrouted it is the unique generation id (used by neighboring mrouted routers to identify any router restarting). This file is generated on first boot.

Workaround only needed for systemd builds, the sysv skeleton already has the /var/lib/misc/ directory.

---
 package/mrouted/mrouted.mk | 1 +
 1 file changed, 1 insertion(+)
package/mrouted/mrouted.mk +1 -0
index 3e2f49dc10..0d2071c4f0 100644
@@ -18,6 +18,7 @@ define MROUTED_INSTALL_INIT_SYSV
 endef
 
 define MROUTED_INSTALL_INIT_SYSTEMD
+	mkdir -p $(TARGET_DIR)/var/lib/misc/
 	$(INSTALL) -D -m 644 $(@D)/mrouted.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/mrouted.service
 endef
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Joachim Wiberg
Quoted 3 lines · On Sun, 4 Jun 2023 17:48:16 +0200 Joachim Wiberg <[email protected]> wrote:

Joachim Wiberg (2):
package/mrouted: bump for v4.5 release package/mrouted: add /var/lib/misc for systemd builds

Both applied, thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot