[Bug 269497] sysutils/nut: set group in rc.d script

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Feb 2023 15:38:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269497

            Bug ID: 269497
           Summary: sysutils/nut: set group in rc.d script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: dvl@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Created attachment 240092
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240092&action=edit
add NUT_GROUP=${NUT_GROUP} to SUB_LIST

At present, the rc.d script contains this:

[knew dan ~] % grep GROUP /usr/local/etc/rc.d/nut
                chgrp %%NUT_GROUP%% ${nut_prefix}/etc/nut/upsd.users

The attache patch fixes the issue by adding NUT_GROUP=${NUT_GROUP} to SUB_LIST

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