FreeBSD Bugzilla – Attachment 232371 Details for
Bug 262473
mail/opendkim: inconsistent PID handling in rc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bugfixes to opendkim rc script
0001-mail-opendkim-Fixes-to-rc-script-handling-of-PID-fil.patch (text/plain), 1.58 KB, created by
Evilham
on 2022-03-10 18:41:48 UTC
(
hide
)
Description:
bugfixes to opendkim rc script
Filename:
MIME Type:
Creator:
Evilham
Created:
2022-03-10 18:41:48 UTC
Size:
1.58 KB
patch
obsolete
>From 5882e2c9d5432c38455c45a37223513905ab41f2 Mon Sep 17 00:00:00 2001 >From: Evilham <contact@evilham.com> >Date: Thu, 10 Mar 2022 19:38:13 +0100 >Subject: [PATCH] mail/opendkim: Fixes to rc script handling of PID files > >--- > mail/opendkim/Makefile | 2 +- > mail/opendkim/files/milter-opendkim.in | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile >index 7e8e2f02bda1..b47fd551da7a 100644 >--- a/mail/opendkim/Makefile >+++ b/mail/opendkim/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= opendkim > PORTVERSION= 2.10.3 >-PORTREVISION= 15 >+PORTREVISION= 16 > CATEGORIES= mail security > MASTER_SITES= SF/${PORTNAME} \ > SF/${PORTNAME}/Previous%20Releases \ >diff --git a/mail/opendkim/files/milter-opendkim.in b/mail/opendkim/files/milter-opendkim.in >index 7672c9352e68..2ce969582af0 100644 >--- a/mail/opendkim/files/milter-opendkim.in >+++ b/mail/opendkim/files/milter-opendkim.in >@@ -89,6 +89,9 @@ dkim_prepcmd() > { > dkim_cleansockets > dkim_get_pidfile >+ if [ ! -d "$(dirname "$pidfile")" ]; then >+ mkdir "$(dirname "$pidfile")" >+ fi > case ${milteropendkim_socket%:*} in > local|unix) > socketfile=${milteropendkim_socket#*:} >@@ -202,6 +205,7 @@ else > if [ -n "${milteropendkim_alg}" ];then > milteropendkim_alg="-S ${milteropendkim_alg}" > fi >+ dkim_get_pidfile > command_args="-l ${_socket_prefix} ${milteropendkim_socket} ${_uid_prefix} ${milteropendkim_uid} -P ${pidfile} ${milteropendkim_cfgfile} ${milteropendkim_domain} ${milteropendkim_key} ${milteropendkim_selector} ${milteropendkim_alg}" > fi > fi >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
contact
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 262473
: 232371