initial igmpproxy exheres
This commit is contained in:
parent
9902f62423
commit
c5bb06c9aa
3 changed files with 53 additions and 0 deletions
6
packages/net/igmpproxy/files/igmpproxy-conf.d
Normal file
6
packages/net/igmpproxy/files/igmpproxy-conf.d
Normal 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=""
|
25
packages/net/igmpproxy/files/igmpproxy-init.d
Normal file
25
packages/net/igmpproxy/files/igmpproxy-init.d
Normal 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 $?
|
||||
}
|
||||
|
22
packages/net/igmpproxy/igmpproxy-0.1_beta5.exheres-0
Normal file
22
packages/net/igmpproxy/igmpproxy-0.1_beta5.exheres-0
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in a new issue