summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/iscsi-initiator-utils
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.10 -> 2.1.11Wang Mingyu2025-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============== - iscsid: Rate limit session reopen log messages - Preparing for version 2.1.10 - Fix bug where abort_tmo read failures were ignored. - Fix gcc issues - Change a discovery function to void return type - Fix firmware targets startup to always be "onboot" - More testing cleanup, and fix dprint test usage - Improve iscsiadm command line parsing messages - grammar nitpicks - Bugfix read specific sysfs value "off" of session attribute - Fix a typo in test/README - Make it visible when memory allocation failure - improve the comments in idbm_lock() - iscsid: Fix hang during login with scan=manual - Fix memory leak in iscsi_check_session_use_count - IPv6 support for iBFT iSCSI boot - fix 4 issues which are finded when building with clang 17 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.8 -> 2.1.10Wang Mingyu2024-06-071-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-6/+6
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.7 -> 2.1.8Wang Mingyu2023-02-163-33/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch removed since it's included in 2.1.8. 0001-Makefile-Do-not-set-Werror.patch refreshed for 2.1.8 Changelog: =========== make: avoid hard-coding path to sed (#357) etc: install system unit with without executable bit (#354) Add ability for MGMT IPC to check UID only Use config for iscsistart and iscsiadm fw login iscsiuio: Use pthread_t for INVALID_THREAD (#363) Add a 'distclean' Makefile top-level target Cleanup fwparam makefile (#360) Small bug fixes (#364) Use meson as the main build system (#365) libopeniscsiusr: cleanup recent reallocarray->realloc change (#369) Added examples in man file for iscsiadm session commands. iscsid: fix logout pdu send failure handling Update README's error handler/timeout section iscsiuio: fix LDADD libopeniscsiusr: use realloc instead of reallocarray (#368) iscsiadm: enable specify iface name-value parameters when creating iface Fix a possible passing null pointer in usr/iface.c (#356) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Avoid hardcoding sed to /usr/bin/sedKhem Raj2022-08-301-0/+1
| | | | | | | This ensures that it can use the sed provided by build environment, as we poison host sysroots, we wont be able to get it from /usr/bin anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Upgrade to 2.1.7Khem Raj2022-08-303-8/+34
| | | | | | Fix build on musl by using proper typecast for pthread_t Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.5 -> 2.1.6Wang Mingyu2022-02-222-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch removed since it's included in 2.1.6. Changelog: ========= This release adds more bug fixes and cleanups. No major functionality changes. libopeniscsiusr: extend sysfs ignore_error to include EINVAL Fix compiler error introduced with recent IPv6 commit. Remove dependences from iscsi-init.service Use "sbindir" for path in systemd service files Updated README a bit Finish ability to have binary location configurable. Fix iscsi-init so that it runs when root writable remove redundant params in Makefile Fixing last parts of sbindir configuration Cosmetic cleanup on recent addition Update the iscsi-gen-initiatorname script: harden and generalize change iscsi-gen-initiatorname option -b => -p Add man page for the iscsi-gen-initiatorname script. Install new man page for iscsi-gen-initiatorname Fix issues discovered by gcc12 Fix more issues discovered by gcc12 iscsi sysfs: check state before onlining devs iscsistart: fix login timeout handling iscsid: use infinite timeout if passed in iscsid: add error code for req timeouts Improve 'iscsid.conf' iscsiadm: Call log_init() first to fix a segmentation fault iscsi_err: Add iscsid request timed out error messages Fix wrong install_systemd destination path actor: add name to struct actor and init it with function name actor: print thread name in log actor: enhanced: print error log when init a initilized thread initiator_common: make set operational parameter log easy to read iscsid: Check session id before start sync a thread Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.4. -> 2.1.5Yi Zhao2022-01-182-1/+45
| | | | | | | Backport a patch to fix the build error. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.3 -> 2.1.4zangrc2021-03-181-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.1.2 -> 2.1.3zangrc2020-12-242-50/+1
| | | | | | | | 0001-libopeniscsiusr-Compare-with-max-int-instead-of-max-.patch Removed since this is included in 2.1.3 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Silence a clang warning on 64bit systemsKhem Raj2020-10-212-0/+49
| | | | | | This unbreaks the build with clang as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Upgrade to _2.1.2Khem Raj2020-08-132-6/+34
| | | | | | Fix build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.0.878 -> 2.1.0Wang Mingyu2020-02-271-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: upgrade 2.0.877 -> 2.0.878Zheng Ruoqin2019-11-014-299/+5
| | | | | | | | | | | | | | 1) Upgrade iscsi-initiator-utils from 2.0.877 to 2.0.878. 2) Remove patches have been merged in 2.0.878. 0001-Fix-i586-build-issues-with-string-length-overflow.patch 0001-Make-iscsid-systemd-usage-optional.patch 0001-Use-pkg-config-in-Makefiles-for-newer-libraries.patch 3) Fix DEPENDS and EXTRA_OECONF for systemd as in new version systemd is default on. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Inherit pkgconfig and override PKG_CONFIGKhem Raj2019-09-031-1/+2
| | | | | | | | | | | | | | PKG_CONFIG is hardcoded to /usr/bin/pkg-config which is not cross compile safe and ends up with build errors especially on hosts where pkgconf is used it ends up with errors like /usr/bin/pkg-config: line 11: exec: pkgconf: not found /usr/bin/pkg-config: line 11: exec: pkgconf: not found Override it to use own native pkg-config which can deal with sysroot correctly Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: 2.0.876 -> 2.0.877Changqing Li2019-09-023-3/+187
| | | | | | | License-Update: Update GPLv2 License information Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Fix 32bit build issues with Werror=format-truncationMingli Yu2019-03-222-0/+116
| | | | | | | | | | Backport a patch to fix 32bit build issues with string length overflow as below: | idbm.c:679:27: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Werror=format-truncation=] | snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Update to latestKhem Raj2018-06-183-66/+1
| | | | | | | Remove patches for gcc8 issues which are now fixed upstream but differently Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Update to latest masterKhem Raj2018-06-019-195/+75
| | | | | | | - Fix build with gcc8 and musl - Drop already upstreamed patched Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iscsi-initiator-utils: Upgrade to 2.0.876Khem Raj2018-04-0416-557/+191
| | | | | | | | Fix build with musl along the way Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: CVE-2017-17840Zhixiong Chi2018-02-048-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | Backport CVE patches from the github upstream: https://github.com/open-iscsi/open-iscsi commit as follows: e313bd648a4c8a9526421e270eb597a5de1e0c7f b9c33683bdc0aed28ffe31c3f3d50bf5cdf519ea be58eed849f5457bb49b79e94aa6a26971ba6deb 5504053cc08df38d8d85032fa1691e363dfcfb92 85f647c4300a888bb6cbc27f33138549cab617e3 a7a96131bd2ea342f6def0e46be514baf8037ae8 59ede2cf4eee8729a4221000a5d1ecdd312a31ac https://nvd.nist.gov/vuln/detail/CVE-2017-17840 A local attacker can cause the iscsiuio server to abort or potentially execute code by sending messages with incorrect lengths, which (due to lack of checking) can lead to buffer overflows, and result in aborts (with overflow checking enabled) or code execution. The process_iscsid_broadcast function in iscsiuio/src/unix/iscsid_ipc.c does not validate the payload length before a write operation Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: remove the distro_features_checkJackie Huang2018-01-081-3/+1
| | | | | | | | | open-isns supports both systemd and sysvinit now, so remove the distro_features_check. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: check file existence before movingJackie Huang2018-01-081-1/+3
| | | | | | | | | | Check the file existence before moving to avoid the error: | mv: cannot stat /<build_dir>/git/utils/fwparam_ibft/prom_lex.l: | No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: do not regenerate prom_lex.cJoe Slater2017-06-281-0/+2
| | | | | | | | | | | prom_lex.c is provided in source. If we try to remake it from prom_lex.l, we will not find "lex" since it is not in recipe-sysroot-native. If we do manage to provide lex, the new source will not compile. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: Update to 2.0.874Joe MacDonald2016-12-145-298/+128
| | | | | | | | | | | | | | | | The latest iscsi-initiator-utils has been available for a while now, update our recipe. The new version no longer bundles its own ISNS server, so this update brings in open-isns as a dependency. As open-isns depends on systemd, add systemd to REQUIRED_DISTRO_FEATURES Additionally, open-iscsi.org is defunct, the new home is at open-iscsi.com, update the SRC_URI and homepage accordingly. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: fix postinstall and systemd service fileQi.Chen@windriver.com2016-11-143-16/+24
| | | | | | | | | Fix postinstall and systemd service file so that the postinstall script does not fail at rootfs time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: fix the iscsid path in iscsid.confRoy Li2015-01-261-0/+2
| | | | | | | | iscsid is installed into ${sbindir}, which is /usr/sbin, not /sbin/, so fix it in /etc/iscsi/iscsid.conf Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* iscsi-initiator-utils: add recipe fileRoy Li2014-09-268-0/+524
The package provides the server daemon for the iSCSI protocol, as well as the utility programs used to manage it. iSCSI is a protocol for distributed disk access using SCSI commands sent over Internet Protocol networks Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>