ports/187524: mail/exim: add redis lookup support
Rafal Lesniak
fbsd at grid.einherjar.de
Thu Mar 13 10:00:01 UTC 2014
>Number: 187524
>Category: ports
>Synopsis: mail/exim: add redis lookup support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 13 10:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Rafal Lesniak
>Release: 10.0-RELEASE
>Organization:
CreativeNet Service GmbH
>Environment:
>Description:
Starting with version 4.82 exim supports redis lookups but it can not be configured via options in FreeBSD ports. Patch attached.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN exim.bak/Makefile exim/Makefile
--- exim.bak/Makefile 2014-03-13 10:48:50.183265694 +0100
+++ exim/Makefile 2014-03-13 10:49:52.614266342 +0100
@@ -459,6 +459,12 @@
SEDLIST+= -e 's,^\# (USE_READLINE=),\1,'
.endif
+.if ${PORT_OPTIONS:MREDIS}
+LIB_DEPENDS+= hiredis:${PORTSDIR}/databases/hiredis
+LDFLAGS+=-lhiredis
+SEDLIST+= -e 's,^\# (EXPERIMENTAL_REDIS=),\1,'
+.endif
+
.if ${PORT_OPTIONS:MCONTENT_SCAN}
SEDLIST+= -e 's,^\# (WITH_CONTENT_SCAN=),\1,'
.endif
diff -ruN exim.bak/options exim/options
--- exim.bak/options 2014-03-13 10:48:50.183265694 +0100
+++ exim/options 2014-03-13 10:50:17.629265416 +0100
@@ -33,6 +33,7 @@
PASSWD \
PGSQL \
READLINE \
+ REDIS \
SASLAUTHD \
SA_EXIM \
SO_1024 \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list