svn commit: r406170 - in head/mail/policyd2: . files
Mathieu Arnold
mat at FreeBSD.org
Fri Jan 15 16:05:23 UTC 2016
Author: mat
Date: Fri Jan 15 16:05:22 2016
New Revision: 406170
URL: https://svnweb.freebsd.org/changeset/ports/406170
Log:
Add missing dependency on GNU sed.
PR: 205744
Submitted by: Louis Kowolowski
Sponsored by: Absolight
Added:
head/mail/policyd2/files/patch-database_convert-tsql (contents, props changed)
Modified:
head/mail/policyd2/Makefile
Modified: head/mail/policyd2/Makefile
==============================================================================
--- head/mail/policyd2/Makefile Fri Jan 15 16:04:16 2016 (r406169)
+++ head/mail/policyd2/Makefile Fri Jan 15 16:05:22 2016 (r406170)
@@ -3,7 +3,7 @@
PORTNAME= policyd2
PORTVERSION= 2.0.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://download.policyd.org/v${PORTVERSION}/
DISTNAME= cluebringer-v${PORTVERSION}
@@ -15,6 +15,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
+ gsed:${PORTSDIR}/textproc/gsed \
p5-Net-CIDR>=0:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles \
p5-Cache-FastMmap>=0:${PORTSDIR}/devel/p5-Cache-FastMmap
@@ -59,6 +60,9 @@ USE_PHP= pdo_pgsql
post-patch:
@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/cbpadmin \
${WRKSRC}/cbpolicyd
+ @${REINPLACE_CMD} 's|sed|gsed|' ${WRKSRC}/database/convert-tsql \
+ ${WRKSRC}/database/whitelists/parse-checkhelo-whitelist \
+ ${WRKSRC}/database/whitelists/parse-greylisting-whitelist
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR} \
Added: head/mail/policyd2/files/patch-database_convert-tsql
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/policyd2/files/patch-database_convert-tsql Fri Jan 15 16:05:22 2016 (r406170)
@@ -0,0 +1,13 @@
+--- database/convert-tsql.orig 2013-10-26 18:53:14 UTC
++++ database/convert-tsql
+@@ -96,7 +96,9 @@ case "$database" in
+ -e 's/@SERIAL_TYPE@/SERIAL PRIMARY KEY/' \
+ -e 's/@BIG_INTEGER_UNSIGNED@/INT8/' \
+ -e 's/@TRACK_KEY_LEN@/512/' \
+- -e 's/@SERIAL_REF_TYPE@/INT8/' < "$file"
++ -e 's/@SERIAL_REF_TYPE@/INT8/' \
++ -e 's/#/--/' \
++ -e '/^\s*$/d' < "$file"
+ ;;
+
+ "sqlite")
More information about the svn-ports-all
mailing list