summaryrefslogtreecommitdiff
path: root/news/sabnzbdplus
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-03-09 16:59:18 +0000
committerMark Felder <feld@FreeBSD.org>2016-03-09 16:59:18 +0000
commit70068ea3002ab4b84c33ff8985bce79c5d7294b1 (patch)
treebaf4ab99cb5f231de81940a660db0e1bf0100e15 /news/sabnzbdplus
parentmath/ogdf: 2012.07 -> 2015.05 (diff)
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
Notes
Notes: svn path=/head/; revision=410708
Diffstat (limited to 'news/sabnzbdplus')
-rw-r--r--news/sabnzbdplus/Makefile2
-rw-r--r--news/sabnzbdplus/files/sabnzbd.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/news/sabnzbdplus/Makefile b/news/sabnzbdplus/Makefile
index 7fddbdd7f286..e6c5ffdd3e9f 100644
--- a/news/sabnzbdplus/Makefile
+++ b/news/sabnzbdplus/Makefile
@@ -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
diff --git a/news/sabnzbdplus/files/sabnzbd.in b/news/sabnzbdplus/files/sabnzbd.in
index 37625ffa54f8..3052e02300b5 100644
--- a/news/sabnzbdplus/files/sabnzbd.in
+++ b/news/sabnzbdplus/files/sabnzbd.in
@@ -46,6 +46,7 @@ command_args="--daemon -f ${sabnzbd_conf_dir}/sabnzbd.ini --pidfile ${pidfile}"
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}