net-misc/mrouted - 4.7 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/mrouted-4.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/mrouted-4.7

Or alternatively:

emerge --autounmask-write -a =net-misc/mrouted-4.7

Package Information

Description:
IP multicast routing daemon
Homepage:
https://troglobit.com/projects/mrouted/
License:
Stanford GPL-2

Ebuild Details

Version EAPI Keywords Slot
4.7 8 ~amd64 ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs systemd

DESCRIPTION="IP multicast routing daemon"
HOMEPAGE="https://troglobit.com/projects/mrouted/"
SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.gz"

LICENSE="Stanford GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
# Needs unshare
RESTRICT="!test? ( test ) test"

BDEPEND="
	app-alternatives/yacc
	virtual/pkgconfig
"

src_configure() {
	tc-export CC CXX

	# rename mtrace binary to mrtrace to avoid conflict with glibc (886145)
	# and rewrite the man page so we don't confuse people
	sed -i -e 's/MTRACE/MRTRACE/' -e 's/mtrace/mrtrace/' man/mtrace.8 || die
	econf $(use_enable test) "--program-transform-name='s/^mtrace/mrtrace/'"
}

src_compile() {
	emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
}

src_install() {
	default

	insinto /etc
	doins mrouted.conf

	newinitd "${FILESDIR}"/mrouted.rc mrouted
	systemd_dounit mrouted.service
}

pkg_postinst() {
	ewarn "The mtrace program from mrouted conflicts with the one installed by glibc"
	ewarn "so it has been renamed to mrtrace. See mrtrace(8) for documentation."
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/mrouted | euse -E <flag> -p net-misc/mrouted | euse -D <flag> -p net-misc/mrouted

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	app-alternatives/yacc
	virtual/pkgconfig

Manifest for 4.7

Type File Size Source URLs
DIST mrouted-4.7.tar.gz 325769 bytes https://github.com/troglobit/mrouted/releases/download/4.7/mrouted-4.7.tar.gz