[Bug 264285] net-mgmt/cacti: fix pkg-plist

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 May 2022 13:30:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264285

            Bug ID: 264285
           Summary: net-mgmt/cacti: fix pkg-plist
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: drs-freebsd@sieborger.nom.za
                CC: m.muenz@gmail.com
                CC: m.muenz@gmail.com
             Flags: maintainer-feedback?(m.muenz@gmail.com)

Created attachment 234263
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234263&action=edit
patch to correct pkg-plist

The entries below from pkg-plist cause the package stage to fail if CACTIUSER
is set to anything other than "cacti":

%%CACTIDIR%%/docs/images/%%CACTIUSER%%-https.PNG
%%CACTIDIR%%/docs/images/%%CACTIUSER%%-log.png

The patch attached corrects that.

Here's what happens when CACTIUSER is set to "www":

===>  Building package for cacti-1.2.20
pkg-static: Unable to access file
/wrkdirs/usr/ports/net-mgmt/cacti/work/stage/usr/local/share/cacti/docs/images/www-https.PNG:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/net-mgmt/cacti/work/stage/usr/local/share/cacti/docs/images/www-log.png:No
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/cacti

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