From owner-svn-ports-head@FreeBSD.ORG Fri Feb 28 13:58:37 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B0E0F97; Fri, 28 Feb 2014 13:58:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 554041DAE; Fri, 28 Feb 2014 13:58:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1SDwb2b008751; Fri, 28 Feb 2014 13:58:37 GMT (envelope-from feld@svn.freebsd.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1SDwa2K008747; Fri, 28 Feb 2014 13:58:36 GMT (envelope-from feld@svn.freebsd.org) Message-Id: <201402281358.s1SDwa2K008747@svn.freebsd.org> From: Mark Felder Date: Fri, 28 Feb 2014 13:58:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346518 - in head/multimedia: plexmediaserver plexmediaserver-plexpass plexmediaserver-plexpass/files plexmediaserver/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 13:58:37 -0000 Author: feld Date: Fri Feb 28 13:58:36 2014 New Revision: 346518 URL: http://svnweb.freebsd.org/changeset/ports/346518 QAT: https://qat.redports.org/buildarchive/r346518/ Log: Fix setting a custom tmp dir for Plex. It was broken and the env was wrong. Plex obeys TMPDIR env now. 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 Fri Feb 28 13:57:57 2014 (r346517) +++ head/multimedia/plexmediaserver-plexpass/Makefile Fri Feb 28 13:58:36 2014 (r346518) @@ -3,7 +3,7 @@ PORTNAME= plexmediaserver PORTVERSION= 0.9.9.5.411 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/ PKGNAMESUFFIX= -plexpass Modified: head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in ============================================================================== --- head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in Fri Feb 28 13:57:57 2014 (r346517) +++ head/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in Fri Feb 28 13:58:36 2014 (r346518) @@ -1,5 +1,5 @@ #!/bin/sh -# Created by: Created by: KalleDK +# Created by: KalleDK # # $FreeBSD$ # @@ -48,7 +48,6 @@ plex_precmd() export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=${plexmediaserver_plexpass_maxplugins} export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${plexmediaserver_plexpass_support_path} export PLEX_MEDIA_SERVER_PIDFILE=${pidfile} - if ${plexmediaserver_tmp}; then export PLEX_MEDIA_SERVER_TMPDIR=${plexmediaserver_plexpass_tmp}; fi export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}" export LC_ALL="C" export LANG="C" @@ -61,6 +60,11 @@ plex_precmd() if [ ! -d "${plexmediaserver_plexpass_support_path}/Plex Media Server" ]; then install -d -g ${plexmediaserver_plexpass_group} -o ${plexmediaserver_plexpass_user} "${plexmediaserver_plexpass_support_path}/Plex Media Server"; fi + + if [ ${plexmediaserver_plexpass_tmp} ]; then + export TMPDIR=${plexmediaserver_plexpass_tmp}; + install -d -g ${plexmediaserver_plexpass_group} -o ${plexmediaserver_plexpass_user} "${plexmediaserver_plexpass_tmp}"; + fi } plex_startcmd() Modified: head/multimedia/plexmediaserver/Makefile ============================================================================== --- head/multimedia/plexmediaserver/Makefile Fri Feb 28 13:57:57 2014 (r346517) +++ head/multimedia/plexmediaserver/Makefile Fri Feb 28 13:58:36 2014 (r346518) @@ -3,7 +3,7 @@ PORTNAME= plexmediaserver PORTVERSION= 0.9.9.4.409 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/ DISTNAME= PlexMediaServer-${PORTVERSION}-${PLEX_BUILD}-freebsd-amd64 Modified: head/multimedia/plexmediaserver/files/plexmediaserver.in ============================================================================== --- head/multimedia/plexmediaserver/files/plexmediaserver.in Fri Feb 28 13:57:57 2014 (r346517) +++ head/multimedia/plexmediaserver/files/plexmediaserver.in Fri Feb 28 13:58:36 2014 (r346518) @@ -1,5 +1,5 @@ #!/bin/sh -# Created by: Created by: KalleDK +# Created by: KalleDK # # $FreeBSD$ # @@ -48,7 +48,6 @@ plex_precmd() export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=${plexmediaserver_maxplugins} export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${plexmediaserver_support_path} export PLEX_MEDIA_SERVER_PIDFILE=${pidfile} - if ${plexmediaserver_tmp}; then export PLEX_MEDIA_SERVER_TMPDIR=${plexmediaserver_tmp}; fi export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}" export LC_ALL="C" export LANG="C" @@ -61,6 +60,11 @@ plex_precmd() if [ ! -d "${plexmediaserver_support_path}/Plex Media Server" ]; then install -d -g ${plexmediaserver_group} -o ${plexmediaserver_user} "${plexmediaserver_support_path}/Plex Media Server"; fi + + if [ ${plexmediaserver_tmp} ]; then + export TMPDIR=${plexmediaserver_tmp}; + install -d -g ${plexmediaserver_group} -o ${plexmediaserver_user} "${plexmediaserver_tmp}"; + fi } plex_startcmd()