commit: 70301f81c008078fa0ded6204c8c6924df75010a Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> AuthorDate: Fri Jun 18 19:10:45 2021 +0000 Commit: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> CommitDate: Fri Jun 18 19:13:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70301f81
net-misc/smcroute: Add smcroute v2.4.4 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> 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(+) diff --git a/net-misc/smcroute/Manifest b/net-misc/smcroute/Manifest new file mode 100644 index 000000000..87885a47f --- /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 000000000..044a892f1 --- /dev/null +++ b/net-misc/smcroute/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Kurt Kanzenbach</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <upstream> + <remote-id type="github">troglobit/smcroute</remote-id> + </upstream> +</pkgmetadata> 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 000000000..35779a05f --- /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[@]}" +}
