Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Feb 2016 06:17:32 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r409801 - in branches/2016Q1/multimedia/emby-server: . files
Message-ID:  <201602290617.u1T6HWvt031324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Mon Feb 29 06:17:32 2016
New Revision: 409801
URL: https://svnweb.freebsd.org/changeset/ports/409801

Log:
  MFH: r409735
  
  Respect timezone settings, remove unnecessary pkg-install script
  
  Detailed maintainer log:
  - Remove the setting of the TZ, LC_ALL and LANG shell variables from rc
    script.  This resolves an issue where the emby-server timezone was set to
    UTC, causing show air dates and TV guides to be off by a number of hours
    for some users [1]. Setting these variables was originally added when
    mono 3.12.1 was in the ports tree, to avoid mono throwing a number of
    System.TimeZoneNotFound exceptions when run in debugging mode [2]. Whilst
    these exceptions are still thrown, they are caught and the mono code now
    only sets the time to UTC if the correct timezone cannot be found from
    the TZ variable or /etc/localtime.
  - Remove pkg-install script as it is no longer necessary to download
    Mozilla's root certificates and import them into the Mono Trust store
    (this was actually never effective, as the certificates were saved into
    the root user's mono trust store instead of the emby user's store).
  - Bump PORTREVISION
  
  [1] http://emby.media/community/index.php?/topic/13083-freenas-plugin/?p=299783
  [2] mono --debug --trace=N:nothing /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server
  
  PR:		207436
  Submitted by:	woodsb02@gmail.com (maintainer)
  Approved by:	ports-secteam (feld)

Deleted:
  branches/2016Q1/multimedia/emby-server/pkg-install
Modified:
  branches/2016Q1/multimedia/emby-server/Makefile
  branches/2016Q1/multimedia/emby-server/files/emby-server.in   (contents, props changed)
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/multimedia/emby-server/Makefile
==============================================================================
--- branches/2016Q1/multimedia/emby-server/Makefile	Mon Feb 29 05:57:39 2016	(r409800)
+++ branches/2016Q1/multimedia/emby-server/Makefile	Mon Feb 29 06:17:32 2016	(r409801)
@@ -3,6 +3,7 @@
 
 PORTNAME=	emby-server
 PORTVERSION=	3.0.5781.2
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	woodsb02@gmail.com

Modified: branches/2016Q1/multimedia/emby-server/files/emby-server.in
==============================================================================
--- branches/2016Q1/multimedia/emby-server/files/emby-server.in	Mon Feb 29 05:57:39 2016	(r409800)
+++ branches/2016Q1/multimedia/emby-server/files/emby-server.in	Mon Feb 29 06:17:32 2016	(r409801)
@@ -50,13 +50,6 @@ command_args="-f -p ${pidfile} ${procnam
 start_precmd=%%RC_NAME%%_precmd
 %%RC_NAME%%_precmd()
 {
-	: ${LC_ALL:="C"}
-	: ${LANG:="C"}
-	: ${TZ:="UTC"}
-	export LC_ALL
-	export LANG
-	export TZ
-
 	if [ ! -e "${pidfile}" ]; then
 		install -g ${%%RC_NAME%%_group} -o ${%%RC_NAME%%_user} -- /dev/null "${pidfile}";
 	fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602290617.u1T6HWvt031324>