Mention that miniupnpc wants 'multicast_host=YES'

suggestions/ok ajacoutot@
This commit is contained in:
dcoppa 2012-07-17 08:30:58 +00:00
parent 6df8ba22ee
commit c3d8c9b9b0
3 changed files with 19 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/13 09:23:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.2 2012/07/17 08:30:58 dcoppa Exp $
COMMENT-main= UPnP IGD client lightweight library
COMMENT-python= python module for miniupnpc
@ -10,6 +10,8 @@ DISTNAME= miniupnpc-${MODPY_EGG_VERSION}
PKGNAME-main= ${DISTNAME}
PKGNAME-python= py-${DISTNAME}
REVISION-main= 0
SHARED_LIBS += miniupnpc 0.0
WANTLIB-main += c

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2012/01/13 09:23:09 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.2 2012/07/17 08:30:58 dcoppa Exp $
bin/external-ip
@bin bin/upnpc
include/miniupnpc/
@ -14,3 +14,4 @@ include/miniupnpc/upnpreplyparse.h
lib/libminiupnpc.a
@lib lib/libminiupnpc.so.${LIBminiupnpc_VERSION}
@man man/man3/miniupnpc.3
share/doc/pkg-readmes/${FULLPKGNAME}

View File

@ -0,0 +1,14 @@
$OpenBSD: README-main,v 1.1 2012/07/17 08:30:58 dcoppa Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
For proper functionality, multicast(4) needs to be enabled. To do so,
add the following line to /etc/rc.conf.local(8):
multicast_host=YES
Otherwise, local LAN IP address must be specified on the upnpc command
line, using the '-m' option. e.g.:
$ upnpc -m 192.168.2.78 -l