Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37969 - gaim should have a PDEPEND on gaim-encryption when ssl is in USE
Summary: gaim should have a PDEPEND on gaim-encryption when ssl is in USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 06:44 UTC by SpanKY
Modified: 2006-12-30 13:13 UTC (History)
1 user (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 SpanKY gentoo-dev 2004-01-12 06:44:29 UTC
making users read ChangeLog and then emergeing gaim-encryption themselves is
bad behavior imho ;)

the simple fix is:
PDEPEND="ssl? ( net-im/gaim-encryption )"
that way the plugin is built after gaim and we still get our encryption w/out
adding extra work for the users
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-01-12 08:11:54 UTC
Ahh I wasn't aware of PDEPEND.  It's not documented in the developer/ebuild HOWTO.

For now this would be a great solution.  I'll have to take it out if another encryption plugin comes to play, like if gaim-e awakens from it's coma.

Thanks for the tip.
Comment 2 SpanKY gentoo-dev 2004-01-12 13:02:21 UTC
thats because that doc is a HOWTO, it's not a definitive guide ;)

most people dont need/care about PDEPEND thus it isnt listed ... it is however
in the manpage ...
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-01-12 14:18:39 UTC
Well I think it would be good to list PDEPEND in the HOWTO along with the definitions of vars like DEPEND and RDEPEND.  Otherwise perhaps we would be well served to have a definitive guide, and NOT just a man page.

But that is for another discussion.

PDEPEND is in place and working great.  Thanks again for clueing me in!

btw what man page is it in?  I didn't find it in 'man ebuild'
Comment 4 SpanKY gentoo-dev 2004-01-12 15:15:05 UTC
`man ebuild` defaults to ebuild(1) which is the frontend (how to use the ebuild program)

`man 5 ebuild` is the backend stuff (all the variables/functions you can use in an ebuild)
Comment 5 Christopher Covington 2006-12-30 13:13:02 UTC
(In reply to comment #1)
> Ahh I wasn't aware of PDEPEND.  It's not documented in the developer/ebuild
> HOWTO.
> 
> For now this would be a great solution.  I'll have to take it out if another
> encryption plugin comes to play, like if gaim-e awakens from it's coma.
> 
> Thanks for the tip.
> 

gaim-otr has come into play and well it seems kinda funky that the crypt USEFLAG insists upon gaim-encryption. Because the two plugins are not mutually exclusive (AFAIK--they can both be installed at the same time, I've not tried to run them simultaneously) a PDEPEND="|| ( gaim-otr gaim-encryption )" would probably not be appropriate. A has_version hack could do the trick. Perhaps gaim-otr should be preferred if neither are installed given its deniability and perfect forward secrecy advantages over gaim-encryption.