From patchwork Sat Apr 17 11:46:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 28598 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 99AE527BC77; Sat, 17 Apr 2021 12:47:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3ED1C27BC6C for ; Sat, 17 Apr 2021 12:47:18 +0100 (BST) Received: from localhost ([::1]:41218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXjPx-0002sR-9a for patchwork@mira.cbaines.net; Sat, 17 Apr 2021 07:47:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXjPi-0002sK-AG for guix-patches@gnu.org; Sat, 17 Apr 2021 07:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXjPi-0005mp-2v for guix-patches@gnu.org; Sat, 17 Apr 2021 07:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXjPi-0005bI-0u for guix-patches@gnu.org; Sat, 17 Apr 2021 07:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47840] [PATCH] gnu: Add desec-certbot-hook. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Apr 2021 11:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47840@debbugs.gnu.org Cc: Raghav Gururajan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161866000621505 (code B ref -1); Sat, 17 Apr 2021 11:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2021 11:46:46 +0000 Received: from localhost ([127.0.0.1]:42405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXjPS-0005an-Hj for submit@debbugs.gnu.org; Sat, 17 Apr 2021 07:46:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:42828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXjPQ-0005af-6q for submit@debbugs.gnu.org; Sat, 17 Apr 2021 07:46:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXjPM-0002qq-8j for guix-patches@gnu.org; Sat, 17 Apr 2021 07:46:43 -0400 Received: from out2.migadu.com ([2001:41d0:2:aacc::]:60776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXjPJ-0005TN-Il for guix-patches@gnu.org; Sat, 17 Apr 2021 07:46:39 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1618659985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CNGiHsQNLny2pNV8rTRnPDjgyW0U4f7gZbF+Ez2qeRQ=; b=OhFF0JsMQlNp1FL6uHISUu3lPLWTHxYQmRy9TO/HT1QGDLw60v0tOPQCr2rilQlZPQjAlv Ig4Mz86dzw6Jm3STgdtMnPMWZ31sNt1W+e8RS0h0qFZSb57Fz4Mbi0BGzAWWcKk8njc7BY iPpiPLT4u2s8qVBGbR9AUkVCm5LhjsBHIgNSjFEXVFwO7FIV/QHFB45tc3e3yswPCRiEyr xz2+iBP8pThppD1STGHZiBVsNbbejhp1z5vHl0W6VcAbTo+Aa8VPiRIwA11WCY5VfhRg8W bWUAtXf+kTPJKOmUEudjF6lm11fyDaXWc9rJslIML+agc8pV0XoRrbYW/YoAww== Date: Sat, 17 Apr 2021 07:46:07 -0400 Message-Id: <20210417114607.17096-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=rg@raghavgururajan.name; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tls.scm (desec-certbot-hook): New variable. --- gnu/packages/tls.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 25493cc7ca..e7e50d7f53 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -42,6 +42,7 @@ #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system trivial) #:use-module (gnu packages compression) #:use-module (gnu packages) @@ -70,6 +71,37 @@ #:use-module (gnu packages base) #:use-module (srfi srfi-1)) +(define-public desec-certbot-hook + (let ((commit "68da7abc0793602fd336962a7e2348b57c5d6fd6") + (revision "21")) + (package + (name "desec-certbot-hook") + (version + (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/desec-io/desec-certbot-hook") + (commit commit))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "0qjqk6i85b1y7fgzcx74r4gn2i4dkjza34hkzp6kyn9hrb8f2gv2")))) + (build-system copy-build-system) + (arguments + `(#:install-plan + '(("." "etc/desec" #:include ("hook.sh"))))) + (synopsis "deSEC's certbot DNS challenge automatization") + (description "Use deSEC to obtain certificates with certbot DNS ownership +verification. With the help of this hook script, you can obtain your Let's +Encrypt certificate using certbot with authorization provided by the DNS +challenge mechanism, that is, you will not need a running web server or any port +forwarding to your local machine.") + (home-page "https://desec.io") + (license license:expat)))) + (define-public libtasn1 (package (name "libtasn1")