diff --git a/0003-idbm_rec_write-seperate-old-and-new-style-writes.patch b/0003-idbm_rec_write-seperate-old-and-new-style-writes.patch index 067300ba054e40b9283ab0ee7500b571847c8937..608f4883e9c4c82126e896becd95c0d31123bc49 100644 --- a/0003-idbm_rec_write-seperate-old-and-new-style-writes.patch +++ b/0003-idbm_rec_write-seperate-old-and-new-style-writes.patch @@ -155,7 +155,7 @@ index efdda75..307a01a 100644 + + snprintf(portal, PATH_MAX, "%s", NODE_CONFIG_DIR); + if (access(portal, F_OK) != 0) { -+ if (mkdir(portal, 0660) != 0) { ++ if (mkdir(portal, 0770) != 0) { + log_error("Could not make %s: %s", portal, + strerror(errno)); + rc = ISCSI_ERR_IDBM; @@ -165,7 +165,7 @@ index efdda75..307a01a 100644 + + snprintf(portal, PATH_MAX, "%s/%s", NODE_CONFIG_DIR, rec->name); + if (access(portal, F_OK) != 0) { -+ if (mkdir(portal, 0660) != 0) { ++ if (mkdir(portal, 0770) != 0) { + log_error("Could not make %s: %s", portal, + strerror(errno)); + rc = ISCSI_ERR_IDBM; diff --git a/0007-use-anolis-for-name.patch b/0007-use-red-hat-for-name.patch similarity index 73% rename from 0007-use-anolis-for-name.patch rename to 0007-use-red-hat-for-name.patch index f9d00d1336a4e82d0b8a1f94952b34ea08988aee..53ac29c5fc440a5a6ee65e533786fcaae9ebded2 100644 --- a/0007-use-anolis-for-name.patch +++ b/0007-use-red-hat-for-name.patch @@ -1,7 +1,7 @@ -From 1ddee25396962a6bd966b98311881ed6d4cba87c Fri Jan 29 00:00:00 2021 -From: Liwei Ge -Date: Fri, 29 Jan 2021 16:40:04 -0800 -Subject: [PATCH] use anolis for name +From 8312003a6a9e41d8d20eb8225ec8c4b2860351ec Mon Sep 17 00:00:00 2001 +From: Chris Leech +Date: Mon, 19 Nov 2012 16:40:04 -0800 +Subject: [PATCH] use red hat for name --- doc/iscsi-iname.8 | 2 +- @@ -17,7 +17,7 @@ index 6a413f6..dd77ed9 100644 .TP .BI [-p=]\fIprefix\fP -Use the prefix passed in instead of the default "iqn.2016-04.com.open-iscsi" -+Use the prefix passed in instead of the default "iqn.2020-08.org.openanolis" ++Use the prefix passed in instead of the default "iqn.1994-05.com.redhat" .SH AUTHORS Open-iSCSI project @@ -30,7 +30,7 @@ index 0f587e1..0e15650 100644 } } else { - prefix = "iqn.2016-04.com.open-iscsi"; -+ prefix = "iqn.2020-08.org.openanolis"; ++ prefix = "iqn.1994-05.com.redhat"; } /* try to feed some entropy from the pool to MD5 in order to get diff --git a/dist b/dist new file mode 100644 index 0000000000000000000000000000000000000000..5aa45c5bf3f5e5b781981aec176b4910ac39baaf --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8_8 diff --git a/download b/download new file mode 100644 index 0000000000000000000000000000000000000000..cc322711466b871b6e2fd0a98c5594f540a4c2c6 --- /dev/null +++ b/download @@ -0,0 +1 @@ +30eef14b34f0dc5f7888803f31f1d805 open-iscsi-095f59c.tar.gz diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index 4fe8a2de00569a5f723e17091c5c3ca4cfa4e019..d34e36aea66d1fd873fb91e18165a51048b5c2d6 100644 --- a/iscsi-initiator-utils.spec +++ b/iscsi-initiator-utils.spec @@ -1,4 +1,3 @@ -%define anolis_release .0.1 %global open_iscsi_version 2.1 %global open_iscsi_build 4 %global commit0 095f59ca464220eae285de6b5f2ee31185a6a84c @@ -14,7 +13,7 @@ Summary: iSCSI daemon and utility programs Name: iscsi-initiator-utils Version: 6.%{open_iscsi_version}.%{open_iscsi_build} -Release: 4.git%{shortcommit0}%{anolis_release}%{?dist} +Release: 8.git%{shortcommit0}%{?dist} Group: System Environment/Daemons License: GPLv2+ URL: http://www.open-iscsi.org @@ -28,7 +27,7 @@ Patch0003: 0003-idbm_rec_write-seperate-old-and-new-style-writes.patch Patch0004: 0004-idbw_rec_write-pick-tpgt-from-existing-record.patch Patch0005: 0005-update-initscripts-and-docs.patch Patch0006: 0006-use-var-for-config.patch -Patch0007: 0007-use-anolis-for-name.patch +Patch0007: 0007-use-red-hat-for-name.patch Patch0008: 0008-libiscsi.patch Patch0009: 0009-Add-macros-to-release-GIL-lock.patch Patch0010: 0010-libiscsi-introduce-sessions-API.patch @@ -365,8 +364,17 @@ fi %{python3_sitearch}/* %changelog -* Thu Jan 13 2022 lihaipeng - 6.2.1.4-4.git095f59c.0.1 -- Use anolis for iqn name +* Thu Jun 15 2023 Chris Leech - 6.2.1.4-8.git095f59c +- fix gating test + +* Thu Jun 15 2023 Chris Leech - 6.2.1.4-7.git095f59c +- move tests to tmt framework + +* Tue Jun 13 2023 Chris Leech - 6.2.1.4-6.git095f59c +- restore missing gating tests + +* Wed Jun 07 2023 Chris Leech - 6.2.1.4-5.git095f59c +- 2131090 fix idbm patch to not overwrite upstream changes in file mode * Mon Aug 09 2021 Chris Leech - 6.2.1.4-4.git095f59c - 1755907 set proper attr in rpm db for lockfiles, fixes rpm verificiation warning diff --git a/open-iscsi-095f59c.tar.gz b/open-iscsi-095f59c.tar.gz deleted file mode 100644 index d7153e08b0ae9eabf5d7cd9fcff96a6294cdc7fc..0000000000000000000000000000000000000000 Binary files a/open-iscsi-095f59c.tar.gz and /dev/null differ