mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
* Fix runtime error of pyspf-milter that happens when either 'UMask' or 'IntHosts' is set in configuration file. * Stop installing backup files. * Make miscellaneous paths consistent between library files, man pages, pkg-message and rc.d script. * Remove CONFLICTS as mail/postfix-policyd-spf-python is removed from ports tree MFH: 2022Q3
25 lines
929 B
Python
25 lines
929 B
Python
--- spf_engine/policydspfsupp.py.orig 2020-04-18 06:04:36 UTC
|
|
+++ spf_engine/policydspfsupp.py
|
|
@@ -47,8 +47,8 @@ defaultConfigData = {
|
|
'No_Mail' : False,
|
|
'Mock' : False,
|
|
# For milter front end
|
|
- 'Socket': 'local:/run/pyspf-milter/pyspf-milter.sock',
|
|
- 'PidFile': '/run/pyspf-milter/pyspf-milter.pid',
|
|
+ 'Socket': 'local:/var/run/pyspf-milter/pyspf-milter.sock',
|
|
+ 'PidFile': '/var/run/pyspf-milter/pyspf-milter.pid',
|
|
'UserID': 'pyspf-milter',
|
|
'UMask': 7,
|
|
'InternalHosts': '127.0.0.1',
|
|
@@ -153,9 +153,9 @@ def _readConfigFile(path, configData = None, configGlo
|
|
'Socket': str,
|
|
'PidFile': str,
|
|
'UserID': str,
|
|
- 'UMask': 'int',
|
|
+ 'UMask': int,
|
|
'InternalHosts': str,
|
|
- 'IntHosts': 'bool',
|
|
+ 'IntHosts': bool,
|
|
'MacroListVerify': str,
|
|
}
|
|
|