summaryrefslogtreecommitdiff
blob: 9154819d42dbf919c6ae4c779f3d0172b4822c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit linux-info systemd

CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE"

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"

src_install() {
	default

	newinitd "${FILESDIR}/igmpproxy.initd" igmpproxy
	systemd_dounit "${FILESDIR}/${PN}.service"

	newconfd "${FILESDIR}/igmpproxy.confd" igmpproxy
}