First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 40358
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Colin Morey <peitolm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jody Belka <knew-gentoo@pimb.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40358 depends on: Show dependency tree
Bug 40358 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-04 01:16 0000
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 From Seemant Kulleen (RETIRED) 2004-03-18 15:37:37 0000 -------
handing these over to Jay

------- Comment #2 From Colin Morey 2004-03-29 15:03:31 0000 -------
Added these patches to exim 4.31.ebuild, now in portage.

------- Comment #3 From Colin Morey 2004-04-24 03:23:10 0000 -------
No comments or further issues, closing bug.

First Last Prev Next    No search results available      Search page      Enter new bug