From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: octave license is incompatible with openssl Date: Sat, 06 Aug 2016 09:52:39 +0800 Message-ID: <87eg62d5p4.fsf@gmail.com> References: <87h9b0ij9x.fsf@gmail.com> <87wpjvhfpg.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVqnF-0006ct-MW for guix-devel@gnu.org; Fri, 05 Aug 2016 21:52:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVqnC-0000Sp-HY for guix-devel@gnu.org; Fri, 05 Aug 2016 21:52:53 -0400 Received: from mail-pa0-x241.google.com ([2607:f8b0:400e:c03::241]:36846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVqnC-0000Sk-5E for guix-devel@gnu.org; Fri, 05 Aug 2016 21:52:50 -0400 Received: by mail-pa0-x241.google.com with SMTP id ez1so20115501pab.3 for ; Fri, 05 Aug 2016 18:52:49 -0700 (PDT) In-Reply-To: <87wpjvhfpg.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 05 Aug 2016 08:50:35 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Alex Vong writes: > >> I notice 'octave 4.0.2' has 'openssl@1.0.2h' as one of its inputs. As >> far as I know, gplv3 is incompatible with openssl license >> (https://people.gnome.org/~markmc/openssl-and-the-gpl.html). > > Looks like you=E2=80=99re right. Other projects add a special openSSL li= nking > exception, but Octave does not seem to account for this. > >> How should we fix this? > > It seems that the use of openssl in Octave is optional, so we could > probably just remove it. From a cursory look it appears that it is used > for not much more than the MD5 algorithm. Would you like to submit a > patch that removes openssl from the inputs? > Here it is. It takes a long time to track down that curl is pulling the openssl depedency. I also upgrade octave to 4.0.3 and change to use 'tar.xz'. > It would be good to ask the Octave project if it would be possible to > replace OpenSSL with, say, GnuTLS. > I agree, should we CC/forward this discussion to octave-devel list? > ~~ Ricardo Cheers, Alex --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-octave-Update-to-4.0.3.patch >From f813b22539c6cefd49471f7df3adc4b02ebcd76c Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sat, 6 Aug 2016 08:52:34 +0800 Subject: [PATCH] gnu: octave: Update to 4.0.3. * gnu/packages/maths.scm (octave): Update to 4.0.3. [source]: Change to '.tar.xz'. [inputs]: Remove dependencies on openssl and curl. --- gnu/packages/maths.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index fcea0bc..149c533 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -692,16 +692,19 @@ can solve two kinds of problems: (define-public octave (package (name "octave") - (version "4.0.2") + (version "4.0.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/octave/octave-" - version ".tar.gz")) + version ".tar.xz")) (sha256 (base32 - "1hdxap3j88rpqjimnfhinym6z73wdi5dfa6fv85c13r1dk9qzk9r")))) + "11day29k4yfvxh4101x5yf26ld992x5n6qvmhjjk6mzsd26fqayw")))) (build-system gnu-build-system) + ;; Ideally, curl should be in the list of inputs to enable ftp support. + ;; It isn't because it causes octave to link against openssl which isn't allowed + ;; as octave's license has no openssl exception at the moment. (inputs `(("lapack" ,lapack) ("readline" ,readline) @@ -709,7 +712,6 @@ can solve two kinds of problems: ("fftw" ,fftw) ("fftwf" ,fftwf) ("arpack" ,arpack-ng) - ("curl" ,curl) ("pcre" ,pcre) ("cyrus-sasl" ,cyrus-sasl) ("fltk" ,fltk) @@ -719,7 +721,6 @@ can solve two kinds of problems: ("libxft" ,libxft) ("mesa" ,mesa) ("glu" ,glu) - ("openssl" ,openssl) ("zlib" ,zlib))) (native-inputs `(("gfortran" ,gfortran) -- 2.9.2 --=-=-=--