From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GC2OItx8TWGNBgEAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 09:23:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CApSHtx8TWECWAAA1q6Kng (envelope-from ) for ; Fri, 24 Sep 2021 07:23:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C6A44309E0 for ; Fri, 24 Sep 2021 09:23:07 +0200 (CEST) Received: from localhost ([::1]:46068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTfY2-0000OM-Ta for larch@yhetil.org; Fri, 24 Sep 2021 03:23:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTfXy-0000Nv-E3 for guix-patches@gnu.org; Fri, 24 Sep 2021 03:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTfXy-00078P-5e for guix-patches@gnu.org; Fri, 24 Sep 2021 03:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTfXy-0004Xy-0I for guix-patches@gnu.org; Fri, 24 Sep 2021 03:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50772] [PATCH] gnu: Add debian-ports-archive-keyring: New variable. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Sep 2021 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50772 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50772@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163246817117443 (code B ref -1); Fri, 24 Sep 2021 07:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Sep 2021 07:22:51 +0000 Received: from localhost ([127.0.0.1]:56596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTfXn-0004XH-Cp for submit@debbugs.gnu.org; Fri, 24 Sep 2021 03:22:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:49452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTfXm-0004XA-I4 for submit@debbugs.gnu.org; Fri, 24 Sep 2021 03:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTfXm-0000Lt-Bp for guix-patches@gnu.org; Fri, 24 Sep 2021 03:22:50 -0400 Received: from flashner.co.il ([178.62.234.194]:42424) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTfXk-0006vq-EV for guix-patches@gnu.org; Fri, 24 Sep 2021 03:22:50 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id B2F0A40425 for ; Fri, 24 Sep 2021 07:22:46 +0000 (UTC) Date: Fri, 24 Sep 2021 10:21:30 +0300 From: Efraim Flashner Message-ID: <76ef9bf7be29ef3c6c98e911c9fa2eb37c5b8d95.1632467997.git.efraim@flashner.co.il> Mail-Followup-To: guix-patches@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EUMHk3cPORFz+iXf" Content-Disposition: inline X-TUID: Fnc1ji5iqaWh Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632468187; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=PIWep8uS3hdzDyOxe+fOcNQUqRqIdw5JLaJWK3vsq4U=; b=a5O7acaQi30QZJyy5qKQYIsa5nq3Hh1q3/8yr5/k964mW+X5EgRwtdMgNB1viwe1peCl82 ZDTHWWhAazkPAlQpcfTDQ10R06W1Zjznqv8yUg9zroXOc+A3A/5J32ZyANTKBDSIx/e2PL ydtQ0+cSsi2Ekyxw8e3zgK7WA/4SW3WSNTrG45WWNN7yVnpYLBj5PaYc4CLvl/CIw3XtGo 6uQ8k8oNpZnYrDIoWz1zAHXBKRRhEW+rvcwyKAih9IXw0Kbha5Imkhm8G1ZNDrukmnpowM KJSLE+QVnIpih/WYU6qdPN7lWIOpB4XEcq8zJelB4+tAk3F/lJ366OMbQgtnJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632468187; a=rsa-sha256; cv=none; b=Hbe/1CEydK5hb8vzTCzvs6lDhZ3MNW6rB5RlZG6aTZad2kz7cRoHK2MHTvnGWYnaMAZ4V7 ArVVAsuIqiAQnAFW+0xWVLMBYEmIXtReljBxXkwQspdfQ6yWKD00fPH57LRXoAgWugvTq1 yluUHK9mBSwwo1MJOCjrA9D8OJCxtMwgIZUxO90slFC2QDNbnjSwJh4EnUfHKyjdidl8QM Fi+Vax6rEa7oWNk8HODwxAgGWuj3zdem19w8tdVTiZ7jorCiQ1dsWzD0tADm7a31r2kdEr wzx2Ka0d3pDi5dztYGaRGvB2fIu6Ee2Wl+uOgbkvyCZmQPBHivGkQdeeI/WmaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C6A44309E0 X-Spam-Score: -3.49 X-Migadu-Scanner: scn0.migadu.com --EUMHk3cPORFz+iXf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * gnu/packages/debian.scm (debian-ports-archive-keyring): New variable. --- gnu/packages/debian.scm | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index a23490f00b..42b0fc8c7b 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -81,6 +81,70 @@ (define-public debian-archive-keyring (license (list license:public-domain ; the keys license:gpl2+)))) ; see debian/copyright =20 +(define-public debian-ports-archive-keyring + (package + (name "debian-ports-archive-keyring") + (version "2020.02.02") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://debian/pool/main/d" + "/debian-ports-archive-keyring" + "/debian-ports-archive-keyring_" version ".tar= =2Exz")) + (sha256 + (base32 + "0746zfc3n4f77wlrd9a9a6r4mahz2cx5wdd9izg65vmn5qwamgza")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; No test suite. + #:phases + (modify-phases %standard-phases + (delete 'configure) ; No configure script. + (replace 'build + (lambda _ + ;; gpg options derived from the debian/rules file. + (let ((gpg-options (list "--no-options" "--no-default-keyring" + "--no-auto-check-trustdb" "--no-keyr= ing" + "--import-options" "import-export" + "--import"))) + (with-output-to-file "debian-ports-archive-keyring.gpg" + (lambda _ + (apply invoke "gpg" + (append gpg-options (find-files "active-keys")))= )) + (with-output-to-file "debian-ports-archive-keyring-removed.= gpg" + (lambda _ + (apply invoke "gpg" + (append gpg-options (find-files "removed-keys"))= ))) + (mkdir "trusted.gpg") + (for-each + (lambda (key) + (with-output-to-file + (string-append "trusted.gpg/" (basename key ".key") "= =2Egpg") + (lambda _ + (apply invoke "gpg" (append gpg-options (list key))= )))) + (find-files "active-keys")) + #t))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (apt (string-append out "/etc/apt/trusted.gpg.d/")) + (key (string-append out "/share/keyrings/"))) + (install-file "debian-ports-archive-keyring.gpg" key) + (install-file "debian-ports-archive-keyring-removed.gpg" ke= y) + (for-each (lambda (file) + (install-file file apt)) + (find-files "trusted.gpg" "\\.gpg$"))) + #t))))) + (native-inputs + `(("gnupg" ,gnupg))) + (home-page "https://tracker.debian.org/pkg/debian-ports-archive-keyrin= g") + (synopsis "GnuPG archive keys of the Debian ports archive") + (description + "The Debian ports-archive digitally signs its Release files. This pa= ckage +contains the archive keys used for that.") + ;; "The keys in the keyrings don't fall under any copyright." + (license license:public-domain))) + (define-public ubuntu-keyring (package (name "ubuntu-keyring") base-commit: c582be4c38596a6a31a39c6799723dcd8b6eb909 --=20 2.33.0 --EUMHk3cPORFz+iXf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmFNfHoACgkQQarn3Mo9 g1HocRAAoYSDsUtZD2h+cRYoSHs4ji3ISo9SEJ/RerviHkIaAIGZwU2F9+Rg1d3h iIK4Kqv66NupTYeL0Dc0eQ09nP0OnOgHQbR0y23+/TvE+Dz610pgJVf6d4Ql8o9G S1GoFKurEwfQBAOvFTtU8Zmgl35NO7+CccJCoj4/f3/ySs4F+VDcXs7SaMMZt1oB mnkKNkWlMkOQzqS/LQqSWjYYmkpz1nm/iSecyNVnMo1kkVibPBS9rrvwTjQBSaSu 4e563HIWp9qCw8riLKpCDHPVcb4h7U08qhmc4V727i6VLif7oBOYVuuuVgMFiPC3 BKWAyCPytryDFuWFNp0TIWBz2EPxDGpyREz3eQKEoog3rEgdwSNKF8SRRkrzp/PQ d8mxbEWNw7h6hnocDMDjj+xLRXbot2YvgB5sAH5uoMLF9zvV/q4ildUIjHef3Beh eM7mJ8IEN/iMHJm4mZ8kS768lgARSQNgfYT/gUSsI7vN8T3MbMCAismxJ7hsAlVS jsb6x5Z//UWTiHlSyrfaA5vBQ+F89Mci7/vXWveDRf2FyULKvN9uDr87wl17zpph l5/CLtUG5ha2HX4d+C/I7i51eXDGwR+mzDK43MVxsVHabpBkmK4+q83NM3PtUwbL DUqjra1V7SxpB09RAwhmYH9SIXqMU9RVgiRe43yFeLpwTlBEgkQ= =0/aa -----END PGP SIGNATURE----- --EUMHk3cPORFz+iXf--