GNU bug report logs - #26007
[PATCH 1/1] gnu: Add le-certs.

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 7 Mar 2017 09:29:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26007 in the body.
You can then email your comments to 26007 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26007; Package guix-patches. (Tue, 07 Mar 2017 09:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 07 Mar 2017 09:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/1] gnu: Add le-certs.
Date: Tue,  7 Mar 2017 04:28:30 -0500
* gnu/packages/certs.scm (le-certs): New variable.
---
 gnu/packages/certs.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/certs.scm b/gnu/packages/certs.scm
index b27577bbe..b0d7f656c 100644
--- a/gnu/packages/certs.scm
+++ b/gnu/packages/certs.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015 Andreas Enge <andreas <at> enge.fr>
 ;;; Copyright © 2015 Mark H Weaver <mhw <at> netris.org>
 ;;; Copyright © 2016 Ludovic Courtès <ludo <at> gnu.org>
+;;; Copyright © 2017 Leo Famulari <leo <at> famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,8 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages python)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages tls))
@@ -139,3 +142,46 @@
 taken from the NSS package and thus ultimately from the Mozilla project.")
     (home-page "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS")
     (license license:mpl2.0)))
+
+(define-public le-certs
+  (package
+    (name "le-certs")
+    (version "0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://github.com/lfam/le-certs/releases/download"
+                            "/v" version "/le-certs-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1whqhny18xwxklv62f3ih79j1mhidrapgm43makaq65p23lhck57"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder (begin
+                   (use-modules (guix build utils))
+                   (let* ((tar (string-append (assoc-ref %build-inputs
+                                                         "tar")
+                                              "/bin/tar"))
+                          (PATH (string-append (assoc-ref %build-inputs
+                                                          "gzip")
+                                               "/bin"))
+                          (out (assoc-ref %outputs "out"))
+                          (cert-dir (string-append out "/etc/ssl/certs"))
+                          (source (assoc-ref %build-inputs "source")))
+                     (setenv "PATH" PATH)
+                     (system* tar "xvf" source)
+                     (mkdir-p out)
+                     (chdir (string-append "le-certs-" ,version))
+                     (for-each (lambda (file)
+                                 (install-file file cert-dir))
+                               (find-files "."))))))
+    (native-inputs `(("source" ,source)
+                     ("tar" ,tar)
+                     ("gzip" ,gzip)))
+    (home-page "https://github.com/lfam/le-certs")
+    (synopsis "Let's Encrypt root and intermediate certificates")
+    (description "This package provides a certificate store containing only the
+Let's Encrypt root and intermediate certificates.  It is intended to be used
+within Guix.")
+    (license license:public-domain))) ; TODO, what license?
-- 
2.12.0





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 13 Mar 2017 13:09:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Mon, 13 Mar 2017 13:09:03 GMT) Full text and rfc822 format available.

Message #10 received at 26007-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 26007-done <at> debbugs.gnu.org
Subject: Re: bug#26007: [PATCH 1/1] gnu: Add le-certs.
Date: Mon, 13 Mar 2017 14:08:40 +0100
Leo Famulari <leo <at> famulari.name> skribis:

> * gnu/packages/certs.scm (le-certs): New variable.

Commit 0a6bd107e506b535a79ff4f3bd214953d592f7e6 closes this.

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 Apr 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.