summaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
authorGrigory Shepelev <shegeley@gmail.com>2025-05-30 15:38:03 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-27 11:52:33 +0100
commit9e2328819cc17ca1bff67c1bbf0a97cbe1ae4629 (patch)
treea5a32acabfa8075df48089dbc08b1dfcf058910e /gnu/packages/disk.scm
parent871c3adee2ca98f90fa2e5d91023f2c902b150fc (diff)
gnu: Add open-iscsi.
* gnu/packages/disk.scm (open-iscsi): New variable. Change-Id: I900d12757c20e86bb68c762d732fdf64efe30742 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm63
1 files changed, 63 insertions, 0 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index eb823d5bf8a..b745f6877fe 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -736,6 +736,69 @@ and unloading removable media and some other housekeeping functions.")
736maintained fork of https://github.com/cleech/open-isns.") 736maintained fork of https://github.com/cleech/open-isns.")
737 (license license:gpl2))) 737 (license license:gpl2)))
738 738
739(define-public open-iscsi
740 (package
741 (name "open-iscsi")
742 (version "2.1.11")
743 (source
744 (origin
745 (method git-fetch)
746 (uri (git-reference
747 (url "https://github.com/open-iscsi/open-iscsi")
748 (commit version)))
749 (file-name (git-file-name name version))
750 (sha256
751 (base32 "0bafxz3vwk0wfa5r3cl3h9sngdfkll10i8467q8d0im4sj489kay"))))
752 (build-system meson-build-system)
753 (arguments
754 (list
755 ;; XXX: 2nd of 4th test fails with iSCSI ERROR: Could not open
756 ;; /run/lock/iscsi: 2: No such file or directory
757 ;; ../source/libopeniscsiusr/idbm.c:_idbm_lock():327
758 #:tests? #f
759 #:configure-flags
760 #~(list "-Dno_systemd=true"
761 (string-append "-Discsi_sbindir="
762 #$output "/sbin")
763 (string-append "-Ddbroot="
764 #$output "/var/lib/iscsi")
765 (string-append "--sbindir="
766 #$output "/sbin"))))
767 (native-inputs
768 (list meson
769 ninja
770 perl
771 pkg-config))
772 (inputs
773 (list kmod
774 open-isns
775 openssl
776 (list util-linux "lib")))
777 (home-page "https://github.com/open-iscsi/open-iscsi")
778 (synopsis "Linux iSCSI tools")
779 (description
780 "The Open @acronym{iSCSI, Internet Small Computer Systems Interface}
781project is a high-performance, transport independent, multi-platform
782implementation of @url{https://www.rfc-editor.org/rfc/rfc3720.html, RFC3720}
783iSCSI.
784
785Features:
786@itemize
787@item highly optimized and very small-footprint data path
788@item persistent configuration database
789@item SendTargets discovery
790@item provides @acronym{CHAP, Challenge Handshake Authentication Protocol}
791support
792@item @acronym{PDU, Protocol Data Unit} header Digest
793@item multiple sessions
794@end itemize")
795 ;; The daemon and other top-level commands are licensed as GPLv3, while
796 ;; the libopeniscsiusr library used by some of those commmands is licensed
797 ;; as LGPLv3.
798 (license (list license:gpl2+ ;attached license
799 license:gpl3 ;mentioned in README
800 license:lgpl3)))) ;mentioned in README
801
739(define-public idle3-tools 802(define-public idle3-tools
740 (package 803 (package
741 (name "idle3-tools") 804 (name "idle3-tools")