MFH: r523643

Fix calibre-server startup script by extending the PATH to include
LOBALBASE/bin.

The server looks in path for the pdftohtml binary, which is used
to render PDF files for viewing in the browser.

Reported by:	Alexander Leidinger <Alexander@leidinger.net>

Approved by:	ports-secteam (joneum)
This commit is contained in:
Guido Falsi 2020-01-21 17:38:48 +00:00
parent ade18df41c
commit 1c2bd51a05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=523731
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= calibre
PORTVERSION= 4.7.0
PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/

View File

@ -31,6 +31,8 @@
. /etc/rc.subr
export PATH=$PATH:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin
name=calibre
rcvar=calibre_enable