NetBSD Problem Report #54041

From www@NetBSD.org  Mon Mar  4 19:21:02 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1D7AB7A187
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  4 Mar 2019 19:21:02 +0000 (UTC)
Message-Id: <20190304192101.5352C7A210@mollari.NetBSD.org>
Date: Mon,  4 Mar 2019 19:21:01 +0000 (UTC)
From: nrahlstr@outlook.com
Reply-To: nrahlstr@outlook.com
To: gnats-bugs@NetBSD.org
Subject: patch to update pkgsrc openssl to 1.0.2q
X-Send-Pr-Version: www-1.0

>Number:         54041
>Category:       pkg
>Synopsis:       patch to update pkgsrc openssl to 1.0.2q
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 04 19:25:00 +0000 2019
>Closed-Date:    Sat Apr 11 13:37:20 +0000 2020
>Last-Modified:  Sat Apr 11 13:37:20 +0000 2020
>Originator:     Nathan Ahlstrom
>Release:        pkgsrc-2018Q4
>Organization:
>Environment:
$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.10 (Santiago)
$ uname -a
Linux aml00089 2.6.32-754.6.3.el6.x86_64 #1 SMP Tue Sep 18 10:29:08 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

>Description:
Attached is a fairly simple patch to update openssl from 1.0.2p to 1.0.2q.

diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 656944eec61..ea56ed5f20f 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.240 2018/09/12 12:44:17 fhajny Exp $

-DISTNAME=      openssl-1.0.2p
+DISTNAME=      openssl-1.0.2q
 CATEGORIES=    security
 MASTER_SITES=  https://www.openssl.org/source/

diff --git a/security/openssl/PLIST.common b/security/openssl/PLIST.common
index 79bad05137d..b73c7b3a8ec 100644
--- a/security/openssl/PLIST.common
+++ b/security/openssl/PLIST.common
@@ -1049,6 +1049,7 @@ man/man3/OBJ_txt2nid.3
 man/man3/OBJ_txt2obj.3
 man/man3/OPENSSL_Applink.3
 man/man3/OPENSSL_VERSION_NUMBER.3
+man/man3/OPENSSL_VERSION_TEXT.3
 man/man3/OPENSSL_config.3
 man/man3/OPENSSL_ia32cap.3
 man/man3/OPENSSL_ia32cap_loc.3
diff --git a/security/openssl/distinfo b/security/openssl/distinfo
index 44a0efbb6e6..65da4de83b7 100644
--- a/security/openssl/distinfo
+++ b/security/openssl/distinfo
@@ -1,9 +1,9 @@
 $NetBSD: distinfo,v 1.133 2018/09/12 12:44:17 fhajny Exp $

-SHA1 (openssl-1.0.2p.tar.gz) = f34b5322e92415755c7d58bf5d0d5cf37666382c
-RMD160 (openssl-1.0.2p.tar.gz) = 0df40a7f180e381bff7d7d9593bdfece4b054951
-SHA512 (openssl-1.0.2p.tar.gz) = 958c5a7c3324bbdc8f07dfb13e11329d9a1b4452c07cf41fbd2d42b5fe29c95679332a3476d24c2dc2b88be16e4a24744aba675a05a388c0905756c77a8a2f16
-Size (openssl-1.0.2p.tar.gz) = 5338192 bytes
+SHA1 (openssl-1.0.2q.tar.gz) = 692f5f2f1b114f8adaadaa3e7be8cce1907f38c5
+RMD160 (openssl-1.0.2q.tar.gz) = 2bae12f4c4a69316baf4ef23cb121e6700dc8cfb
+SHA512 (openssl-1.0.2q.tar.gz) = 403e6cad42db3ba860c3fa4fa81c1b7b02f0b873259e5c19a7fc8e42de0854602555f1b1ca74f4e3a7737a4cbd3aac063061e628ec86534586500819fae7fec0
+Size (openssl-1.0.2q.tar.gz) = 5345604 bytes
 SHA1 (patch-Configure) = 2d963d781314276a0ee1bc531df6bc50f0f6b32b
 SHA1 (patch-Makefile.org) = d2a9295003a8b88718a328b01ff6bcbbc102ec0b
 SHA1 (patch-Makefile.shared) = 273154600c6cf0cf4de4ae16d56c5555bca5f9ad

>How-To-Repeat:
run openssl version, notice it is an old revision:
$ openssl version
OpenSSL 1.0.2p  14 Aug 2018

>Fix:
update to latest.  Thanks!

>Release-Note:

