Compare commits
4 Commits
f4f8e46bcd
...
64e4000eef
Author | SHA1 | Date |
---|---|---|
|
64e4000eef | |
|
a05a068785 | |
|
1269038087 | |
|
db6d75e905 |
|
@ -0,0 +1 @@
|
||||||
|
1
|
|
@ -0,0 +1 @@
|
||||||
|
dc5f0343a3e54ca91a97ecc100011196a0a7cfb7 sgpio-1.2-0.10-src.tar.gz
|
|
@ -0,0 +1,4 @@
|
||||||
|
summary: Basic smoke test
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
script: sgpio -h
|
|
@ -0,0 +1,6 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- sgpio/sgpio.c
|
||||||
|
+++ sgpio/sgpio.c
|
||||||
|
@@ -126,7 +126,7 @@
|
||||||
|
int id;
|
||||||
|
int host_port;
|
||||||
|
int init;
|
||||||
|
- char name[7];
|
||||||
|
+ char name[5 /* prefix */ + 10 /* port number */ + 1 /* terminator */];
|
||||||
|
};
|
||||||
|
|
||||||
|
/* structure for the disks associated with the led structure */
|
11
sgpio.spec
11
sgpio.spec
|
@ -1,7 +1,7 @@
|
||||||
Summary: SGPIO captive backplane tool
|
Summary: SGPIO captive backplane tool
|
||||||
Name: sgpio
|
Name: sgpio
|
||||||
Version: 1.2.0.10
|
Version: 1.2.0.10
|
||||||
Release: 29%{?dist}
|
Release: 31%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
|
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
|
||||||
Source: sgpio-1.2-0.10-src.tar.gz
|
Source: sgpio-1.2-0.10-src.tar.gz
|
||||||
|
@ -9,6 +9,7 @@ Source: sgpio-1.2-0.10-src.tar.gz
|
||||||
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
|
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
|
||||||
Patch0: sgpio-1.2-makefile.patch
|
Patch0: sgpio-1.2-makefile.patch
|
||||||
Patch1: sgpio-1.2-coverity.patch
|
Patch1: sgpio-1.2-coverity.patch
|
||||||
|
Patch2: sgpio-1.2-buffer-overflow.patch
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
|
@ -21,6 +22,7 @@ Intel SGPIO enclosure management utility
|
||||||
dos2unix --keepdate Makefile README
|
dos2unix --keepdate Makefile README
|
||||||
%patch0 -p1 -b .makefile
|
%patch0 -p1 -b .makefile
|
||||||
%patch1 -p1 -b .coverity
|
%patch1 -p1 -b .coverity
|
||||||
|
%patch2 -p1 -b .buffer-overflow
|
||||||
chmod a-x *
|
chmod a-x *
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -37,6 +39,13 @@ make clean
|
||||||
%{_mandir}/man1/sgpio.*
|
%{_mandir}/man1/sgpio.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 23 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1.2.0.10-31
|
||||||
|
- fix buffer overflow with high port numbers (RHEL-14440)
|
||||||
|
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0.10-30
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0.10-29
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0.10-29
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue