Date: Wed, 14 Aug 2019 22:00:21 +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: r508976 - in head/audio/teamspeak3-server: . files Message-ID: <201908142200.x7EM0LG4029229@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ultima Date: Wed Aug 14 22:00:20 2019 New Revision: 508976 URL: https://svnweb.freebsd.org/changeset/ports/508976 Log: Fix issues when calling teamspeak_flags. When calling teamspeak_flags prior to this commit, flags would be appended to the daemon command. After this commit, it will be appended to the teamspeak command as one would expect. Reported by: Oliver Lehmann <lehmann@ans^> 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 Aug 14 21:58:57 2019 (r508975) +++ head/audio/teamspeak3-server/Makefile Wed Aug 14 22:00:20 2019 (r508976) @@ -3,6 +3,7 @@ PORTNAME= teamspeak3-server PORTVERSION= 3.9.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio net MASTER_SITES= https://files.teamspeak-services.com/releases/server/${PORTVERSION}/ Modified: head/audio/teamspeak3-server/files/teamspeak.in ============================================================================== --- head/audio/teamspeak3-server/files/teamspeak.in Wed Aug 14 21:58:57 2019 (r508975) +++ head/audio/teamspeak3-server/files/teamspeak.in Wed Aug 14 22:00:20 2019 (r508976) @@ -25,9 +25,11 @@ load_rc_config $name : ${teamspeak_db_dir:="%%DBDIR%%"} : ${teamspeak_log_dir:="%%LOGDIR%%"} +# Add flags var so it isn't called in daemon +flags=" " procname=%%PREFIX%%/libexec/ts3server command=/usr/sbin/daemon -command_args="-fp "$teamspeak_pidfile" -u teamspeak %%PREFIX%%/libexec/ts3server dbsqlpath=%%PREFIX%%/share/teamspeak/server/sql/ inifile=%%PREFIX%%/etc/teamspeak/ts3server.ini licensepath=%%PREFIX%%/etc/teamspeak/ logpath="$teamspeak_log_dir" license_accepted=1" +command_args="-fp "$teamspeak_pidfile" -u teamspeak %%PREFIX%%/libexec/ts3server dbsqlpath=%%PREFIX%%/share/teamspeak/server/sql/ inifile=%%PREFIX%%/etc/teamspeak/ts3server.ini licensepath=%%PREFIX%%/etc/teamspeak/ logpath="$teamspeak_log_dir" license_accepted=1 $teamspeak_flags" teamspeak_chdir="$teamspeak_db_dir" required_dirs="$teamspeak_db_dir $teamspeak_log_dir"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908142200.x7EM0LG4029229>