Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40358 - net-mail/exim: Request for USE flag to enable (N)WILDLSEARCH lookups
Summary: net-mail/exim: Request for USE flag to enable (N)WILDLSEARCH lookups
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 01:16 UTC by Jody Belka
Modified: 2004-04-24 03:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jody Belka 2004-02-04 01:16:40 UTC
Please add a USE flag to the exim ebuild to enable/disable (N)WILDLSEARCH lookups by changing:
# LOOKUP_WILDLSEARCH=yes
# LOOKUP_NWILDLSEARCH=yes
to:
LOOKUP_WILDLSEARCH=yes
LOOKUP_NWILDLSEARCH=yes
in src/EDITME or Local/Makefile

This will allow ${lookup {key}wildlsearch...} and ${lookup {key}nwildlsearch...} to be used in exim.conf

I have included a unified diff that adds this functionality.

I've classed this report as severity enhancement, but for me this is critical missing functionality as i need to use these lookups, and the sysadmin of the system i am using really wants to use official ebuilds so that he can get any security updates.

Reproducible: Always
Steps to Reproduce:
1. emerge exim
2. try and use the wildlsearch lookup (or nwildlsearch from 4.22 onwards)

Actual Results:  
Exim gives an error complaining that the lookup type wasn't compiled in to the 
executable

Expected Results:  
Carried out the lookup requested

--- exim-4.24-r1.ebuild 2004-02-04 09:08:45.000000000 +0000
+++ exim-4.24-r3.ebuild 2004-02-04 09:05:35.000000000 +0000
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /home/cvsroot/gentoo-x86/net-mail/exim/exim-4.24-r1.ebuild,v 1.3 
2003/12/17 04:28:41 brad_mssw Exp $

-IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl maildir lmtp ipv6 sasl"
+IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl maildir lmtp ipv6 sasl 
wildlsearch"

 EXISCANACL_VER=${PV}-13

@@ -142,6 +142,12 @@

        sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Local/Makefile

+       if use wildlsearch; then
+               sed -i \
+                       -e "s:# LOOKUP_WILDLSEARCH=yes:LOOKUP_WILDLSEARCH=yes:" 
\
+                       -e "s:# 
LOOKUP_NWILDLSEARCH=yes:LOOKUP_NWILDLSEARCH=yes:" Local/Makefile
+       fi
+
        sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Local/Makefile

        # Use the "native" interface to the DBM library
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-18 15:37:37 UTC
handing these over to Jay
Comment 2 Colin Morey (RETIRED) gentoo-dev 2004-03-29 15:03:31 UTC
Added these patches to exim 4.31.ebuild, now in portage.
Comment 3 Colin Morey (RETIRED) gentoo-dev 2004-04-24 03:23:10 UTC
No comments or further issues, closing bug.