initial igmpproxy exheres

This commit is contained in:
Daniel Mierswa 2009-08-31 01:49:32 +02:00
parent 9902f62423
commit c5bb06c9aa
3 changed files with 53 additions and 0 deletions

View file

@ -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=""

View file

@ -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 $?
}

View file

@ -0,0 +1,22 @@
# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# 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
}