[Bug 248916] perl5 www / p5-Starman -- provided init script has coding errors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 25 21:11:34 UTC 2020


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

            Bug ID: 248916
           Summary: perl5 www / p5-Starman -- provided init script has
                    coding errors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: byrnejb at harte-lyne.ca

The provided init script contains these lines:

starman_enable=${starman_enable-"NO"}
starman_config=${starman_config-"/usr/local/etc/starman.psgi"}
starman_user=${starman_user-"www"}
starman_group=${starman_group-"www"}

The comparison operator is missing the colon : 

These should be 

starman_enable=${starman_enable:-"NO"}
starman_config=${starman_config:-"/usr/local/etc/starman.psgi"}
starman_user=${starman_user:-"www"}
starman_group=${starman_group:-"www"}

I have already corrected this on my suystem so one or more of these may be
correct as distributed but the first two are certainly wrong as shipped.

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


More information about the freebsd-ports-bugs mailing list