GNU bug report logs -
#50772
[PATCH] gnu: Add debian-ports-archive-keyring: New variable.
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Fri, 24 Sep 2021 07:23:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50772 in the body.
You can then email your comments to 50772 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#50772
; Package
guix-patches
.
(Fri, 24 Sep 2021 07:23:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 24 Sep 2021 07:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
* 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
+(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.xz"))
+ (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-keyring"
+ "--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") ".gpg")
+ (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" key)
+ (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-keyring")
+ (synopsis "GnuPG archive keys of the Debian ports archive")
+ (description
+ "The Debian ports-archive digitally signs its Release files. This package
+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
--
2.33.0
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Sun, 10 Oct 2021 13:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Sun, 10 Oct 2021 13:18:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 50772-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patch pushed.
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 08 Nov 2021 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.