GNU bug report logs - #28315
[PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.

Previous Next

Package: guix-patches;

Reported by: 宋文武 <iyzsong <at> member.fsf.org>

Date: Fri, 1 Sep 2017 14:16:01 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

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 28315 in the body.
You can then email your comments to 28315 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#28315; Package guix-patches. (Fri, 01 Sep 2017 14:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 宋文武 <iyzsong <at> member.fsf.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 01 Sep 2017 14:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> member.fsf.org>
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.
Date: Fri,  1 Sep 2017 22:14:55 +0800
* gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into
JRE in the install phase.
---
 gnu/packages/java.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 947598c7b..fe67bb3f0 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1628,6 +1628,9 @@ IcedTea build harness.")
                    (copy-recursively "openjdk.build/docs" doc)
                    (copy-recursively "openjdk.build/images/j2re-image" jre)
                    (copy-recursively "openjdk.build/images/j2sdk-image" jdk)
+                   ;; Install the nss.cfg file to JRE.
+                   (copy-file (string-append jdk "/jre/lib/security/nss.cfg")
+                              (string-append jre "/lib/security/nss.cfg"))
                    #t)))))))
       (native-inputs
        `(("jdk" ,icedtea-7 "jdk")
-- 
2.13.3





Information forwarded to guix-patches <at> gnu.org:
bug#28315; Package guix-patches. (Mon, 04 Sep 2017 14:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 28315 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong <at> member.fsf.org>
Cc: 28315 <at> debbugs.gnu.org
Subject: Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to
 JRE.
Date: Mon, 04 Sep 2017 16:25:52 +0200
Hello!

宋文武 <iyzsong <at> member.fsf.org> skribis:

> * gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into
> JRE in the install phase.

What effect does this have?

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#28315; Package guix-patches. (Sat, 09 Sep 2017 03:50:01 GMT) Full text and rfc822 format available.

Message #11 received at 28315 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 28315 <at> debbugs.gnu.org
Subject: Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to
 JRE.
Date: Sat, 09 Sep 2017 11:48:51 +0800
ludo <at> gnu.org (Ludovic Courtès) writes:

> Hello!
>
> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>
>> * gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into
>> JRE in the install phase.
>
> What effect does this have?

Before this, accessing HTTPS using the 'java' from icedtea-8 will throw
an exception about nss.cfg not available, while the 'java' from
icedtea-8:jdk does work fine.  (I'm running boot-clj, a clojure build
tool.)




Information forwarded to guix-patches <at> gnu.org:
bug#28315; Package guix-patches. (Sun, 10 Sep 2017 12:55:02 GMT) Full text and rfc822 format available.

Message #14 received at 28315 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: iyzsong <at> member.fsf.org (宋文武)
Cc: 28315 <at> debbugs.gnu.org
Subject: Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to
 JRE.
Date: Sun, 10 Sep 2017 14:54:11 +0200
iyzsong <at> member.fsf.org (宋文武) skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Hello!
>>
>> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>>
>>> * gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into
>>> JRE in the install phase.
>>
>> What effect does this have?
>
> Before this, accessing HTTPS using the 'java' from icedtea-8 will throw
> an exception about nss.cfg not available, while the 'java' from
> icedtea-8:jdk does work fine.  (I'm running boot-clj, a clojure build
> tool.)

Oh I see.  Maybe just add a comment saying what this file is used for.

LGTM, thanks for explaining!

Ludo’.




Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Mon, 11 Sep 2017 11:13:01 GMT) Full text and rfc822 format available.

Notification sent to 宋文武 <iyzsong <at> member.fsf.org>:
bug acknowledged by developer. (Mon, 11 Sep 2017 11:13:01 GMT) Full text and rfc822 format available.

Message #19 received at 28315-done <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 28315-done <at> debbugs.gnu.org
Subject: Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to
 JRE.
Date: Mon, 11 Sep 2017 19:11:21 +0800
ludo <at> gnu.org (Ludovic Courtès) writes:

>
> Oh I see.  Maybe just add a comment saying what this file is used for.

Done, thanks for the review!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 09 Oct 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.