public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/igmpproxy/, net-misc/igmpproxy/files/
@ 2016-05-04  0:10 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-05-04  0:10 UTC (permalink / raw
  To: gentoo-commits

commit:     4086fcda8bbd8653111ff2c8b29d4d897cc600be
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 23:37:50 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May  4 00:08:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4086fcda

net-misc/igmpproxy: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-misc/igmpproxy/files/igmpproxy-init.d  |  4 ++--
 net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/net-misc/igmpproxy/files/igmpproxy-init.d b/net-misc/igmpproxy/files/igmpproxy-init.d
index 0b138c3..e24952e 100644
--- a/net-misc/igmpproxy/files/igmpproxy-init.d
+++ b/net-misc/igmpproxy/files/igmpproxy-init.d
@@ -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$
 

diff --git a/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild b/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild
new file mode 100644
index 0000000..bda21a8
--- /dev/null
+++ b/net-misc/igmpproxy/igmpproxy-0.1-r2.ebuild
@@ -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"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/igmpproxy/, net-misc/igmpproxy/files/
@ 2018-07-11 11:42 Tony Vroon
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Vroon @ 2018-07-11 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     12e438e749a87f98032e15523adf16df97bf4ce4
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Mon Jun 25 20:23:16 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 11:42:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e438e7

net-misc/igmpproxy: bump to version 0.2.1

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                |  1 +
 net-misc/igmpproxy/files/igmpproxy.confd   |  5 +++++
 net-misc/igmpproxy/files/igmpproxy.initd   | 20 ++++++++++++++++++++
 net-misc/igmpproxy/files/igmpproxy.service |  9 +++++----
 net-misc/igmpproxy/igmpproxy-0.2.1.ebuild  | 25 +++++++++++++++++++++++++
 net-misc/igmpproxy/metadata.xml            | 17 +++++++++++++----
 6 files changed, 69 insertions(+), 8 deletions(-)

diff --git a/net-misc/igmpproxy/Manifest b/net-misc/igmpproxy/Manifest
index e90ba0d238d..c98ef32cf52 100644
--- a/net-misc/igmpproxy/Manifest
+++ b/net-misc/igmpproxy/Manifest
@@ -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
index 00000000000..cbbc38cb916
--- /dev/null
+++ b/net-misc/igmpproxy/files/igmpproxy.confd
@@ -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
index 00000000000..d8f727ba034
--- /dev/null
+++ b/net-misc/igmpproxy/files/igmpproxy.initd
@@ -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
+}

diff --git a/net-misc/igmpproxy/files/igmpproxy.service b/net-misc/igmpproxy/files/igmpproxy.service
index a682bed09e0..ae949566c9e 100644
--- a/net-misc/igmpproxy/files/igmpproxy.service
+++ b/net-misc/igmpproxy/files/igmpproxy.service
@@ -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
index 00000000000..9154819d42d
--- /dev/null
+++ b/net-misc/igmpproxy/igmpproxy-0.2.1.ebuild
@@ -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
+}

diff --git a/net-misc/igmpproxy/metadata.xml b/net-misc/igmpproxy/metadata.xml
index c2e066bde80..37a86a4c127 100644
--- a/net-misc/igmpproxy/metadata.xml
+++ b/net-misc/igmpproxy/metadata.xml
@@ -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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/igmpproxy/, net-misc/igmpproxy/files/
@ 2018-12-18  4:21 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2018-12-18  4:21 UTC (permalink / raw
  To: gentoo-commits

commit:     97f03506d9dd795537f2af986aab17ea2f8e5d5a
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Tue Dec 11 08:44:08 2018 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Dec 18 04:18:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f03506

net-misc/igmpproxy: update pidfile handling

Since IGMPProxy does not create a pid file by itself,
the daemon needs to be started in foreground, to keep
tracking of the correct pidfile with openrc and put it
background.

Closes: https://bugs.gentoo.org/672842
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10610
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-misc/igmpproxy/files/igmpproxy.initd-r1  | 12 ++++++++++++
 net-misc/igmpproxy/igmpproxy-0.2.1-r2.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/net-misc/igmpproxy/files/igmpproxy.initd-r1 b/net-misc/igmpproxy/files/igmpproxy.initd-r1
new file mode 100644
index 00000000000..c5f9e56536a
--- /dev/null
+++ b/net-misc/igmpproxy/files/igmpproxy.initd-r1
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+config="/etc/${RC_SVCNAME}.conf"
+name="IGMPproxy"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+command="/usr/sbin/igmpproxy"
+command_args="${IGMPPROXY_OPTS} -n ${config}"
+command_background="true"
+required_files="${config}"

diff --git a/net-misc/igmpproxy/igmpproxy-0.2.1-r2.ebuild b/net-misc/igmpproxy/igmpproxy-0.2.1-r2.ebuild
new file mode 100644
index 00000000000..5583e140a41
--- /dev/null
+++ b/net-misc/igmpproxy/igmpproxy-0.2.1-r2.ebuild
@@ -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-r1 igmpproxy
+	systemd_dounit "${FILESDIR}"/"${PN}".service
+
+	newconfd "${FILESDIR}"/igmpproxy.confd igmpproxy
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-18  4:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-18  4:21 [gentoo-commits] repo/gentoo:master commit in: net-misc/igmpproxy/, net-misc/igmpproxy/files/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2018-07-11 11:42 Tony Vroon
2016-05-04  0:10 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox