summaryrefslogtreecommitdiff
path: root/gnu/packages/openldap.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-28 22:52:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-28 22:52:20 +0300
commit0b25812872904d61024791778dae36636c52ded6 (patch)
tree0307259a0a6430aaecb0cc1c7ae770a89d99fb94 /gnu/packages/openldap.scm
parentcd8c419722780765b075a7217b861e7608c0bac2 (diff)
downloadpatches-base-for-series-3730.tar
patches-base-for-series-3730.tar.gz
gnu: openldap: Fix CVE-2020-12243.base-for-series-3730
* gnu/packages/openldap.scm (openldap)[replacement]: New field. (openldap/fixed): New variable. * gnu/packages/patches/openldap-CVE-2020-12243.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/openldap.scm')
-rw-r--r--gnu/packages/openldap.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index de8239b7fe..aa51520654 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -57,6 +58,7 @@
(define-public openldap
(package
+ (replacement openldap/fixed)
(name "openldap")
(version "2.4.47")
(source (origin
@@ -110,6 +112,13 @@
(license openldap2.8)
(home-page "https://www.openldap.org/")))
+(define openldap/fixed
+ (package
+ (inherit openldap)
+ (source
+ (origin (inherit (package-source openldap))
+ (patches (search-patches "openldap-CVE-2020-12243.patch"))))))
+
(define-public nss-pam-ldapd
(package
(name "nss-pam-ldapd")