From a8b5cf411b6af6918a788b580de90b32320cb3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 17 Feb 2025 12:30:24 +0100 Subject: [PATCH] sysutils/nut: Fix permissions. Approved by: maintainer timeout (2 months) --- sysutils/nut/Makefile | 1 + sysutils/nut/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 791d13b6f804..5300855588ea 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -1,5 +1,6 @@ PORTNAME= nut PORTVERSION= 2.8.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist index ad70a66cdca6..7d9afbd89d34 100644 --- a/sysutils/nut/pkg-plist +++ b/sysutils/nut/pkg-plist @@ -14,7 +14,7 @@ @sample %%ETCDIR%%/nut.conf.sample @sample %%ETCDIR%%/ups.conf.sample @sample %%ETCDIR%%/upsd.conf.sample -@sample %%ETCDIR%%/upsd.users.sample +@sample(%%NUT_USER%%,%%NUT_GROUP%%,0640) %%ETCDIR%%/upsd.users.sample @sample %%ETCDIR%%/upsmon.conf.sample @sample %%ETCDIR%%/upssched.conf.sample @sample %%EXAMPLESDIR%%/newsyslog.sample etc/newsyslog.conf.d/nut.conf