svn commit: r438930 - in head/multimedia/tvheadend: . files

Bernhard Froehlich decke at FreeBSD.org
Thu Apr 20 08:09:06 UTC 2017


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 at gmail.com>
  Reported by:	Tim Brody <tim.brody at 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 at 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
 }
 


More information about the svn-ports-head mailing list