Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2017 01:52:04 +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: r434998 - in head/multimedia: plexmediaserver plexmediaserver-plexpass
Message-ID:  <201702280152.v1S1q4c9081156@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Feb 28 01:52:03 2017
New Revision: 434998
URL: https://svnweb.freebsd.org/changeset/ports/434998

Log:
  multimedia/plexmediaserver{-plexpass}: Add option for Plex Relay
  
  Plex Relay is a process which allows remote access to your Plex server
  behind restrictive firewalls by proxing through the cloud. If you do not
  want your Plex server to be available publicly or only under strict
  firewall rules you can disable this port option to prevent the binary
  from being installed.
  
  Submitted by:	zi

Modified:
  head/multimedia/plexmediaserver-plexpass/pkg-plist
  head/multimedia/plexmediaserver/Makefile
  head/multimedia/plexmediaserver/pkg-plist

Modified: head/multimedia/plexmediaserver-plexpass/pkg-plist
==============================================================================
--- head/multimedia/plexmediaserver-plexpass/pkg-plist	Tue Feb 28 00:42:47 2017	(r434997)
+++ head/multimedia/plexmediaserver-plexpass/pkg-plist	Tue Feb 28 01:52:03 2017	(r434998)
@@ -3,7 +3,7 @@
 %%DATADIR%%/Plex DLNA Server
 %%DATADIR%%/Plex Media Scanner
 %%DATADIR%%/Plex Media Server
-%%DATADIR%%/Plex Relay
+%%RELAY%%%%DATADIR%%/Plex Relay
 %%DATADIR%%/Plex Script Host
 %%DATADIR%%/Plex Transcoder
 @mode

Modified: head/multimedia/plexmediaserver/Makefile
==============================================================================
--- head/multimedia/plexmediaserver/Makefile	Tue Feb 28 00:42:47 2017	(r434997)
+++ head/multimedia/plexmediaserver/Makefile	Tue Feb 28 01:52:03 2017	(r434998)
@@ -33,6 +33,13 @@ BUNDLE_LIBS=	yes
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	binary-only program, source code not available
 
+OPTIONS_DEFINE=	RELAY
+OPTIONS_DEFAULT=	RELAY
+OPTIONS_SUB=	yes
+RELAY_DESC=	Install Plex Relay daemon
+
+.include <bsd.port.options.mk>
+
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000054

Modified: head/multimedia/plexmediaserver/pkg-plist
==============================================================================
--- head/multimedia/plexmediaserver/pkg-plist	Tue Feb 28 00:42:47 2017	(r434997)
+++ head/multimedia/plexmediaserver/pkg-plist	Tue Feb 28 01:52:03 2017	(r434998)
@@ -3,7 +3,7 @@
 %%DATADIR%%/Plex DLNA Server
 %%DATADIR%%/Plex Media Scanner
 %%DATADIR%%/Plex Media Server
-%%DATADIR%%/Plex Relay
+%%RELAY%%%%DATADIR%%/Plex Relay
 %%DATADIR%%/Plex Script Host
 %%DATADIR%%/Plex Transcoder
 @mode



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