From owner-svn-ports-all@freebsd.org Wed Jul 26 23:02:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80CCEDB2C63; Wed, 26 Jul 2017 23:02:08 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 320217F011; Wed, 26 Jul 2017 23:02:08 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6QN27NX036562; Wed, 26 Jul 2017 23:02:07 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6QN270w036559; Wed, 26 Jul 2017 23:02:07 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201707262302.v6QN270w036559@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Wed, 26 Jul 2017 23:02:07 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/audio/teamspeak3-server: . files X-SVN-Commit-Revision: 446701 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 23:02:08 -0000 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 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 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