From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: [PATCH] gnu: Add sg3_utils. Date: Sat, 13 Aug 2016 02:52:56 -0700 Message-ID: <87bn0xxafb.fsf@gmail.com> References: <87fuq9xawl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYVco-0003VT-Vk for guix-devel@gnu.org; Sat, 13 Aug 2016 05:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYVcl-00055O-Jx for guix-devel@gnu.org; Sat, 13 Aug 2016 05:53:05 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:35561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYVcl-00055K-8o for guix-devel@gnu.org; Sat, 13 Aug 2016 05:53:03 -0400 Received: by mail-pf0-x241.google.com with SMTP id h186so725480pfg.2 for ; Sat, 13 Aug 2016 02:53:03 -0700 (PDT) Received: from garuda ([2601:602:9d80:1886:4e0f:6eff:fef6:70b9]) by smtp.gmail.com with ESMTPSA id k29sm19022367pfb.2.2016.08.13.02.53.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Aug 2016 02:53:01 -0700 (PDT) In-Reply-To: <87fuq9xawl.fsf@gmail.com> (Chris Marusich's message of "Sat, 13 Aug 2016 02:42:34 -0700") 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" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Chris Marusich writes: > Subject: [PATCH] gnu: Add sg3_utils. > > * gnu/local.mk: Include gnu/packages/education.scm. > * gnu/packages/scsi.scm: Add new file. > * gnu/packages/scsi.scm (sg3_utils): New variable. This commit message contains an error. I copied it from an earlier commit message, and I forgot to replace "education.scm" with "scsi.scm" everywhere. This new patch fixes the commit message. =2D-=20 Chris --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-sg3_utils.patch Content-Transfer-Encoding: quoted-printable From=2018b8adc5f7c11090b86877a37f01840033d10a89 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sat, 13 Aug 2016 01:58:03 -0700 Subject: [PATCH] gnu: Add sg3_utils. * gnu/local.mk: Include gnu/packages/scsi.scm. * gnu/packages/scsi.scm: Add new file. * gnu/packages/scsi.scm (sg3_utils): New variable. =2D-- gnu/local.mk | 1 + gnu/packages/scsi.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 54 insertions(+) create mode 100644 gnu/packages/scsi.scm diff --git a/gnu/local.mk b/gnu/local.mk index 44ace61..99dbb30 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -305,6 +305,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/scheme.scm \ %D%/packages/screen.scm \ %D%/packages/scribus.scm \ + %D%/packages/scsi.scm \ %D%/packages/sdl.scm \ %D%/packages/search.scm \ %D%/packages/serialization.scm \ diff --git a/gnu/packages/scsi.scm b/gnu/packages/scsi.scm new file mode 100644 index 0000000..e7ba8e0 =2D-- /dev/null +++ b/gnu/packages/scsi.scm @@ -0,0 +1,53 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2016 Chris Marusich +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages scsi) + #:use-module ((guix licenses) + #:select (gpl2+ bsd-3)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public sg3_utils + (package + (name "sg3_utils") + (version "1.42") + (source (origin + (method url-fetch) + (uri (string-append "http://sg.danny.cz/sg/p/sg3_utils-" + version ".tar.xz")) + (sha256 + (base32 + "1fg71rj0f1gdjmkj0z8wlv46cf9lryjdyjkbi7fjmssgi5jyvblp")))) + (build-system gnu-build-system) + (home-page "http://sg.danny.cz/sg/sg3_utils.html") + (synopsis "SCSI device utilities") + (description + "sg3_utils is a collection of utilities for devices that use the Small +Computer System Interface (SCSI) command set. It includes utilities to re= ad +data from, write data to, control, modify, and query the state of SCSI +devices. For example, this package provides command-line tools to copy da= ta +based on \"dd\" syntax and semantics (called sg_dd, sgp_dd and sgm_dd), ch= eck +INQUIRY data and VPD pages (sg_inq), check mode and log pages (sginfo, +sg_modes and sg_logs), spin up and down disks (sg_start), do self +tests (sg_senddiag), parse sense data, and perform various other functions. +In addition, this package includes a library, called libsgutils, which can= be +used in C and C++ programs to interact with SCSI devices.") + ;; The libsgutils library itself is licensed under bsd-3. Some tools = are + ;; licensed under bsd-3, also. Some tools are licensed under gpl2+. + (license (list gpl2+ bsd-3)))) =2D-=20 2.7.3 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXru36AAoJEN1AmhXYIkad+04QANZGSFjcqcpK7QIhS5R8eAWE Yp4XiqDlVfeuJlNyMN/dXDZxOvxaYV/V/XuJ6Fj7ic1qqdOorgagpXbcBW/g+GEV bEGYq9fjdW7yZD7InNEhFl5bKZ1ncJelGRPvB5SrPaQ/TzuKNOq9CpZCNKuXcF4G 6RE4LmyVVagU/bLYxuCKUSWmfdLcfIHN63hGq+FmRsOoOSH8phy/LUEhT4IE8NeT 0SQYwdUta3UCph1YqQxLqpUWRDqrGhtQQd/jFzNIirCP9Q1knp/7M728Y4gS9On5 96Euv1Iv5tPqK/2Bu1oRCqS9679PzMjVUkhbn8jhQyJUz8LV+HpDEXt05MRkMnoo EK8Bv8d3Cen9ClsUrdtSS+XXxvWtPnTRG7y/8K108wP7i/IbJx8WDPqdXJ7M/TAI TDiosESQXFYXVIvJEygyrbKlsTYmyflBqYlMZbYzI2TcX2QKJnkKE2oiIwos09Sn Anh3q8H7w7DI+Jd7AKx2+R7ybSdXvQrWcp85bd/QuEXnL39BUkUFnfpo14fthhFe XIC2ZMogTZ36i+ERr1kqOHkAjUbCe213SkTIe0NlTHvQi84zBqQf6AKyztni1GVG v4i+xfxfYTCdEu/81rFaQV/wpACsQSO3SbZFzepufrBp+fMLsSpuJcRgrEyCkP// 4I2bHmvHI1zSAXibsubD =/j3y -----END PGP SIGNATURE----- --==-=-=--