diff options
author | Sam James <sam@gentoo.org> | 2023-06-05 05:48:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-05 05:48:09 +0100 |
commit | 8f9fc83105725040f1e8644e01bd98343f68bc59 (patch) | |
tree | 1d27ec9be5be017ead951fda373c46bc466408f8 /net-misc | |
parent | sci-mathematics/nauty: Stabilize 2.8.6-r1 x86, #907858 (diff) | |
download | gentoo-8f9fc83105725040f1e8644e01bd98343f68bc59.tar.gz gentoo-8f9fc83105725040f1e8644e01bd98343f68bc59.tar.bz2 gentoo-8f9fc83105725040f1e8644e01bd98343f68bc59.zip |
net-misc/mrouted: add 4.5
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.5.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/mrouted/Manifest b/net-misc/mrouted/Manifest index aa3497937b92..77778566e09f 100644 --- a/net-misc/mrouted/Manifest +++ b/net-misc/mrouted/Manifest @@ -1,2 +1,3 @@ DIST mrouted-4.2.tar.gz 292640 BLAKE2B 5d356c7c0132e2dc74e360c5a1761b6e39bcdfcb5306dcd7a8a35f5658139bdd74d92587b7fea248092bd4947b5119987bdf4066676c08c6baa849c1845f905b SHA512 88de66f24210bcf9d8e9ab0d38171c64c7dae2981fb2f81a54be2b08bbe26ff9b26ad5a7ec0fd4d67c2dad00a6df608aa7c1536c897bbc98f6bf223766924131 DIST mrouted-4.4.tar.gz 316949 BLAKE2B c768f78588ef5a321b33a6444627db0eae36dfd1798f58672392729e0ce45392fbcaad074e55eccef43dcda5d29cfee24f30aa85eded130ad8d1a6a006e62411 SHA512 cadd4cb15674c04bd976daad36ac38ec93eb9d6d0e2888cb7b4b73d2802f58beb11c122de34c1c5214a58f74dc832f35bff0820265370f4636036813ff283c09 +DIST mrouted-4.5.tar.gz 322493 BLAKE2B 1c4702d41f7bb9b6bd39cf718f28714555987b5837a858c6bb7697ad85f7a8b090bcee87d6997eecce728f3f645ac6ed41edd6bcd762b07ef92c52551ea11fba SHA512 145decbd1fba826196f719a7712bb9568080b2b5757eb80f79185537cd045ca1def36e34e93804ecaaa815607f43b58fc768b307098d90ac808ed5717a0c58d7 diff --git a/net-misc/mrouted/mrouted-4.5.ebuild b/net-misc/mrouted/mrouted-4.5.ebuild new file mode 100644 index 000000000000..a51404357005 --- /dev/null +++ b/net-misc/mrouted/mrouted-4.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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="rsrr test" + +# Needs unshare +RESTRICT="!test? ( test ) test" + +BDEPEND=" + app-alternatives/yacc + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX + + econf \ + $(usev rsrr --enable-rsrr) \ + $(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 +} |