- switch igmpproxy to pkg-readmes
ok sthen@
This commit is contained in:
parent
195d9f90cf
commit
2bccbef210
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2010/10/18 18:36:48 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2010/11/15 11:39:30 jasper Exp $
|
||||
|
||||
COMMENT = Multicast router utilizing IGMP forwarding
|
||||
|
||||
VERSION = 0.1-beta2
|
||||
DISTNAME = igmpproxy-src-${VERSION}
|
||||
PKGNAME = igmpproxy-${VERSION:S/-beta/b/}
|
||||
REVISION = 0
|
||||
CATEGORIES = net
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
|
||||
|
||||
@ -20,7 +21,7 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
WANTLIB = c
|
||||
|
||||
USE_GMAKE = Yes
|
||||
USE_GROFF = Yes
|
||||
USE_GROFF = Yes
|
||||
|
||||
WRKDIST = ${WRKDIR}/igmpproxy/src
|
||||
|
||||
@ -31,11 +32,5 @@ do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/igmpproxy
|
||||
${INSTALL_DATA} ${WRKSRC}/igmpproxy.conf \
|
||||
${PREFIX}/share/examples/igmpproxy
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/igmpproxy
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
|
||||
${PREFIX}/share/doc/igmpproxy
|
||||
@perl -pi -e 's,%%PREFIX%%,${TRUEPREFIX},g;' \
|
||||
-e 's,%%SYSCONFDIR%%,${SYSCONFDIR},g' \
|
||||
${PREFIX}/share/doc/igmpproxy/README.OpenBSD
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +0,0 @@
|
||||
Please see ${PREFIX}/share/doc/igmpproxy/README.OpenBSD for
|
||||
information about using igmpproxy on OpenBSD.
|
@ -1,9 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/08 19:30:51 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/11/15 11:39:30 jasper Exp $
|
||||
@man man/man5/igmpproxy.conf.5
|
||||
@man man/man8/igmpproxy.8
|
||||
sbin/igmpproxy
|
||||
share/doc/igmpproxy/
|
||||
share/doc/igmpproxy/README.OpenBSD
|
||||
@bin sbin/igmpproxy
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/igmpproxy/
|
||||
share/examples/igmpproxy/igmpproxy.conf
|
||||
@sample ${SYSCONFDIR}/igmpproxy.conf
|
||||
|
@ -1,5 +1,10 @@
|
||||
$OpenBSD: README,v 1.1 2010/11/15 11:39:30 jasper Exp $
|
||||
|
||||
Running igmpproxy on OpenBSD
|
||||
-----------------------------
|
||||
|
||||
To use igmpproxy on OpenBSD, you will need to configure it by
|
||||
editing %%SYSCONFDIR%%/igmpproxy.conf, and configure the OS for
|
||||
editing ${SYSCONFDIR}/igmpproxy.conf, and configure the OS for
|
||||
multicast forwarding:
|
||||
|
||||
# echo multicast_router=YES >> /etc/rc.conf.local
|
||||
@ -10,8 +15,8 @@ be configured with multicast_host=YES.
|
||||
|
||||
To have igmpproxy start at boot time, add this to /etc/rc.local:
|
||||
|
||||
if [ -x %%PREFIX%%/sbin/igmpproxy ]; then
|
||||
echo -n ' igmpproxy'; %%PREFIX%%/sbin/igmpproxy
|
||||
if [ -x ${TRUEPREFIX}/sbin/igmpproxy ]; then
|
||||
echo -n ' igmpproxy'; ${TRUEPREFIX}/sbin/igmpproxy
|
||||
fi
|
||||
|
||||
PF must be configured so that control packets (proto igmp) and
|
Loading…
x
Reference in New Issue
Block a user