From 70301f81c008078fa0ded6204c8c6924df75010a Mon Sep 17 00:00:00 2001 From: Kurt Kanzenbach Date: Fri, 18 Jun 2021 21:10:45 +0200 Subject: [PATCH] net-misc/smcroute: Add smcroute v2.4.4 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Kurt Kanzenbach --- net-misc/smcroute/Manifest | 1 + net-misc/smcroute/metadata.xml | 23 ++++++++++++++ net-misc/smcroute/smcroute-2.4.4.ebuild | 42 +++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 net-misc/smcroute/Manifest create mode 100644 net-misc/smcroute/metadata.xml create mode 100644 net-misc/smcroute/smcroute-2.4.4.ebuild diff --git a/net-misc/smcroute/Manifest b/net-misc/smcroute/Manifest new file mode 100644 index 0000000000..87885a47f0 --- /dev/null +++ b/net-misc/smcroute/Manifest @@ -0,0 +1 @@ +DIST smcroute-2.4.4.tar.xz 134008 BLAKE2B f35b13bd3346a38557f38841f549ac72b49737657ddbbb5699fc024e130244939f4a00e687c2822a1bc80e1a94789b234d730739cfc6367c415e37c943d1cccd SHA512 9b2826db30ce16a2ef3889f631840f69ea1dc459a3f5ccc3bb250730bc51e2a28df012368af2de80c06c046be4316854cb4f60f5bbafd0148ec39e37ada0b266 diff --git a/net-misc/smcroute/metadata.xml b/net-misc/smcroute/metadata.xml new file mode 100644 index 0000000000..044a892f16 --- /dev/null +++ b/net-misc/smcroute/metadata.xml @@ -0,0 +1,23 @@ + + + + + kurt@kmk-computers.de + Kurt Kanzenbach + + + SMCRoute is a UNIX/Linux tool to manage and monitor multicast routes. It + supports both IPv4 and IPv6 multicast routing. + + SMCRoute can be used as an alternative to dynamic multicast routers like + mrouted or pimd in setups where static multicast routes should be maintained + and/or no proper IGMP or MLD signaling exists. + + Multicast routes exist in the UNIX kernel as long as a multicast routing + daemon runs. On Linux, multiple multicast routers can run simultaneously + using different multicast routing tables. + + + troglobit/smcroute + + diff --git a/net-misc/smcroute/smcroute-2.4.4.ebuild b/net-misc/smcroute/smcroute-2.4.4.ebuild new file mode 100644 index 0000000000..35779a05fd --- /dev/null +++ b/net-misc/smcroute/smcroute-2.4.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info + +DESCRIPTION="A static multicast routing daemon" +HOMEPAGE="https://troglobit.com/projects/smcroute/" +SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.xz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="caps systemd" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + caps? ( sys-libs/libcap ) + systemd? ( sys-apps/systemd:0= ) +" +DEPEND=" + ${RDEPEND} +" + +CONFIG_CHECK=" + ~CONFIG_IP_MROUTE + ~CONFIG_IP_PIMSM_V1 + ~CONFIG_IP_PIMSM_V2 + ~CONFIG_IP_MROUTE_MULTIPLE_TABLES + ~CONFIG_IPV6_MROUTE_MULTIPLE_TABLES +" + +src_configure() { + local myconf=( + $(use_with caps libcap) + $(use_with systemd) + ) + econf "${myconf[@]}" +}