[Bug 207436] multimedia/emby-server: Fix problem with timezone being set to UTC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 23 09:24:20 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207436

            Bug ID: 207436
           Summary: multimedia/emby-server: Fix problem with timezone
                    being set to UTC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: woodsb02 at gmail.com

Created attachment 167318
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167318&action=edit
Patch to fix multimedia/emby-server timezone issue and remove pkg-install

* 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list