Re: new net/smcroute

Klemens Nanni <[email protected]> Fri, 24 Jul 2026 22:40:16 +0000
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
24.07.2026 19:59, Alexander Bluhm пишет:
> On Sun, Jul 19, 2026 at 11:06:50AM +0200, Alexander Bluhm wrote:
>> Hi,
>>
>> I need an IPv6 capable multicast router for testing the muticast
>> forwarding path in the kernel.
>>
>> ok to import smcroute 2.6.0 ?
> 
> anyone?

Upstream has stable release assets, so the standard idiom is

	V =		2.6.0
	DISTNAME =	smcroute-${V}
	HOMEPAGE =	https://github.com/troglobit/smcroute
	SITES =		https://github.com/troglobit/smcroute/releases/download/${V}/

Alternatively, you can pick the latest commit for 2.6.1 and remove all patches
except for the Makefile.am one:

	GH_ACCOUNT =	troglobit
	GH_PROJECT =	smcroute
	# no tag/release yet, contains OpenBSD fixes
	GH_COMMIT =	2fab0beb90eba032db2919bb647be7253c04ec84
	DISTNAME =	smcroute-2.6.1pre0

	# XXX
	CFLAGS +=	-DMRT_PIM=MRT_ASSERT \
			-DIGMPMSG_WHOLEPKT=3

Either way builds and packages, as you like.

OK kn

> 
>> Comment:
>> static multicast routing daemon
>>
>> Description:
>> smcrouted is a static multicast routing daemon providing fine grained
>> control over the multicast forwarding cache (MFC) in the UNIX kernel.
>> Both IPv4 and IPv6 are fully supported.
>>
>> smcrouted can be used as an alternative to dynamic multicast daemons like
>> mrouted(8), pimd(8) or pim6sd(8) in situations where static multicast
>> routes should be maintained and/or no proper IGMP or MLD signaling
>> exists.