From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AKSvAeLLCWEiVAEAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 01:06:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AEkAOeHLCWFTMQAA1q6Kng (envelope-from ) for ; Tue, 03 Aug 2021 23:06:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 58B252A1F8 for ; Wed, 4 Aug 2021 01:06:09 +0200 (CEST) Received: from localhost ([::1]:46402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mB3U8-0001Yo-9L for larch@yhetil.org; Tue, 03 Aug 2021 19:06:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB3U3-0001Yf-5c for guix-patches@gnu.org; Tue, 03 Aug 2021 19:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mB3U2-00073c-Rx for guix-patches@gnu.org; Tue, 03 Aug 2021 19:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mB3U2-0000bh-En for guix-patches@gnu.org; Tue, 03 Aug 2021 19:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49851] [PATCH] gnu: Add libiscsi. Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Aug 2021 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49851@debbugs.gnu.org Cc: Ron Nazarov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16280319102271 (code B ref -1); Tue, 03 Aug 2021 23:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2021 23:05:10 +0000 Received: from localhost ([127.0.0.1]:41752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB3TC-0000aZ-Ct for submit@debbugs.gnu.org; Tue, 03 Aug 2021 19:05:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:33906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB3T9-0000aP-O9 for submit@debbugs.gnu.org; Tue, 03 Aug 2021 19:05:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB3T9-0001VK-Hn for guix-patches@gnu.org; Tue, 03 Aug 2021 19:05:07 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB3T7-0006MY-H7 for guix-patches@gnu.org; Tue, 03 Aug 2021 19:05:07 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 40DB45322C; Wed, 4 Aug 2021 01:05:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q4_YImnXckCu; Wed, 4 Aug 2021 01:05:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1628031899; bh=MvidxEHYcyTjRG25MAK37soq9XwYh60BEbPFU77cOrw=; h=From:To:Cc:Subject:Date; b=SrHnGaBXBhES0NLdIqtuANrtQL/elwyaNj4g4u8eUvY/5EXuGJ/w19TbWxvOCqP4X P8SwysrVHMcYMYqlRYJ3ncIJ6fUCdQ+Mi0ZyAuoLOvAEPRapFE0xAkTzsf4Vy/ZnDq pyD3YY/RoxNxfCD4YvYBIE6hAf/5dg/Zp7J4jWyUpptX301ZJnf62ecxMY2xvOdjHV P/BQJbHOOFyNWRgAkK5urP4z3CehrZXoKo2PD77p6Dc9Qrtg/O6Y/mvSZsEEWZ5NtE 0tP7O489xTQk/mj2OtkUOUopFT9uIKgQeNvg8F38GzZbndpCr7DvvGZh7noaNiOss3 9En1T3hYOt2Xw== Date: Wed, 4 Aug 2021 00:04:54 +0100 Message-Id: <20210803230454.8933-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=noisytoot@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628031969; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qNhY2A0PLQJt8WjW36WMZMbfaC5M/tMmU7Tvs0wBPZw=; b=YGQK7bq3a//WkW1zIxNtBeFaBfnv39rkEiow/JqXATiOJFgwWQLojlYw5vrBe3+K9LdY7I sTlsaQEFAvWE85yrU8GwxzeTcRdSUn1HpfZyfxpEuhTPJShS/zw2tPhlowjmUXBUd0a9Nu 6G4MAUwWb/WU+nPSivTQJHJWZOxF3ZLZoPhaMS9LlYT5yDJyWHYsvIm53tOYlMV7GEfbIF WhGJKtS30TqTiTTM40tP+0B0V54mu/yV8An+BIJI8gR2piLYePMrK/VD2HJrPGwuJV/7wi pP5no8VnsSayVlVNW6SN2AfwCjQDMB4rWdPj6HP7Hz5t0YO4AVC2m+vgZ7S36A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628031969; a=rsa-sha256; cv=none; b=uRAXJ6kauIrBVqECARlsIuzEk+jfp9MNUVckGwFuXXOsV7nv2Fo7TELYkaXH8wDhQ0Kb8d dyiSraoXbLtqDBtrlSWt/syNfLNvxbgdHFkVzVJG72V74DmEDe3wrLIjFz7NqbritJWn8S Yi89RpenRBO0JC0qI3zQebp3rj9ptAPk73QvpugrZyd/Myd9nIFLPMBd1BkDJIVMZv9XQ/ 6XGWi/gxKTkQ3WtjsKefwTCLO2OF4Pr3FSHrFMho5sI1cxkcVH51DDZFGNmD+CClp7bsG6 dWr71/UiJwVNWbBnEjgv57cbGBXYzkSH2AyZU+iOXwgaeuqDYMFvlQHFgGxEUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=SrHnGaBX; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=SrHnGaBX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 58B252A1F8 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4lJWJbYMpSHZ * gnu/packages/scsi.scm (libiscsi): New variable. --- gnu/packages/scsi.scm | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/gnu/packages/scsi.scm b/gnu/packages/scsi.scm index 4c3bfd7e33..ae4f60c10d 100644 --- a/gnu/packages/scsi.scm +++ b/gnu/packages/scsi.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice +;;; Copyright © 2021 Noisytoot ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,10 +20,12 @@ (define-module (gnu packages scsi) #:use-module ((guix licenses) - #:select (gpl2+ bsd-2 bsd-3)) + #:select (gpl2+ bsd-2 bsd-3 lgpl2.1+)) #:use-module (guix packages) #:use-module (guix download) - #:use-module (guix build-system gnu)) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages autotools)) (define-public sg3-utils (package @@ -65,3 +68,30 @@ used in C and C++ programs to interact with SCSI devices.") ;; various source code files refer to a file called "BSD_LICENSE" [...]." ;; Some files (like sg_compare_and_write.c) retain their 3-clause headers! (license (list gpl2+ bsd-2 bsd-3)))) + +(define-public libiscsi + (package + (name "libiscsi") + (version "1.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sahlberg/libiscsi") + (commit version))) + (sha256 + (base32 + "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (synopsis "Client-side library for iSCSI") + (description "Libiscsi is a client-side library to implement +the iSCSI protocol that can be used to access the resources of an iSCSI target. +It is fully asynchronous with regards to iSCSI commands and SCSI tasks, +but a synchronous layer is also provided for ease of use for simpler applications.") + (home-page "https://github.com/sahlberg/libiscsi") + (license (list gpl2+ lgpl2.1+)))) -- 2.32.0