diff options
author | mat <mat@FreeBSD.org> | 2016-01-16 00:05:22 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-01-16 00:05:22 +0800 |
commit | 40b56e8896a112afaab967a23c9de6b719341965 (patch) | |
tree | 254d8ed1d8d496d411a8535e08a7c3b7ed1e2db7 /mail | |
parent | a41f5d55792b61a82f3ce6ec4f95a781dcdc3ae9 (diff) | |
download | freebsd-ports-gnome-40b56e8896a112afaab967a23c9de6b719341965.tar.gz freebsd-ports-gnome-40b56e8896a112afaab967a23c9de6b719341965.tar.zst freebsd-ports-gnome-40b56e8896a112afaab967a23c9de6b719341965.zip |
Add missing dependency on GNU sed.
PR: 205744
Submitted by: Louis Kowolowski
Sponsored by: Absolight
Diffstat (limited to 'mail')
-rw-r--r-- | mail/policyd2/Makefile | 6 | ||||
-rw-r--r-- | mail/policyd2/files/patch-database_convert-tsql | 13 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile index df5932a35af5..35359f7e2d8e 100644 --- a/mail/policyd2/Makefile +++ b/mail/policyd2/Makefile @@ -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} \ diff --git a/mail/policyd2/files/patch-database_convert-tsql b/mail/policyd2/files/patch-database_convert-tsql new file mode 100644 index 000000000000..f30575723296 --- /dev/null +++ b/mail/policyd2/files/patch-database_convert-tsql @@ -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") |