Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24674 - New USE flags: "abook", "nis"/"yp", "finger" for net-mail/lbdb
Summary: New USE flags: "abook", "nis"/"yp", "finger" for net-mail/lbdb
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 08:27 UTC by Wolfram Schlich (RETIRED)
Modified: 2005-03-26 08:56 UTC (History)
3 users (show)

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 Wolfram Schlich (RETIRED) gentoo-dev 2003-07-17 08:27:05 UTC
I'd like to have new USE flags called "abook", "nis" (or "yp").
The package "net-mail/lbdb" only compiles with abook support (builds specific 
query modules) when it finds abook includes/libraries. I'd like "net-mail/lbdb" 
to depend on "app-misc/abook" when the "abook" USE flag is set.
Same goes for "nis"/"yp" ("net-nds/yp-tools") and "finger" 
("net-misc/netkit-fingerd").

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-23 17:36:28 UTC
assigning back to bugwranglers, not a releng thing
Comment 2 Byron Clark 2004-03-24 12:45:05 UTC
A "gpg" USE flag would also be nice.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-27 19:10:28 UTC
the 'crypt' USE flag should do
Comment 4 Cory Visi (RETIRED) gentoo-dev 2004-06-15 11:38:50 UTC
As much as this makes sense, the configure script does not support any method of enabling or disabling these features (in fact, it doesn't support enabling or disabled ldap or pda either-- already in the ebuild).  Although I do not agree, I think it is policy not to add USE flags unless the features can be explicately disabled or enabled in the configure scripts.

This is an upstream issue. I think the bug should be closed WONTFIX, and maybe when upstream adds the configure options, we can reopen it.
Comment 5 Cory Visi (RETIRED) gentoo-dev 2004-06-26 10:34:15 UTC
Wolfram, can you just let me know this is ok? I'd like to close the bug.
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2004-06-27 02:09:25 UTC
well, then we should add "hard" depends to those packages, because otherwise we have unpredictable behavior for the user, until we have an upstream fix.
Comment 7 Wolfram Schlich (RETIRED) gentoo-dev 2005-01-19 14:27:01 UTC
*push* Cory, please tell me what you think of my proposal.
Comment 8 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-01 12:08:45 UTC
I agree with wschlich. And if we don't want to hard-depend on those packages, at least 'say something' in pkg_setup.

Cheers,
Ferdy
Comment 9 Wolfram Schlich (RETIRED) gentoo-dev 2005-03-01 12:17:29 UTC
I like the hard deps solution best, because it's the only real
straightforward solution.
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-02 04:55:26 UTC
I'll add a hard-depend on them if no-one says no in a couple of days.

Cheers,
Ferdy
Comment 11 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-26 04:24:45 UTC
I finally patched configure.in to allow enable/disable *some* of the deps... 

crypt, nis, abook and finger support is added through useflags (both enable/disable supported)

lbdb-0.29-r1 is on the CVS. Please test and give feedback, reopen if you see something wrong.

Cheers,
Ferdy
Comment 12 Wolfram Schlich (RETIRED) gentoo-dev 2005-03-26 06:16:06 UTC
cool, thanks!
will test now.
have you already sent your patch to roland?
Comment 13 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-26 08:56:33 UTC
Yes I did, and after reading his comments I think I'm going to improve it a bit to fit what he actually wants.

Anyway I think the one I commited should work

Cheers,
Ferdy