From owner-svn-ports-head@freebsd.org Sat Apr 7 14:14:24 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9505F8B9A8; Sat, 7 Apr 2018 14:14:24 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 773B677C90; Sat, 7 Apr 2018 14:14:24 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71E3021DEC; Sat, 7 Apr 2018 14:14:24 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w37EEOKO095460; Sat, 7 Apr 2018 14:14:24 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w37EENZX095454; Sat, 7 Apr 2018 14:14:23 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201804071414.w37EENZX095454@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Sat, 7 Apr 2018 14:14:23 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head: . multimedia/tautulli multimedia/tautulli/files X-SVN-Commit-Revision: 466727 X-SVN-Commit-Repository: ports 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.25 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: Sat, 07 Apr 2018 14:14:25 -0000 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