|
|
6190b96 |
# defining macros needed by SELinux
|
|
|
6190b96 |
%global with_selinux 1
|
|
|
6190b96 |
%global selinuxtype targeted
|
|
|
6190b96 |
%global moduletype contrib
|
|
|
6190b96 |
%global modulename smartmon
|
|
|
6190b96 |
|
|
|
c4cbeb9 |
Summary: Tools for monitoring SMART capable hard disks
|
|
|
c842d3d |
Name: smartmontools
|
|
|
281094f |
Version: 7.2
|
|
|
9c44875 |
Release: 10%{?dist}
|
|
|
1dbcbdf |
Epoch: 1
|
|
|
7d9c446 |
License: GPLv2+
|
|
|
c4cbeb9 |
URL: http://smartmontools.sourceforge.net/
|
|
|
4275379 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
e97b2bc |
Source2: smartmontools.sysconf
|
|
|
89df140 |
Source4: smartdnotify
|
|
|
46a8b6a |
#semi-automatic update of drivedb.h
|
|
|
c3ac655 |
%global UrlSource5 https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw
|
|
|
46a8b6a |
Source5: drivedb.h
|
|
|
0d3bf34 |
Source6: %{modulename}.te
|
|
|
0d3bf34 |
Source7: %{modulename}.if
|
|
|
0d3bf34 |
Source8: %{modulename}.fc
|
|
|
ca8096a |
Source9: %{modulename}.te.f33
|
|
|
f988122 |
|
|
|
2576b79 |
#fedora/rhel specific
|
|
|
7fa6ab9 |
Patch1: smartmontools-5.38-defaultconf.patch
|
|
|
ca8096a |
Patch2: smartmontools-7.2-capnotify.patch
|
|
|
2576b79 |
|
|
|
00ec0b4 |
BuildRequires: make
|
|
|
3c528c4 |
BuildRequires: gcc-c++ readline-devel ncurses-devel automake util-linux groff gettext
|
|
|
0c4121f |
BuildRequires: libselinux-devel libcap-ng-devel
|
|
|
e3f61f6 |
BuildRequires: systemd systemd-devel
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
# This ensures that the *-selinux package and all it’s dependencies are not pulled
|
|
|
6190b96 |
# into containers and other systems that do not use SELinux
|
|
|
6190b96 |
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
|
|
|
6190b96 |
%endif
|
|
|
93c1823 |
|
|
|
93c1823 |
%description
|
|
|
c842d3d |
The smartmontools package contains two utility programs (smartctl
|
|
|
c842d3d |
and smartd) to control and monitor storage systems using the Self-
|
|
|
c842d3d |
Monitoring, Analysis and Reporting Technology System (SMART) built
|
|
|
e97b2bc |
into most modern ATA and SCSI hard disks. In many cases, these
|
|
|
c842d3d |
utilities will provide advanced warning of disk degradation and
|
|
|
c842d3d |
failure.
|
|
|
93c1823 |
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
%package selinux
|
|
|
6190b96 |
Summary: SELinux policies for smartmontools
|
|
|
6190b96 |
BuildArch: noarch
|
|
|
6190b96 |
Requires: selinux-policy-%{selinuxtype}
|
|
|
6190b96 |
Requires(post): selinux-policy-%{selinuxtype}
|
|
|
6190b96 |
BuildRequires: selinux-policy-devel
|
|
|
6190b96 |
%{?selinux_requires}
|
|
|
6190b96 |
|
|
|
6190b96 |
%description selinux
|
|
|
6190b96 |
Custom SELinux policy module for smartmontools
|
|
|
6190b96 |
%endif
|
|
|
6190b96 |
|
|
|
93c1823 |
%prep
|
|
|
4275379 |
%setup -q
|
|
|
7fa6ab9 |
%patch1 -p1 -b .defaultconf
|
|
Michal Hlavinka |
bbab595 |
%patch2 -p1 -b .capnotify
|
|
|
46a8b6a |
cp %{SOURCE5} .
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
mkdir selinux
|
|
|
ca8096a |
cp -p %{SOURCE7} %{SOURCE8} selinux/
|
|
|
ca8096a |
%if %{?fedora}0 > 330
|
|
|
ca8096a |
cp -p %{SOURCE6} selinux/
|
|
|
ca8096a |
%else
|
|
|
ca8096a |
cp -p %{SOURCE9} selinux/smartmon.te
|
|
|
ca8096a |
%endif
|
|
|
ca8096a |
|
|
|
6190b96 |
%endif
|
|
|
6eabefc |
|
|
|
93c1823 |
%build
|
|
|
2576b79 |
autoreconf -i
|
|
Daniel Axelrod |
946c324 |
%configure --with-selinux --with-libcap-ng=yes --with-libsystemd --with-systemdsystemunitdir=%{_unitdir} --sysconfdir=%{_sysconfdir}/%{name}/ --with-systemdenvfile=%{_sysconfdir}/sysconfig/%{name}
|
|
|
4da015e |
|
|
|
4da015e |
# update SOURCE5 on maintainer's machine prior commiting, there's no internet connection on builders
|
|
|
4da015e |
%make_build update-smart-drivedb
|
|
|
4da015e |
./update-smart-drivedb -s - -u sf drivedb.h ||:
|
|
|
4da015e |
cp drivedb.h ../drivedb.h ||:
|
|
|
4da015e |
|
|
|
e3f61f6 |
%make_build CXXFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
|
|
034679d |
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
make -f %{_datadir}/selinux/devel/Makefile %{modulename}.pp
|
|
|
6190b96 |
bzip2 -9 %{modulename}.pp
|
|
|
6190b96 |
%endif
|
|
|
6190b96 |
|
|
|
6190b96 |
|
|
|
93c1823 |
%install
|
|
|
e3f61f6 |
%make_install
|
|
|
93c1823 |
|
|
|
c4cbeb9 |
rm -f examplescripts/Makefile*
|
|
|
0c4121f |
chmod a-x -R examplescripts/*
|
|
|
3a519f7 |
install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/smartmontools
|
|
|
f7585f9 |
install -D -p -m 755 %{SOURCE4} $RPM_BUILD_ROOT/%{_libexecdir}/%{name}/smartdnotify
|
|
|
abf48ae |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/smartd_warning.d
|
|
|
3a519f7 |
rm -rf $RPM_BUILD_ROOT/etc/{rc.d,init.d}
|
|
|
e3f61f6 |
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
e3f61f6 |
mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}
|
|
|
5cf0bc2 |
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
install -D -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
|
|
6190b96 |
%endif
|
|
|
6190b96 |
|
|
|
6190b96 |
%if 0%{?with_selinux}
|
|
|
6190b96 |
# SELinux contexts are saved so that only affected files can be
|
|
|
6190b96 |
# relabeled after the policy module installation
|
|
|
6190b96 |
%pre selinux
|
|
|
6190b96 |
%selinux_relabel_pre -s %{selinuxtype}
|
|
|
6190b96 |
|
|
|
6190b96 |
%post selinux
|
|
|
6190b96 |
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
|
|
6190b96 |
%selinux_relabel_post -s %{selinuxtype}
|
|
|
6190b96 |
|
|
|
6190b96 |
if [ "$1" -le "1" ]; then # First install
|
|
|
6190b96 |
# the daemon needs to be restarted for the custom label to be applied
|
|
|
6190b96 |
%systemd_postun_with_restart smartd.service
|
|
|
6190b96 |
fi
|
|
|
6190b96 |
|
|
|
6190b96 |
%postun selinux
|
|
|
6190b96 |
if [ $1 -eq 0 ]; then
|
|
|
6190b96 |
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
|
|
|
6190b96 |
%selinux_relabel_post -s %{selinuxtype}
|
|
|
6190b96 |
# the daemon needs to be restarted for the custom label to be removed
|
|
|
6190b96 |
%systemd_postun_with_restart smartd.service
|
|
|
6190b96 |
fi
|
|
|
6190b96 |
%endif
|
|
|
6190b96 |
|
|
|
93c1823 |
%preun
|
|
|
ed4f384 |
%systemd_preun smartd.service
|
|
|
93c1823 |
|
|
|
93c1823 |
%post
|
|
|
ed4f384 |
%systemd_post smartd.service
|
|
|
3a519f7 |
|
|
|
3a519f7 |
%postun
|
|
|
ed4f384 |
%systemd_postun_with_restart smartd.service
|
|
|
3a519f7 |
|
|
|
7dcc630 |
%files
|
|
|
e3f61f6 |
%doc AUTHORS ChangeLog INSTALL NEWS README
|
|
|
794db9b |
%doc TODO examplescripts smartd.conf
|
|
|
e3f61f6 |
%license COPYING
|
|
|
abf48ae |
%dir %{_sysconfdir}/%name
|
|
|
abf48ae |
%dir %{_sysconfdir}/%name/smartd_warning.d
|
|
|
abf48ae |
%config(noreplace) %{_sysconfdir}/%{name}/smartd.conf
|
|
|
abf48ae |
%config(noreplace) %{_sysconfdir}/%{name}/smartd_warning.sh
|
|
|
5cf0bc2 |
%config(noreplace) %{_sysconfdir}/sysconfig/smartmontools
|
|
|
426e8fa |
%{_unitdir}/smartd.service
|
|
|
7dcc630 |
%{_sbindir}/smartd
|
|
|
5cf0bc2 |
%{_sbindir}/update-smart-drivedb
|
|
|
7dcc630 |
%{_sbindir}/smartctl
|
|
|
7dcc630 |
%{_mandir}/man?/smart*.*
|
|
|
46a8b6a |
%{_mandir}/man?/update-smart*.*
|
|
|
f7585f9 |
%{_libexecdir}/%{name}
|
|
|
25de0a1 |
%{_datadir}/%{name}
|
|
|
075b9e5 |
%{_sharedstatedir}/%{name}
|
|
|
7dcc630 |
|
|
|
6190b96 |
%files selinux
|
|
|
6190b96 |
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
|
|
|
6190b96 |
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
|
|
6190b96 |
|
|
|
93c1823 |
%changelog
|
|
|
9c44875 |
* Mon Aug 23 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-10
|
|
|
9c44875 |
- more selinux fixes
|
|
|
9c44875 |
|
|
|
ca8096a |
* Mon Aug 16 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-9
|
|
|
ca8096a |
- selinux should allow access to nvme devices (#1990463)
|
|
|
ca8096a |
|
|
|
ca19d26 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2-8
|
|
|
ca19d26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ca19d26 |
|
|
Michal Hlavinka |
bbab595 |
* Wed Jun 16 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-7
|
|
Michal Hlavinka |
bbab595 |
- make notification work with capabilities (#1954015)
|
|
Michal Hlavinka |
bbab595 |
|
|
|
0d3bf34 |
* Wed Apr 28 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-6
|
|
|
0d3bf34 |
- simplify selinux policy path for ci tests
|
|
|
0d3bf34 |
|
|
|
6190b96 |
* Mon Apr 19 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-5
|
|
|
6190b96 |
- add selinux sub-package
|
|
|
6190b96 |
|
|
|
55805ae |
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:7.2-4
|
|
|
55805ae |
- Rebuilt for updated systemd-rpm-macros
|
|
|
55805ae |
See https://pagure.io/fesco/issue/2583.
|
|
|
55805ae |
|
|
|
e64e145 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.2-3
|
|
|
e64e145 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
e64e145 |
|
|
|
4da015e |
* Mon Jan 25 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-2
|
|
|
4da015e |
- make sure correct version of drivedb.h is used (#1918946)
|
|
|
4da015e |
|
|
|
7816eed |
* Mon Jan 18 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.2-1
|
|
|
281094f |
- smartmontools updated to 7.2
|
|
|
281094f |
|
|
|
23bfa1a |
* Mon Jan 18 2021 Michal Hlavinka <mhlavink@redhat.com> - 1:7.1-10
|
|
|
42fb214 |
- use capabilites by default
|
|
|
42fb214 |
|
|
|
b166070 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.1-9
|
|
|
b166070 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b166070 |
|
|
|
b54c862 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.1-8
|
|
|
b54c862 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b54c862 |
|
|
|
527524b |
* Mon Jan 06 2020 Michal Hlavinka <mhlavink@redhat.com> - 1:7.1-7
|
|
|
527524b |
- smartmontools updated to 7.1
|
|
|
527524b |
|
|
|
976710b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.0-7
|
|
|
976710b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
976710b |
|
|
Daniel Axelrod |
946c324 |
* Fri Apr 12 2019 Daniel Axelrod <daxelrod@datto.com> - 1:7.0-6
|
|
Daniel Axelrod |
946c324 |
- Remove unused patches
|
|
Daniel Axelrod |
946c324 |
- Drop pre script for migrating from unsupported Fedora versions
|
|
Daniel Axelrod |
946c324 |
- Replace sed with configure switch
|
|
Daniel Axelrod |
946c324 |
|
|
|
f7585f9 |
* Wed Apr 03 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:7.0-5
|
|
|
f7585f9 |
- revert smartd_warning related changes
|
|
|
f7585f9 |
|
|
|
7e6329f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.0-4
|
|
|
7e6329f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7e6329f |
|
|
|
2abb760 |
* Thu Jan 03 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:7.0-3
|
|
|
2abb760 |
- update default config
|
|
|
2abb760 |
|
|
|
e3f61f6 |
* Thu Jan 03 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:7.0-2
|
|
|
e3f61f6 |
- use smartd_warning plugin to notify users (bug #1647534)
|
|
|
e3f61f6 |
- spec cleanup
|
|
|
e3f61f6 |
|
|
|
545fa21 |
* Thu Jan 03 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:7.0-1
|
|
|
545fa21 |
- smartmontools updated to 7.0
|
|
|
545fa21 |
|
|
|
4b08d49 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.6-5
|
|
|
4b08d49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4b08d49 |
|
|
|
3c528c4 |
* Wed Mar 07 2018 Michal Hlavinka <mhlavink@redhat.com> - 1:6.6-4
|
|
|
3c528c4 |
- add gcc-c++ buildrequire
|
|
|
3c528c4 |
|
|
|
9b78936 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.6-3
|
|
|
9b78936 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9b78936 |
|
|
|
f5df484 |
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:6.6-2
|
|
|
f5df484 |
- Remove old crufty coreutils requires
|
|
|
f5df484 |
|
|
|
09d0351 |
* Mon Nov 06 2017 Michal Hlavinka <mhlavink@redhat.com> - 1:6.6-1
|
|
|
09d0351 |
- smartmontools updated to 6.6
|
|
|
09d0351 |
|
|
|
1eab905 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.5-5
|
|
|
1eab905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
1eab905 |
|
|
|
4d513d7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.5-4
|
|
|
4d513d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4d513d7 |
|
|
|
b771fe2 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.5-3
|
|
|
b771fe2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b771fe2 |
|
|
|
075b9e5 |
* Fri Nov 11 2016 Michal Hlavinka <mhlavink@redhat.com> - 1:6.5-2
|
|
|
075b9e5 |
- enable location for persistence data(#1291928)
|
|
|
075b9e5 |
|
|
|
c3ac655 |
* Mon May 09 2016 Michal Hlavinka <mhlavink@redhat.com> - 1:6.5-1
|
|
|
c3ac655 |
- smartmontools updated to 6.5
|
|
|
c3ac655 |
|
|
|
5f50479 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.4-4
|
|
|
5f50479 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5f50479 |
|
|
|
137f443 |
* Tue Jun 23 2015 Michal Hlavinka <mhlavink@redhat.com> - 1:6.4-3
|
|
|
137f443 |
- it is no longer necessary to do utf-8 conversion of the AUTHORS and ChangeLog (#1228825)
|
|
|
137f443 |
|
|
|
d152e56 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:6.4-2
|
|
|
d152e56 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d152e56 |
|
|
|
794db9b |
* Fri Jun 05 2015 Michal Hlavinka <mhlavink@redhat.com> - 1:6.4-1
|
|
|
794db9b |
- smartmontools updated to 6.4
|
|
|
794db9b |
|
|
|
1935f2e |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:6.3-4
|
|
|
1935f2e |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
1935f2e |
|
|
|
cae4c42 |
* Wed Jan 14 2015 Michal Hlavinka <mhlavink@redhat.com> - 1:6.3-3
|
|
|
cae4c42 |
- do not require sendmail
|
|
|
cae4c42 |
|
|
|
d738a92 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:6.3-2
|
|
|
d738a92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d738a92 |
|
|
|
46a8b6a |
* Mon Aug 04 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.3-1
|
|
|
46a8b6a |
- smartmontools updated to 6.3
|
|
|
46a8b6a |
|
|
|
ca6bc9d |
* Thu Jul 17 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-7
|
|
|
ca6bc9d |
- update drivedb database (#954162)
|
|
|
ca6bc9d |
|
|
|
d6d9203 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:6.2-6
|
|
|
d6d9203 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d6d9203 |
|
|
|
e358b58 |
* Thu Apr 17 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-5
|
|
|
e358b58 |
- require /usr/sbin/sendmail as MTA is not provided by all packages (#1048618)
|
|
|
e358b58 |
|
|
|
f03a271 |
* Tue Apr 15 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-4
|
|
|
f03a271 |
- use MTA instead of sendmail as a requirement (#1048614)
|
|
|
f03a271 |
|
|
|
50b0625 |
* Thu Apr 10 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-3
|
|
|
50b0625 |
- add mail requires (#1048614)
|
|
|
50b0625 |
|
|
|
034679d |
* Mon Sep 16 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-2
|
|
|
034679d |
- smartd service file wrong path to environment file (#998225)
|
|
|
034679d |
|
|
|
a53bb42 |
* Tue Jul 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-1
|
|
|
a53bb42 |
- smartmontools updated to 6.2
|
|
|
a53bb42 |
|
|
|
89df140 |
* Mon Jul 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:6.1-2
|
|
|
89df140 |
- spec cleanup
|
|
|
89df140 |
|
|
|
abf48ae |
* Wed Mar 20 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:6.1-1
|
|
|
abf48ae |
- smartmontools updated to 6.1
|
|
|
abf48ae |
|
|
|
c8779cd |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:6.0-2
|
|
|
c8779cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c8779cd |
|
|
|
ce1b451 |
* Thu Oct 11 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:6.0-1
|
|
|
ce1b451 |
- smartmontools updated to 6.0
|
|
|
ce1b451 |
|
|
|
ed4f384 |
* Tue Aug 21 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:5.43-3
|
|
|
ed4f384 |
- use new systemd rpm macros (#850316)
|
|
|
ed4f384 |
|
|
|
b9109aa |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.43-2
|
|
|
b9109aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b9109aa |
|
|
|
2f49fa5 |
* Mon Jul 02 2012 Michal Hlavinka <mhlavink@redhat.com> - 1:5.43-1
|
|
|
2f49fa5 |
- smartmontools updated to 5.43
|
|
|
2f49fa5 |
|
|
|
6035c2a |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.42-3
|
|
|
6035c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6035c2a |
|
|
|
da4d6c8 |
* Fri Dec 02 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.42-2
|
|
|
dcd3e97 |
- enable smartd after installation
|
|
|
dcd3e97 |
|
|
|
ab1255a |
* Fri Oct 21 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.42-1
|
|
|
ab1255a |
- smartmontools updated to 5.42
|
|
|
ab1255a |
|
|
|
079ebcc |
* Mon Jun 13 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.41-2
|
|
|
079ebcc |
- make F-14 (sysv init) -> F-15 (systemd) transition more robust
|
|
|
079ebcc |
|
|
|
82e8257 |
* Fri Jun 10 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.41-1
|
|
|
82e8257 |
- updated to 5.41
|
|
|
82e8257 |
|
|
|
eaa1acf |
* Mon May 16 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-10
|
|
|
eaa1acf |
- fix path to notify script (#675778)
|
|
|
eaa1acf |
|
|
|
ad22ce1 |
* Fri Mar 11 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-9
|
|
|
ad22ce1 |
- fix typos in man page
|
|
|
ad22ce1 |
|
|
|
776f097 |
* Fri Mar 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-8
|
|
|
776f097 |
- don't call chkconfig add, we use systemd now
|
|
|
776f097 |
|
|
|
25de0a1 |
* Thu Mar 03 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-7
|
|
|
25de0a1 |
- own %%{_datadir}/%%{name} and %%{_libexecdir}/%%{name} dirs
|
|
|
25de0a1 |
|
|
|
098dac6 |
* Thu Feb 17 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-6
|
|
|
098dac6 |
- notify users when disk is failing
|
|
|
098dac6 |
|
|
|
3a519f7 |
* Wed Feb 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-5
|
|
|
3a519f7 |
- move to systemd
|
|
|
3a519f7 |
|
|
|
fbfc16a |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.40-4
|
|
|
fbfc16a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fbfc16a |
|
|
|
6eabefc |
* Mon Nov 15 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-3
|
|
|
6eabefc |
- megaraid: Fix segfault on non-data commands (#577935)
|
|
|
6eabefc |
|
|
|
5445ecd |
* Tue Nov 09 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-2
|
|
|
5445ecd |
- don't forget to restart smartd service after update (#651211)
|
|
|
5445ecd |
|
|
|
4275379 |
* Mon Oct 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.40-1
|
|
|
4275379 |
- updated to 5.40 final
|
|
|
4275379 |
|
|
|
5cf0bc2 |
* Mon Sep 27 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.39.1-2.r3169
|
|
|
5cf0bc2 |
- updated to r3169
|
|
|
5cf0bc2 |
- ddds riverdb support for new devices (#637171)
|
|
|
5cf0bc2 |
|
|
|
8f28305 |
* Fri Jan 29 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.39.1-1
|
|
|
8f28305 |
- updated to 5.39.1
|
|
|
8f28305 |
- Fix spin-up of SATA drive if '-n standby' is used.
|
|
|
8f28305 |
|
|
|
2576b79 |
* Wed Jan 20 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:5.39-2
|
|
|
2576b79 |
- fix DEVICESCAN -d sat
|
|
|
2576b79 |
- fix directive '-l selftest'
|
|
|
2576b79 |
- fix option '-q, --quietmode'
|
|
|
2576b79 |
|
|
|
89df140 |
* Thu Dec 10 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.39-1
|
|
|
2ff7b71 |
- update to 5.39
|
|
|
2ff7b71 |
|
|
|
f988122 |
* Wed Dec 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.39-0.1.rc1
|
|
|
f988122 |
- update to 5.39-rc1
|
|
|
f988122 |
|
|
|
073a9db |
* Wed Nov 25 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-25.20091119svn
|
|
|
073a9db |
- spec cleanup
|
|
|
073a9db |
|
|
|
c0b08a2 |
* Mon Nov 23 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-24.20091119svn
|
|
|
c0b08a2 |
- move powermode option from sysconfig to smartd.conf (#539760)
|
|
|
c0b08a2 |
|
|
|
7fa6ab9 |
* Thu Nov 19 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-23.20091119svn
|
|
|
7fa6ab9 |
- update to svn snapshot 2009-11-19
|
|
|
7fa6ab9 |
- remove upstreamed patches
|
|
|
7fa6ab9 |
|
|
|
0c4121f |
* Mon Nov 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-22
|
|
|
0c4121f |
- spec cleanup
|
|
|
0c4121f |
|
|
|
0c4121f |
* Mon Oct 12 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-21
|
|
|
5ec8254 |
- warn about disabled mail only if capabilities are enabled
|
|
|
5ec8254 |
|
|
|
b6eb325 |
* Fri Oct 09 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-20
|
|
|
b6eb325 |
- fix init script for case when no action was specified
|
|
|
b6eb325 |
|
|
|
9cd7b15 |
* Fri Oct 09 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-19
|
|
|
9cd7b15 |
- make init script lsb compliant (#528016)
|
|
|
9cd7b15 |
|
|
|
33812af |
* Mon Oct 05 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-18
|
|
|
33812af |
- bump release for rebuild
|
|
|
33812af |
|
|
|
2ba6d85 |
* Mon Oct 05 2009 Michal Hlaivnka <mhlavink@redhat.com> - 1:5.38-17
|
|
|
2ba6d85 |
- make capabilities optional
|
|
|
2ba6d85 |
- fix capabilities for 3ware contollers (#526626)
|
|
|
2ba6d85 |
|
|
|
5501583 |
* Wed Aug 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-16
|
|
|
5501583 |
- extend capability scanning devices
|
|
|
5501583 |
|
|
|
6b05469 |
* Wed Aug 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-15
|
|
|
6b05469 |
- updated patch for lower capabilities (#517728)
|
|
|
6b05469 |
- added buildrequires libcap-ng-devel
|
|
|
6b05469 |
|
|
|
1a8b53a |
* Fri Aug 21 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-14
|
|
|
1a8b53a |
- drop all unnecessary capabilities (#517728)
|
|
|
1a8b53a |
|
|
|
4cad88f |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.38-13
|
|
|
4cad88f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4cad88f |
|
|
|
d11a22a |
* Thu Jun 11 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-12
|
|
|
951cf98 |
- drop autogen call
|
|
|
d11a22a |
|
|
|
e7da263 |
* Sat Apr 11 2009 Dennis Gilmore <dennis@ausil.us> - 1:5.38-11
|
|
|
e7da263 |
- remove ExclusiveArch use -fPIE on sparc64
|
|
|
e7da263 |
- tested builds on sparcv9 sparc64 and s390x
|
|
|
e7da263 |
|
|
|
87f7cd8 |
* Mon Mar 09 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-10
|
|
|
87f7cd8 |
- cleanup for merge review
|
|
|
87f7cd8 |
|
|
|
2f93695 |
* Fri Feb 27 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:5.38-9
|
|
|
2f93695 |
- fix ExclusiveArch
|
|
|
2f93695 |
|
|
|
0361724 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.38-8
|
|
|
0361724 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0361724 |
|
|
|
a856d70 |
* Mon Aug 11 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-7
|
|
|
a856d70 |
- fix #458549 - obsolete smartmontools-config
|
|
|
a856d70 |
- change the default configuration file
|
|
|
a856d70 |
|
|
|
ea34e72 |
* Fri Aug 08 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-6
|
|
|
ea34e72 |
- correct CXXFLAGS so the PIE code is produced
|
|
|
ea34e72 |
|
|
|
e97b2bc |
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-5
|
|
|
e97b2bc |
- remove config subpackage
|
|
|
e97b2bc |
|
|
|
6991910 |
* Mon May 05 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-4.1
|
|
|
6991910 |
- add libselinux-devel to BR
|
|
|
6991910 |
|
|
|
1666bb9 |
* Mon May 05 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-4
|
|
|
1666bb9 |
- fix #232218 character devices /dev/twa* for 3ware 9000 series RAID
|
|
|
1666bb9 |
controllers are not created
|
|
|
1666bb9 |
|
|
|
1666bb9 |
* Thu Mar 27 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-3
|
|
|
1666bb9 |
- don't attempt to query DELL PERC controllers -- they'd go offline
|
|
|
1666bb9 |
|
|
|
64c7371 |
* Tue Mar 18 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-2
|
|
|
64c7371 |
- fix FD_CLOEXEC on SCSI device file descriptors not being set
|
|
|
64c7371 |
|
|
|
7045766 |
* Mon Mar 10 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.38-1
|
|
|
7045766 |
- new upstream version
|
|
|
7045766 |
|
|
|
80148f4 |
* Tue Feb 12 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.5
|
|
|
80148f4 |
- rebuild (gcc-4.3)
|
|
|
80148f4 |
|
|
|
084e3ed |
* Tue Jan 15 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.4
|
|
|
084e3ed |
- change '-d ata' to '-d sat' in the config script for SATA drives
|
|
|
084e3ed |
|
|
|
f3ee0eb |
* Wed Dec 12 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.3
|
|
|
f3ee0eb |
- fix #375791 - parameter warning for smartd in logwatch output
|
|
|
f3ee0eb |
|
|
|
4ac28c5 |
* Wed Oct 31 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.2
|
|
|
4ac28c5 |
- rebuild (one more error in autogen.sh)
|
|
|
4ac28c5 |
|
|
|
58a262e |
* Wed Oct 31 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.1
|
|
|
58a262e |
- fix build with new automake
|
|
|
58a262e |
|
|
|
7256996 |
* Wed Oct 31 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8
|
|
|
7256996 |
- fix #359561 - typo in smartd-conf.py causes smartd to skip all disks
|
|
|
7256996 |
|
|
|
7256996 |
* Mon Oct 15 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-7.1
|
|
|
7256996 |
- improved patch for getaddrinfo
|
|
|
7256996 |
|
|
|
658bb27 |
* Fri Oct 12 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-7
|
|
|
658bb27 |
- replace gethostbyname with getaddrinfo
|
|
|
658bb27 |
|
|
|
b021c51 |
* Tue Sep 04 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-6
|
|
|
b021c51 |
- fix #271741 - smartd-conf.py should allow customization of parameters
|
|
|
b021c51 |
- fix #253753 - service starting by default, perhaps shouldn't
|
|
|
b021c51 |
- update initscript (related #247058 - initscript review)
|
|
|
b021c51 |
|
|
|
7d9c446 |
* Mon Aug 20 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-5
|
|
|
7d9c446 |
- add support for 24 disks on 3ware RAID controllers (related #252055)
|
|
|
7d9c446 |
- fix #245442 - add %%{arm} to smartmontools's set of build archs
|
|
|
7d9c446 |
- update license tag
|
|
|
7d9c446 |
|
|
|
7dcc630 |
* Thu Jun 21 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-4
|
|
|
7dcc630 |
- fix #241389 - smartd-conf.py pulls in a big dependency chain, so
|
|
|
7dcc630 |
build a separate config package
|
|
|
7dcc630 |
|
|
|
9c270d7 |
* Tue Jun 05 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-3
|
|
|
9c270d7 |
- fix #241385 - smartmontools missing dependency on mailx
|
|
|
9c270d7 |
- fix #241388 - unneeded smartd-conf.py[co] installed in /usr/sbin
|
|
|
9c270d7 |
|
|
|
f97a52a |
* Wed Mar 7 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:5.37-2
|
|
|
f97a52a |
- re-add cloexec patch
|
|
|
f97a52a |
- re-add one erased changelog entry
|
|
|
f97a52a |
- compile with -fpie (instead of -fpic)
|
|
|
f97a52a |
|
|
|
1cb1c2b |
* Tue Feb 27 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:5.37-1
|
|
|
1cb1c2b |
- new upstream version
|
|
|
7e063ef |
|
|
|
41fd970 |
* Thu Feb 22 2007 Tomas Mraz <tmraz@redhat.com> - 1:5.36-8
|
|
|
41fd970 |
- enable SMART on disks when smartd-conf.py runs (fix
|
|
|
41fd970 |
by Calvin Ostrum) (#214502)
|
|
|
41fd970 |
|
|
|
58a0b16 |
* Mon Feb 12 2007 Tomas Mraz <tmraz@redhat.com> - 1:5.36-7
|
|
|
58a0b16 |
- redirect service script output to null (#224566)
|
|
|
58a0b16 |
|
|
Florian La Roche |
bf0178d |
* Sun Feb 11 2007 Florian La Roche <laroche@redhat.com> - 1:5.36-6
|
|
Florian La Roche |
bf0178d |
- make sure the preun script does not fail
|
|
Florian La Roche |
bf0178d |
|
|
|
1c05ce5 |
* Tue Nov 7 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.36-5
|
|
|
9b83439 |
- set cloexec on device descriptor so it doesn't leak to sendmail (#214182)
|
|
|
9b83439 |
- fixed minor bug in initscript (#213683)
|
|
|
9b83439 |
- backported SATA disk detection from upstream
|
|
|
9b83439 |
|
|
|
e746d6d |
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 1:5.36-3
|
|
|
e746d6d |
- rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
|
|
|
e746d6d |
(#203001)
|
|
|
e746d6d |
|
|
|
9230586 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:5.36-2.1
|
|
|
9230586 |
- rebuild
|
|
|
9230586 |
|
|
|
c4ce392 |
* Tue Jun 27 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.36-2
|
|
|
c4ce392 |
- kudzu is deprecated, replace it with HAL (#195752)
|
|
|
c4ce392 |
- moved later in the boot process so haldaemon is already running
|
|
|
c4ce392 |
when drives are being detected
|
|
|
c4ce392 |
|
|
|
00e7554 |
* Thu May 11 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.36-1
|
|
|
00e7554 |
- new upstream version
|
|
|
00e7554 |
- included patch with support for cciss controllers (#191288)
|
|
|
00e7554 |
|
|
|
3e097ff |
* Tue May 2 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.33-8
|
|
|
3e097ff |
- regenerate smartd.conf on every startup if the config file
|
|
|
3e097ff |
is autogenerated (#190065)
|
|
|
3e097ff |
|
|
|
a2e4329 |
* Fri Mar 24 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.33-7
|
|
|
a2e4329 |
- add missing quotes to /etc/sysconfig/smartmontools
|
|
|
a2e4329 |
|
|
|
438b809 |
* Wed Mar 22 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.33-6
|
|
|
438b809 |
- test SATA drives correctly
|
|
|
438b809 |
|
|
|
b34dd23 |
* Wed Mar 22 2006 Tomas Mraz <tmraz@redhat.com> - 1:5.33-5
|
|
|
b34dd23 |
- add default /etc/sysconfig/smartmontools file
|
|
|
b34dd23 |
- ignore errors on startup (#186130)
|
|
|
b34dd23 |
- test drive for SMART support before adding it to smartd.conf
|
|
|
b34dd23 |
|
|
|
f53d683 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:5.33-4.2
|
|
|
f53d683 |
- bump again for double-long bug on ppc(64)
|
|
|
f53d683 |
|
|
|
9f0b8ab |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:5.33-4.1
|
|
|
9f0b8ab |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
9f0b8ab |
|
|
|
d7e97a1 |
* Fri Dec 16 2005 Tomas Mraz <tmraz@redhat.com> 1:5.33-4
|
|
|
d7e97a1 |
- mail should be sent to root not root@localhost (#174252)
|
|
|
70c54dd |
|
|
|
396edfa |
* Fri Nov 25 2005 Tomas Mraz <tmraz@redhat.com> 1:5.33-3
|
|
|
396edfa |
- add libata disks with -d ata if the libata version
|
|
|
396edfa |
is new enough otherwise do not add them (#145859, #174095)
|
|
|
396edfa |
|
|
|
c4cbeb9 |
* Thu Nov 3 2005 Tomas Mraz <tmraz@redhat.com> 1:5.33-2
|
|
|
c4cbeb9 |
- Spec file cleanup by Robert Scheck <redhat@linuxnetz.de> (#170959)
|
|
|
c4cbeb9 |
- manual release numbering
|
|
|
c4cbeb9 |
- remove bogus patch of non-installed file
|
|
|
c4cbeb9 |
- only non-removable drives should be added to smartd.conf
|
|
|
c4cbeb9 |
- smartd.conf should be owned (#171498)
|
|
|
c4cbeb9 |
|
|
|
57394e3 |
* Tue Oct 25 2005 Dave Jones <davej@redhat.com>
|
|
|
57394e3 |
- Add comments to generated smartd.conf (#135397)
|
|
|
57394e3 |
|
|
|
c9877c5 |
* Thu Aug 04 2005 Karsten Hopp <karsten@redhat.de>
|
|
|
c9877c5 |
- package all python files
|
|
|
c9877c5 |
|
|
|
269a99e |
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
|
|
|
269a99e |
- Rebuild for gcc4
|
|
|
269a99e |
|
|
|
4a4cf3e |
* Wed Feb 9 2005 Dave Jones <davej@redhat.com>
|
|
|
4a4cf3e |
- Build on PPC32 too (#147090)
|
|
|
4a4cf3e |
|
|
|
93c1823 |
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
|
|
93c1823 |
- Initial packaging, based upon kernel-utils.
|
|
|
93c1823 |
|