[Bug 230325] www/tomcat85: daemon.sh refers to jsvc executable in CATALINA_HOME/CATALINA_BASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 3 12:53:18 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230325

            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 at FreeBSD.org
          Reporter: 1983-01-06 at gmx.net
                CC: vvd at unislabs.com
             Flags: maintainer-feedback?(vvd at unislabs.com)
                CC: vvd at 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 CATALINA_HOME
> if [ -z "$JSVC" ]; then
>     JSVC="$CATALINA_BASE/bin/jsvc"
>     if [ ! -x "$JSVC" ]; then
>         JSVC="$CATALINA_HOME/bin/jsvc"
>     fi
> fi

Shall be replaced with

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

or similar.

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


More information about the freebsd-ports-bugs mailing list