summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/linphone.scm2
-rw-r--r--gnu/packages/openldap.scm15
2 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index bd7dffdf4a..7d87ee602c 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -800,7 +800,7 @@ device.")
            libnotify
            libxml2
            mediastreamer2
-           openldap
+           openldap-for-linphone
            ortp
            soci
            sqlite
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index d90cf6e66f..2dcda009e6 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -113,6 +113,21 @@
     (license openldap2.8)
     (home-page "https://www.openldap.org/")))
 
+(define-public openldap-for-linphone
+  (package
+    (inherit openldap)
+    (name "openldap")
+    (version "2.6.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.linphone.org/BC/public/external/openldap/")
+                    (commit "8a885896a3fb88098d970ab96316c0b7f18367b8")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1yd3cnngr5z3nymnml8fynspxgdzap7y7glp601nbkdj67wyg0k8"))))))
+
 (define-public nss-pam-ldapd
   (package
     (name "nss-pam-ldapd")