summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-24 00:06:44 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-24 00:12:41 +0200
commitbdd48e3cb92eaa8f6ba6a6e35a8d74cc94c513b6 (patch)
tree154829accdf0f02edd452cc0538ac16ee54b4657
parentbacee2da69dc3fdc20c384bed479d7596d9234a9 (diff)
downloadguix-bdd48e3cb92eaa8f6ba6a6e35a8d74cc94c513b6.tar.gz
gnu: liblinphone: Restore special openldap variant.
This is a partial revert of commit f2166cfacea03dcc399d1858d27ff473ebfc0679.

* gnu/packages/openldap.scm (openldap-for-linphone): Restore this variable.
* gnu/packages/linphone.scm (liblinphone)[inputs]: Replace openldap with
openldap-for-linphone.
-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")