1 |
commit: 4086fcda8bbd8653111ff2c8b29d4d897cc600be |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 23:37:50 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 00:08:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4086fcda |
7 |
|
8 |
net-misc/igmpproxy: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-misc/igmpproxy/files/igmpproxy-init.d | 4 ++-- |
15 |
net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild | 25 +++++++++++++++++++++++++ |
16 |
2 files changed, 27 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/igmpproxy/files/igmpproxy-init.d b/net-misc/igmpproxy/files/igmpproxy-init.d |
19 |
index 0b138c3..e24952e 100644 |
20 |
--- a/net-misc/igmpproxy/files/igmpproxy-init.d |
21 |
+++ b/net-misc/igmpproxy/files/igmpproxy-init.d |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2009 Gentoo Foundation |
25 |
+#!/sbin/openrc-run |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
|
31 |
diff --git a/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild b/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..bda21a8 |
34 |
--- /dev/null |
35 |
+++ b/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild |
36 |
@@ -0,0 +1,25 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+EAPI=6 |
42 |
+inherit linux-info systemd |
43 |
+ |
44 |
+DESCRIPTION="Multicast Routing Daemon using only IGMP signalling (Internet Group Management Protocol)" |
45 |
+HOMEPAGE="http://sourceforge.net/projects/igmpproxy" |
46 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2 Stanford" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="amd64 x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE" |
54 |
+ |
55 |
+src_install() { |
56 |
+ emake DESTDIR="${D}" install |
57 |
+ |
58 |
+ newinitd "${FILESDIR}/${PN}-init.d" ${PN} |
59 |
+ newconfd "${FILESDIR}/${PN}-conf.d" ${PN} |
60 |
+ systemd_dounit "${FILESDIR}/${PN}.service" |
61 |
+} |