Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89762 - Gaim should optionally use nss/gnutls
Summary: Gaim should optionally use nss/gnutls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 00:23 UTC by Ginsu
Modified: 2007-06-30 15:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make SSL optional. (gaim-ssl-ebuild.patch,2.13 KB, patch)
2006-01-16 14:37 UTC, Ginsu
Details | Diff
patch to make SSL optional (gaim-2.0.0_beta2-r1.ebuild-ssl.patch,2.09 KB, patch)
2006-03-23 12:48 UTC, Aron Griffis (RETIRED)
Details | Diff
gaim-2.0.0_beta2-r1.ebuild-ssl.patch (gaim-2.0.0_beta2-r1.ebuild-ssl.patch,2.09 KB, patch)
2006-03-23 12:50 UTC, Aron Griffis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ginsu 2005-04-20 00:23:18 UTC
I do not use MSN, yet gaim installs nss just to be able to use the MSN plugin.  I suggest using the msn use flag to make it optional.

Reproducible: Always
Steps to Reproduce:
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-04-22 10:06:01 UTC
I've been kicking this idea around for some time.  I'll look into it.
Comment 2 Andrew Esh 2005-05-02 09:02:43 UTC
Upon the emerge of gnutls, this message is emitted. It would be nice if Gentoo had a way to email these to me, or queue them up for display in a dialog or something. They get lost in the middle of a large emerge.

>>> original instance of package unmerged safely.
 * An API has changed in gnutls. This is why the library has gone from
 * libgnutls.so.11 (or 10) to libgnutls.so.12.
 *
 * What is required is a revdep-rebuild.
 * To show you what is needed to rebuild
 * revdep-rebuild --soname-regexp libgnutls.so.1[0-1] -- -p
 *
 * Then do:
 * revdep-rebuild --soname-regexp libgnutls.so.1[0-1]
 *
 * Afterward just try:
 * revdep-rebuild -- -p
 * to see if there are any other packages broken.
 * To rebuild these:
 * revdep-rebuild
>>> Regenerating /etc/ld.so.cache...
Comment 3 Don Seiler (RETIRED) gentoo-dev 2005-05-03 07:40:17 UTC
Andrew there is nothing I can do about that.  Mainly because I don't maintain gnutls.

Best practice is to run revdep-rebuild when updating libraries like that.

That said, please keep comments on-topic.
Comment 4 Ginsu 2006-01-16 14:37:56 UTC
Created attachment 77297 [details, diff]
Patch to make SSL optional.

This bug report has been open for a long time, so I thought i'd just write a patch.

gaim can use either gnutls or nss, and it can also build with both, but it will always use gnutls.  So if you want gnutls, it disables nss always and then if there is no gnutls, it tries nss, and then disables both if none are selected.  Also, it gives a warning about having SSL disabled.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2006-03-23 12:48:17 UTC
Created attachment 82959 [details, diff]
patch to make SSL optional

Here is a better patch that follows Gentoo behavior... if USE=msn then SSL is forced since it's required for that feature.
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2006-03-23 12:50:11 UTC
Created attachment 82960 [details, diff]
gaim-2.0.0_beta2-r1.ebuild-ssl.patch

Second try, update IUSE too
Comment 7 Enito 2006-06-25 21:31:38 UTC
(In reply to comment #6)
> Created an attachment (id=82960) [edit]
> gaim-2.0.0_beta2-r1.ebuild-ssl.patch
> 
> Second try, update IUSE too
> 

I have a bug with gaim beta and normal, when i start to emerge i see
checking for GNUTLS includes... ""
 checking for GNUTLS libraries... no
and gnutls is intalled and too gain with use gnutls ..

new bug?

greets

Comment 8 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 09:57:50 UTC
Enito, that really should be filed as a seperate bug. I am however working on fixing that. I do believe that we have located the issue, with gnutls and not gaim. I have informed a crypto herd member who is supposed to be working on fixing the issue.
Comment 9 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-08 15:16:13 UTC
Will have to get with someone else on the gnutls issue, the dev I was working with on it retired. Hopefully can get someone else to fix the issue soon.
Comment 10 Jory A. Pratt 2006-10-13 09:37:58 UTC
patch needs to be updated to use proper nss-config and nspr-config before I would recommend gothgirl making such a change.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-30 15:16:18 UTC
gaim is dead and this has been fixed in net-im/pidgin.

<snip>
        ssl? (
                gnutls? ( net-libs/gnutls )
                !gnutls? ( >=dev-libs/nss-3.11 )
        )
        msn? (
                gnutls? ( net-libs/gnutls )
                !gnutls? ( >=dev-libs/nss-3.11 )
        )
</snip>