krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone
9fadc0
Name:			rasdaemon
9fadc0
Version:		0.6.7
660989
Release:		8%{?dist}
9fadc0
Summary:		Utility to receive RAS error tracings
9fadc0
License:		GPLv2
9fadc0
URL:			http://git.infradead.org/users/mchehab/rasdaemon.git
9fadc0
Source0:		http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2
9fadc0
Patch0: labels.patch
9fadc0
Patch1: fcdffdcb28ece67ed78e3575a3dce45d9dd4f015.patch
9fadc0
Patch2: f7cdd720297cd17e405a7170c04df89d1d9536f8.patch
9fadc0
Patch3: 2b37a26dcec389723f75d69d3da9c2f15f6c317d.patch
9fadc0
Patch4: dda7d95bcbbb95e0db557a7a9325ee9815ab4e9b.patch
9fadc0
Patch5: 738bafafdcb2e8b0ced32fff31b13754d571090b.patch
9fadc0
Patch6: 1ff5f3d2a0fcd48add9462567c30fe0e14585fb4.patch
9fadc0
Patch7: 9acef39f13833f7d53ef96abc5a72e79384260f4.patch
9fadc0
Patch8: 28ea956acc2dab7c18b4701f9657afb9ab3ddc79.patch
9fadc0
Patch9: aecf33aa70331670c06db6b652712b476e24051c.patch
9fadc0
Patch10: 7937f0d6c2aaaed096f3a3d306416743c0dcb7a4.patch
9fadc0
Patch11: ec443ec0add059fa897f844349e1a2345d81713c.patch
9fadc0
Patch12: 9a5baed97b21af31064d9995ffcfaac0e9d7983e.patch
9fadc0
Patch13: b4402d36e1b42fb7b0d8ddccc83463a6e622dbc4.patch
9fadc0
Patch14: 50565005b10fe909c66f1c90f2feb95712427c7d.patch
9fadc0
Patch15: fc1dd37d422fc907416afd028514fff59b63ae12.patch
9fadc0
Patch16: 6bc43db1b6b3d73805179c21d1dd5521e8dc0f74.patch
9fadc0
Patch17: 2b6a54b0d31e02e657171fd27f4e31d996756bc6.patch
9fadc0
Patch18: 7ccf12f5ae26a055926d175d908c7930293438c4.patch
660989
Patch19: 9415b7449c70f5ea4a0209ddb89c2f5f392d3b4b.patch
660989
Patch20: d0e0bb3d73c4bc5060da20270a089857bba2a64c.patch
9fadc0
9fadc0
ExcludeArch:		s390 s390x
9fadc0
BuildRequires:		make
9fadc0
BuildRequires:		gcc
9fadc0
BuildRequires:		gettext-devel
9fadc0
BuildRequires:		perl-generators
9fadc0
BuildRequires:		sqlite-devel
9fadc0
BuildRequires:		systemd
9fadc0
BuildRequires:		autoconf
9fadc0
BuildRequires:		automake
9fadc0
BuildRequires:		libtool
9fadc0
Provides:		bundled(kernel-event-lib)
9fadc0
Requires:		hwdata
9fadc0
Requires:		perl-DBD-SQLite
9fadc0
%ifarch %{ix86} x86_64
9fadc0
Requires:		dmidecode
9fadc0
%endif
9fadc0
9fadc0
Requires(post):		systemd
9fadc0
Requires(preun):	systemd
9fadc0
Requires(postun):	systemd
9fadc0
9fadc0
%description
9fadc0
%{name} is a RAS (Reliability, Availability and Serviceability) logging tool.
9fadc0
It currently records memory errors, using the EDAC tracing events.
9fadc0
EDAC is drivers in the Linux kernel that handle detection of ECC errors
9fadc0
from memory controllers for most chipsets on i386 and x86_64 architectures.
9fadc0
EDAC drivers for other architectures like arm also exists.
9fadc0
This userspace component consists of an init script which makes sure
9fadc0
EDAC drivers and DIMM labels are loaded at system startup, as well as
9fadc0
an utility for reporting current error counts from the EDAC sysfs files.
9fadc0
9fadc0
%prep
9fadc0
%setup -q
9fadc0
%patch0 -p1
9fadc0
%patch1 -p1
9fadc0
%patch2 -p1
9fadc0
%patch3 -p1
9fadc0
%patch4 -p1
9fadc0
%patch5 -p1
9fadc0
%patch6 -p1
9fadc0
%patch7 -p1
9fadc0
%patch8 -p1
9fadc0
%patch9 -p1
9fadc0
%patch10 -p1
9fadc0
%patch11 -p1
9fadc0
%patch12 -p1
9fadc0
%patch13 -p1
9fadc0
%patch14 -p1
9fadc0
%patch15 -p1
9fadc0
%patch16 -p1
9fadc0
%patch17 -p1
9fadc0
%patch18 -p1
660989
%patch19 -p1
660989
%patch20 -p1
9fadc0
9fadc0
# The tarball is locked in time the first time aclocal was ran and will keep
9fadc0
# requiring an older version of automake
9fadc0
autoreconf -vfi
9fadc0
9fadc0
%build
9fadc0
%ifarch %{arm} aarch64
9fadc0
%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-non-standard --enable-arm --enable-hisi-ns-decode
9fadc0
%else
9fadc0
%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report
9fadc0
%endif
9fadc0
make %{?_smp_mflags}
9fadc0
9fadc0
%install
9fadc0
make install DESTDIR=%{buildroot}
9fadc0
install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service
9fadc0
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
9fadc0
rm INSTALL %{buildroot}/usr/include/*.h
9fadc0
mkdir -p %{buildroot}/%{_sharedstatedir}/rasdaemon
9fadc0
install -d -p -m 0755 %{buildroot}/%{_sharedstatedir}/rasdaemon
9fadc0
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig
9fadc0
install -D -p -m 0644 misc/rasdaemon.env %{buildroot}/%{_sysconfdir}/sysconfig/rasdaemon
9fadc0
sed -i "s/^PAGE_CE_ACTION=.*/PAGE_CE_ACTION=account/" %{buildroot}/%{_sysconfdir}/sysconfig/rasdaemon
9fadc0
9fadc0
%files
9fadc0
%doc AUTHORS ChangeLog COPYING README TODO
9fadc0
%{_sbindir}/rasdaemon
9fadc0
%{_sbindir}/ras-mc-ctl
9fadc0
%{_mandir}/*/*
9fadc0
%{_unitdir}/*.service
9fadc0
%{_sharedstatedir}/rasdaemon
9fadc0
%{_sysconfdir}/ras/dimm_labels.d
9fadc0
%{_sysconfdir}/sysconfig/rasdaemon
9fadc0
9fadc0
%changelog
660989
* Tue May 03 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-8
660989
- Update ras-mc-ctl manpage to match current options [2079132]
660989
660989
* Mon May 02 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-7
660989
- Fix issue printing memory module sizes [2080596]
660989
660989
* Thu Mar 31 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-6
660989
- Merging 2065729 fixes into 9.1 branch [2067499]
660989
9fadc0
* Thu Mar 24 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-5
9fadc0
- Trying to guess what's going on on the testing side [2065729]
9fadc0
9fadc0
* Thu Mar 24 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-4
9fadc0
- Adding simple test to stop being gated [2065729]
9fadc0
9fadc0
* Thu Mar 24 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-3
9fadc0
- Adding gating.yaml [2065729]
9fadc0
9fadc0
* Fri Mar 18 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-2
9fadc0
- Adding missing rasdaemon environment configuration to /etc/sysconfig/rasdaemon [2065729]
9fadc0
9fadc0
* Tue Feb 08 2022 Aristeu Rozanski <aris@redhat.com> 0.6.7-1
9fadc0
- Bumped to 0.6.7
9fadc0
- Backported patches that sit on top of 0.6.7 without being released
9fadc0
  Related: rhbz#2052190
9fadc0
9fadc0
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.4-6
9fadc0
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9fadc0
  Related: rhbz#1991688
9fadc0
9fadc0
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.4-5
9fadc0
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9fadc0
9fadc0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9fadc0
9fadc0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9fadc0
9fadc0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9fadc0
9fadc0
9fadc0
* Thu Oct 10 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>  0.6.4-1
9fadc0
- Bump to version 0.6.4 with some DB changes for hip08 and some fixes
9fadc0
9fadc0
* Fri Aug 23 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>  0.6.3-1
9fadc0
- Bump to version 0.6.3 with new ARM events, plus disk I/O and netlink support
9fadc0
9fadc0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9fadc0
9fadc0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9fadc0
9fadc0
* Tue Aug 14 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>  0.6.2-1
9fadc0
- Bump to version 0.6.2 with improvements for PCIe AER parsing and at ras-mc-ctl tool
9fadc0
9fadc0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9fadc0
9fadc0
* Wed Apr 25 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>  0.6.1-1
9fadc0
- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels
9fadc0
9fadc0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9fadc0
9fadc0
* Sat Oct 14 2017 Mauro Carvalho Chehab <mchehab@osg.samsung.com>  0.6.0-1
9fadc0
- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels
9fadc0
9fadc0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-6
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9fadc0
9fadc0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-5
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9fadc0
9fadc0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-4
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9fadc0
9fadc0
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-3
9fadc0
- Add a virtual provide, per BZ#104132
9fadc0
9fadc0
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-2
9fadc0
- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD
9fadc0
9fadc0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9fadc0
9fadc0
* Fri Jul 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.6-1
9fadc0
- Bump to version 0.5.6 with support for LMCE and some fixes
9fadc0
9fadc0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9fadc0
9fadc0
* Wed Jun 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.5-1
9fadc0
- Bump to version 0.5.5 with support for newer Intel platforms & some fixes
9fadc0
9fadc0
* Tue Sep 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.4-3
9fadc0
- aarch64/ppc64 have edac capabilities
9fadc0
- spec cleanups
9fadc0
- No need to run autoreconf
9fadc0
9fadc0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9fadc0
9fadc0
* Fri Aug 15 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.4-1
9fadc0
- Bump to version 0.5.4 with some fixes, mainly for amd64
9fadc0
9fadc0
* Sun Aug 10 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.3-1
9fadc0
- Bump to version 0.5.3 and enable ABRT and ExtLog
9fadc0
9fadc0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9fadc0
9fadc0
* Thu Apr 03 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.2-1
9fadc0
- fix and enable ABRT report support
9fadc0
9fadc0
* Fri Mar 28 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.1-1
9fadc0
- Do some fixes at the service files and add some documentation for --record
9fadc0
9fadc0
* Sun Feb 16 2014  Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.0-1
9fadc0
- Add experimental ABRT support
9fadc0
9fadc0
* Tue Sep 10 2013 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.4.2-1
9fadc0
- Fix ras-mc-ctl layout filling
9fadc0
9fadc0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
9fadc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9fadc0
9fadc0
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.4.1-4
9fadc0
- Perl 5.18 rebuild
9fadc0
9fadc0
* Sun Jun  2 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.1-3
9fadc0
- ARM has EDMA drivers (currently supported in Calxeda highbank)
9fadc0
9fadc0
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-2
9fadc0
- Fix the name of perl-DBD-SQLite package
9fadc0
9fadc0
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-1
9fadc0
- Updated to version 0.4.1 with contains some bug fixes
9fadc0
9fadc0
* Tue May 28 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.0-1
9fadc0
- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage
9fadc0
9fadc0
* Mon May 20 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.3.0-1
9fadc0
- Package created
9fadc0