Subject: bug#46415: closed (Re: [bug#46415] [PATCH] gnu: OpenLDAP: Update to 2.4.57 [security fixes].)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 11 Feb 2021 20:04:01 +0000

Your bug report

#46415: [PATCH] gnu: OpenLDAP: Update to 2.4.57 [security fixes].

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46415: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46415
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#46415] [PATCH] gnu: OpenLDAP: Update to 2.4.57 [security fixes].
From: Leo Famulari <[email-masked]>
To: Efraim Flashner <[email-masked]>
Cc: [email-masked]
Date: Thu, 11 Feb 2021 15:03:38 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, Feb 11, 2021 at 09:21:14PM +0200, Efraim Flashner wrote:
> On Thu, Feb 11, 2021 at 02:18:57PM -0500, Leo Famulari wrote:
> > On Thu, Feb 11, 2021 at 01:15:08PM +0200, Efraim Flashner wrote:
> > > I assume you've tested it out? Looks good to me. I assume there's no way
> > > to inherit the list of URLs from openldap to openldap/fixed and still
> > > have it download the correct version.
> > 
> > I tested that it builds but I don't have a way to test LDAP
> > functionality.
> 
> I meant I assumed you tested it built and grafted correctly, as best as
> we can tell.

Yeah. Thanks for review! Pushed as a18492118cc73bee9a2e6424363e3e072572f52e

Subject: [PATCH] gnu: OpenLDAP: Update to 2.4.57 [security fixes].
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Tue, 9 Feb 2021 19:06:04 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixes CVE-2020-{36221,36222,36223,36224,36225,36226,36226,36228,36229,36230}.

* gnu/packages/openldap.scm (openldap-2.4.57): New variable.
(openldap)[replacement]: New field.
---
 gnu/packages/openldap.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index fb917882e7..c23a9f6c25 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2013 Andreas Enge <[email-masked]>
-;;; Copyright © 2016 Leo Famulari <[email-masked]>
+;;; Copyright © 2016, 2021 Leo Famulari <[email-masked]>
 ;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email-masked]>
@@ -61,6 +61,7 @@
 (define-public openldap
   (package
    (name "openldap")
+   (replacement openldap-2.4.57)
    (version "2.4.50")
    (source (origin
              (method url-fetch)
@@ -125,6 +126,27 @@
    (license openldap2.8)
    (home-page "https://www.openldap.org/")))
 
+(define-public openldap-2.4.57
+  (package
+    (inherit openldap)
+    (version "2.4.57")
+    (source (origin
+              (method url-fetch)
+              ;; See <http://www.openldap.org/software/download/> for a list of
+              ;; mirrors.
+              (uri (list (string-append
+                          "ftp://mirror.switch.ch/mirror/OpenLDAP/"
+                          "openldap-release/openldap-" version ".tgz")
+                         (string-append
+                          "https://www.openldap.org/software/download/OpenLDAP/"
+                          "openldap-release/openldap-" version ".tgz")
+                         (string-append
+                          "ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/"
+                          "openldap-release/openldap-" version ".tgz")))
+              (sha256
+               (base32
+                "0nmlyqhc52v24b4awh914sczmvxbazgq2cnlycvb9dgcwvhlgfn7"))))))
+
 (define-public nss-pam-ldapd
   (package
     (name "nss-pam-ldapd")
-- 
2.30.0