From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Cc: 宋文武 <iyzsong@gmail.com>
Subject: [PATCH 2/4] gnu: Add tevent.
Date: Tue, 15 Dec 2015 12:22:00 +0800 [thread overview]
Message-ID: <1450153322-26172-2-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1450153322-26172-1-git-send-email-iyzsong@gmail.com>
* gnu/packages/samba.scm (tevent): New variable.
---
gnu/packages/samba.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index e5f81a4..ec73a28 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -25,6 +25,7 @@
#:use-module (gnu packages acl)
#:use-module (gnu packages admin)
#:use-module (gnu packages popt)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages openldap)
#:use-module (gnu packages readline)
#:use-module (gnu packages libunwind)
@@ -201,6 +202,40 @@ Desktops into Active Directory environments using the winbind daemon.")
destructors. It is the core memory allocator used in Samba.")
(license gpl3+))) ;; The bundled "replace" library uses LGPL3.
+(define-public tevent
+ (package
+ (name "tevent")
+ (version "0.9.26")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.samba.org/ftp/tevent/tevent-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1gbh6d2m49j1v2hkaiyrh8bj02i5wxd4hqayzk2g44yyivbi8b16"))))
+ (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)
+ "--bundled-libraries=NONE"))))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-2)))
+ (propagated-inputs
+ `(("talloc" ,talloc))) ; required by tevent.pc
+ (synopsis "Event system library")
+ (home-page "https://tevent.samba.org/")
+ (description
+ "Tevent is an event system based on the talloc memory management library.
+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 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 ` 宋文武 [this message]
2015-12-17 22:48 ` [PATCH 2/4] gnu: Add tevent Ludovic Courtès
2015-12-15 4:22 ` [PATCH 3/4] gnu: Add ldb 宋文武
2015-12-17 22:49 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450153322-26172-2-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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.