Skip to content

Commit

Permalink
opnsense/igmpproxy: update to latest GitHub revision
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Dec 3, 2017
1 parent 0d8bed1 commit ce69914
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 0 deletions.
29 changes: 29 additions & 0 deletions opnsense/igmpproxy/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Created by: asami
# $FreeBSD$

PORTNAME= igmpproxy
PORTVERSION= 0.1.g20171030
PORTEPOCH= 1
CATEGORIES= net

MAINTAINER= franco@opnsense.org
COMMENT= Multicast forwarding IGMP proxy

LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING

USE_HARDENING= safestack

USE_GITHUB= yes
GH_ACCOUNT= pali
GH_TAGNAME= 2872012

USE_RC_SUBR= igmpproxy
USES= autoreconf
GNU_CONFIGURE= yes

post-install:
${INSTALL_DATA} ${WRKSRC}/igmpproxy.conf \
${STAGEDIR}${PREFIX}/etc/igmpproxy.conf.sample

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions opnsense/igmpproxy/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1512287259
SHA256 (pali-igmpproxy-0.1.g20171030-2872012_GH0.tar.gz) = 0eeacb9fecb010e8c4dea4904a71629e0d4606250efb5079da552b27f7ca91bf
SIZE (pali-igmpproxy-0.1.g20171030-2872012_GH0.tar.gz) = 41453
32 changes: 32 additions & 0 deletions opnsense/igmpproxy/files/igmpproxy.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: igmpproxy
# REQUIRE: NETWORKING
# KEYWORD: shutdown

# The following variables are provided to control startup of igmpproxy
# rc configuration file (eg /etc/rc.conf):
# igmpproxy_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable igmpproxy.
# igmpproxy_conf (path): Set full path to configuration file.
# Default is "%%PREFIX%%/etc/igmpproxy.conf"

. /etc/rc.subr

name="igmpproxy"
rcvar=igmpproxy_enable
procname="%%PREFIX%%/sbin/${name}"
command=/usr/sbin/daemon
required_files="%%PREFIX%%/etc/igmpproxy.conf"

load_rc_config $name

igmpproxy_enable=${igmpproxy_enable-"NO"}
igmpproxy_conf=${igmpproxy_config-"%%PREFIX%%/etc/igmpproxy.conf"}

command_args=" -cf $procname $igmpproxy_conf"

run_rc_command "$1"
5 changes: 5 additions & 0 deletions opnsense/igmpproxy/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
igmpproxy is a simple multicast routing daemon based on mrouted. It uses IGMP
forwarding to dynamically route multicast traffic.
Reqiures multicast forwarding enabled

WWW: http://igmpproxy.sourceforge.net/
4 changes: 4 additions & 0 deletions opnsense/igmpproxy/pkg-plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sbin/igmpproxy
@sample etc/igmpproxy.conf.sample
man/man5/igmpproxy.conf.5.gz
man/man8/igmpproxy.8.gz

0 comments on commit ce69914

Please sign in to comment.