diff --git a/packages/net/igmpproxy/files/igmpproxy-conf.d b/packages/net/igmpproxy/files/igmpproxy-conf.d new file mode 100644 index 0000000..a7a2b34 --- /dev/null +++ b/packages/net/igmpproxy/files/igmpproxy-conf.d @@ -0,0 +1,6 @@ +# Specify a configuration file +IGMPPROXY_CONFIG="/etc/igmpproxy.conf" + +# Additional command line options. +# See igmpproxy(8) for more information. +IGMPPROXY_OPTS="" diff --git a/packages/net/igmpproxy/files/igmpproxy-init.d b/packages/net/igmpproxy/files/igmpproxy-init.d new file mode 100644 index 0000000..0cd94c3 --- /dev/null +++ b/packages/net/igmpproxy/files/igmpproxy-init.d @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d,v 1.1 2009/05/03 20:05:14 idl0r Exp $ + +depend() { + need net + use logger +} + +start() { + ebegin "Starting IGMPproxy" + start-stop-daemon --start --background \ + --make-pidfile --pidfile /var/run/igmpproxy.pid \ + --exec /usr/sbin/igmpproxy -- \ + ${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}" + eend $? +} + +stop() { + ebegin "Stopping IGMPproxy" + start-stop-daemon --stop --pidfile /var/run/igmpproxy.pid + eend $? +} + diff --git a/packages/net/igmpproxy/igmpproxy-0.1_beta5.exheres-0 b/packages/net/igmpproxy/igmpproxy-0.1_beta5.exheres-0 new file mode 100644 index 0000000..5e5f866 --- /dev/null +++ b/packages/net/igmpproxy/igmpproxy-0.1_beta5.exheres-0 @@ -0,0 +1,22 @@ +# Copyright 2009 Daniel Mierswa +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="Dynamic Multicast Routing Daemon" +DESCRIPTION="A simple dynamic Multicast Routing Daemon using only IGMP signalling. +It's intended for simple forwarding of Multicast traffic between networks." +HOMEPAGE="http://sourceforge.net/projects/igmpproxy/" +DOWNLOADS="mirror://sourceforge/igmpproxy/${PNV}.tar.gz" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~x86" +MYOPTIONS="" + +DEPENDENCIES="" + +src_install() { + default + newinitd "${FILES}/igmpproxy-init.d" igmpproxy + newconfd "${FILES}/igmpproxy-conf.d" igmpproxy +} +