- Update to 1.15

- portlint(1)
This commit is contained in:
Marcus Alves Grando 2006-02-22 13:52:36 +00:00
parent 1f9f11992b
commit 3f6d7dd247
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156662
4 changed files with 12 additions and 13 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= tumgreyspf
PORTVERSION= 1.11
PORTREVISION= 1
PORTVERSION= 1.15
CATEGORIES= mail
MASTER_SITES= ftp://ftp.tummy.com/pub/tummy/tumgreyspf/
@ -18,7 +17,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/spf.py:${PORTSDIR}/mail/py-spf
USE_PYTHON= 2.1+
NO_BUILD= yes
USE_REINPLACE= yes
TUMGREYSPF_DIR?= /var/db/${PORTNAME}
TUMGREYSPF_USER?= nobody
@ -47,7 +45,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%TUMGREYSPF_DIR%%|${TUMGREYSPF_DIR}|g" \
${WRKSRC}/tumgreyspfsupp.py ${WRKSRC}/tumgreyspf.conf
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/tumgreyspfsupp.py \
${WRKSRC}/tumgreyspf.conf
@${GREP} -r "env python" ${WRKSRC} | ${CUT} -d: -f1 | \
${XARGS} ${REINPLACE_CMD} -e "s|env python|env ${PYTHON_CMD}|"

View file

@ -1,3 +1,3 @@
MD5 (tumgreyspf-1.11.tar.gz) = 638804ae652d682bcbc1dbf8898b0c4b
SHA256 (tumgreyspf-1.11.tar.gz) = faec2368a16a8f19f3dc2f879b152c3a138de72b0f2e58880f9710c631e8ea89
SIZE (tumgreyspf-1.11.tar.gz) = 23651
MD5 (tumgreyspf-1.15.tar.gz) = 95abd34600264121378cea93e338421b
SHA256 (tumgreyspf-1.15.tar.gz) = fb02e81203ab206b3158b8e6a0face01a34960b641c61234df1ee459a4eff5ec
SIZE (tumgreyspf-1.15.tar.gz) = 24415

View file

@ -5,7 +5,7 @@
# the configuration values for certain remote hosts, senders or
# recipients.
-configPath = 'file:///var/local/lib/tumgreyspf/config'
+configPath = 'file:///%%TUMGREYSPF_DIR%%/config'
+configPath = 'file://%%TUMGREYSPF_DIR%%/config'
# Directory where the greylist resides.
-greylistDir = '/var/local/lib/tumgreyspf/data'

View file

@ -1,5 +1,5 @@
--- tumgreyspfsupp.py.orig Wed Aug 31 21:39:42 2005
+++ tumgreyspfsupp.py Wed Aug 31 21:41:24 2005
--- tumgreyspfsupp.py.orig Thu Feb 2 18:48:25 2006
+++ tumgreyspfsupp.py Wed Feb 22 10:20:40 2006
@@ -10,15 +10,15 @@
@ -14,10 +14,10 @@
- 'greylistDir' : '/var/local/lib/tumgreyspf/data',
- 'blackholeDir' : '/var/local/lib/tumgreyspf/blackhole',
- 'spfqueryPath' : '/usr/local/lib/tumgreyspf/spfquery',
+ 'configPath' : 'file:///%%TUMGREYSPF_DIR%%/config',
+ 'configPath' : 'file://%%TUMGREYSPF_DIR%%/config',
+ 'greylistDir' : '%%TUMGREYSPF_DIR%%/data',
+ 'blackholeDir' : '%%TUMGREYSPF_DIR%%/blackhole',
+ 'spfqueryPath' : '%%PREFIX%%/bin/spfquery',
+ 'spfqueryPath' : '%%LOCALBASE%%/bin/spfquery',
'ignoreLastByte' : 0,
}