git: 9c1e9a4e5f02 - main - net-mgmt/xymon-server: Fix ownership of reports and snapshots wwwdirs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Nov 2026 01:00:41 UTC
The branch main has been updated by feld:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1e9a4e5f02128794cb89b3fae61006809e8fb8
commit 9c1e9a4e5f02128794cb89b3fae61006809e8fb8
Author: Mark Felder <feld@FreeBSD.org>
AuthorDate: 2026-11-07 00:58:50 +0000
Commit: Mark Felder <feld@FreeBSD.org>
CommitDate: 2026-11-07 01:00:37 +0000
net-mgmt/xymon-server: Fix ownership of reports and snapshots wwwdirs
PR: 300516
Submitted by: David Dee <freebsd@vmdkhosting.com>
---
net-mgmt/xymon-server/Makefile | 5 +++--
net-mgmt/xymon-server/pkg-plist | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index 36936d195835..10c28f08b2c4 100644
--- a/net-mgmt/xymon-server/Makefile
+++ b/net-mgmt/xymon-server/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xymon
PORTVERSION= 4.3.31
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}
@@ -39,7 +39,8 @@ MAKE_ENV+= MANPREFIX="${STAGEDIR}${PREFIX}/share"
MAKE_ARGS+= PKGBUILD="true"
USE_RC_SUBR= xymon-server
SUB_LIST+= XYMONUSER="${XYMONUSER}"
-PLIST_SUB+= XYMONUSER="${XYMONUSER}"
+PLIST_SUB+= XYMONUSER="${XYMONUSER}" \
+ WWWGRP="${WWWGRP}"
CONFIG_FILES= critical.cfg cgioptions.cfg client-local.cfg \
columndoc.csv graphs.cfg protocols.cfg \
diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist
index 18c6434f62ff..1e46ffc3ae87 100644
--- a/net-mgmt/xymon-server/pkg-plist
+++ b/net-mgmt/xymon-server/pkg-plist
@@ -459,8 +459,8 @@ share/man/man8/xymonproxy.8.gz
@dir %%WWWDIR%%/server/www
@dir %%WWWDIR%%/server/www/html
@dir %%WWWDIR%%/server/www/notes
-@dir %%WWWDIR%%/server/www/rep
-@dir %%WWWDIR%%/server/www/snap
@dir %%WWWDIR%%/server/www/wml
@dir /var/log/%%XYMONUSER%%
@owner
+@dir(%%XYMONUSER%%,%%WWWGRP%%,775) %%WWWDIR%%/server/www/rep
+@dir(%%XYMONUSER%%,%%WWWGRP%%,775) %%WWWDIR%%/server/www/snap