svn commit: r319724 - in head/net/turnserver: . files
Chris Rees
utisoft at gmail.com
Mon Jun 3 10:48:59 UTC 2013
On 2 Jun 2013 21:24, "Gabor Kovesdan" <gabor at freebsd.org> wrote:
>
> XXX Ports RC script present
> Author: gabor
> Date: Sun Jun 2 20:24:33 2013
> New Revision: 319724
> URL: http://svnweb.freebsd.org/changeset/ports/319724
>
> Log:
> - Improve the rc script [1]
> - Do not force installation of OpenSSL port [2]
> - Remove trailing slash from hiredis [2]
> - Bump PORTREVISION
>
> Reported by: crees [1], miwi [2]
>
> Modified:
> head/net/turnserver/Makefile
> head/net/turnserver/files/turnserver.in
>
> Modified: head/net/turnserver/Makefile
>
==============================================================================
> --- head/net/turnserver/Makefile Sun Jun 2 19:37:44 2013
(r319723)
> +++ head/net/turnserver/Makefile Sun Jun 2 20:24:33 2013
(r319724)
> @@ -2,6 +2,7 @@
>
> PORTNAME= turnserver
> PORTVERSION= 1.8.5.3
> +PORTREVISION= 1
> CATEGORIES= net
> MASTER_SITES= http://rfc5766-turn-server.googlecode.com/files/
> PKGNAMEPREFIX=
> @@ -11,8 +12,7 @@ COMMENT= STUN/TURN Server; IPv6, DTLS su
>
> LICENSE= BSD
>
> -LIB_DEPENDS= ssl:${PORTSDIR}/security/openssl \
> - event-2:${PORTSDIR}/devel/libevent2
> +LIB_DEPENDS= event-2:${PORTSDIR}/devel/libevent2
>
> SUB_FILES= pkg-message
>
> @@ -76,7 +76,7 @@ CONFIGURE_ENV+= TURN_NO_MYSQL=1
> .endif
>
> .if ${PORT_OPTIONS:MREDIS}
> -LIB_DEPENDS+= hiredis:${PORTSDIR}/databases/hiredis/
> +LIB_DEPENDS+= hiredis:${PORTSDIR}/databases/hiredis
> .else
> CONFIGURE_ENV+= TURN_NO_HIREDIS=1
> .endif
>
> Modified: head/net/turnserver/files/turnserver.in
>
==============================================================================
> --- head/net/turnserver/files/turnserver.in Sun Jun 2 19:37:44 2013
(r319723)
> +++ head/net/turnserver/files/turnserver.in Sun Jun 2 20:24:33 2013
(r319724)
> @@ -2,9 +2,9 @@
> #
> # $FreeBSD$
> #
> -
> # PROVIDE: turnserver
> # REQUIRE: LOGIN
> +# KEYWORD: shutdown
> #
> # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
> # to enable this service:
> @@ -16,15 +16,16 @@
>
> . /etc/rc.subr
>
> -: ${turnserver_enable:="NO"}
> -: ${turnserver_config="%%PREFIX%%/etc/turnserver.conf"}
> -
> -name="turnserver"
> -rcvar="`set_rcvar`"
> +name=turnserver
> +rcvar=turnserver_enable
>
> load_rc_config $name
>
> +: ${turnserver_enable:=no}
> +: ${turnserver_config=%%PREFIX%%/etc/turnserver.conf}
> +
> command="%%PREFIX%%/bin/${name}"
> command_args="--daemon -c ${turnserver_config}"
> +required_files=${turnserver_config}
>
> run_rc_command "$1"
>
Thanks!
Chris
More information about the svn-ports-head
mailing list