[Bug 280010] mail/py-dkimpy-milter: Create directory for pid file with rc script

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jun 2024 00:07:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280010

            Bug ID: 280010
           Summary: mail/py-dkimpy-milter: Create directory for pid file
                    with rc script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew@FreeBSD.org
          Reporter: yasu@freebsd.org
          Assignee: matthew@FreeBSD.org
             Flags: maintainer-feedback?(matthew@FreeBSD.org)

Created attachment 251715
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251715&action=edit
Patch file

Change rc script as following.
* Introduce two new variables.
  - dkimpy_milter_uid
  - dkimpy_milter_gid
* Add following steps to dkimpy_milter_precmd
  1. Create directory for pid file if it isn't exist.
  2. Change owner/group of the directory to ones specified with
dkimpy_milter_uid/dkimpy_milter_gid.

It is necessary to run dkimpy-milter with non-default UserID setting.

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