From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCH] gnu: Add smartmontools. Date: Sun, 08 Feb 2015 21:05:49 +0100 Message-ID: <87zj8of9sy.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKY77-00042n-4D for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKY76-0002uJ-0j for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:53 -0500 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:50041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKY75-0002u9-RD for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:51 -0500 Received: by mail-wi0-f182.google.com with SMTP id n3so12834555wiv.3 for ; Sun, 08 Feb 2015 12:05:51 -0800 (PST) Received: from taylan.uni.cx (p200300514A1A69220213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a1a:6922:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id gm10sm11314344wib.19.2015.02.08.12.05.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Feb 2015 12:05:50 -0800 (PST) Content-Disposition: inline; filename=0002-gnu-Add-smartmontools.patch Content-Description: patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From db4d182a8da67102ef83e1e8f882a83bcaa69d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sun, 8 Feb 2015 11:26:46 +0100 Subject: [PATCH 2/2] gnu: Add smartmontools. * gnu/packages/admin.scm (smartmontools): New variable. --- gnu/packages/admin.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index dacae60..40e9b80 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1026,3 +1026,27 @@ any capabilities and whether or not it has an open ended bounding set. The included utilities are designed to let admins and developers spot apps from various ways that may be running with too much privilege.") (license gpl2+))) + +(define-public smartmontools + (package + (name "smartmontools") + (version "6.3") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/smartmontools/smartmontools/" + version "/smartmontools-" version ".tar.gz")) + (sha256 + (base32 + "06gy71jh2d3gcfmlbbrsqw7215knkfq59q3j6qdxfrar39fhcxx7")))) + (build-system gnu-build-system) + (inputs `(("libcap-ng" ,libcap-ng))) + (home-page "http://www.smartmontools.org/") + (synopsis "SMART harddisk control and monitoring tools") + (description + "The smartmontools package contains utility programs to control and +monitor storage systems using the Self-Monitoring, Analysis and Reporting +Technology System (SMART) built into most modern ATA and SCSI harddisks. In +many cases, these utilities will provide advanced warning of disk degradation +and failure.") + (license gpl2+))) -- 2.2.1