9 Commits

Author SHA1 Message Date
geruijun
bda5019e2e backport patches to solve command parameter parse problem and dereference null pointer problem
Signed-off-by: geruijun <geruijun@huawei.com>
(cherry picked from commit bf48d8841c0a8685654deaa7fd0d4c20acf264d0)
2022-06-10 17:32:58 +08:00
Wenchao Hao
40501586c7 iscsi-inq: handle setting of debug_level correctly
According to the man page and help info, --debug=integer can specify the
debug_level, while it would report following error:

iscsi-inq --debug=2
iscsi-inq: option '--debug' doesn't allow an argument

It's because the iscsi-inq code did not handle this parameters
correctly. So here we just correct it.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 16b3557855b1a2300786519ec5623d02f59ecc9a)
2022-06-10 17:32:58 +08:00
Wenchao Hao
e0b8dfab34 delete -Sgit from %autosetup, and delete BuildRequires git
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-08-17 15:06:55 +08:00
Wenchao Hao
43d9ce10e1 fix multiple define for gcc10
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-08-17 15:04:53 +08:00
Wenchao Hao
9a6181d00a add make check
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-08-17 15:03:14 +08:00
Wenchao Hao
28d6bf0992 libiscsi:backport one patch to fix iser url scheme parsing
backport one patch to fix iser url scheme parsing

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-08-17 15:01:01 +08:00
Wenchao Hao
aeab7622a5 Split rpm package to avoid main rpm package CUnit dependency
Previous implement place executable files in main package which leading
to dependency of CUnit. This change add a package utils and move
these executable files to utils package to avoid main package's CUnit
dependency, making main package weak depend on libiscsi-utils

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2020-11-25 18:13:23 +08:00
Markeryang
38dfb5ff22 update to 1.19.0 version
update to 1.19.0 version
2020-07-29 17:17:29 +08:00
overweight
f278cad869 Package init 2019-09-30 10:56:47 -04:00