Sync from SUSE:SLFO:Main fcoe-utils revision 9a73dd788ea8ba8110ba40d4e16fb9ba
This commit is contained in:
commit
23ca094ce8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/openSUSE/fcoe-utils.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">fcoe-utils</param>
|
||||
<param name="versionformat">1.0.34</param>
|
||||
<param name="revision">v1.0.34</param>
|
||||
<param name="exclude">.git</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">fcoe-utils</param>
|
||||
</service>
|
||||
</services>
|
BIN
fcoe-utils-1.0.34.tar.xz
(Stored with Git LFS)
Normal file
BIN
fcoe-utils-1.0.34.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
37
fcoe-utils-Fix-GCC-12-warning.patch
Normal file
37
fcoe-utils-Fix-GCC-12-warning.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From f6401524e1be537a78b24aef686968e2b9af7493 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Liska <mliska@suse.cz>
|
||||
Date: Thu, 27 Jan 2022 14:36:01 +0100
|
||||
Subject: [PATCH] Fix GCC 12 warning.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Fixes:
|
||||
inlined from ‘show_full_lun_info’ at fcoeadm_display.c:310:2:
|
||||
/usr/include/bits/stdio2.h:112:10: error: ‘osname’ may be used uninitialized [-Werror=maybe-uninitialized]
|
||||
112 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
fcoeadm_display.c: In function ‘show_full_lun_info’:
|
||||
fcoeadm_display.c:249:15: note: ‘osname’ was declared here
|
||||
249 | char *osname;
|
||||
| ^~~~~~
|
||||
---
|
||||
fcoeadm_display.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/fcoeadm_display.c b/fcoeadm_display.c
|
||||
index c2ef33b82cfa..3a18138eefd8 100644
|
||||
--- a/fcoeadm_display.c
|
||||
+++ b/fcoeadm_display.c
|
||||
@@ -246,7 +246,7 @@ static void show_full_lun_info(unsigned int hba, unsigned int port,
|
||||
char vendor[256];
|
||||
char model[256];
|
||||
char rev[256];
|
||||
- char *osname;
|
||||
+ char *osname = NULL;
|
||||
char *capstr;
|
||||
uint64_t lba = 0;
|
||||
uint32_t blksize = 0;
|
||||
--
|
||||
2.26.2
|
||||
|
596
fcoe-utils.changes
Normal file
596
fcoe-utils.changes
Normal file
@ -0,0 +1,596 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 19:28:40 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Added upstream commit to fix gcc12 warning/errors:
|
||||
* fcoe-utils-Fix-GCC-12-warning.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 12:11:45 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Drop ProtectClock hardening, can cause issues if other device acceess is needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 08:23:41 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||
* harden_fcoe.service.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 17:09:14 UTC 2021 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Update to version 1.0.34 (fixing bsc#1182804), which replaces the
|
||||
source tarball, and removes these two patches, which are fixed
|
||||
upstream:
|
||||
* Handle-NIC-names-longer-than-7-characters.patch
|
||||
* fcoe-utils-fix-arm.patch
|
||||
|
||||
Change summary:
|
||||
Chris Leech (6):
|
||||
21 string-op truncation, format truncation, and format overflow errors
|
||||
use of uninitialized values detected during LTO
|
||||
Revert "Make gcc compiler happy about ifname string truncation."
|
||||
fix VLAN device name overflow check
|
||||
fix regressions caused by safe_makepath change in libopenfcoe.c
|
||||
minor fcoeadm output issues
|
||||
|
||||
Guillaume Gardet (1):
|
||||
char can be unsigned on arm, so set signed explicitly as the check expects it can be negative
|
||||
|
||||
Lee Duncan (6):
|
||||
Handle NIC names longer than 7 characters.
|
||||
Change debug->log message if daemon running
|
||||
Remove references to open-fcoe.org
|
||||
Fix two gcc-11 compiler warnings.
|
||||
Remove comment that doesn't match code.
|
||||
Preparing for version v1.0.34
|
||||
|
||||
Lily Nie (1):
|
||||
fix one bug introduced by commit b06c3df
|
||||
|
||||
Nitin U. Yewale (1):
|
||||
Exit fcoemon command if fcoemon daemon is already running.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 09:49:22 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add patch to fix build on architectures where char is
|
||||
unsigned (%arm, aarch64):
|
||||
* fcoe-utils-fix-arm.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 17:24:06 UTC 2020 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Handle NIC names longer than 7 characters for the output of
|
||||
"fcoeadm -s" output (bsc#1010047), adding patch:
|
||||
* Handle-NIC-names-longer-than-7-characters.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 15:57:49 UTC 2020 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Updated with latest upstream v1.0.33 from v1.0.32:
|
||||
* Added "-Wextra" and enabled "-Werror" for compiling
|
||||
* Ignore auto-generated files
|
||||
* Update systemd service files (several updates)
|
||||
* A bunch of gcc-10-related fixes, such as marking unused
|
||||
arguments, fixing strncpy()s, string truncation/overflow
|
||||
* better error handling/retry for link issues (like EBUSY)
|
||||
* replace use of "ifconfig" with "ip" in debug scripts
|
||||
* fix long-standing issue with netlink buffer resizing
|
||||
* move bash completions to proper system directory
|
||||
This replaces fcoe-utils-v1.0.32.tar.xz with
|
||||
fcoe-utils-v1.0.33.tar.xz, and it does away with the
|
||||
following patches, since they are all fixed upstream:
|
||||
* 0003-systemctl-cannot-start-fcoemon.socket.patch
|
||||
* 0004-fcoemon-Correctly-handle-options-in-the-service-file.patch
|
||||
* 0005-fcoe.service-Add-foreground-to-prevent-fcoemon-to-be.patch
|
||||
* 0006-fipvlan-fixup-return-value-on-error.patch
|
||||
* 0008-Use-correct-socket-for-fcoemon.socket.patch
|
||||
* 0012-fcoemon-Retry-fcm_link_getlink-on-EBUSY.patch
|
||||
* fcoe-utils-1.0.29-make.patch
|
||||
* fcoe-utils-stop-using-ifconfig.patch
|
||||
And the following patch was removed because we can
|
||||
successfully compile with "-Werror" now:
|
||||
* 0009-disable-Werror-building.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 3 01:50:30 UTC 2020 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Change use of "ifconfig" to "ip", since ifconfig is no
|
||||
longer around (bsc#1073886), adding:
|
||||
* fcoe-utils-stop-using-ifconfig.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 11:23:07 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
|
||||
allow OBS to shortcut by using systemd-devel-mini.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 15:43:29 CET 2019 - kukuk@suse.de
|
||||
|
||||
- Use %license instead of %doc [bsc#1082318]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 09:10:32 UTC 2017 - jthumshirn@suse.com
|
||||
|
||||
- Disable Werror when building to work around a new GCC 7 warning. (bsc#1030244)
|
||||
+ 0009-disable-Werror-building.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 08:54:54 UTC 2017 - jthumshirn@suse.com
|
||||
|
||||
- Update to latest upstream release (FATE#320515)
|
||||
Remove the following upstreamed patches:
|
||||
0007-fipvlan-clean-up-state-machine-for-pfd_add.patch
|
||||
0009-fcoemon.c-Add-a-check-to-verify-if-dcbd-is-to-be-ini.patch
|
||||
0010-fcoemon-fixup-log_nlmsg_error.patch
|
||||
0011-fcoemon-Add-debugging-message-for-recv.patch
|
||||
0013-Fallback-to-default-MAC-address-for-FIP.patch
|
||||
0014-fcoeadm-target-segfault-with-other-fc-storage-present.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 07:49:10 UTC 2016 - jthumshirn@suse.com
|
||||
|
||||
- Fix fcoeadm-t crash when other FC storage is present (bsc#1006027)
|
||||
* 0014-fcoeadm-target-segfault-with-other-fc-storage-present.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 10:08:53 CEST 2016 - hare@suse.de
|
||||
|
||||
- fcoemon cannot start FIP responder (bsc#988887)
|
||||
* 0010-fcoemon-fixup-log_nlmsg_error.patch
|
||||
* 0011-fcoemon-Add-debugging-message-for-recv.patch
|
||||
* 0012-fcoemon-Retry-fcm_link_getlink-on-EBUSY.patch
|
||||
* 0013-Fallback-to-default-MAC-address-for-FIP.patch
|
||||
- Rediff patch
|
||||
* 0006-fipvlan-fixup-return-value-on-error.patch
|
||||
- Rename patch
|
||||
* old: 0009-fcoemon-c-add-a-check-to-verify-if-dcbd-is-to-be-initialized-else-do-not-try-to-connect-to-dcbd-lldpad.patch
|
||||
* new: 0009-fcoemon.c-Add-a-check-to-verify-if-dcbd-is-to-be-ini.patch
|
||||
- Fixup spec file to correctly refer to service_del_postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 21 07:59:59 UTC 2016 - jthumshirn@suse.com
|
||||
|
||||
- Don't activate DCB on adapters which do DCB in Hardware (bsc#985816)
|
||||
+ 0009-fcoemon-c-add-a-check-to-verify-if-dcbd-is-to-be-initialized-else-do-not-try-to-connect-to-dcbd-lldpad.patch
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 11:15:43 UTC 2016 - jthumshirn@suse.com
|
||||
|
||||
- Update to version 1.0.31 (FATE#320515)
|
||||
* Removed merged patches:
|
||||
+ 0001-fcoemon-Rework-daemonizing-and-error-handling.patch
|
||||
+ 0002-fcoemon-fix-IEEE-state-machine.patch
|
||||
+ 0009-fcoe-utils-Add-sysfs_hba-to-to-fcoemon_utils.patch
|
||||
+ 0010-fcoeadm-Use-internal-sysfs-based-hba-lib-for-informa.patch
|
||||
+ 0011-fcoeadm-Use-internal-sysfs-lib-to-display-target-and.patch
|
||||
+ 0012-fcoeadm-Use-internal-sysfs-lib-to-display-port-stati.patch
|
||||
+ 0013-fcoeadm-Get-rid-of-some-includes.patch
|
||||
+ 0014-fcoemon-Use-internal-sysfs_hba-library.patch
|
||||
+ 0015-libutil-remove-definition-of-sa_hex_format.patch
|
||||
+ 0016-fcping-Convert-fcping-to-internal-sysfs-based-implem.patch
|
||||
+ 0017-configure.ac-Remove-libHBAAPIv2-and-libhbalinux2.patch
|
||||
+ 0018-support-multiple-connections.patch
|
||||
+ 0019-fcoeadm_display-Fix-display-of-NPIV-ports.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 2 12:11:41 UTC 2015 - jthumshirn@suse.com
|
||||
|
||||
- Fix display of NPIV ports (bsc#951859)
|
||||
+ 0019-fcoeadm_display-Fix-display-of-NPIV-ports.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 16 07:49:37 UTC 2015 - jthumshirn@suse.com
|
||||
|
||||
- Fix erroneous memory free corruption (bsc#950696)
|
||||
+ 0019-fcping-fix-erroneous-memory-free.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 1 09:14:15 UTC 2015 - jthumshirn@suse.com
|
||||
|
||||
- Fix enumeration of FCoE connections (bsc#947587)
|
||||
+ 0018-support-multiple-connections.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 09:06:02 UTC 2015 - jthumshirn@suse.com
|
||||
|
||||
- Fix segmentation fault (bsc#941577)
|
||||
- Fix display of driver name and version (bsc#941566)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 10:32:41 UTC 2015 - jthumshirn@suse.com
|
||||
|
||||
- Replace libHBAAPI and libhbalinux by new internal implementation (FATE#319021)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 3 12:35:16 CEST 2015 - hare@suse.de
|
||||
|
||||
- Update to version 1.0.30 (FATE#318849)
|
||||
* Remove merged patches:
|
||||
+ 0001-man-Fix-small-typo-regarding-fcf-option.patch
|
||||
+ 0002-Don-t-call-AM_INIT_AUTOMAKE-twice.patch
|
||||
+ 0003-fipvlan-fails-on-powerpc.patch
|
||||
+ 0004-fipvlan-Only-shutdown-interfaces-if-no-vlans-are-cre.patch
|
||||
+ 0005-fipvlan-start-VLAN-interface-from-netlink-handler.patch
|
||||
+ 0006-fipvlan-Extract-create_missing_vlan-function-from-lo.patch
|
||||
+ 0007-fipvlan-create-VLANs-from-netlink-handler.patch
|
||||
+ 0008-fipvlan-Start-FCoE-from-netlink-handler.patch
|
||||
+ 0009-fipvlan-Update-wait-loop-to-wait-for-VLANs.patch
|
||||
+ 0010-fipvlan-Re-send-VLAN-discovery.patch
|
||||
+ 0011-fipvlan-update-manpage.patch
|
||||
+ 0012-fipvlan-Leave-link-up-if-requested.patch
|
||||
+ 0013-fipvlan-Update-manpage-to-reflect-correct-timeout.patch
|
||||
+ 0014-fipvlan-Do-not-shut-down-FCoE-connections-on-physica.patch
|
||||
+ 0015-fipvlan-break-out-of-receive-loop-on-error.patch
|
||||
+ 0016-fipvlan-handle-errors-from-fip-socket-creation.patch
|
||||
+ 0017-fipvlan-filter-interfaces-from-rtnl_getlink.patch
|
||||
+ 0018-Add-missing-DESTDIR-when-installing-bash-completion.patch
|
||||
+ 0019-Fix-build-with-Wl-as-needed.patch
|
||||
+ 0020-Fix-integer-formatting.patch
|
||||
+ 0021-fcnsq-Fixup-help-text.patch
|
||||
+ 0022-fcnsq-Fixup-64bit-integer-handling.patch
|
||||
+ 0023-fcoemon-add-systemd-service-file.patch
|
||||
+ 0024-fcoemon-systemd-socket-activation.patch
|
||||
+ 0025-doc-Update-QUICKSTART-INSTALL-docs-for-systemd-init-.patch
|
||||
+ 0026-FIPVLAN-Really-break-out-of-the-recv_loop-upon-fip_r.patch
|
||||
+ 0027-man-Fix-typo-in-fcoemon-documentation.patch
|
||||
+ 0032-fipvlan-Fix-crash-in-create_and_start_vlan.patch
|
||||
+ 0033-fipvlan-suppress-warning-interface-already-exists.patch
|
||||
+ 0034-fipvlan-do-not-crash-on-empty-MAC-address-in-lookup_.patch
|
||||
* Add new patches from upstream:
|
||||
+ 0001-fcoemon-Rework-daemonizing-and-error-handling.patch
|
||||
* Rename patches:
|
||||
+ 0002-fcoemon-fix-IEEE-state-machine.patch
|
||||
+ 0003-systemctl-cannot-start-fcoemon.socket.patch
|
||||
+ 0004-fcoemon-Correctly-handle-options-in-the-service-file.patch
|
||||
+ 0005-fcoe.service-Add-foreground-to-prevent-fcoemon-to-be.patch
|
||||
+ 0006-fipvlan-fixup-return-value-on-error.patch
|
||||
+ 0007-fipvlan-clean-up-state-machine-for-pfd_add.patch
|
||||
+ 0008-Use-correct-socket-for-fcoemon.socket.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 11:28:12 CEST 2014 - hare@suse.de
|
||||
|
||||
- Use correct socket name in fcoemon.socket (bnc#881205)
|
||||
* Add 0037-Use-correct-socket-for-fcoemon.socket.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 09:15:54 CEST 2014 - hare@suse.de
|
||||
|
||||
- Start fcoemon in foreground from service file (bnc#873269)
|
||||
* Add 0030-fcoe.service-Add-foreground-to-prevent-fcoemon-to-be.patch
|
||||
- Fixup IEEE state machine
|
||||
* Add 0031-fcoemon-Fix-IEEE-state-machine.patch
|
||||
- Fix fipvlan crash during booting (bnc#877275):
|
||||
* Add 0032-fipvlan-Fix-crash-in-create_and_start_vlan.patch
|
||||
* Add 0033-fipvlan-suppress-warning-interface-already-exists.patch
|
||||
* Add 0034-fipvlan-do-not-crash-on-empty-MAC-address-in-lookup_.patch
|
||||
- Fixup warning messages during booting:
|
||||
* Add 0035-fipvlan-fixup-return-value-on-error.patch
|
||||
* Add 0036-fipvlan-clean-up-state-machine-for-pfd_add.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 11 19:19:33 CEST 2014 - lchiquitto@suse.de
|
||||
|
||||
- Remove obsolete file fcoe.config from sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 11 15:08:04 CEST 2014 - hare@suse.de
|
||||
|
||||
- Replace patches with upstream version
|
||||
Remove: 0025-systemctl-cannot-start-fcoemon.socket.patch
|
||||
Add: 0028-systemctl-cannot-start-fcoemon.socket.patch
|
||||
- Pull in patches from upstream:
|
||||
* Really break out of recv_loop in fipvlan (bnc#870300)
|
||||
Add: 0026-FIPVLAN-Really-break-out-of-the-recv_loop-upon-fip_r.patch
|
||||
* Update documentation
|
||||
Add: 0025-doc-Update-QUICKSTART-INSTALL-docs-for-systemd-init-.patch
|
||||
Add: 0027-man-Fix-typo-in-fcoemon-documentation.patch
|
||||
- Add dependency on libhbalinux2 (bnc#873066)
|
||||
- Correctly handle options when invoking fcoemon (bnc#872732)
|
||||
Add: 0029-fcoemon-Correctly-handle-options-in-the-service-file.patch
|
||||
- Include bnx2fc to SUPPORTED_DRIVERS (bnc#872741)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 14:49:35 CET 2014 - hare@suse.de
|
||||
|
||||
- Fixup fcoemon.socket definitions (bnc#869392)
|
||||
* Add patch 0025-systemctl-cannot-start-fcoemon.socket.patch
|
||||
- Remove mkinitrd support
|
||||
- Remove duplicate configuration file (bnc#869109)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 11:25:09 CET 2014 - hare@suse.de
|
||||
|
||||
- Refresh patches with upstream version
|
||||
- Require open-lldp rpm (bnc#864387)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 12:54:33 CET 2013 - hare@suse.de
|
||||
|
||||
- Reshuffle patches for upstream integration:
|
||||
* Add patch 0018-Add-missing-DESTDIR-when-installing-bash-completion.patch
|
||||
* Add patch 0019-Fix-build-with-Wl-as-needed.patch
|
||||
* Add patch 0020-Fix-integer-formatting.patch
|
||||
* Add patch 0021-fcnsq-Fixup-help-text.patch
|
||||
* Add patch 0022-fcnsq-Fixup-64bit-integer-handling.patch
|
||||
- Add systemd integration patches:
|
||||
* Add patch 0023-fcoemon-add-systemd-service-file.patch
|
||||
* Add patch 0024-fcoemon-systemd-socket-activation.patch
|
||||
- Remove obsolete patch fcoe-utils-1.0.18-help.patch
|
||||
- Remove obsolete patch fcoe-utils-1.0.28-format-strings.patch
|
||||
- Remove obsolete patch fcoe-utils-1.0.28-systemd-doc.patch
|
||||
- Remove obsolete patch fcoe-utils-1.0.29-as-needed.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 09:11:57 CET 2013 - hare@suse.de
|
||||
|
||||
- Small fixes from upstream
|
||||
* Add patch 0001-man-Fix-small-typo-regarding-fcf-option.patch
|
||||
* Add patch 0002-Don-t-call-AM_INIT_AUTOMAKE-twice.patch
|
||||
- Include fipvlan update from upstream/SLES11 SP3
|
||||
* Add patch 0003-fipvlan-fails-on-powerpc.patch
|
||||
* Add patch 0004-fipvlan-Only-shutdown-interfaces-if-no-vlans-are-cre.patch
|
||||
* Add patch 0005-fipvlan-start-VLAN-interface-from-netlink-handler.patch
|
||||
* Add patch 0006-fipvlan-Extract-create_missing_vlan-function-from-lo.patch
|
||||
* Add patch 0007-fipvlan-create-VLANs-from-netlink-handler.patch
|
||||
* Add patch 0008-fipvlan-Start-FCoE-from-netlink-handler.patch
|
||||
* Add patch 0009-fipvlan-Update-wait-loop-to-wait-for-VLANs.patch
|
||||
* Add patch 0010-fipvlan-Re-send-VLAN-discovery.patch
|
||||
* Add patch 0011-fipvlan-update-manpage.patch
|
||||
* Add patch 0012-fipvlan-Leave-link-up-if-requested.patch
|
||||
* Add patch 0013-fipvlan-Update-manpage-to-reflect-correct-timeout.patch
|
||||
* Add patch 0014-fipvlan-Do-not-shut-down-FCoE-connections-on-physica.patch
|
||||
* Add patch 0015-fipvlan-break-out-of-receive-loop-on-error.patch
|
||||
* Add patch 0016-fipvlan-handle-errors-from-fip-socket-creation.patch
|
||||
* Add patch 0017-fipvlan-filter-interfaces-from-rtnl_getlink.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 15:22:26 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Redo the autotools patch to actually fix --as-needed build,
|
||||
should be upstreamed.
|
||||
- Adds patch: fcoe-utils-1.0.29-as-needed.patch
|
||||
- Removes patch: fcoe-utils-1.0.29-no-as-needed.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 15:16:52 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Fix Requires we have just device-mapper, used wrong pkg name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 13:34:08 CEST 2013 - hare@suse.de
|
||||
|
||||
- Disable --as-needed to fix build failures
|
||||
- Use %fillup for sysconfig file
|
||||
- Fixup build dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 14:04:35 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Bump to 1.0.29 removing all our suse stuff.
|
||||
* Still does not build, requires packaging of other deps they
|
||||
provide in git repo to clone.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 14:38:15 CEST 2013 - ohering@suse.de
|
||||
|
||||
- Remove usage of absolute paths in initrd
|
||||
- List all used binaries in programs tag
|
||||
- Use new emergency function, related to other bug (bnc#809812)
|
||||
- Remove unneeded mkdir in setup script, mkinitrd does it now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 13:08:21 UTC 2012 - puzel@suse.com
|
||||
|
||||
- fix build with automake-1.12
|
||||
- add: automake-1.12.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 16:25:04 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add automake as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 13:20:52 CEST 2010 - hare@suse.de
|
||||
|
||||
- Fix build on Factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 11:20:52 CEST 2010 - hare@suse.de
|
||||
|
||||
- Refresh patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 10:56:33 CEST 2010 - hare@suse.de
|
||||
|
||||
- Port from SLES11 SP1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 18:02:18 CEST 2010 - hare@suse.de
|
||||
|
||||
- Fix EMC SAN MAC issue (bnc#603964)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 14:12:43 CEST 2010 - hare@suse.de
|
||||
|
||||
- fixes no lun display issue due to wrong check for target role
|
||||
(bnc#599421)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 10:36:53 CEST 2010 - hare@suse.de
|
||||
|
||||
- Resync with open-fcoe for RC3 (bnc#594212)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 13:36:12 CET 2010 - hare@suse.de
|
||||
|
||||
- More fipvlan fixes for RC2 (bnc#590324)
|
||||
- Update mkinitrd script to actually boot the system (bnc#590868)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 23 14:12:30 CET 2010 - hare@suse.de
|
||||
|
||||
- Sync-up package with git tree for RC2 (bnc#590324)
|
||||
- Compile against lldpad (bnc#590487)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 15 13:50:54 CET 2010 - hare@suse.de
|
||||
|
||||
- Sync-up package with commit id
|
||||
9403c2aaac0b79d0d236ef9413cc88b7d6f7f04e (bnc#588150)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 11:59:25 CET 2010 - ro@suse.de
|
||||
|
||||
- finally fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 13 17:31:15 CET 2010 - ro@suse.de
|
||||
|
||||
- fix typo in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 5 10:47:03 CET 2010 - hare@suse.de
|
||||
|
||||
- Add option '-i' to fipvlan (bnc#585045)
|
||||
- Add setup script /sbin/fcoe-setup (bnc#585045)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 15:25:30 CET 2010 - hare@suse.de
|
||||
|
||||
- Fixup mkinitrd scripts (bnc#570643)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 12:12:58 CET 2010 - hare@suse.de
|
||||
|
||||
- Sync-up package with git tree (bnc#581550)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 08:56:46 CET 2010 - hare@suse.de
|
||||
|
||||
- Sync-up package with git commit id
|
||||
3f25915a92c308c5db352a7fe24092350498f179 (bnc#572686)
|
||||
- fcoemon uses memcpy when copying path name (bnc#572893)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 14:23:54 CET 2010 - hare@suse.de
|
||||
|
||||
- Reverse mkinitrd script naming (bnc#570643)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 13:11:25 CET 2010 - hare@suse.de
|
||||
|
||||
- Sync-up package for git tree (bnc#569508)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 14:09:42 CET 2009 - hare@suse.de
|
||||
|
||||
- Add commands to issue create,destroy,reset from fcoeadm
|
||||
through fcoemon (bnc#557495)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 4 12:15:21 CET 2009 - hare@suse.de
|
||||
|
||||
- Update utilities with latest bugfixes (bnc#557495)
|
||||
- Requires dcbd and libhbalinux2 for correct operation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 00:59:42 CET 2009 - ro@suse.de
|
||||
|
||||
- change buildreq to dcbd to fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 16 14:00:57 CET 2009 - hare@suse.de
|
||||
|
||||
- Update to version 1.0.8 (FATE#306854)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 09:36:28 CET 2009 - mcihar@suse.cz
|
||||
|
||||
- added mkinitrd support for booting FCoE (FATE#307444)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 11:27:04 CET 2009 - sf@suse.de
|
||||
|
||||
- added Quickstart.SLES (bnc #478582)
|
||||
to document SLES specifics
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 11 10:49:19 CET 2009 - sf@suse.de
|
||||
|
||||
- corrected open-fcoe-bug-473116-fix-library-path.diff
|
||||
wrong library in /etc/hba.conf (bnc #473116)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 9 14:56:21 CET 2009 - sf@suse.de
|
||||
|
||||
- add bug-473627_0001-fcoemon-service-fcoe-status-display-is-incorrect.patch
|
||||
(bnc #473627)
|
||||
- add bug-473628_0002-fcoeadm-Incorrectly-checking-return-value-of-strstr.patch
|
||||
(bnc #473628)
|
||||
- add open-fcoe-bug-473116-fix-library-path.diff
|
||||
(bnc #473116)
|
||||
- add bug-473630_0003-fcoemon-Incorrectly-calling-SA_LOG_ERR.patch
|
||||
(bnc #473630)
|
||||
- add bug-473127_0004-fcoemon-dcbd-starts-after-fcoe-starts-fcoemon-will.patch
|
||||
(bnc #473127)
|
||||
- add bug-473631_0005-fcoemon-Put-back-the-FCD_SEND_CONF-state.patch
|
||||
(bnc #473631)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 24 17:11:37 CET 2009 - sf@suse.de
|
||||
|
||||
- rediffed open-fcoe-update-1.0.4.diff
|
||||
- rediffed open-fcoe-multi-arch.diff
|
||||
due to not matching later patches:
|
||||
- open-fcoe-update-1.0.6.diff
|
||||
(bnc #459142)
|
||||
- 0001-fcoemon-Ensure-pfc-advertise-on-and-pg-advertise-of.patch
|
||||
(bnc #468457)
|
||||
- 0002-fcoemon-Remove-the-FCD_SEND_CONF-state.patch
|
||||
(bnc # 468459)
|
||||
- 0003-fcoemon-Verify-link-flow-control-if-DCB-is-not-requ.patch
|
||||
(bnc #468463)
|
||||
- 0004-fcoemon-Don-t-check-errors-when-modprobe-fcoe.patch
|
||||
(bnc #468466)
|
||||
- 0005-fcoemon-Fix-errors-in-configure_dcb_interface-of.patch
|
||||
(bnc # 468467)
|
||||
- 0006-fcoemon-GET_PFC_CONFIG-command-is-not-issued-when-s.patch
|
||||
(bnc #468468)
|
||||
- open-fcoe-fixes.diff
|
||||
(bnc #465598)
|
||||
- open-fcoe-config.diff
|
||||
move device configuration from Makefile to initscript
|
||||
- open-fcoe-multi-arch2.diff
|
||||
remove arch-check from Makefile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 12 17:34:04 CET 2009 - sf@suse.de
|
||||
|
||||
- fixes for initscript (bnc #460021) and
|
||||
configuration paths (bnc #460022)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 1 17:53:17 CET 2008 - sf@suse.de
|
||||
|
||||
- update to 10.4 (bnc #438954)
|
||||
- new patch from Intel
|
||||
- Makefile fixes
|
||||
- removed unneeded files from tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 17:30:11 CET 2008 - sf@suse.de
|
||||
|
||||
- new version 1.0.3 (bnc #438954)
|
||||
- add working tools
|
||||
- add required libraries
|
||||
- add hbaapi
|
||||
- add required headers from dcbd
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 24 10:09:35 CEST 2008 - hare@suse.de
|
||||
|
||||
- Initial package (FATE#303914)
|
||||
|
103
fcoe-utils.spec
Normal file
103
fcoe-utils.spec
Normal file
@ -0,0 +1,103 @@
|
||||
#
|
||||
# spec file for package fcoe-utils
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: fcoe-utils
|
||||
URL: https://github.com/openSUSE/fcoe-utils
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libpciaccess-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: open-lldp-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
PreReq: %fillup_prereq
|
||||
Requires: device-mapper
|
||||
Requires: iproute
|
||||
Requires: open-lldp
|
||||
Requires: pkgconfig(systemd)
|
||||
%systemd_ordering
|
||||
Version: 1.0.34
|
||||
Release: 0
|
||||
Summary: FCoE userspace management tools
|
||||
License: GPL-2.0-only
|
||||
Group: System/Daemons
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: harden_fcoe.service.patch
|
||||
Patch1: %{name}-Fix-GCC-12-warning.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
Userspace tools to manage FibreChannel over Ethernet (FCoE)
|
||||
connections.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -vi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# old init script
|
||||
rm -rf %{buildroot}/etc/init.d
|
||||
|
||||
# unitfile
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfcoe
|
||||
|
||||
# contrib files
|
||||
mkdir -p %{buildroot}%{_libexecdir}/fcoe
|
||||
for file in \
|
||||
contrib/*.sh \
|
||||
debug/*sh
|
||||
do install -m 755 ${file} %{buildroot}%{_libexecdir}/fcoe/
|
||||
done
|
||||
|
||||
%pre
|
||||
%service_add_pre fcoe.service fcoemon.socket
|
||||
|
||||
%post
|
||||
%service_add_post fcoe.service fcoemon.socket
|
||||
%fillup_only -n fcoe
|
||||
|
||||
%preun
|
||||
%service_del_preun fcoe.service fcoemon.socket
|
||||
|
||||
%postun
|
||||
%service_del_postun fcoe.service fcoemon.socket
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license COPYING
|
||||
%doc README QUICKSTART
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/man8/*
|
||||
%{_unitdir}/fcoe.service
|
||||
%{_unitdir}/fcoemon.socket
|
||||
%{_sysconfdir}/fcoe/
|
||||
%config(noreplace) %{_sysconfdir}/fcoe/config
|
||||
%config(noreplace) %{_sysconfdir}/fcoe/cfg-ethx
|
||||
%{_datadir}/bash-completion/completions/
|
||||
%{_libexecdir}/fcoe/
|
||||
|
||||
%changelog
|
20
harden_fcoe.service.patch
Normal file
20
harden_fcoe.service.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
||||
===================================================================
|
||||
--- fcoe-utils-1.0.34.orig/etc/systemd/fcoe.service
|
||||
+++ fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
||||
@@ -3,6 +3,15 @@ Description=Open-FCoE initiator daemon
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectSystem=full
|
||||
+ProtectHome=true
|
||||
+ProtectHostname=true
|
||||
+ProtectKernelLogs=true
|
||||
+ProtectControlGroups=true
|
||||
+RestrictRealtime=true
|
||||
+# end of automatic additions
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/fcoe/config
|
||||
ExecStartPre=/sbin/modprobe -qa $SUPPORTED_DRIVERS
|
Loading…
Reference in New Issue
Block a user