New package: smartmontools-6.0.
This commit is contained in:
parent
214fc9391e
commit
9df9f34efc
|
@ -0,0 +1,18 @@
|
|||
Remove useless redhat specific stuff from it.
|
||||
|
||||
--- smartd.service.in.orig 2012-12-10 23:46:12.941631937 +0100
|
||||
+++ smartd.service.in 2012-12-10 23:46:38.323942716 +0100
|
||||
@@ -1,12 +1,9 @@
|
||||
[Unit]
|
||||
Description=Self Monitoring and Reporting Technology (SMART) Daemon
|
||||
-After=syslog.target
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools
|
||||
-ExecStart=/usr/local/sbin/smartd -n $smartd_opts
|
||||
+ExecStart=/usr/local/sbin/smartd -n
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
-StandardOutput=syslog
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'smartmontools'
|
||||
pkgname=smartmontools
|
||||
version=6.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-drivedb --with-libcap-ng=yes
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
--with-drivedbdir=/var/db/${pkgname}"
|
||||
short_desc="S.M.A.R.T Monitoring Tools"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://smartmontools.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=9fe4ff2b7bcd00fde19db82bba168f5462ed6e857d3ef439495e304e3231d3a6
|
||||
long_desc="
|
||||
The smartmontools package contains two utility programs (smartctl and smartd)
|
||||
to control and monitor storage systems using the Self-Monitoring, Analysis
|
||||
and Reporting Technology System (SMART) built into most modern ATA and SCSI
|
||||
harddisks. In many cases, these utilities will provide advanced warning of
|
||||
disk degradation and failure."
|
||||
|
||||
conf_files="/etc/smartd.conf"
|
||||
mutable_files="/var/db/smartmontools/drivedb.h"
|
||||
systemd_services="smartd.service on"
|
||||
makedepends="libcap-ng-devel"
|
Loading…
Reference in New Issue