1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

previous changes in mail/dkim-milter rc script concerning

milterdkim_socket break precmd/postcmd.

PR:             126034
Submitted by:   Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
This commit is contained in:
Andrey A. Chernov 2008-07-28 20:15:40 +00:00
parent d6f5edac50
commit 7525423484
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217783
2 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@
PORTNAME= dkim-milter
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF

View File

@ -82,7 +82,7 @@ if [ -n "$2" ]; then
milterdkim_cfgfile=""
fi
if [ "x${milterdkim_socket}" != "x" ];then
milterdkim_socket="-p ${milterdkim_socket}"
_socket_prefix="-p"
fi
if [ "x${milterdkim_domain}" != "x" ];then
milterdkim_domain="-d ${milterdkim_domain}"
@ -96,7 +96,7 @@ if [ -n "$2" ]; then
if [ "x${milterdkim_alg}" != "x" ];then
milterdkim_alg="-S ${milterdkim_alg}"
fi
command_args="-l ${milterdkim_socket} -u ${milterdkim_uid} -P ${pidfile} ${milterdkim_cfgfile} ${milterdkim_domain} ${milterdkim_key} ${milterdkim_selector} ${milterdkim_alg}"
command_args="-l ${_socket_prefix} ${milterdkim_socket} -u ${milterdkim_uid} -P ${pidfile} ${milterdkim_cfgfile} ${milterdkim_domain} ${milterdkim_key} ${milterdkim_selector} ${milterdkim_alg}"
else
echo "$0: extra argument ignored"
fi
@ -124,7 +124,7 @@ else
milterdkim_cfgfile=""
fi
if [ "x${milterdkim_socket}" != "x" ];then
milterdkim_socket="-p ${milterdkim_socket}"
_socket_prefix="-p"
fi
if [ "x${milterdkim_domain}" != "x" ];then
milterdkim_domain="-d ${milterdkim_domain}"
@ -138,7 +138,7 @@ else
if [ "x${milterdkim_alg}" != "x" ];then
milterdkim_alg="-S ${milterdkim_alg}"
fi
command_args="-l ${milterdkim_socket} -u ${milterdkim_uid} -P ${pidfile} ${milterdkim_cfgfile} ${milterdkim_domain} ${milterdkim_key} ${milterdkim_selector} ${milterdkim_alg}"
command_args="-l ${_socket_prefix} ${milterdkim_socket} -u ${milterdkim_uid} -P ${pidfile} ${milterdkim_cfgfile} ${milterdkim_domain} ${milterdkim_key} ${milterdkim_selector} ${milterdkim_alg}"
fi
fi