mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
net-misc/igmpproxy: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Multicast Routing Daemon using only IGMP signalling (Internet Group Management Protocol)"
|
||||
HOMEPAGE="http://sourceforge.net/projects/igmpproxy"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 Stanford"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-init.d" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}-conf.d" ${PN}
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
Reference in New Issue
Block a user