Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2018 12:53:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230325] www/tomcat85: daemon.sh refers to jsvc executable in CATALINA_HOME/CATALINA_BASE
Message-ID:  <bug-230325-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230325

            Bug ID: 230325
           Summary: www/tomcat85: daemon.sh refers to jsvc executable in
                    CATALINA_HOME/CATALINA_BASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: 1983-01-06@gmx.net
                CC: vvd@unislabs.com
             Flags: maintainer-feedback?(vvd@unislabs.com)
                CC: vvd@unislabs.com

While the daemon.sh is not directly used by the port, uses might still use =
it
for development, thus the scripts needs to be fixed.

Commons Daemon is a runtime dependency so the spot in daemon.sh:

> # If not explicitly set, look for jsvc in CATALINA_BASE first then CATALI=
NA_HOME
> if [ -z "$JSVC" ]; then
>     JSVC=3D"$CATALINA_BASE/bin/jsvc"
>     if [ ! -x "$JSVC" ]; then
>         JSVC=3D"$CATALINA_HOME/bin/jsvc"
>     fi
> fi

Shall be replaced with

> JSVC=3D%%PREFIX%%/bin/jsvc

or similar.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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