Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 161754

Summary: net-libs/courier-authlib needs a vpopmail use flag
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: net-mail+disabled
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: files/configure-gdbm.patch
Patch against courier-authlib-0.58.ebuild

Description Georgi Georgiev 2007-01-12 14:04:21 UTC
The courier-authlib ebuild contains the following code:

    if has_version 'net-mail/vpopmail' ; then
        myconf="${myconf} --with-authvchkpw --without-authmysql --without-authpgsql"
        use mysql && ewarn "vpopmail found. authmysql will not be built."
        use postgres && ewarn "vpopmail found. authpgsql will not be built."
    else
        myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`"
    fi

This is not correct. The ebuild authomatically enables the authvchkpw if vpopmail is installed but this is not consistent. dovecot has a (local) vpopmail useflag. Why not add another one for net-libs/courier-authlib?
Comment 1 Sheldon Hearn 2007-01-16 11:29:04 UTC
Created attachment 107165 [details, diff]
files/configure-gdbm.patch

Remove obsolete macro even when the gdbm USE flag is set.
Comment 2 Sheldon Hearn 2007-01-16 11:29:58 UTC
Created attachment 107167 [details, diff]
Patch against courier-authlib-0.58.ebuild

Fix ebuild to apply configure-gdbm.patch when the gdbm USE flag is set.
Comment 3 Sheldon Hearn 2007-01-16 11:33:51 UTC
Sorry, these files were attached in error.  They were meant for bug #160286.  I hate Gentoo's bugzilla.
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 20:46:23 UTC
Fixed in the bump to courier-authlib-0.59.1