From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: [PATCH] Libressl
Date: Mon, 15 Jun 2015 21:11:02 +0200 [thread overview]
Message-ID: <20150615191102.GA4777@debian> (raw)
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
Hello,
the attached patch adds libressl. As you can see, it is quite a bit simpler
than the openssl package, which already inspires confidence. I think we
should add the package; the next question would be whether we should switch
all inputs from openssl to libressl. I tried it for fetchmail, and it works
just the same.
I also wonder whether we should not unite gnutls.scm and openssl.scm into
one tls.scm.
What do you think?
Andreas
[-- Attachment #2: 0001-gnu-Add-libressl.patch --]
[-- Type: text/plain, Size: 2244 bytes --]
From 5e84bb645666deb410181cf24501c449597ebc4c Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Mon, 15 Jun 2015 13:45:34 +0200
Subject: [PATCH] gnu: Add libressl.
* gnu/packages/openssl.scm (libressl): New variable.
---
gnu/packages/openssl.scm | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/openssl.scm b/gnu/packages/openssl.scm
index dec51a1..0185d45 100644
--- a/gnu/packages/openssl.scm
+++ b/gnu/packages/openssl.scm
@@ -113,4 +113,38 @@ servers or clients for more complicated applications.")
(license (package-license perl))
(home-page "http://search.cpan.org/~mikem/Net-SSLeay-1.66/")))
-
+(define-public libressl
+ (package
+ (name "libressl")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-"
+ version ".tar.gz"))
+ (sha256 (base32
+ "0h1haqb4y39p1zihwvnr1ib0zfq5bcqfnbj5jm9l4j2xibrxi44n"))))
+ (build-system gnu-build-system)
+ (native-search-paths
+ ;; FIXME: These two variables must designate a single file or directory
+ ;; and are not actually "search paths." In practice it works OK in
+ ;; user profiles because there's always just one item that matches the
+ ;; specification.
+ (list (search-path-specification
+ (variable "SSL_CERT_DIR")
+ (files '("etc/ssl/certs")))
+ (search-path-specification
+ (variable "SSL_CERT_FILE")
+ (files '("etc/ssl/certs/ca-certificates.crt")))))
+ (home-page "http://www.libressl.org/")
+ (synopsis "SSL/TLS implementation")
+ (description "LibreSSL is a version of the TLS/crypto stack forked
+from OpenSSL in 2014, with the goals of modernizing the codebase, improving
+security, and applying best practice development processes.")
+ ;; Files taken from OpenSSL keep their license, others are under various
+ ;; non-copyleft licenses.
+ (license (list license:openssl
+ (license:non-copyleft
+ "file://COPYING"
+ "See COPYING in the distribution.")))))
--
2.2.1
next reply other threads:[~2015-06-15 19:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 19:11 Andreas Enge [this message]
2015-06-15 20:15 ` [PATCH] Libressl Mark H Weaver
2015-06-15 20:30 ` Andreas Enge
2015-06-15 21:16 ` Mark H Weaver
2015-07-03 20:26 ` Andreas Enge
2015-06-16 9:56 ` Ludovic Courtès
2015-07-03 19:57 ` Andreas Enge
2015-07-05 15:17 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150615191102.GA4777@debian \
--to=andreas@enge.fr \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.