Download raw body.
UPDATE: libiscsi 1.20.0
Here is an update to libiscsi 1.20.0.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libiscsi/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile 11 Mar 2022 18:50:35 -0000 1.8
+++ Makefile 20 Mar 2025 00:19:42 -0000
@@ -1,12 +1,12 @@
COMMENT= client-side library to implement the iSCSI protocol
+DISTNAME= libiscsi-1.20.0
GH_ACCOUNT= sahlberg
GH_PROJECT= libiscsi
-GH_TAGNAME= 1.19.0
-REVISION= 0
+GH_COMMIT= b8d9fbf5e3120dde1a95ca7d873117f4e911b86c
CATEGORIES= devel net
-SHARED_LIBS= iscsi 2.0
+SHARED_LIBS= iscsi 2.1
HOMEPAGE= https://github.com/sahlberg/libiscsi
@@ -17,9 +17,10 @@ PERMIT_PACKAGE= Yes
WANTLIB= c
-AUTOCONF_VERSION= 2.69
+AUTOCONF_VERSION= 2.71
AUTOMAKE_VERSION= 1.16
+USE_GMAKE= Yes
CONFIGURE_STYLE= autoreconf
CONFIGURE_ARGS+= --disable-werror
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libiscsi/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo 26 Jan 2020 12:48:36 -0000 1.3
+++ distinfo 20 Mar 2025 00:19:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (libiscsi-1.19.0.tar.gz) = x4SKxyLINh1QZGVLxukmwr5h7xHdOHUCCmOTGDbYBt8=
-SIZE (libiscsi-1.19.0.tar.gz) = 284969
+SHA256 (libiscsi-1.20.0-b8d9fbf5.tar.gz) = CyCRVGVp24e3lu8jmmJqHeJOF5eTEQ3quDjGykK1pt4=
+SIZE (libiscsi-1.20.0-b8d9fbf5.tar.gz) = 316069
Index: patches/patch-lib_login_c
===================================================================
RCS file: patches/patch-lib_login_c
diff -N patches/patch-lib_login_c
--- patches/patch-lib_login_c 11 Mar 2022 18:50:35 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-From f2d750260afbb2535d1bd92438e80a80ddb58801 Mon Sep 17 00:00:00 2001
-From: Paul Carlisle <paul.carlisle@purestorage.com>
-Date: Mon, 27 Jan 2020 16:56:59 -0800
-Subject: [PATCH] Fix data segment length comparison to unsigned long
-
-In login.c, data segment parameters in the text segment are converted to
-signed longs. Changing from strtol -> strtoul fixes compiler errors on
-certain platforms that warn against comparing a signed long with
-uint32_t using MIN.
-
-Index: lib/login.c
---- lib/login.c.orig
-+++ lib/login.c
-@@ -1242,11 +1242,11 @@ iscsi_process_login_reply(struct iscsi_context *iscsi,
-
- /* iSER specific keys */
- if (!strncmp(ptr, "InitiatorRecvDataSegmentLength=", 31)) {
-- iscsi->initiator_max_recv_data_segment_length = MIN(strtol(ptr + 31, NULL, 10),
-+ iscsi->initiator_max_recv_data_segment_length = MIN(strtoul(ptr + 31, NULL, 10),
- iscsi->initiator_max_recv_data_segment_length);
- }
- if (!strncmp(ptr, "TargetRecvDataSegmentLength=", 28)) {
-- iscsi->target_max_recv_data_segment_length = MIN(strtol(ptr + 28, NULL, 10),
-+ iscsi->target_max_recv_data_segment_length = MIN(strtoul(ptr + 28, NULL, 10),
- iscsi->target_max_recv_data_segment_length);
- }
-
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/libiscsi/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST 11 Mar 2022 18:50:35 -0000 1.4
+++ pkg/PLIST 20 Mar 2025 00:19:42 -0000
@@ -1,7 +1,10 @@
@conflict netbsd-iscsi-<=20111006p3
+@bin bin/iscsi-discard
@bin bin/iscsi-inq
@bin bin/iscsi-ls
+@bin bin/iscsi-md5sum
@bin bin/iscsi-perf
+@bin bin/iscsi-pr
@bin bin/iscsi-readcapacity16
@bin bin/iscsi-swp
include/iscsi/
@@ -13,5 +16,6 @@ lib/libiscsi.la
lib/pkgconfig/libiscsi.pc
@man man/man1/iscsi-inq.1
@man man/man1/iscsi-ls.1
+@man man/man1/iscsi-md5sum.1
@man man/man1/iscsi-swp.1
@man man/man1/iscsi-test-cu.1
UPDATE: libiscsi 1.20.0