diff options
author | Sam James <sam@gentoo.org> | 2024-11-11 15:32:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-11 17:01:40 +0000 |
commit | fdbb159e9a73d43d87f699c102033202e75ff1e6 (patch) | |
tree | e8a7b1c0cc5bc2750ad0d943b7ac8526e41335ed /net-misc | |
parent | media-libs/libdisplay-info: sys-apps/hwdata is only used at build time (diff) | |
download | gentoo-fdbb159e9a73d43d87f699c102033202e75ff1e6.tar.gz gentoo-fdbb159e9a73d43d87f699c102033202e75ff1e6.tar.bz2 gentoo-fdbb159e9a73d43d87f699c102033202e75ff1e6.zip |
net-misc/mrouted: add 4.6
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/mrouted/Manifest | 1 | ||||
-rw-r--r-- | net-misc/mrouted/mrouted-4.6.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/mrouted/Manifest b/net-misc/mrouted/Manifest index f990d4f52d40..501658939ab5 100644 --- a/net-misc/mrouted/Manifest +++ b/net-misc/mrouted/Manifest @@ -1 +1,2 @@ DIST mrouted-4.5.tar.gz 322493 BLAKE2B 1c4702d41f7bb9b6bd39cf718f28714555987b5837a858c6bb7697ad85f7a8b090bcee87d6997eecce728f3f645ac6ed41edd6bcd762b07ef92c52551ea11fba SHA512 145decbd1fba826196f719a7712bb9568080b2b5757eb80f79185537cd045ca1def36e34e93804ecaaa815607f43b58fc768b307098d90ac808ed5717a0c58d7 +DIST mrouted-4.6.tar.gz 325200 BLAKE2B eee3509d2a87ca6e089889900e5b96e14e344d12a895c6d6a4a8a3c65fab78640f0906839fda0a88f6803b608d8a9551d66d1fffae218c14331a7bfc655f2ae9 SHA512 e3e4483c38cc85787e1873a733213eedcdccaf371e39ba6ccc01786184d2ddf1ee5e44bde6d04424b28ebbcec2a020d9575ad48323fc4d2a58a88f4cf639ec1c diff --git a/net-misc/mrouted/mrouted-4.6.ebuild b/net-misc/mrouted/mrouted-4.6.ebuild new file mode 100644 index 000000000000..d7371df90d87 --- /dev/null +++ b/net-misc/mrouted/mrouted-4.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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 + + econf $(use_enable test) +} + +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 +} |