import ledmon-0.95-6.el9
This commit is contained in:
commit
4048bcc569
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/ledmon-0.95.tar.gz
|
1
.ledmon.metadata
Normal file
1
.ledmon.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
c59fe133cc7be60ed652465fc5ec514563a81229 SOURCES/ledmon-0.95.tar.gz
|
26
SOURCES/ledmon_format-truncation-flag.patch
Normal file
26
SOURCES/ledmon_format-truncation-flag.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From a82b0e4080254e68eb70a338f8f6f7e6a6dbc581 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Macku <jamacku@redhat.com>
|
||||||
|
Date: Tue, 2 Feb 2021 11:08:20 +0100
|
||||||
|
Subject: [PATCH] ledmon_format-truncation-flag
|
||||||
|
|
||||||
|
suggested by kdudka
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 8fd5e6b..b80e2b0 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -22,7 +22,7 @@ AM_CPPFLAGS='-D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_
|
||||||
|
AC_DEFUN([AX_AM_CFLAGS_ADD],[AX_CHECK_COMPILE_FLAG($1, AM_CFLAGS="$AM_CFLAGS $1")])
|
||||||
|
AX_AM_CFLAGS_ADD([-Wformat -Werror=format-security])
|
||||||
|
AX_AM_CFLAGS_ADD([-Werror=format-overflow=2])
|
||||||
|
-AX_AM_CFLAGS_ADD([-Werror=format-truncation=1])
|
||||||
|
+dnl AX_AM_CFLAGS_ADD([-Werror=format-truncation=1])
|
||||||
|
AX_AM_CFLAGS_ADD([-Werror=shift-negative-value])
|
||||||
|
AX_AM_CFLAGS_ADD([-Werror=alloca])
|
||||||
|
AX_AM_CFLAGS_ADD([-Werror=missing-field-initializers])
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
189
SPECS/ledmon.spec
Normal file
189
SPECS/ledmon.spec
Normal file
@ -0,0 +1,189 @@
|
|||||||
|
Summary: Enclosure LED Utilities
|
||||||
|
Name: ledmon
|
||||||
|
Version: 0.95
|
||||||
|
Release: 6%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://github.com/intel/ledmon
|
||||||
|
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: ledmon_format-truncation-flag.patch
|
||||||
|
|
||||||
|
BuildRequires: sg3_utils-devel
|
||||||
|
BuildRequires: pciutils-devel
|
||||||
|
BuildRequires: autoconf automake
|
||||||
|
BuildRequires: gcc make
|
||||||
|
# Needed for the udev dependency.
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
Obsoletes: ledctl = 0.1-1
|
||||||
|
Provides: ledctl = %{version}-%{release}
|
||||||
|
Requires: sg3_utils-libs
|
||||||
|
|
||||||
|
%description
|
||||||
|
The ledmon and ledctl are user space applications design to control LED
|
||||||
|
associated with each slot in an enclosure or a drive bay. There are two
|
||||||
|
types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
|
||||||
|
(Activity LED, Locate LED, Fail LED). User must have root privileges to
|
||||||
|
use this application.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
# remove -Werror=format-truncation=1 in order to build package
|
||||||
|
%patch0 -p1
|
||||||
|
autoreconf -fiv
|
||||||
|
|
||||||
|
%build
|
||||||
|
sh autogen.sh
|
||||||
|
%configure --enable-systemd=yes
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md COPYING
|
||||||
|
%{_sbindir}/ledctl
|
||||||
|
%{_sbindir}/ledmon
|
||||||
|
%{_mandir}/*/*
|
||||||
|
%{_unitdir}/ledmon.service
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.95-6
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu May 27 2021 Tomas Bzatek <tbzatek@redhat.com> - 0.95-5
|
||||||
|
- Rebuilt for sg3_utils 1.47 (#1955156)
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.95-4
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Mon Feb 22 2021 Jan Macku <jamacku@redhat.com> - 0.95-3
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
|
* Tue Feb 02 2021 Jan Macku <jamacku@redhat.com> - 0.95-2
|
||||||
|
- drop perl dependency
|
||||||
|
|
||||||
|
* Tue Feb 02 2021 Jan Macku <jamacku@redhat.com> - 0.95-1
|
||||||
|
- clean up spec based on RHEL 8.4.0 spec
|
||||||
|
- remove -Werror=format-truncation=1 from configure
|
||||||
|
- update to 0.95 (#1880599)
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 20 2020 Dan Horák <dan@danny.cz> - 0.92-4
|
||||||
|
- rebuilt for sg3_utils 1.45 (#1809392)
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 15 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-1
|
||||||
|
- update to 0.92 (#1699783)
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.90-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 7 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-3
|
||||||
|
- fix manpage generation (#1611428)
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.90-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 14 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-1
|
||||||
|
- update to 0.90 (#1555099)
|
||||||
|
|
||||||
|
* Mon Feb 26 2018 Jan Synáček <jsynacek@redhat.com> - 0.80-6
|
||||||
|
- use distribution LDFLAGS during build (#1548551)
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 6 2016 Jan Synáček <jsynacek@redhat.com> - 0.80-1
|
||||||
|
- Update to 0.80 (#1401924)
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.79-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 28 2013 Michal Sekletar <msekleta@redhat.com> - 0.79-1
|
||||||
|
- update to 0.79
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 03 2013 Michal Sekletar <msekleta@redhat.com> - 0.78-1
|
||||||
|
- Update to 0.78
|
||||||
|
|
||||||
|
* Fri Apr 19 2013 Jan Synáček <jsynacek@redhat.com> - 0.77-1
|
||||||
|
- Update to 0.77
|
||||||
|
- Documentation enhancements
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 07 2013 Jan Synáček <jsynacek@redhat.com> - 0.75-1
|
||||||
|
- Update to 0.75 and drop upstreamed patch
|
||||||
|
|
||||||
|
* Thu Nov 15 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-3
|
||||||
|
- Some coverity fixes
|
||||||
|
|
||||||
|
* Fri Oct 19 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-2
|
||||||
|
- Require sg3_utils-libs
|
||||||
|
|
||||||
|
* Mon Aug 13 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-1
|
||||||
|
- Update to 0.74
|
||||||
|
- Resolves: #847072
|
||||||
|
|
||||||
|
* Tue Aug 07 2012 Jan Synáček <jsynacek@redhat.com> - 0.72-1
|
||||||
|
- Update to 0.72 and update patch
|
||||||
|
- Resolves: #846018
|
||||||
|
|
||||||
|
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
|
||||||
|
- Update to 0.40
|
||||||
|
- Resolves: #838086
|
||||||
|
- Make spec fedora-review friendly
|
||||||
|
|
||||||
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 05 2012 Jan Synáček <jsynacek@redhat.com> - 0.32-1
|
||||||
|
- Update to 0.32
|
||||||
|
|
||||||
|
* Fri Feb 10 2012 Jan Synáček <jsynacek@redhat.com> - 0.31-1
|
||||||
|
- Update to 0.31
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 14 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-2
|
||||||
|
- renamed to ledmon, because ledctl is taken
|
||||||
|
|
||||||
|
* Fri Jan 07 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-1
|
||||||
|
- initial release
|
Loading…
Reference in New Issue
Block a user