Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 14:14:23 +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: r466727 - in head: . multimedia/tautulli multimedia/tautulli/files
Message-ID:  <201804071414.w37EENZX095454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Apr  7 14:14:23 2018
New Revision: 466727
URL: https://svnweb.freebsd.org/changeset/ports/466727

Log:
  multimedia/tautulli: Update to 2.0.28
  
  - Now runs as dedicated tautulli user
  
  Changelog:	https://github.com/Tautulli/Tautulli/releases/tag/v2.0.28

Added:
  head/multimedia/tautulli/pkg-message   (contents, props changed)
Modified:
  head/GIDs
  head/UIDs
  head/multimedia/tautulli/Makefile
  head/multimedia/tautulli/distinfo
  head/multimedia/tautulli/files/tautulli.in

Modified: head/GIDs
==============================================================================
--- head/GIDs	Sat Apr  7 14:02:07 2018	(r466726)
+++ head/GIDs	Sat Apr  7 14:14:23 2018	(r466727)
@@ -832,7 +832,7 @@ vuls:*:888:
 mattermost:*:889:
 matterircd:*:890:
 # free: 891
-# free: 892
+tautulli:*:892:
 logstash:*:893:
 arangodb:*:894:
 snmptt:*:895:

Modified: head/UIDs
==============================================================================
--- head/UIDs	Sat Apr  7 14:02:07 2018	(r466726)
+++ head/UIDs	Sat Apr  7 14:14:23 2018	(r466727)
@@ -838,7 +838,7 @@ vuls:*:888:888::0:0:VULnerability Scanner:/var/db/vuls
 mattermost:*:889:889::0:0:Mattermost:/usr/local/www/mattermost:/usr/sbin/nologin
 matterircd:*:890:890::0:0:Matterircd User:/nonexistent:/usr/sbin/nologin
 # free: 891
-# free: 892
+tautulli:*:892:892::0:0:Tautulli user:/nonexistent:/usr/sbin/nologin
 logstash:*:893:893::0:0:Logstash user:/nonexistent:/usr/sbin/nologin
 arangodb:*:894:894::0:0:ArangoDB pseudo-user:/var/db/arangodb:/usr/sbin/nologin
 snmptt:*:895:895::0:0:SNMPTT User:/var/spool/snmptt:/usr/sbin/nologin

Modified: head/multimedia/tautulli/Makefile
==============================================================================
--- head/multimedia/tautulli/Makefile	Sat Apr  7 14:02:07 2018	(r466726)
+++ head/multimedia/tautulli/Makefile	Sat Apr  7 14:14:23 2018	(r466727)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	tautulli
-PORTVERSION=	2.0.22
+PORTVERSION=	2.0.28
+DISTVERSIONPREFIX=v
 PORTREVISION=	0
 CATEGORIES=	multimedia python
-DISTVERSIONPREFIX=v
 
 MAINTAINER=	feld@FreeBSD.org
 COMMENT=	Monitoring, analytics, and notifications for Plex Media Server
@@ -17,7 +17,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:database
 		${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
-USE_RC_SUBR=	${PORTNAME}
 SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
 
 USES=		python:2.7 shebangfix
@@ -29,6 +28,11 @@ GH_ACCOUNT=	Tautulli
 GH_PROJECT=	Tautulli
 NO_BUILD=	yes
 NO_ARCH=	yes
+
+USE_RC_SUBR=	${PORTNAME}
+
+USERS=	tautulli
+GROUPS=	tautulli
 
 post-patch:
 	${FIND} ${WRKSRC} -name '*.orig' -delete

Modified: head/multimedia/tautulli/distinfo
==============================================================================
--- head/multimedia/tautulli/distinfo	Sat Apr  7 14:02:07 2018	(r466726)
+++ head/multimedia/tautulli/distinfo	Sat Apr  7 14:14:23 2018	(r466727)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521296092
-SHA256 (Tautulli-Tautulli-v2.0.22_GH0.tar.gz) = 19adaf2c4565380af46c79507aa436f9fe2b23c9e092f655437bd1a8d2536a0a
-SIZE (Tautulli-Tautulli-v2.0.22_GH0.tar.gz) = 10263582
+TIMESTAMP = 1523110060
+SHA256 (Tautulli-Tautulli-v2.0.28_GH0.tar.gz) = b3f197d16b6da02311b0068d880fddf6fbc57256ef34da731b4b9abb814694c5
+SIZE (Tautulli-Tautulli-v2.0.28_GH0.tar.gz) = 10264994

Modified: head/multimedia/tautulli/files/tautulli.in
==============================================================================
--- head/multimedia/tautulli/files/tautulli.in	Sat Apr  7 14:02:07 2018	(r466726)
+++ head/multimedia/tautulli/files/tautulli.in	Sat Apr  7 14:14:23 2018	(r466727)
@@ -19,7 +19,8 @@ rcvar=tautulli_enable
 load_rc_config $name
 
 : ${tautulli_enable:=NO}
-: ${tautulli_user=nobody}
+: ${tautulli_user=tautulli}
+: ${tautulli_group=tautulli}
 
 command_interpreter=%%PYTHON_CMD%%
 command=%%WWWDIR%%/Tautulli.py
@@ -34,7 +35,7 @@ tautulli_prestart()
 		exit 1
 	fi
 	
-	install -d -o ${tautulli_user} /var/db/tautulli
+	install -d -o ${tautulli_user} -g ${tautulli_group} /var/db/tautulli
 }
 
 run_rc_command "$1"

Added: head/multimedia/tautulli/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/tautulli/pkg-message	Sat Apr  7 14:14:23 2018	(r466727)
@@ -0,0 +1,4 @@
+Tautulli now runs as a dedicated user. If you are upgrading from a
+previous release you may need to fix permissions of the data directory:
+
+chown -R tautulli:tautulli /var/db/tautulli



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