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

Bug 74367

Summary: bitlbee should optionally compile against openssl instead of gnutls
Product: Gentoo Linux Reporter: Marien Zwart (RETIRED) <marienz>
Component: Current packagesAssignee: Jason Wever (RETIRED) <weeve>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to bitlbee-0.91-r1

Description Marien Zwart (RETIRED) gentoo-dev 2004-12-14 05:17:35 UTC
bitlbee has a configure option to use openssl instead of gnutls. gnutls is the library the bitlbee developers recommend, mainly because of possible legal issues in linking against openssl. But since gentoo already has a bunch of other (gpl) packages linking against openssl, I assume gentoo doesn't have a problem with this. Since bitlbee is the only thing on my system using gnutls I thought it would be nice to select the ssl library through USE.

Reproducible: Always
Steps to Reproduce:
1. emerge bitlbee
2. watch gnutls compiling
3. watch hd free space decrease

Actual Results:  
It pulled in gnutls.

Expected Results:  
Used the openssl that was already there.

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r9-m1 i686)
=================================================================
System uname: 2.6.9-gentoo-r9-m1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  8 2004, 18:55:58)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks noauto sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa ansi apm avi bitmap-fonts cdr crypt dga edl emacs f77
faad fbcon flac foomaticdb fortran gnome gstreamer gtk2 imagemagick javascript
jit jpeg libcaca libg++ libwww maildir md5sum mikmod mmx mmx2 mng mozdevelop
mozsvg mpeg ncurses nethack network nls nntp no-old-linux no_wxgtk1 nptl
nptlonly oggvorbis pam png python qemu-fast quicktime readline real rtc softmmu
spell sse ssl svg tetex truetype unicode userlocales x86 xml2 xv zlib"
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2004-12-14 05:19:10 UTC
Created attachment 45969 [details, diff]
patch to bitlbee-0.91-r1

this defaults to using openssl, and uses gnutls with the gnutls USE flag. Since
upstream recommends gnutls that logic might need to be reversed, but I didn't
know what USE flag to use for that.
Comment 2 Jason Wever (RETIRED) gentoo-dev 2004-12-21 18:20:39 UTC
Let me inquire about this with the other Gentoo developers to get a consensus as where Gentoo stands on this situation.  Hopefully I'll have something in a couple of days.
Comment 3 Jason Wever (RETIRED) gentoo-dev 2005-05-15 15:17:55 UTC
Sorry for the really long lag time on this.  I've just committed bitlbee-0.92-r1 which now has an openssl local use flag to support openssl.  Thanks for the bug report :)