Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2015 15:19:39 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404948 - in head/multimedia: plexmediaserver plexmediaserver-plexpass plexmediaserver-plexpass/files plexmediaserver/files
Message-ID:  <201512311519.tBVFJduL044713@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Thu Dec 31 15:19:38 2015
New Revision: 404948
URL: https://svnweb.freebsd.org/changeset/ports/404948

Log:
  multimedia/plexmediaserver(-plexpass): Fix scanner crash
  
  The Plex processes were running under the C locale. This was to
  replicate the behavior of the start.sh shell script shipped with Plex and
  used by Linux distributions. The scanner process was crashing when it
  encountered unicode filenames due to this locale.
  Upstream Plex fixed this, but we were left affected.
  
  This resolves the scanner process crash on FreeBSD.
  
  PR:		205696

Modified:
  head/multimedia/plexmediaserver-plexpass/Makefile
  head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
  head/multimedia/plexmediaserver/Makefile
  head/multimedia/plexmediaserver/files/plexmediaserver.in

Modified: head/multimedia/plexmediaserver-plexpass/Makefile
==============================================================================
--- head/multimedia/plexmediaserver-plexpass/Makefile	Thu Dec 31 14:59:34 2015	(r404947)
+++ head/multimedia/plexmediaserver-plexpass/Makefile	Thu Dec 31 15:19:38 2015	(r404948)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTVERSION=	0.9.15.0.1621
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-plexpass
 
 MAINTAINER=	feld@FreeBSD.org

Modified: head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
==============================================================================
--- head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in	Thu Dec 31 14:59:34 2015	(r404947)
+++ head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in	Thu Dec 31 15:19:38 2015	(r404948)
@@ -50,8 +50,8 @@ plex_precmd()
 	export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${%%PORTNAME%%_support_path}
 	export PLEX_MEDIA_SERVER_PIDFILE=${pidfile}
 	export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}"
-	export LC_ALL="C"
-	export LANG="C"
+	export LC_ALL="en_US.UTF-8"
+	export LANG="en_US.UTF-8"
 	ulimit -s 3000
 
 	if [ ! -d ${pidfile%/*} ]; then

Modified: head/multimedia/plexmediaserver/Makefile
==============================================================================
--- head/multimedia/plexmediaserver/Makefile	Thu Dec 31 14:59:34 2015	(r404947)
+++ head/multimedia/plexmediaserver/Makefile	Thu Dec 31 15:19:38 2015	(r404948)
@@ -3,7 +3,7 @@
 
 PORTNAME=	plexmediaserver
 PORTVERSION?=	0.9.14.6.1620
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	https://downloads.plexapp.com/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/ \
 		https://nightlies.plexapp.com/directdl/plex-media-server/dist-ninja/${PORTVERSION}-${PLEX_BUILD}/

Modified: head/multimedia/plexmediaserver/files/plexmediaserver.in
==============================================================================
--- head/multimedia/plexmediaserver/files/plexmediaserver.in	Thu Dec 31 14:59:34 2015	(r404947)
+++ head/multimedia/plexmediaserver/files/plexmediaserver.in	Thu Dec 31 15:19:38 2015	(r404948)
@@ -50,8 +50,8 @@ plex_precmd()
 	export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${%%PORTNAME%%_support_path}
 	export PLEX_MEDIA_SERVER_PIDFILE=${pidfile}
 	export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}"
-	export LC_ALL="C"
-	export LANG="C"
+	export LC_ALL="en_US.UTF-8"
+	export LANG="en_US.UTF-8"
 	ulimit -s 3000
 
 	if [ ! -d ${pidfile%/*} ]; then



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