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

Bug 347237

Summary: mail-mta/courier: it should be possible to build with sys-libs/db instead of gdbm
Product: Gentoo Linux Reporter: Alec Meyers <alecm_88>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: alecm_88, sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: berkeley db support for courier ebuild

Description Alec Meyers 2010-11-30 03:06:50 UTC
According to the courier-mta documentation, courier can use either gdbm or berkeley db:

"The Courier mail server requires either the GDBM or the DB database library. GDBM is used if both are present. This option forces the selection of the database library." ( http://www.courier-mta.org/install.html#configure )

Is there any reason why the Gentoo ebuild forces gdbm to be used ( --with-db=gdbm )?

Reproducible: Always
Comment 1 Matus UHLAR - fantomas 2010-12-16 12:48:40 UTC
Created attachment 257311 [details, diff]
berkeley db support for courier ebuild
Comment 2 Alec Meyers 2022-04-10 13:17:06 UTC
Shouldn't this be closed as WONTFIX considering the courier package never did get berkdb support?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-10 15:02:07 UTC
(In reply to Alec Meyers from comment #2)
> Shouldn't this be closed as WONTFIX considering the courier package never
> did get berkdb support?

Sorry, yes, I was skimming and saw:

$ grep -rsin "sys-libs/db" --include="*.ebuild" | grep courier
net-libs/courier-authlib/courier-authlib-0.71.3-r2.ebuild:23:   !gdbm? ( sys-libs/db:= )
net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild:23:   !gdbm? ( sys-libs/db:= )
net-mail/courier-imap/courier-imap-5.1.7.ebuild:27:     berkdb? ( sys-libs/db:= )
net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild:27:  berkdb? ( sys-libs/db:= )
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild:27:  berkdb? ( sys-libs/db:= )
net-mail/courier-imap/courier-imap-5.1.4.ebuild:27:     berkdb? ( sys-libs/db:= )