Index: head/net/coturn/Makefile =================================================================== --- head/net/coturn/Makefile (revision 562361) +++ head/net/coturn/Makefile (revision 562362) @@ -1,37 +1,38 @@ # $FreeBSD$ PORTNAME= coturn DISTVERSION= 4.5.2 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= TURN server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent_core.so:devel/libevent USES= gettext-runtime gmake mysql pkgconfig shebangfix sqlite ssl USE_GITHUB= yes SHEBANG_FILES= examples/scripts/oauth.sh examples/scripts/restapi/shared_secret_maintainer.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --enable-shared --turndbdir=/var/db/${PORTNAME} SUB_FILES= turnserver-service DOCSDIR= ${PREFIX}/share/doc/turnserver EXAMPLESDIR= ${PREFIX}/share/examples/turnserver OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-install: ${INSTALL_SCRIPT} ${WRKDIR}/turnserver-service ${STAGEDIR}${PREFIX}/etc/rc.d/turnserver ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include Index: head/net/coturn/files/turnserver-service.in =================================================================== --- head/net/coturn/files/turnserver-service.in (revision 562361) +++ head/net/coturn/files/turnserver-service.in (revision 562362) @@ -1,29 +1,29 @@ #!/bin/sh # # $FreeBSD$ # # # PROVIDE: turnserver # REQUIRE: DAEMON # BEFORE: mail # KEYWORD: shutdown # . /etc/rc.subr name="turnserver" rcvar="${name}_enable" command="%%PREFIX%%/bin/${name}" -pidfile="/var/run/prosody/${name}.pid" +pidfile="/var/run/${name}.pid" required_files="%%PREFIX%%/etc/${name}.conf" load_rc_config ${name} : ${turnserver_enable="NO"} : ${turnserver_flags="-o"} : ${turnserver_configfile:=%%PREFIX%%/etc/$name.conf} command_args="-c ${turnserver_configfile} ${turnserver_flags}" run_rc_command "$1"