net-misc/igmpproxy: bump to version 0.2.1
authorConrad Kostecki <conrad@kostecki.com>
Mon, 25 Jun 2018 20:23:16 +0000 (22:23 +0200)
committerTony Vroon <chainsaw@gentoo.org>
Wed, 11 Jul 2018 11:42:43 +0000 (12:42 +0100)
Closes: https://bugs.gentoo.org/659184
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9015
Closes: https://bugs.gentoo.org/659184

net-misc/igmpproxy/Manifest
net-misc/igmpproxy/files/igmpproxy.confd [new file with mode: 0644]
net-misc/igmpproxy/files/igmpproxy.initd [new file with mode: 0644]
net-misc/igmpproxy/files/igmpproxy.service
net-misc/igmpproxy/igmpproxy-0.2.1.ebuild [new file with mode: 0644]
net-misc/igmpproxy/metadata.xml

index e90ba0d238dfdaffb2070db2bc6d15e689f471b2..c98ef32cf52d2f524fcf647eea72199ec73addb6 100644 (file)
@@ -1,2 +1,3 @@
 DIST igmpproxy-0.1.tar.gz 140159 BLAKE2B d4a0fb0f69f1e8c7221ecd2842e95cfa390f54885d5eaaa5c69a32563b318a05540e123d4b19cd63a930d17934c1344fdf6467fad5c1de333d03e0a802e7912b SHA512 1a569814d8984610402313d8c4adb78ff362f82ae28c968a8ba0fb411e12a704d1b51b387111b51517ab8fb2e86952bbd196f27eccd311c11ce288fc6fa25ad4
+DIST igmpproxy-0.2.1.tar.gz 166951 BLAKE2B d47a2b236679c7d05cf453fb5d6dc3a9e4174776845e2a1f71ca28e02c6e6270b5db09eaf5a48581dd85ecca8ff198a3e4b7f84fd61e455fe33c4f60ec079c15 SHA512 17f6891bf49d3e70cdf3930ab1abe6a0ad7b9f12ff2d1cdde3761771988585301f459995ba5ea956c742597de4ce13fbf0ba3c1ae37d13b2eee2a09f16f51ae2
 DIST igmpproxy-0.2.tar.gz 170705 BLAKE2B a2a13399995f283fb77b500140c1750ed306511eb5f51a71491edc245c8d8f873809fac9a82dc7ba0be7a7390643d85d7f4a2a8521b3c2c20fb8f09ad33b507d SHA512 a06f95c912456191d0953c08058ccb987120f6b11426d15e329c2de95878b9fc6ee5742b253e2c06b8002771478c382a58a14a0af76fb835ebb1d132b9f34e4f
diff --git a/net-misc/igmpproxy/files/igmpproxy.confd b/net-misc/igmpproxy/files/igmpproxy.confd
new file mode 100644 (file)
index 0000000..cbbc38c
--- /dev/null
@@ -0,0 +1,5 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Additional command line options, see igmpproxy(8) for more information
+IGMPPROXY_OPTS=""
diff --git a/net-misc/igmpproxy/files/igmpproxy.initd b/net-misc/igmpproxy/files/igmpproxy.initd
new file mode 100644 (file)
index 0000000..d8f727b
--- /dev/null
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+config="/etc/${RC_SVCNAME}.conf"
+name="IGMPproxy"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+command="igmpproxy"
+command_args="${IGMPPROXY_OPTS} ${config}"
+procname="${RC_SVCNAME}"
+
+start_pre() {
+       if [ ! -f "${config}" ]; then
+               eerror "Please create ${config} before starting ${name}!"
+               return 1
+       else
+               return 0
+       fi
+}
index a682bed09e0a0b11815d4da4f141c89c983a407d..ae949566c9e4a75df418c44abed18dce4a39ff84 100644 (file)
@@ -1,9 +1,10 @@
 [Unit]
-Description=IGMP proxy
-After=network.target
+Description=IGMPproxy
+After=network-online.target
 
 [Service]
-ExecStart=/usr/sbin/igmpproxy /etc/igmpproxy.conf
+ExecStart=igmpproxy /etc/igmpproxy.conf
+Type=simple
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=network.target
diff --git a/net-misc/igmpproxy/igmpproxy-0.2.1.ebuild b/net-misc/igmpproxy/igmpproxy-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..9154819
--- /dev/null
@@ -0,0 +1,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
+}
index c2e066bde80c65d447707b5209c602650d812318..37a86a4c127af7fca32222626c9d7c5e89edeaa7 100644 (file)
@@ -1,12 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <!-- maintainer-needed -->
+       <maintainer type="person">
+               <email>ck+gentoo@bl4ckb0x.de</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
        <longdescription>
-               IGMPproxy is a simple dynamic Multicast Routing Daemon using only IGMP signalling.
-               It's intended for simple forwarding of Multicast traffic between networks.
+               IGMPproxy is a simple multicast router using only the IGMP protocol.
+               It is intended for forwarding of multicast traffic between networks,
+               like used by IPTV.
        </longdescription>
        <upstream>
-               <remote-id type="sourceforge">igmpproxy</remote-id>
+               <bugs-to>https://github.com/pali/igmpproxy/issues</bugs-to>
+               <remote-id type="github">pali/igmpproxy</remote-id>
        </upstream>
 </pkgmetadata>