net-misc/igmpproxy: bump to EAPI=7.
authorConrad Kostecki <conrad@kostecki.com>
Sun, 28 Oct 2018 13:16:57 +0000 (14:16 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 8 Nov 2018 22:28:36 +0000 (23:28 +0100)
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10262
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
net-misc/igmpproxy/igmpproxy-0.2.1-r1.ebuild [new file with mode: 0644]

diff --git a/net-misc/igmpproxy/igmpproxy-0.2.1-r1.ebuild b/net-misc/igmpproxy/igmpproxy-0.2.1-r1.ebuild
new file mode 100644 (file)
index 0000000..06a8c26
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit linux-info systemd
+
+DESCRIPTION="A multicast routing daemon which uses IGMP forwarding"
+HOMEPAGE="https://github.com/pali/igmpproxy"
+SRC_URI="https://github.com/pali/igmpproxy/releases/download/${PV}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+
+CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE"
+
+src_install() {
+       default
+
+       newinitd "${FILESDIR}/igmpproxy.initd" igmpproxy
+       systemd_dounit "${FILESDIR}/${PN}.service"
+
+       newconfd "${FILESDIR}/igmpproxy.confd" igmpproxy
+}