From nobody@FreeBSD.org  Thu Mar 13 09:59:03 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 1FF1E1F4
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Mar 2014 09:59:03 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0D831F9A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Mar 2014 09:59:03 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2D9x2Zs041205
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Mar 2014 09:59:02 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2D9x2Nu041204;
	Thu, 13 Mar 2014 09:59:02 GMT
	(envelope-from nobody)
Message-Id: <201403130959.s2D9x2Nu041204@cgiserv.freebsd.org>
Date: Thu, 13 Mar 2014 09:59:02 GMT
From: Rafal Lesniak <fbsd@grid.einherjar.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/exim: add redis lookup support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187524
>Category:       ports
>Synopsis:       mail/exim: add redis lookup support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rea
>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:  Thu Mar 13 10:00:08 UTC 2014
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->rea 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Mar 13 10:00:08 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187524 
>Unformatted:
