mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
* Since 3.0.0 spf-engine uses flit-core as build backend. So switch to use 'USE_PYTHON=pep517'. * Add entry to UPDATING as default configuration file path of pyspf-milter has changed. ChangeLog: https://git.launchpad.net/spf-engine/tree/CHANGES?h=3.0.3
11 lines
505 B
Python
11 lines
505 B
Python
--- spf_engine/milter_spf.py.orig 2023-01-11 14:35:12 UTC
|
|
+++ spf_engine/milter_spf.py
|
|
@@ -211,7 +211,7 @@ class spfMilter(Milter.Base):
|
|
def main():
|
|
# Ugh, but there's no easy way around this.
|
|
global milterconfig
|
|
- configFile = '/usr/local/etc/python-policyd-spf/policyd-spf.conf'
|
|
+ configFile = '%%PREFIX%%/etc/python-policyd-spf/policyd-spf.conf'
|
|
if len(sys.argv) > 1:
|
|
if sys.argv[1] in ('-?', '--help', '-h'):
|
|
print('usage: pyspf-milter [<configfilename>]')
|