From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYeaF-0004oO-A3 for guix-patches@gnu.org; Thu, 28 Jun 2018 17:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYeaB-0005wt-D7 for guix-patches@gnu.org; Thu, 28 Jun 2018 17:36:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYeaB-0005wE-8a for guix-patches@gnu.org; Thu, 28 Jun 2018 17:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fYeaB-0006FF-2Y for guix-patches@gnu.org; Thu, 28 Jun 2018 17:36:03 -0400 Subject: [bug#31999] [PATCH 5/7] gnu: Add dmraid. Resent-Message-ID: From: Pierre Neidhardt Date: Thu, 28 Jun 2018 23:35:25 +0200 Message-Id: <20180628213527.23318-4-ambrevar@gmail.com> In-Reply-To: <20180628213527.23318-1-ambrevar@gmail.com> References: <20180628213527.23318-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31999@debbugs.gnu.org * gnu/package/disk.scm (dmraid): New variable. --- gnu/packages/disk.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 8d0739a45..bb1faae8a 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -650,3 +650,32 @@ them separately from volumes to handle forgotten passphrases.") "Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel.") (license license:lgpl2.1+))) + +(define-public dmraid + (package + (name "dmraid") + (version "1.0.0.rc16-3") + (source (origin + (method url-fetch) + (uri (string-append "http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-" + version + ".tar.bz2")) + (sha256 + (base32 + "1n7vsqvh7y6yvil682q129d21yhb0cmvd5fvsbkza7ypd78inhlk")))) + (build-system gnu-build-system) + (native-inputs + `(("lvm2" ,lvm2))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'change-directory + (lambda _ (chdir (string-append ,version "/dmraid")) #t))))) + (home-page "http://people.redhat.com/~heinzm/sw/dmraid/") + (synopsis "Device mapper RAID interface") + (description + "This software supports RAID device discovery, RAID set activation, creation, +removal, rebuild and display of properties for ATARAID/DDF1 metadata. + +@command{dmraid} uses @file{libdevmapper} and the device-mapper kernel runtime +to create devices with respective mappings for the ATARAID sets discovered.") + (license license:gpl2+))) -- 2.17.1