Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
c49d08cfa1 |
3
_service
3
_service
@@ -1,3 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="download_files" mode="manual"/>
|
|
||||||
</services>
|
|
BIN
ledmon-0.97.tar.gz
(Stored with Git LFS)
Normal file
BIN
ledmon-0.97.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
ledmon-1.1.0.tar.gz
(Stored with Git LFS)
BIN
ledmon-1.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,64 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Nov 11 03:33:30 UTC 2024 - Nicholas Yang <nicholas.yang@suse.com>
|
|
||||||
|
|
||||||
- Update to version 1.1.0:
|
|
||||||
|
|
||||||
Enhancements
|
|
||||||
|
|
||||||
Various enhancements in tests, licensing and deployment
|
|
||||||
Add --default-controller command to ledctl
|
|
||||||
|
|
||||||
Bug fixes
|
|
||||||
|
|
||||||
ledctl: add error message for missing devices
|
|
||||||
ledctl: fix musl build failure by replacing on_exit() by atexit()
|
|
||||||
Improve error handling for unsupported patters by falling back to normal
|
|
||||||
Fix incorrect conversion of large integer values
|
|
||||||
Fix compilation warnings
|
|
||||||
Fix incorrect array index usage for block device and SES slot lookup
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 16 07:01:36 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
|
|
||||||
- Re-arrange spec files block to be in line with all other openSUSE
|
|
||||||
spec files.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue May 14 10:09:04 UTC 2024 - Nicholas Yang <nicholas.yang@suse.com>
|
|
||||||
|
|
||||||
- Enable building libled.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Mar 28 04:28:18 UTC 2024 - Nicholas Yang <nicholas.yang@suse.com>
|
|
||||||
|
|
||||||
- Update to version 1.0.0:
|
|
||||||
|
|
||||||
Enhancements
|
|
||||||
|
|
||||||
lib: introduce library (not enabled in this build)
|
|
||||||
tests: migrate tests to pytest
|
|
||||||
Introduce "make check" option
|
|
||||||
Allow disabling documentation installation
|
|
||||||
Add minimal Nvme subsystem support
|
|
||||||
Allow choosing output format from get-slot
|
|
||||||
Rework handling --help option
|
|
||||||
Update manual
|
|
||||||
|
|
||||||
Bug fixes
|
|
||||||
|
|
||||||
Fix log severity, messages and level detection
|
|
||||||
Ledctl: skip slot state check for set locate_off
|
|
||||||
ci: Compile with tests and library enabled
|
|
||||||
configure.ac: build library when "--enbable-test"
|
|
||||||
Allow setting multiple LEDs per slot on SES
|
|
||||||
Prevent compiler from optimizing out security checks
|
|
||||||
Fix compilation warnings
|
|
||||||
Add compiler defenses flags
|
|
||||||
Add support for clang compiler
|
|
||||||
utils.c: remove duplicated "-c" short parameter
|
|
||||||
Remove parsing ALLOWLIST and EXCLUDELIST using regex
|
|
||||||
ledctl: Fix exit ledctl with test flag
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 18 03:50:57 UTC 2023 - Nicholas Yang <nicholas.yang@suse.com>
|
Thu May 18 03:50:57 UTC 2023 - Nicholas Yang <nicholas.yang@suse.com>
|
||||||
|
|
||||||
|
49
ledmon.spec
49
ledmon.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ledmon
|
# spec file for package ledmon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,20 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ledmon
|
Name: ledmon
|
||||||
Version: 1.1.0
|
Version: 0.97
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Enclosure LED Utilities
|
Summary: Enclosure LED Utilities
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only AND LGPL-2.1-or-later
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
URL: https://github.com/intel/ledmon/
|
URL: https://github.com/intel/ledmon/
|
||||||
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: harden_ledmon.service.patch
|
Patch0: harden_ledmon.service.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: autoconf-archive
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: check-devel
|
|
||||||
BuildRequires: libsgutils-devel
|
BuildRequires: libsgutils-devel
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: pkgconfig(libpci)
|
BuildRequires: pkgconfig(libpci)
|
||||||
@@ -45,24 +42,6 @@ The ledctl application and ledmon daemon are part of Intel(R) LED
|
|||||||
ControlUtilities. They help to enable LED management for software RAID
|
ControlUtilities. They help to enable LED management for software RAID
|
||||||
solutions.
|
solutions.
|
||||||
|
|
||||||
%package -n libled1
|
|
||||||
Summary: Enclosure LED Control Library
|
|
||||||
License: LGPL-2.1-or-later
|
|
||||||
|
|
||||||
%description -n libled1
|
|
||||||
libled enable enclosure LED control for applications.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Document and Include Files for Enclosure LED Control Library
|
|
||||||
License: LGPL-2.1-or-later
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libled1 = %{version}-%{release}
|
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
This package contains the files that are necessary for software development
|
|
||||||
using libled.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@@ -70,8 +49,7 @@ using libled.
|
|||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--enable-systemd=yes \
|
--enable-systemd=yes
|
||||||
--enable-library=yes
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -79,8 +57,6 @@ autoreconf -fiv
|
|||||||
ln -sv %{_sbindir}/service \
|
ln -sv %{_sbindir}/service \
|
||||||
%{buildroot}%{_sbindir}/rc%{name}
|
%{buildroot}%{_sbindir}/rc%{name}
|
||||||
rm %{buildroot}%{_datarootdir}/doc/ledmon/README.md
|
rm %{buildroot}%{_datarootdir}/doc/ledmon/README.md
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{name}.service
|
%service_add_pre %{name}.service
|
||||||
@@ -94,10 +70,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libled1
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING COPYING.LIB
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_sbindir}/ledmon
|
%{_sbindir}/ledmon
|
||||||
%{_sbindir}/ledctl
|
%{_sbindir}/ledctl
|
||||||
@@ -107,17 +81,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_mandir}/man8/ledctl.8%{?ext_man}
|
%{_mandir}/man8/ledctl.8%{?ext_man}
|
||||||
%{_mandir}/man8/ledmon.8%{?ext_man}
|
%{_mandir}/man8/ledmon.8%{?ext_man}
|
||||||
|
|
||||||
%files -n libled1
|
|
||||||
%license COPYING.LIB
|
|
||||||
%{_libdir}/libled.so.1
|
|
||||||
%{_libdir}/libled.so.1.*
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license COPYING.LIB
|
|
||||||
%doc src/lib/LIBRARY.md
|
|
||||||
%dir %{_includedir}/led/
|
|
||||||
%{_includedir}/led/libled.h
|
|
||||||
%{_libdir}/libled.so
|
|
||||||
%{_libdir}/pkgconfig/ledmon.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user