pkgsrc/mail/py-policyd-spf/patches/patch-policyd-spf
jperkin 594e5c147e Import pypolicyd-spf version 1.3.2 as mail/py-policyd-spf.
This is python-policyd-spf, an external policy checker for the postfix mail
server.  It will use pyspf to check SPF records to determine if email should
be rejected by your server.

Based on https://github.com/joyent/pkgsrc/pull/421 by Coy Hile.
2016-10-27 12:30:23 +00:00

15 lines
559 B
Text

$NetBSD: patch-policyd-spf,v 1.1 2016/10/27 12:30:23 jperkin Exp $
Use pkgsrc layout.
--- policyd-spf.orig 2015-08-13 02:45:08.000000000 +0000
+++ policyd-spf
@@ -651,7 +651,7 @@ def _spfcheck(data, instance_dict, confi
###################################################
# load config file {{{1
# Default location:
-configFile = '/etc/python-policyd-spf/policyd-spf.conf'
+configFile = '@PKG_SYSCONFDIR@/policyd-spf.conf'
if len(sys.argv) > 1:
if sys.argv[1] in ( '-?', '--help', '-h' ):
print('usage: policyd-spf [<configfilename>]')