1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Statistics
11 url = https://www.smartmontools.org
13 summary = A set of tools that watches HDD S.M.A.R.T status
16 The smartmontools package contains two utility programs (smartctl
17 and smartd) to control and monitor storage systems using the
18 Self-Monitoring, Analysis and Reporting Technology System (SMART)
19 built into most modern ATA and SCSI harddisks. In many cases,
20 these utilities will provide advanced warning of disk degradation
24 source_dl = https://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}
33 configure_options += \
34 --sysconfdir=%{sysconfdir}/%{name} \
35 --with-libcap-ng=yes \
37 --with-systemdsystemunitdir=%{unitdir}
47 %{sysconfdir}/smartmontools/smartd.conf
55 systemctl daemon-reload >/dev/null 2>&1 || :
59 systemctl --no-reload disable smartd.service >/dev/null 2>&1 || :
60 systemctl stop smartd.service >/dev/null 2>&1 || :
64 systemctl daemon-reload >/dev/null 2>&1 || :
68 systemctl daemon-reload >/dev/null 2>&1 || :
69 systemctl try-restart smartd.service >/dev/null 2>&1 || :
73 package %{name}-debuginfo