rpms/gkrellm/F-9 gkrellm-openssl-license-exception.eml, NONE, 1.1 gkrellm.spec, 1.15, 1.16

Hans de Goede jwrdegoede at fedoraproject.org
Wed Sep 10 09:11:26 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/gkrellm/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24107

Modified Files:
	gkrellm.spec 
Added Files:
	gkrellm-openssl-license-exception.eml 
Log Message:
* Wed Sep 10 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.3.1-5
- Build against openssl instead of gnutls-openssl fixing symbol conflicts when
  using pam_ldap (which uses openssl), this fixes rh 446860



--- NEW FILE gkrellm-openssl-license-exception.eml ---
Return-Path: <billw at dslextreme.com>
Received: from koko.hhs.nl ([145.52.2.16] verified)
  by hhs.nl (CommuniGate Pro SMTP 4.3.6)
  with ESMTP id 90744876 for j.w.r.degoede at hhs.nl; Tue, 09 Sep 2008 02:20:32 +0200
Received: from exim (helo=koko)
	by koko.hhs.nl with local-smtp (Exim 4.62)
	(envelope-from <billw at dslextreme.com>)
	id 1Kcqy5-0006CE-C0
	for j.w.r.degoede at hhs.nl; Tue, 09 Sep 2008 02:20:29 +0200
Received: from [194.171.167.218] (port=40317 helo=filter2-til.mf.surf.net)
	by koko.hhs.nl with esmtp (Exim 4.62)
	(envelope-from <billw at dslextreme.com>)
	id 1Kcqy5-0006C8-36
	for j.w.r.degoede at hhs.nl; Tue, 09 Sep 2008 02:20:29 +0200
Received: from mail5.dslextreme.com (mail5.dslextreme.com [66.51.199.81])
	by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with SMTP id m890KTBl001805
	for <j.w.r.degoede at hhs.nl>; Tue, 9 Sep 2008 02:20:30 +0200
Received: (qmail 10268 invoked from network); 9 Sep 2008 00:20:27 -0000
Received: from unknown (HELO localhost) (billw at 70.142.30.251)
	by mail5.dslextreme.com with SMTP; Mon, 08 Sep 2008 17:20:27 -0700
Date: Mon, 8 Sep 2008 19:20:26 -0500
From: Bill Wilson <billw at dslextreme.com>
To: Hans de Goede <j.w.r.degoede at hhs.nl>
Subject: Re: gkrellm openssl license exception?
Message-Id: <20080908192026.d5aa51a5.billw at dslextreme.com>
In-Reply-To: <48B2F6B0.30505 at hhs.nl>
References: <48B2F6B0.30505 at hhs.nl>
X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Canit-CHI2: 0.00
X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN)
X-Spam-Score: 0.00 () [Tag at 8.00] 
X-CanItPRO-Stream: hhs:j.w.r.degoede at hhs.nl (inherits from hhs:default,base:default)
X-Canit-Stats-ID: 110670270 - 6f51dcc34c3c
X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218
X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 08092008 #1073355, status: clean

On Mon, 25 Aug 2008 20:15:12 +0200
Hans de Goede <j.w.r.degoede at hhs.nl> wrote:

> Don't know if you remember me, we've had some contact in the past. I'm the 
> Fedora gkrellm packahe maintainer, as well as the author of the lm_sensors-3.x 
> support for gkrellm.

Hi Hans,
Sure, I remember.

