Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 08:09:04 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438930 - in head/multimedia/tvheadend: . files
Message-ID:  <201704200809.v3K894Cc072924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Thu Apr 20 08:09:04 2017
New Revision: 438930
URL: https://svnweb.freebsd.org/changeset/ports/438930

Log:
  Use correct group in prestart when creating logdir/confdir/pidfile.
  
  Submitted by:	Tim Brody <tim.brody@gmail.com>
  Reported by:	Tim Brody <tim.brody@gmail.com>

Modified:
  head/multimedia/tvheadend/Makefile
  head/multimedia/tvheadend/files/tvheadend.in

Modified: head/multimedia/tvheadend/Makefile
==============================================================================
--- head/multimedia/tvheadend/Makefile	Thu Apr 20 07:42:38 2017	(r438929)
+++ head/multimedia/tvheadend/Makefile	Thu Apr 20 08:09:04 2017	(r438930)
@@ -4,7 +4,7 @@
 PORTNAME=	tvheadend
 PORTVERSION=	4.0.8
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia
 
 MAINTAINER=	decke@FreeBSD.org

Modified: head/multimedia/tvheadend/files/tvheadend.in
==============================================================================
--- head/multimedia/tvheadend/files/tvheadend.in	Thu Apr 20 07:42:38 2017	(r438929)
+++ head/multimedia/tvheadend/files/tvheadend.in	Thu Apr 20 08:09:04 2017	(r438930)
@@ -38,13 +38,13 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:%%PRE
 tvheadend_prestart()
 {
 	if [ ! -f "${pidfile}" ]; then
-		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_user} -m 644 /dev/null ${pidfile}
+		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_group} -m 644 /dev/null ${pidfile}
 	fi
 	if [ ! -d "${confdir}" ]; then
-		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_user} -m 755 -d ${confdir}
+		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_group} -m 755 -d ${confdir}
 	fi
 	if [ ! -d "${logdir}" ]; then
-		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_user} -m 755 -d ${logdir}
+		/usr/bin/install -o ${tvheadend_user} -g ${tvheadend_group} -m 755 -d ${logdir}
 	fi
 }
 



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