--- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2014, 2015, 2016 Mark H Weaver ;;; Copyright © 2014 Ian Denhardt ;;; Copyright © 2013, 2015 Andreas Enge @@ -177,7 +177,7 @@ protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other required structures.") (license license:lgpl2.1+))) -(define-public openssl +(define openssl/fixed (package (name "openssl") (version "1.0.2f") @@ -191,9 +191,7 @@ required structures.") (sha256 (base32 "171fkdg9v6j29d962nh6kb79kfm8kkhy7n9makw39d7jvvj4wawk")) - (patches (map search-patch - '("openssl-runpath.patch" - "openssl-c-rehash.patch"))))) + (patches (map search-patch '("openssl-runpath.patch"))))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl))) (arguments @@ -282,6 +280,26 @@ required structures.") (license license:openssl) (home-page "http://www.openssl.org/"))) +(define-public openssl + (package + (inherit openssl/fixed) + (name "openssl") + (version "1.0.2f") + (source (origin + (method url-fetch) + (uri (list (string-append "ftp://ftp.openssl.org/source/" + name "-" version ".tar.gz") + (string-append "ftp://ftp.openssl.org/source/old/" + (string-trim-right version char-set:letter) + "/" name "-" version ".tar.gz"))) + (sha256 + (base32 + "171fkdg9v6j29d962nh6kb79kfm8kkhy7n9makw39d7jvvj4wawk")) + (patches (map search-patch + '("openssl-runpath.patch" + "openssl-c-rehash.patch"))))) + (replacement openssl/fixed))) + (define-public libressl (package (name "libressl")