Date: Thu, 13 Mar 2014 09:59:02 GMT From: Rafal Lesniak <fbsd@grid.einherjar.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187524: mail/exim: add redis lookup support Message-ID: <201403130959.s2D9x2Nu041204@cgiserv.freebsd.org> Resent-Message-ID: <201403131000.s2DA00qV053688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403130959.s2D9x2Nu041204>