From unknown Tue Jun 17 01:48:28 2025 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== From: Raghav Gururajan Date: Sat, 17 Apr 2021 07:46:07 -0400 Message-Id: <20210417114607.17096-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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") -- 2.31.1 From unknown Tue Jun 17 01:48:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47840] [PATCH v2] gnu: Add desec-certbot-hook. References: <20210417114607.17096-1-rg@raghavgururajan.name> In-Reply-To: <20210417114607.17096-1-rg@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Apr 2021 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47840@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 47840-submit@debbugs.gnu.org id=B47840.16187023699654 (code B ref 47840); Sat, 17 Apr 2021 23:33:02 +0000 Received: (at 47840) by debbugs.gnu.org; 17 Apr 2021 23:32:49 +0000 Received: from localhost ([127.0.0.1]:44917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXuQi-0002Ve-TK for submit@debbugs.gnu.org; Sat, 17 Apr 2021 19:32:49 -0400 Received: from out1.migadu.com ([91.121.223.63]:64340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXuQf-0002VR-2P for 47840@debbugs.gnu.org; Sat, 17 Apr 2021 19:32:47 -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=1618702363; 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=wUN3yBCWWDgwKDnWNIjJ5hHPe9TTCb2BCrKNoHfFCic=; b=D/XW0Ce8hq74NUia3qBtGEbe1tVJhqth7xe/fA3evrkr4WaWH67ynOioFhP1a6F2Bt1Bp8 kD3wJIdhj8KBeg+Qv4n4M3myo7WHiRuRSqSE3fODVvzdwNCBE53JrxLDz0LhtZhbENOPdt zjQWJlw0MBQX9fMZPKxXHcM84USFcVR4Qv2Y+u2ghretribaz7jl1G7Jub46b5am/SIVs5 e+UjNc0X3znBV/qWThloPe0E0PNnAMjwFIhRKDekw6gU3/I19dkKnkvEDCEUzHwW0Vcy1j 9IAFHT4M9eYeweO5PiZ7t5TsfUd3D2lGsriC6c3ZPeAwuui4btj59ak7XYJeXg== From: Raghav Gururajan Date: Sat, 17 Apr 2021 19:32:33 -0400 Message-Id: <20210417233233.411-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/tls.scm (desec-certbot-hook): New variable. --- gnu/packages/tls.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 25493cc7ca..40e003d024 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,55 @@ #: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 + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-script + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "hook.sh" + ;; The hook-script look for '.dedynauth' file in $PWD. + ;; But users cannot create or edit files in store. + ;; So we patch the hook-script to look for '.dedynauth' file, + ;; in /etc/desec. + (("\\$\\(pwd\\)") + "/etc/desec") + ;; Make absolute references to curl program, + ;; so that users don't have to install it separately. + (("curl") + (string-append (assoc-ref inputs "curl") + "/bin/curl")))))) + #:install-plan + '(("." "etc/desec" #:include ("hook.sh"))))) + (inputs + `(("curl" ,curl))) + (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") -- 2.31.1 From unknown Tue Jun 17 01:48:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Raghav Gururajan Subject: bug#47840: closed () Message-ID: References: <20210417114607.17096-1-rg@raghavgururajan.name> X-Gnu-PR-Message: they-closed 47840 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 47840@debbugs.gnu.org Date: Wed, 23 Jun 2021 17:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1624467602-30436-1" This is a multi-part message in MIME format... ------------=_1624467602-30436-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47840: [PATCH] gnu: Add desec-certbot-hook. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47840@debbugs.gnu.org. --=20 47840: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47840 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1624467602-30436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47840-done) by debbugs.gnu.org; 23 Jun 2021 16:59:12 +0000 Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw6DY-0007tP-4i for submit@debbugs.gnu.org; Wed, 23 Jun 2021 12:59:12 -0400 Received: from out0.migadu.com ([94.23.1.103]:52109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw6DV-0007tF-MF for 47840-done@debbugs.gnu.org; Wed, 23 Jun 2021 12:59:11 -0400 To: 47840-done@debbugs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1624467547; h=from:from:reply-to:subject:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=UEMsKS1TOFZS34AUaCBWpGSQVE1o/r/Heg+bBjzjKhw=; b=okYbsXkVgmfohxJTFUYqBI4KRUNgUoZYumCtuWvXfYbiGhSau+wftEyHuepQklMId6n3hT 1nLtIbdHICoGuoCjNotTDr8c/ZMeKK5wdylc1y9tbDPIzWsYnJDS1717ktfu0w0ze5XV8g 97uvTncT3ifFmNo/Bd7hJ+BPwRqug0H8hi8s8rRmiQl+NIs5tj3J83dYz0Dyjbt2H8XIb0 0zze4aCdHf7xVrIKz9+DmrIPDieN7pe13dpCP/OjyvCeP7Zv6aIbH3hUkWsLzigJE0D7Kc rLGUe3k3AtqJB9nzzEszpsCI4XkpvZvn6LhpSwqXWS3DLt65F9bWbivEf6uR7A== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Raghav Gururajan Message-ID: Date: Wed, 23 Jun 2021 12:59:05 -0400 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Oxp7J21TaaaMqVPKdDQStYxJelvl5gfEl" X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed as 620669fd17..acfa55a581. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [94.23.1.103 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [94.23.1.103 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO No description available. X-Debbugs-Envelope-To: 47840-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Oxp7J21TaaaMqVPKdDQStYxJelvl5gfEl Content-Type: multipart/mixed; boundary="QIxk0riTmF1dKmGc5fQcFTixxNom0SHF0"; protected-headers="v1" From: Raghav Gururajan To: 47840-done@debbugs.gnu.org Message-ID: --QIxk0riTmF1dKmGc5fQcFTixxNom0SHF0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: quoted-printable Pushed as 620669fd17..acfa55a581. --QIxk0riTmF1dKmGc5fQcFTixxNom0SHF0-- --Oxp7J21TaaaMqVPKdDQStYxJelvl5gfEl Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYNNoWQUDAAAAAAAKCRBfWBZkf4vlUfWB APoDLFqKUyKAO8cTcavMx0kILZoO06B6hYt1odrUF9SYCAD/RVRBk6RsPxqLQjQZlhP2SCVcb6/t r6StQz/Yt/8aCQY= =Wtzz -----END PGP SIGNATURE----- --Oxp7J21TaaaMqVPKdDQStYxJelvl5gfEl-- ------------=_1624467602-30436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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== From: Raghav Gururajan To: guix-patches@gnu.org Subject: [PATCH] gnu: Add desec-certbot-hook. Date: Sat, 17 Apr 2021 07:46:07 -0400 Message-Id: <20210417114607.17096-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Raghav Gururajan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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") -- 2.31.1 ------------=_1624467602-30436-1--