Compare commits
No commits in common. "f4f8e46bcd6a30f008feef39dec139b5011fcd5c" and "c8s" have entirely different histories.
f4f8e46bcd
...
c8s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
sgpio-1.2-0.10-src.tar.gz
|
/sgpio-1.2-0.10-src.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
dc5f0343a3e54ca91a97ecc100011196a0a7cfb7 sgpio-1.2-0.10-src.tar.gz
|
|
4
ci.fmf
Normal file
4
ci.fmf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
script: sgpio -h
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
11
sgpio-1.2-buffer-overflow.patch
Normal file
11
sgpio-1.2-buffer-overflow.patch
Normal file
@ -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 */
|
42
sgpio.spec
42
sgpio.spec
@ -1,16 +1,16 @@
|
|||||||
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: 30%{?dist}
|
Release: 23%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
Group: System Environment/Base
|
||||||
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
|
||||||
# there is no official download link for the latest package
|
# there is no official download link for the latest package
|
||||||
#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
|
||||||
BuildRequires: make
|
Patch2: sgpio-1.2-buffer-overflow.patch
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,15 +21,16 @@ 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
|
||||||
#@@@ workaround for #474755 - remove with next update
|
#@@@ workaround for #474755 - remove with next update
|
||||||
make clean
|
make clean
|
||||||
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README
|
%doc README
|
||||||
@ -37,34 +38,11 @@ make clean
|
|||||||
%{_mandir}/man1/sgpio.*
|
%{_mandir}/man1/sgpio.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0.10-30
|
* Fri Oct 27 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1.2.0.10-23
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- rebuild for updated gating.yaml
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0.10-29
|
* Mon Oct 09 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1.2.0.10-22
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- fix buffer overflow with high port numbers (RHEL-11034)
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-28
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Aug 24 2020 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-27
|
|
||||||
- Use make macros
|
|
||||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-26
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-25
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-24
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-23
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.10-22
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Feb 26 2018 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-21
|
* Mon Feb 26 2018 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-21
|
||||||
- use distribution LDFLAGS during build (#1548559)
|
- use distribution LDFLAGS during build (#1548559)
|
||||||
|
Loading…
Reference in New Issue
Block a user