Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

98.8. libiscsi-1.20.3

Userspace iSCSI initiator library and client tools (iscsi-ls, iscsi-inq, iscsi-swp)

1.20.3-1 · LGPL-2.1-or-later AND GPL-2.0-or-later · 1.0 SBU · 593.2 KiB, 22 files · 41_system, 389 of 1047 · ports/core/disk/libiscsi

Homepage: https://github.com/sahlberg/libiscsi

Depends on: autoconf, automake, libtool, pkgconf, gnutls.

Required by (2): libvirt, qemu.

Sources: libiscsi-1.20.3.tar.gz (319.5 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libiscsi'

build.sh:

autoreconf -fi

./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libdir=/usr/lib \
	--disable-static \
	--disable-werror \
	--with-gnutls \
	--without-libgcrypt \
	--disable-test-tool \
	--disable-tests \
	--disable-examples \
	--disable-manpages
make
make DESTDIR=$PKG install

rm -f "$PKG/usr/share/man/man1/iscsi-test-cu.1"

Programs: iscsi-discard, iscsi-inq, iscsi-ls, iscsi-md5sum, iscsi-perf, iscsi-pr, iscsi-readcapacity16, iscsi-rtpg, iscsi-swp.

Libraries: libiscsi.so.

Directories: /usr/include/iscsi, /usr/share/licenses/libiscsi.