> I recently got this bug reported against gkrellm:
> https://bugzilla.redhat.com/show_bug.cgi?id=446860
> 
> The problem is, or I believe it to be, that when an application uses 
> libgnutls-openssl (such as gkrellm does) and then a library uses the real 
> openssl (for example glibc through nss_ldap, see bug) then in the nss_ldap 
> example, the later dlopen's nss_ldap starts using the openssl symbols from 
> gnutls instead of those from openssl, but they are not ABI compatible -> boom.
> 
> 
> So I would like to build and distribute gkrellm against the real openssl. 
> However as you probably know, according according to some the GPL and the 
> openssl library are not compatible. This can be fixed by adding a special 
> exception to the GPL such as the FSF for example has done for wget, quoting 
> from the wget license:
> 
> "In addition, as a special exception, the Free Software Foundation gives 
> permission to link the code of its release of Wget with the OpenSSL project's 
> "OpenSSL" library (or with modified versions of it that use the same license as 
> the "OpenSSL" library), and distribute the linked executables. You must obey 
> the GNU General Public License in all respects for all of the code used other 
> than "OpenSSL". If you modify this file, you may extend this exception to your 
> version of the file, but you are not obligated to do so. If you do not wish to 
> do so, delete this exception statement from your version."
> 
> This I wonder if you would be willing to add such an exception to the gkrellm 
> license, fixing the openssl license issues.

This is OK with me and I'll add a similar exception for linking OpenSSL to gkrellm
for the next release.

If you want to do an OpenSSL linked against the current gkrellm 2.3.1 package
for Fedora in the meantime, you can consider this email permission to do so.

Oh, and sorry for the delay in getting back to you.  I've been doing a lot of
house remodeling lately :(

Bill

-- 
http://gkrellm.net



Index: gkrellm.spec
===================================================================
RCS file: /cvs/extras/rpms/gkrellm/F-9/gkrellm.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gkrellm.spec	13 Feb 2008 19:26:02 -0000	1.15
+++ gkrellm.spec	10 Sep 2008 09:10:56 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           gkrellm
 Version:        2.3.1
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        Multiple stacked system monitors in one process
 Group:          Applications/System
 License:        GPLv3+
@@ -9,12 +9,13 @@
 Source1:        gkrellmd.init
 Source2:        gkrellm.desktop
 Source3:        gkrellm.png
+Source4:        gkrellm-openssl-license-exception.eml
 Patch1:         gkrellm-2.1.28-config.patch
 Patch2:         gkrellm-2.2.4-sansfont.patch
 Patch3:         gkrellm-2.2.7-width.patch
 Patch4:         gkrellm-2.2.9-libdir.patch
 Patch5:         gkrellm-2.3.1-netdb.patch
-BuildRequires:  gtk2-devel gnutls-devel libSM-devel desktop-file-utils gettext
+BuildRequires:  gtk2-devel openssl-devel libSM-devel desktop-file-utils gettext
 BuildRequires:  lm_sensors-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -63,6 +64,7 @@
 %patch3 -p1 -z .width
 %patch4 -p1 -z .libdir2
 %patch5 -p1 -z .netdb
+cp -a %{SOURCE4} .
 
 for i in gkrellmd.1 gkrellm.1 README Changelog Changelog-plugins.html; do
    sed -i -e "s@/usr/lib/gkrellm2/plugins@%{_libdir}/gkrellm2/plugins@" $i
@@ -76,7 +78,8 @@
 
 %build
 make %{?_smp_mflags} INSTALLROOT=%{_prefix} PKGCONFIGDIR=%{_libdir}/pkgconfig \
-  INCLUDEDIR=%{_includedir} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
+  INCLUDEDIR=%{_includedir} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" \
+  without-gnutls=1
 
 
 %install
@@ -148,6 +151,7 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYRIGHT Changelog README Themes.html
+%doc gkrellm-openssl-license-exception.eml
 %{_bindir}/%{name}
 %{_libdir}/gkrellm2
 %{_datadir}/gkrellm2
@@ -169,6 +173,13 @@
 
 
 %changelog
+* Wed Sep 10 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.3.1-5
+- Build against openssl instead of gnutls-openssl fixing symbol conflicts when
+  using pam_ldap (which uses openssl), this fixes rh 446860
+
+* Wed Jun 25 2008 Tomas Mraz <tmraz at redhat.com> 2.3.1-4
+- rebuild with new gnutls
+
 * Wed Feb 13 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.3.1-3
 - Fix building with latest glibc
 - Rebuild for gcc 4.3




More information about the fedora-extras-commits mailing list