From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 13 10:00:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 191B4210 for ; Thu, 13 Mar 2014 10:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D0332FAC for ; Thu, 13 Mar 2014 10:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2DA00Fv053699 for ; Thu, 13 Mar 2014 10:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2DA00qV053688; Thu, 13 Mar 2014 10:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 13 Mar 2014 10:00:00 GMT Resent-Message-Id: <201403131000.s2DA00qV053688@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rafal Lesniak 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187524: mail/exim: add redis lookup support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 10:00:01 -0000 >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: