smartmontools: initial import
This commit is contained in:
parent
1830c51bf4
commit
09a853e056
14
smartmontools/.footprint
Normal file
14
smartmontools/.footprint
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
drwxr-xr-x root/root etc/
|
||||||
|
drwxr-xr-x root/root etc/rc.d/
|
||||||
|
-rwxr-xr-x root/root etc/rc.d/smartd
|
||||||
|
-rw-r--r-- root/root etc/smartd.conf
|
||||||
|
drwxr-xr-x root/root usr/
|
||||||
|
drwxr-xr-x root/root usr/man/
|
||||||
|
drwxr-xr-x root/root usr/man/man5/
|
||||||
|
-rw-r--r-- root/root usr/man/man5/smartd.conf.5.gz
|
||||||
|
drwxr-xr-x root/root usr/man/man8/
|
||||||
|
-rw-r--r-- root/root usr/man/man8/smartctl.8.gz
|
||||||
|
-rw-r--r-- root/root usr/man/man8/smartd.8.gz
|
||||||
|
drwxr-xr-x root/root usr/sbin/
|
||||||
|
-rwxr-xr-x root/root usr/sbin/smartctl
|
||||||
|
-rwxr-xr-x root/root usr/sbin/smartd
|
2
smartmontools/.md5sum
Normal file
2
smartmontools/.md5sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
482b47077510dbac2bf8ce72907ff9f8 smartd
|
||||||
|
53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz
|
25
smartmontools/Pkgfile
Normal file
25
smartmontools/Pkgfile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Description: Utilities to control and monitor S.M.A.R.T. hard drives
|
||||||
|
# URL: http://smartmontools.sourceforge.net/
|
||||||
|
# Maintainer: Simon Gloßner, viper at hometux dot de
|
||||||
|
# Packager: Jürgen Daubert, juergen dot daubert at t-online dot de
|
||||||
|
|
||||||
|
name=smartmontools
|
||||||
|
version=5.33
|
||||||
|
release=1
|
||||||
|
source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz \
|
||||||
|
smartd)
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
|
install -m 755 ../smartd $PKG/etc/rc.d
|
||||||
|
|
||||||
|
rm -r $PKG/usr/share
|
||||||
|
rm -r $PKG/etc/rc.d/init.d
|
||||||
|
}
|
11
smartmontools/README
Normal file
11
smartmontools/README
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
REQUIREMENTS
|
||||||
|
|
||||||
|
To send email notifications smartd needs a mail binary. The contrib
|
||||||
|
port mailx is recommend for that purpose.
|
||||||
|
|
||||||
|
PRE-INSTALL
|
||||||
|
|
||||||
|
POST-INSTALL
|
||||||
|
|
||||||
|
PRECAUTION
|
26
smartmontools/smartd
Normal file
26
smartmontools/smartd
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# /etc/rc.d/smartd: start/stop smartd daemon
|
||||||
|
#
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
/usr/sbin/smartd -p /var/run/smartd.pid
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
killall -q /usr/sbin/smartd
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$0 stop
|
||||||
|
sleep 2
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
reload)
|
||||||
|
kill -HUP `pidof smartd`
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 [start|stop|restart|reload]"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# End of file
|
Loading…
Reference in New Issue
Block a user