Date: Wed, 26 Jul 2017 23:02:07 +0000 (UTC) From: Richard Gallamore <ultima@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446701 - in head/audio/teamspeak3-server: . files Message-ID: <201707262302.v6QN270w036559@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ultima Date: Wed Jul 26 23:02:06 2017 New Revision: 446701 URL: https://svnweb.freebsd.org/changeset/ports/446701 Log: * Added new default unset option MYSQL If mysql is used instead of sqlite, teamspeak can fail to start because mysql sometimes starts after teamspeak. As a fix, a new option has been added that will add mysql to REQUIRES and set mysql server as a depend. Reported by: Dries Michiels <driesmp@hotmail.com> Reviewed by: lifanov (mentor) Approved by: lifanov (mentor) Differential Revision: https://reviews.freebsd.org/D11681 Modified: head/audio/teamspeak3-server/Makefile head/audio/teamspeak3-server/files/teamspeak.in Modified: head/audio/teamspeak3-server/Makefile ============================================================================== --- head/audio/teamspeak3-server/Makefile Wed Jul 26 22:31:37 2017 (r446700) +++ head/audio/teamspeak3-server/Makefile Wed Jul 26 23:02:06 2017 (r446701) @@ -3,6 +3,7 @@ PORTNAME= teamspeak3-server PORTVERSION= 3.0.13.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio net MASTER_SITES= http://dl.4players.de/ts/releases/${PORTVERSION}/ \ @@ -46,7 +47,11 @@ PORTDOCS= permissiondoc.txt \ server_upgrade.txt \ update_mysql_to_mariadb.txt -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MYSQL + +MYSQL_USES= mysql:server +MYSQL_VARS= SUB_LIST+=MYSQL=mysql +MYSQL_VARS_OFF= SUB_LIST+=MYSQL= .include <bsd.port.options.mk> Modified: head/audio/teamspeak3-server/files/teamspeak.in ============================================================================== --- head/audio/teamspeak3-server/files/teamspeak.in Wed Jul 26 22:31:37 2017 (r446700) +++ head/audio/teamspeak3-server/files/teamspeak.in Wed Jul 26 23:02:06 2017 (r446701) @@ -3,7 +3,7 @@ # $FreeBSD$ # # PROVIDE: teamspeak -# REQUIRE: LOGIN +# REQUIRE: LOGIN %%MYSQL%% # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707262302.v6QN270w036559>