Subject: [bug#68555] [PATCH 1/3] gnu: Add trisquel-keyring.

From: Efraim Flashner <[email-masked]>
Date: Fri, 19 Jan 2024 11:38:49 +0200

I'm not against adding both keyrings, but they should be in separate
commits.  Also, are there scripts to build the keyrings (like debian) or
are there not really and its just the released keyring file?

On Thu, Jan 18, 2024 at 12:29:53AM +0100, Denis 'GNUtoo' Carikli wrote:
> * gnu/packages/debian.scm (trisquel-keyring): New variable.
> 
> Signed-off-by: Denis 'GNUtoo' Carikli <[email-masked]>
> ---
>  gnu/packages/debian.scm | 50 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
> 
> diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm
> index de43182172..4e398f619c 100644
> --- a/gnu/packages/debian.scm
> +++ b/gnu/packages/debian.scm
> @@ -2,6 +2,7 @@
>  ;;; Copyright © 2018, 2020-2024 Efraim Flashner <[email-masked]>
>  ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <[email-masked]>
>  ;;; Copyright © 2020 Marius Bakke <[email-masked]>
> +;;; Copyright © 2023 Denis 'GNUtoo' Carikli <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -24,6 +25,7 @@ (define-module (gnu packages debian)
>    #:use-module (guix git-download)
>    #:use-module (guix gexp)
>    #:use-module (guix packages)
> +  #:use-module (guix build-system copy)
>    #:use-module (guix build-system gnu)
>    #:use-module (guix build-system trivial)
>    #:use-module (gnu packages autotools)
> @@ -146,6 +148,54 @@ (define-public debian-ports-archive-keyring
>      ;; "The keys in the keyrings don't fall under any copyright."
>      (license license:public-domain)))
>  
> +(define-public pureos-archive-keyring
> +  (package
> +    (name "pureos-archive-keyring")
> +    (version "2021.11.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://repo.puri.sm/pureos/pool/main/p/pureos-archive-keyring/"
> +                    "pureos-archive-keyring_" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1a0d084a98bycyhbw531646rbivvlfkdk6ldshl5dy6fvzmbci0d"))))
> +    (build-system copy-build-system)
> +    (arguments
> +     '(#:install-plan '(("keyrings/pureos-archive-keyring.gpg"
> +                         "share/keyrings/")
> +                        ("keyrings/pureos-archive-removed-keys.gpg"
> +                         "share/keyrings/"))))
> +    (home-page "https://source.puri.sm/pureos/core/pureos-archive-keyring")
> +    (synopsis "GnuPG archive keys of the Pureos archive")
> +    (description "The Pureos distribution signs its packages.  This package
> +contains the archive keys used for that.")
> +    (license (list license:public-domain ;; the keys
> +                   license:gpl2+))))     ;; see debian/copyright
> +
> +(define-public trisquel-keyring
> +  (package
> +    (name "trisquel-keyring")
> +    (version "2022.10.19")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "http://archive.trisquel.info/trisquel/"
> +                    "pool/main/t/trisquel-keyring/trisquel-keyring_"
> +                    version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1qkqm3wb945i2izm47xni21hi3ad807bvl106r2mnwdxnjs4ij08"))))
> +    (build-system copy-build-system)
> +    (arguments
> +     '(#:install-plan '(("keyrings/trisquel-archive-keyring.gpg"
> +                         "share/keyrings/"))))
> +    (home-page "http://archive.trisquel.info/trisquel/pool/main/t/trisquel-keyring")
> +    (synopsis "GnuPG archive keys of the Trisquel archive")
> +    (description "The Trisquel distribution signs its packages.  This package
> +contains the archive keys used for that.")
> +    (license license:gpl2+)))     ;; see debian/copyright
> +
>  (define-public ubuntu-keyring
>    (package
>      (name "ubuntu-keyring")
> -- 
> 2.41.0
> 
> 
> 
> 

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted