Bug 263491 - net-mgmt/cacti: Update to 1.2.20
Summary: net-mgmt/cacti: Update to 1.2.20
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guangyuan Yang
URL: https://www.cacti.net/info/changelog/...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-23 13:13 UTC by Michael Muenz
Modified: 2022-04-27 18:33 UTC (History)
2 users (show)

See Also:


Attachments
update 1.2.20 (9.97 KB, patch)
2022-04-23 13:13 UTC, Michael Muenz
m.muenz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Muenz 2022-04-23 13:13:36 UTC
Created attachment 233420 [details]
update 1.2.20

Update to latest version

- portlint -A runs fine
- poudriere bulk builds fine pkg
- poudriere testport runs without errors
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-04-23 20:08:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=516b831fa7f18bda421e28017d53ac29e89a5486

commit 516b831fa7f18bda421e28017d53ac29e89a5486
Author:     Michael Muenz <m.muenz@gmail.com>
AuthorDate: 2022-04-23 20:08:10 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-04-23 20:08:10 +0000

    net-mgmt/cacti: Update to 1.2.20

    Changelog:      https://www.cacti.net/info/changelog/1.2.20

    PR:             263491

 net-mgmt/cacti/Makefile  |  2 +-
 net-mgmt/cacti/distinfo  |  6 ++--
 net-mgmt/cacti/pkg-plist | 72 +++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 75 insertions(+), 5 deletions(-)
Comment 2 David Siebörger 2022-04-27 18:33:56 UTC
(In reply to Michael Muenz from comment #0)

These entries in pkg-plist cause the 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

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