>Audit-Trail:
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54041: patch to update pkgsrc openssl to 1.0.2q
Date: Tue, 05 Mar 2019 22:02:19 +0100

 Hello Nathan,
 thanks for the PR and patch, just a comment/question about the PR.

 nrahlstr@outlook.com writes:
 > [...]
 > >Fix:
 > update to latest.  Thanks!
 > [...]

 Isn't 1.0.2r the latest release of the 1.0.2 series? (is there any
 particular reason to update it to 1.0.2q and not 1.0.2r?)


 Thanks!

State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 06 Mar 2019 07:54:24 +0000
State-Changed-Why:
Question asked.


From: Nathan Ahlstrom <nrahlstr@outlook.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/54041 (patch to update pkgsrc openssl to 1.0.2q)
Date: Wed, 6 Mar 2019 13:44:07 +0000

 --_000_SN6PR08MB4176A729B44CBAFF6BD59D60FC730SN6PR08MB4176namp_
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable

 I had this in my local pkgsrc before 1.0.2r was released.  Just noticed tha=
 t release after submitting this; obviously we should move to the latest.  T=
 hanks!
 ________________________________
 From: leot@NetBSD.org <leot@NetBSD.org>
 Sent: Wednesday, March 6, 2019 1:54 AM
 To: pkg-manager@netbsd.org; pkgsrc-bugs@netbsd.org; gnats-admin@netbsd.org;=
  leot@NetBSD.org; nrahlstr@outlook.com
 Subject: Re: pkg/54041 (patch to update pkgsrc openssl to 1.0.2q)

 Synopsis: patch to update pkgsrc openssl to 1.0.2q

 State-Changed-From-To: open->feedback
 State-Changed-By: leot@NetBSD.org
 State-Changed-When: Wed, 06 Mar 2019 07:54:24 +0000
 State-Changed-Why:
 Question asked.




 --_000_SN6PR08MB4176A729B44CBAFF6BD59D60FC730SN6PR08MB4176namp_
 Content-Type: text/html; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable

 <html>
 <head>
 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
 >
 <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
 ttom:0;} </style>
 </head>
 <body dir=3D"ltr">
 <div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
  color: rgb(0, 0, 0);">
 I had this in my local pkgsrc before 1.0.2r was released.&nbsp; Just notice=
 d that release after submitting this; obviously we should move to the lates=
 t.&nbsp; Thanks!<br>
 </div>
 <div id=3D"appendonsend"></div>
 <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
 <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
 yle=3D"font-size:11pt" color=3D"#000000">From: leot@NetBSD.org &lt;l=
 eot@NetBSD.org&gt;<br>
 Sent: Wednesday, March 6, 2019 1:54 AM<br>
 To: pkg-manager@netbsd.org; pkgsrc-bugs@netbsd.org; gnats-admin@netb=
 sd.org; leot@NetBSD.org; nrahlstr@outlook.com<br>
 Subject: Re: pkg/54041 (patch to update pkgsrc openssl to 1.0.2q)</f=
 ont>
 <div>&nbsp;</div>
 </div>
 <div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
 ">
 <div class=3D"PlainText">Synopsis: patch to update pkgsrc openssl to 1.0.2q=
 <br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: leot@NetBSD.org<br>
 State-Changed-When: Wed, 06 Mar 2019 07:54:24 &#43;0000<br>
 State-Changed-Why:<br>
 Question asked.<br>
 <br>
 <br>
 <br>
 </div>
 </span></font></div>
 </body>
 </html>

 --_000_SN6PR08MB4176A729B44CBAFF6BD59D60FC730SN6PR08MB4176namp_--

State-Changed-From-To: feedback->open
State-Changed-By: leot@NetBSD.org
State-Changed-When: Thu, 07 Mar 2019 08:14:30 +0000
State-Changed-Why:
Feedback provided.


From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54041 (patch to update pkgsrc openssl to 1.0.2q)
Date: Sat, 15 Jun 2019 12:09:41 +0200

 FTR, a newer patch that updates security/openssl to openssl-1.0.2s were
 shared on pkgsrc-users@ by Oskar:

  <https://mail-index.NetBSD.org/pkgsrc-users/2019/06/15/msg028804.html>

State-Changed-From-To: open->feedback
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Mon, 01 Jul 2019 10:31:49 +0000
State-Changed-Why:
openssl has been updated to 1.0.2s in pkgsrc-current, can you give it a try and report if it worked for you?


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 11 Apr 2020 13:37:20 +0000
State-Changed-Why:
I assume it's fine not to aks the author about every update of openssl in pkgsrc. RHEL tends to be very well supported by upstreams. Thanks for the patches!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.