Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2016 16:59:18 +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: r410708 - in head/news/sabnzbdplus: . files
Message-ID:  <201603091659.u29GxIsc085316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed Mar  9 16:59:18 2016
New Revision: 410708
URL: https://svnweb.freebsd.org/changeset/ports/410708

Log:
  news/sabnzbdplus: Revert removal of PATH in rc script
  
  There were reports of fallout so this has been reverted. It is not
  understood why an explicit PATH needs to be set. In testing without it
  the correct PATH appears to be exported during the start_precmd routine.
  
  PR:		207583
  Approved by:	maintainer

Modified:
  head/news/sabnzbdplus/Makefile
  head/news/sabnzbdplus/files/sabnzbd.in

Modified: head/news/sabnzbdplus/Makefile
==============================================================================
--- head/news/sabnzbdplus/Makefile	Wed Mar  9 16:49:38 2016	(r410707)
+++ head/news/sabnzbdplus/Makefile	Wed Mar  9 16:59:18 2016	(r410708)
@@ -2,7 +2,7 @@
 
 PORTNAME=	sabnzbdplus
 PORTVERSION=	0.7.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	news
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 DISTNAME=	SABnzbd-${PORTVERSION}-src

Modified: head/news/sabnzbdplus/files/sabnzbd.in
==============================================================================
--- head/news/sabnzbdplus/files/sabnzbd.in	Wed Mar  9 16:49:38 2016	(r410707)
+++ head/news/sabnzbdplus/files/sabnzbd.in	Wed Mar  9 16:59:18 2016	(r410708)
@@ -46,6 +46,7 @@ command_args="--daemon -f ${sabnzbd_conf
 
 sabnzbd_prestart()
 {
+	PATH=${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin
 	for sabdir in ${sabnzbd_conf_dir} ${pidfile%/*}; do
 		if [ ! -d "${sabdir}" ]; then
 			install -d -o ${sabnzbd_user} -g ${sabnzbd_group} ${sabdir}



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