From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/1] gnu: Add acme-client. Date: Fri, 2 Sep 2016 10:49:38 -0400 Message-ID: References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfpn6-0005Gm-NU for guix-devel@gnu.org; Fri, 02 Sep 2016 10:50:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfpmz-0003pI-V8 for guix-devel@gnu.org; Fri, 02 Sep 2016 10:49:59 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfpmx-0003ny-Gh for guix-devel@gnu.org; Fri, 02 Sep 2016 10:49:53 -0400 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id E15D1F29D2 for ; Fri, 2 Sep 2016 10:49:42 -0400 (EDT) In-Reply-To: In-Reply-To: References: 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: guix-devel@gnu.org * gnu/packages/tls.scm (acme-client): New variable. --- gnu/packages/tls.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 4b87150..eeb15ca 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages) #:use-module (gnu packages guile) + #:use-module (gnu packages libbsd) #:use-module (gnu packages libffi) #:use-module (gnu packages libidn) #:use-module (gnu packages linux) @@ -619,3 +620,37 @@ arithmetic in Perl.") (description "Crypt::OpenSSL::Random is a OpenSSL/LibreSSL pseudo-random number generator") (license (package-license perl)))) + +(define-public acme-client + (package + (name "acme-client") + (version "0.1.11") + (source (origin + (method url-fetch) + (uri (string-append "https://kristaps.bsd.lv/" name "/" + "snapshots/" name "-portable-" + version ".tgz")) + (sha256 + (base32 + "09pipyfk448gxqr7ci56gsq5la8wlydv7wwn9wk0zgjxmlh7h6fb")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no test suite + #:make-flags + (list "CC=gcc" + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no './configure' script + (inputs + `(("libbsd" ,libbsd) + ("libressl" ,libressl))) + (synopsis "Let's Encrypt client") + (description "acme-client is a Let's Encrypt client implemented in C. It +uses a modular design, and attempts to secure itself by dropping privileges and +operating in a chroot where possible. acme-client is developed on OpenBSD and +then ported to the GNU / Linux environment.") + (home-page "https://kristaps.bsd.lv/acme-client/") + ;; acme-client is distributed under the ISC license, but the files 'jsmn.h' + ;; and 'jsmn.c' are distributed under the Expat license. + (license (list license:isc license:expat)))) -- 2.9.3