svn commit: r410708 - in head/news/sabnzbdplus: . files

Mark Felder feld at FreeBSD.org
Wed Mar 9 16:59:19 UTC 2016


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}


More information about the svn-ports-all mailing list