guix_mirror_bot pushed a commit to branch ungrafting
in repository guix.
commit 45bd5b0cb9fb7ee26023b94c802221af244353ae
Author: Jelle Licht <[email protected]>
AuthorDate: Sun Nov 15 13:44:34 2026 +0100
gnu: nss-certs: Ungraft.
* gnu/packages/nss.scm (nss-certs)[arguments]<#:phases>: Remove
compromised certificates in 'install phase, before rehashing.
[replacement]: Remove field.
(nss-certs/fixed): Delete variable.
---
gnu/packages/nss.scm | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 9d813dc3e88..b3b66af4774 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -328,7 +328,6 @@ This package tracks the Rapid Release channel, which
updates frequently.")))
(package
(inherit nss)
(name "nss-certs")
- (replacement nss-certs/fixed)
(build-system gnu-build-system)
(outputs '("out"))
(native-inputs
@@ -356,6 +355,11 @@ This package tracks the Rapid Release channel, which
updates frequently.")))
;; Copy .pem files into the output.
(for-each (cut install-file <> certsdir)
(find-files "." ".*\\.pem$")))
+ ;; Remove compromised certificates.
+ (with-directory-excursion certsdir
+ (for-each delete-file
+ '("Comodo_AAA_Services_root.pem"
+ "emSign_ECC_Root_CA_-_G3.pem")))
(invoke "openssl" "rehash" certsdir)))))))
(synopsis "CA certificates from Mozilla")
(description
@@ -364,21 +368,6 @@ taken from the NSS package and thus ultimately from the
Mozilla project.")
(home-page "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS")
(license license:mpl2.0)))
-(define nss-certs/fixed
- (package
- (inherit nss-certs)
- (arguments
- (substitute-keyword-arguments arguments
- ((#:phases phases '%standard-phases)
- #~(modify-phases #$phases
- (add-after 'install 'remove-compromised-certs
- (lambda _
- (with-directory-excursion
- (string-append #$output "/etc/ssl/certs")
- (for-each delete-file
- '("Comodo_AAA_Services_root.pem"
- "emSign_ECC_Root_CA_-_G3.pem")))))))))))
-
(define-public nss-certs-for-test
(hidden-package
(package