4 Commits

Author SHA256 Message Date
7a24c19bb2 Accepting request 1314070 from network
OBS-URL: https://build.opensuse.org/request/show/1314070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mrouted?expand=0&rev=11
2025-10-28 14:29:29 +00:00
c796707fcf - Add patch:
* 0001-C23-compatibility.patch

OBS-URL: https://build.opensuse.org/package/show/network/mrouted?expand=0&rev=19
2025-10-28 12:12:25 +00:00
1387af40d8 Accepting request 1225472 from network
OBS-URL: https://build.opensuse.org/request/show/1225472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mrouted?expand=0&rev=10
2024-11-21 14:18:56 +00:00
0834c6fbc3 - Update to version 4.5
Fixes
  * Issue #56: ensure group timers are stopped when stopping
    interfaces
  * Issue #56: replace homegrown timer and socket handling with
    pev v2.0.
  * The existing timer implementation was too imprecise and
    jittered several seconds between query intervals.
  * Issue #64: fix compiler warnings when building with 64-bit
    `time_t` targeting 32-bit platforms (only affects logging and
    status output).
  * Fix `mroutectl show routes`, locally connected routes never
    expire.
  * Skip timeout of subordinates at startup.
  Changes
  * Check interface status and update internal state on more
    error codes instead of logging `sendto()` or `sendmsg()`
    failure.
  * Revert change in `TIMER_INTERVAL` from v4.0, update interval
    is now 5 seconds instead of 2.
  * Removed internal log rate limiter, demystifies behavior and
    greatly simplifies the code.
  * Log interface names with their assigned VIF number to ease
    debugging.
  * Speed up peering by sending route reports as soon as one-way
    peering has been established.
  * Updates to logging, clarifying source 0.0.0.0 of routes as
    "us", and add logging when adding and discarding groups to/from
    interfaces.
  * Use (S, G) format for all logging.

OBS-URL: https://build.opensuse.org/package/show/network/mrouted?expand=0&rev=17
2024-11-21 08:44:23 +00:00
5 changed files with 81 additions and 6 deletions

View File

@@ -0,0 +1,32 @@
From 9faf45f67970778277c533cc7acbe3c73bfe11c2 Mon Sep 17 00:00:00 2001
From: Philippe Troin <phil+github-commits@fifi.org>
Date: Wed, 23 Apr 2025 16:04:20 -0700
Subject: [PATCH] C23 compatibility.
bool is a keyword in C23.
---
src/kern.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/kern.c b/src/kern.c
index 27f8dd4..04f1c36 100644
--- a/src/kern.c
+++ b/src/kern.c
@@ -104,11 +104,11 @@ void k_set_rcvbuf(int bufsize, int minsize)
* in the kernel and "panic". The kernel patch for netinet/ip_raw.c
* coming with this distribution fixes it.
*/
-void k_hdr_include(int bool)
+void k_hdr_include(int flag)
{
#ifdef IP_HDRINCL
- if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &bool, sizeof(bool)) < 0)
- logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u", bool);
+ if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &flag, sizeof(flag)) < 0)
+ logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u", flag);
#endif
}
--
2.51.1

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8d51f43f41ac120fc2b2747e863f9029a051cc75b5650ba0ec190be5a0ffc37
size 390363

3
mrouted-4.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a51f6826b48d6144ed24844d5bb20078d1cf8f8ce8321c0be76206934ec05c26
size 393024

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon Oct 27 19:42:01 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Add patch:
* 0001-C23-compatibility.patch
-------------------------------------------------------------------
Fri Nov 15 13:19:54 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 4.5
Fixes
* Issue #56: ensure group timers are stopped when stopping
interfaces
* Issue #56: replace homegrown timer and socket handling with
pev v2.0.
* The existing timer implementation was too imprecise and
jittered several seconds between query intervals.
* Issue #64: fix compiler warnings when building with 64-bit
`time_t` targeting 32-bit platforms (only affects logging and
status output).
* Fix `mroutectl show routes`, locally connected routes never
expire.
* Skip timeout of subordinates at startup.
Changes
* Check interface status and update internal state on more
error codes instead of logging `sendto()` or `sendmsg()`
failure.
* Revert change in `TIMER_INTERVAL` from v4.0, update interval
is now 5 seconds instead of 2.
* Removed internal log rate limiter, demystifies behavior and
greatly simplifies the code.
* Log interface names with their assigned VIF number to ease
debugging.
* Speed up peering by sending route reports as soon as one-way
peering has been established.
* Updates to logging, clarifying source 0.0.0.0 of routes as
"us", and add logging when adding and discarding groups to/from
interfaces.
* Use (S, G) format for all logging.
* Silence bogus `Failed MRT_DEL_MFC` warnings for routes never
added to the MRIB due to missing reverse path.
-------------------------------------------------------------------
Thu Feb 22 13:57:54 UTC 2024 - pgajdos@suse.com

View File

@@ -1,8 +1,8 @@
#
# spec file for package mrouted
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2018-2023, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2018-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: mrouted
Version: 4.5
Version: 4.6
Release: 0
Summary: An implementation of the DVMRP multicast routing protocol
License: BSD-3-Clause AND BSD-4-Clause
@@ -27,6 +27,7 @@ URL: https://github.com/troglobit/mrouted
#Git-Clone: https://github.com/troglobit/mrouted.git
Source: https://github.com/troglobit/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: harden_mrouted.service.patch
Patch1: 0001-C23-compatibility.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison