[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: Add ldb.
From: |
??? |
Subject: |
06/07: gnu: Add ldb. |
Date: |
Fri, 18 Dec 2015 02:31:27 +0000 |
iyzsong pushed a commit to branch master
in repository guix.
commit 52513595ad4665ecf53577e124ed43098726eea1
Author: 宋文武 <address@hidden>
Date: Tue Dec 15 12:19:26 2015 +0800
gnu: Add ldb.
* gnu/packages/samba.scm (ldb): New variable.
---
gnu/packages/samba.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 137e04d..ecf8ada 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -24,6 +24,7 @@
#:use-module (guix licenses)
#:use-module (gnu packages acl)
#:use-module (gnu packages admin)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages popt)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages openldap)
@@ -239,6 +240,49 @@ It is the core event system used in Samba. The low level
tevent has support for
many event types, including timers, signals, and the classic file descriptor
events.")
(license lgpl3+)))
+(define-public ldb
+ (package
+ (name "ldb")
+ (version "1.1.23")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.samba.org/ftp/ldb/ldb-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0ncmwgga6q9v7maiywgw21w6rb3149m1w2ca11yq8k5j0izjz2wg"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ ;; ldb use a custom configuration script that runs waf.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (zero? (system* "./configure"
+ (string-append "--prefix=" out)
+ (string-append "--with-modulesdir=" out
+ "/lib/ldb/modules")
+ "--bundled-libraries=NONE"))))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-2)))
+ (propagated-inputs
+ ;; ldb.pc refers to all these.
+ `(("talloc" ,talloc)
+ ("tdb" ,tdb)))
+ (inputs
+ `(("popt" ,popt)
+ ("tevent" ,tevent)))
+ (synopsis "LDAP-like embedded database")
+ (home-page "https://ldb.samba.org/")
+ (description
+ "Ldb is a LDAP-like embedded database built on top of TDB. What ldb does
+is provide a fast database with an LDAP-like API designed to be used within an
+application. In some ways it can be seen as a intermediate solution between
+key-value pair databases and a real LDAP database.")
+ (license lgpl3+)))
+
(define-public ppp
(package
(name "ppp")
- branch master updated (f464016 -> 710964d), ???, 2015/12/17
- 01/07: gnu: Add cracklib., ???, 2015/12/17
- 03/07: gnu: talloc: Use 'modify-phases' syntax., ???, 2015/12/17
- 04/07: gnu: talloc: Update to 2.1.5., ???, 2015/12/17
- 02/07: gnu: Add libpwquality., ???, 2015/12/17
- 05/07: gnu: Add tevent., ???, 2015/12/17
- 06/07: gnu: Add ldb.,
??? <=
- 07/07: gnu: samba: Update to 4.3.2., ???, 2015/12/17