[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26256: [PATCH 6/6] gnu: Add multipath-tools.
From: |
Marius Bakke |
Subject: |
bug#26256: [PATCH 6/6] gnu: Add multipath-tools. |
Date: |
Sat, 25 Mar 2017 21:30:17 +0100 |
* gnu/packages/linux.scm (multipath-tools): New variable.
---
gnu/packages/linux.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1e9f93e70..0a1c50040 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -78,8 +78,10 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages rrdtool)
#:use-module (gnu packages slang)
+ #:use-module (gnu packages storage)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
@@ -2582,6 +2584,67 @@ arrays when needed.")
'("out")))) ;refer only self
(synopsis "Statically-linked 'mdadm' command for use in an initrd")))
+(define-public multipath-tools
+ (package
+ (name "multipath-tools")
+ (version "0.6.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://git.opensvc.com/?p=multipath-tools/"
+ ".git;a=snapshot;h=" version ";sf=tgz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12smwmljrkl2afc06dghd2253rqnfawvzr818a2xpxr06f44f9qy"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Drop bundled valgrind headers.
+ (delete-file-recursively "third-party")
+ (substitute* '("multipathd/main.c"
+ "libmultipath/debug.c")
+ (("#include \"../third-party/")
+ "#include \""))
+ #t))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; No tests.
+ #:make-flags (list (string-append "DESTDIR="
+ (assoc-ref %outputs "out"))
+ (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'set-environment
+ (lambda _
+ (setenv "CC" "gcc")
+ #t)))))
+ (native-inputs
+ `(("valgrind" ,valgrind)))
+ (inputs
+ `(("ceph:lib" ,ceph "lib")
+ ("libaio" ,libaio)
+ ("lvm2" ,lvm2)
+ ("readline" ,readline)
+ ("udev" ,eudev)
+ ("userspace-rcu" ,userspace-rcu)))
+ (home-page "http://christophe.varoqui.free.fr/")
+ (synopsis "Access block devices through multiple paths")
+ (description
+ "This package provides the following binaries to drive the
+Linux Device Mapper multipathing driver:
address@hidden
address@hidden @command{multipath} - Device mapper target autoconfig.
address@hidden @command{multipathd} - Multipath daemon.
address@hidden @command{mpathpersist} - Manages SCSI persistent reservations on
address@hidden multipath devices.
address@hidden @command{kpartx} - Create device maps from partition tables.
address@hidden enumerate")
+ (license (list license:gpl2+ ; Main distribution.
+ license:lgpl2.0+)))) ; libmpathcmd/mpath_cmd.h
+
(define-public libaio
(package
(name "libaio")
--
2.12.2
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., (continued)
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Ludovic Courtès, 2017/03/28
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Ludovic Courtès, 2017/03/28
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Tobias Geerinckx-Rice, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Tobias Geerinckx-Rice, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Marius Bakke, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Tobias Geerinckx-Rice, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Marius Bakke, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Tobias Geerinckx-Rice, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Marius Bakke, 2017/03/27
- bug#26256: [PATCH 5/6] gnu: Add userspace-rcu., Ludovic Courtès, 2017/03/28
bug#26256: [PATCH 6/6] gnu: Add multipath-tools.,
Marius Bakke <=
bug#26256: [PATCH 3/6] gnu: Add ceph., Marius Bakke, 2017/03/25
- bug#26256: [PATCH 3/6] gnu: Add ceph., Marius Bakke, 2017/03/25
- bug#26256: [PATCH 3/6] gnu: Add ceph., Marius Bakke, 2017/03/25
- bug#26256: [PATCH 3/6] gnu: Add ceph., Ludovic Courtès, 2017/03/27
- bug#26256: [PATCH 3/6] gnu: Add ceph., Marius Bakke, 2017/03/27
- bug#26256: [PATCH 3/6] gnu: Add ceph., Marius Bakke, 2017/03/28
- bug#26256: [PATCH 3/6] gnu: Add ceph., Ludovic Courtès, 2017/03/28
bug#26256: [PATCH 1/6] Revert "gnu: snappy: Update to 1.1.4.", Ludovic Courtès, 2017/03/27
bug#26256: [PATCH 0/6] Add ceph + multipath-tools., Marius Bakke, 2017/03/28