summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-09 23:47:06 +0000
committerSam James <sam@gentoo.org>2021-01-09 23:50:44 +0000
commit31fb96b22eacfddeefc218b518a31ce0f2fb2064 (patch)
tree2172387dd93e82adfdfc61c400044a93c0b116cb /net-misc
parentnet-analyzer/masscan: bump to 1.3.0 (diff)
downloadgentoo-31fb96b22eacfddeefc218b518a31ce0f2fb2064.tar.gz
gentoo-31fb96b22eacfddeefc218b518a31ce0f2fb2064.tar.bz2
gentoo-31fb96b22eacfddeefc218b518a31ce0f2fb2064.zip
net-misc/mrouted: bump to 4.2
Closes: https://bugs.gentoo.org/725256 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/mrouted/Manifest1
-rw-r--r--net-misc/mrouted/mrouted-4.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/mrouted/Manifest b/net-misc/mrouted/Manifest
index 55077f32c12d..4ab2dcf3ac4d 100644
--- a/net-misc/mrouted/Manifest
+++ b/net-misc/mrouted/Manifest
@@ -1 +1,2 @@
DIST mrouted-3.9.8.tar.bz2 112863 BLAKE2B 4a7defbb1b97be8e452881a689d99742df2878dc9c2613c79e1bdc33af398c2be1b2d21de94e90592877ee5b6aa6b2f0c64948193eda9005c828a6cc84e492c0 SHA512 50abf2271c76b604d1e356ca5c0b62a7f07487f364991502326bbee169c451b43b3dbf01b88340d6b406f16d86a6d6fd9e7bb03c6e76d6af463b46d8423a41f4
+DIST mrouted-4.2.tar.gz 292640 BLAKE2B 5d356c7c0132e2dc74e360c5a1761b6e39bcdfcb5306dcd7a8a35f5658139bdd74d92587b7fea248092bd4947b5119987bdf4066676c08c6baa849c1845f905b SHA512 88de66f24210bcf9d8e9ab0d38171c64c7dae2981fb2f81a54be2b08bbe26ff9b26ad5a7ec0fd4d67c2dad00a6df608aa7c1536c897bbc98f6bf223766924131
diff --git a/net-misc/mrouted/mrouted-4.2.ebuild b/net-misc/mrouted/mrouted-4.2.ebuild
new file mode 100644
index 000000000000..47de037fe009
--- /dev/null
+++ b/net-misc/mrouted/mrouted-4.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+BDEPEND="
+ || ( dev-util/yacc sys-devel/bison )
+ virtual/pkgconfig
+"
+
+src_configure() {
+ tc-export CC CXX
+ econf $(usex rsrr --enable-rsrr '')
+}
+
+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
+}