Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2016 11:48:08 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409735 - in head/multimedia/emby-server: . files
Message-ID:  <201602281148.u1SBm82p000388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Feb 28 11:48:08 2016
New Revision: 409735
URL: https://svnweb.freebsd.org/changeset/ports/409735

Log:
  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)
  MFH:		2016Q1

Deleted:
  head/multimedia/emby-server/pkg-install
Modified:
  head/multimedia/emby-server/Makefile
  head/multimedia/emby-server/files/emby-server.in   (contents, props changed)

Modified: head/multimedia/emby-server/Makefile
==============================================================================
--- head/multimedia/emby-server/Makefile	Sun Feb 28 10:20:00 2016	(r409734)
+++ head/multimedia/emby-server/Makefile	Sun Feb 28 11:48:08 2016	(r409735)
@@ -3,6 +3,7 @@
 
 PORTNAME=	emby-server
 PORTVERSION=	3.0.5821
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	woodsb02@gmail.com

Modified: head/multimedia/emby-server/files/emby-server.in
==============================================================================
--- head/multimedia/emby-server/files/emby-server.in	Sun Feb 28 10:20:00 2016	(r409734)
+++ head/multimedia/emby-server/files/emby-server.in	Sun Feb 28 11:48:08 2016	(r409735)
@@ -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?201602281148.u1SBm82p000388>