From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Cc: 宋文武 <iyzsong@gmail.com>
Subject: [PATCH 3/4] gnu: Add ldb.
Date: Tue, 15 Dec 2015 12:22:01 +0800 [thread overview]
Message-ID: <1450153322-26172-3-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1450153322-26172-1-git-send-email-iyzsong@gmail.com>
* gnu/packages/samba.scm (ldb): New variable.
---
gnu/packages/samba.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index ec73a28..05fb3b2 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)
@@ -236,6 +237,48 @@ 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
+ (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")
--
2.5.0
next prev parent reply other threads:[~2015-12-15 4:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 4:21 [PATCH 1/4] gnu: talloc: Update to 2.1.5 宋文武
2015-12-15 4:22 ` [PATCH 2/4] gnu: Add tevent 宋文武
2015-12-17 22:48 ` Ludovic Courtès
2015-12-15 4:22 ` 宋文武 [this message]
2015-12-17 22:49 ` [PATCH 3/4] gnu: Add ldb Ludovic Courtès
2015-12-15 4:22 ` [PATCH 4/4] gnu: samba: Update to 4.3.2 宋文武
2015-12-17 22:51 ` Ludovic Courtès
2015-12-18 2:31 ` 宋文武
2015-12-21 13:39 ` Ludovic Courtès
2015-12-17 22:47 ` [PATCH 1/4] gnu: talloc: Update to 2.1.5 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450153322-26172-3-git-send-email-iyzsong@gmail.com \
--to=iyzsong@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).