FreeBSD Bugzilla – Attachment 240097 Details for
Bug 269502
net/libiscsi: update to HEAD of 2023-02-08
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patches for updating net/libiscsi to the github version of 2023-02-08
libiscsi.patch (text/plain), 3.62 KB, created by
Martin Birgmeier
on 2023-02-11 20:08:56 UTC
(
hide
)
Description:
patches for updating net/libiscsi to the github version of 2023-02-08
Filename:
MIME Type:
Creator:
Martin Birgmeier
Created:
2023-02-11 20:08:56 UTC
Size:
3.62 KB
patch
obsolete
>diff --git a/net/libiscsi/Makefile b/net/libiscsi/Makefile >index 47c1a225265b..d3e542c28a76 100644 >--- a/net/libiscsi/Makefile >+++ b/net/libiscsi/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= libiscsi >-DISTVERSION= 1.19.0 >+DISTVERSION= 1.19.0.230208 > CATEGORIES= net > > MAINTAINER= d8zNeCFG@aon.at >@@ -11,11 +11,12 @@ LICENSE_COMB= multi > LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENCE-LGPL-2.1.txt > LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENCE-GPL-2.txt > >-USES= autoreconf compiler:c11 libtool pathfix >+USES= autoreconf compiler:c11 gmake libtool pathfix > USE_GITHUB= yes > USE_LDCONFIG= yes > > GH_ACCOUNT= sahlberg >+GH_TAGNAME= 22f7b2656776 > > GNU_CONFIGURE= yes > >diff --git a/net/libiscsi/distinfo b/net/libiscsi/distinfo >index 8f222be13bb2..f874ea814454 100644 >--- a/net/libiscsi/distinfo >+++ b/net/libiscsi/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1588264800 >-SHA256 (sahlberg-libiscsi-1.19.0_GH0.tar.gz) = c7848ac722c8361d5064654bc6e926c2be61ef11dd3875020a63931836d806df >-SIZE (sahlberg-libiscsi-1.19.0_GH0.tar.gz) = 284969 >+TIMESTAMP = 1676144386 >+SHA256 (sahlberg-libiscsi-1.19.0.230208-22f7b2656776_GH0.tar.gz) = e4560a88fc37465ac1ec43354c788141fac4cd459be039ee78df6a49b586b035 >+SIZE (sahlberg-libiscsi-1.19.0.230208-22f7b2656776_GH0.tar.gz) = 293039 >diff --git a/net/libiscsi/files/patch-configure.ac b/net/libiscsi/files/patch-configure.ac >index db7ed62873b3..38166307dcde 100644 >--- a/net/libiscsi/files/patch-configure.ac >+++ b/net/libiscsi/files/patch-configure.ac >@@ -1,12 +1,12 @@ >---- configure.ac.orig 2019-07-13 22:04:44 UTC >-+++ configure.ac >-@@ -144,7 +144,8 @@ AC_CACHE_CHECK([for iSER support],libiscsi_cv_HAVE_LIN >- AC_TRY_COMPILE([ >+--- ./configure.ac.ORIG 2023-02-11 20:12:38.532565000 +0100 >++++ ./configure.ac 2023-02-11 20:14:27.194137000 +0100 >+@@ -170,7 +170,8 @@ >+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ > #include <infiniband/verbs.h> > #include <rdma/rdma_cma.h> >--#include <rdma/rdma_verbs.h>], >+-#include <rdma/rdma_verbs.h>]], > +#include <rdma/rdma_verbs.h> >-+#error not on FreeBSD], >- [int ibv = IBV_WC_SEND;], >- libiscsi_cv_HAVE_LINUX_ISER=yes,libiscsi_cv_HAVE_LINUX_ISER=no)]) >++#error not on FreeBSD]], >+ [[int ibv = IBV_WC_SEND;]])], >+ [libiscsi_cv_HAVE_LINUX_ISER=yes],[libiscsi_cv_HAVE_LINUX_ISER=no])]) > if test x"$libiscsi_cv_HAVE_LINUX_ISER" = x"yes"; then >diff --git a/net/libiscsi/files/patch-lib_login.c b/net/libiscsi/files/patch-lib_login.c >deleted file mode 100644 >index 209886e35cec..000000000000 >--- a/net/libiscsi/files/patch-lib_login.c >+++ /dev/null >@@ -1,16 +0,0 @@ >---- lib/login.c.orig 2019-07-13 22:04:44 UTC >-+++ 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); >- } >- >diff --git a/net/libiscsi/pkg-plist b/net/libiscsi/pkg-plist >index a5cb3cd09132..641ff598d859 100644 >--- a/net/libiscsi/pkg-plist >+++ b/net/libiscsi/pkg-plist >@@ -1,6 +1,7 @@ > bin/iscsi-inq > bin/iscsi-ls > bin/iscsi-perf >+bin/iscsi-pr > bin/iscsi-readcapacity16 > bin/iscsi-swp > include/iscsi/iscsi.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
d8zNeCFG
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 269502
: 240097 |
240098