diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | bdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch) | |
tree | 1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /smartmontools | |
download | opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz |
create branch for 2.2
Diffstat (limited to 'smartmontools')
-rw-r--r-- | smartmontools/.footprint | 14 | ||||
-rw-r--r-- | smartmontools/.md5sum | 2 | ||||
-rw-r--r-- | smartmontools/Pkgfile | 18 | ||||
-rw-r--r-- | smartmontools/README | 12 | ||||
-rw-r--r-- | smartmontools/smartd | 26 |
5 files changed, 72 insertions, 0 deletions
diff --git a/smartmontools/.footprint b/smartmontools/.footprint new file mode 100644 index 000000000..e28bdc49f --- /dev/null +++ b/smartmontools/.footprint @@ -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 diff --git a/smartmontools/.md5sum b/smartmontools/.md5sum new file mode 100644 index 000000000..f5a7bbe21 --- /dev/null +++ b/smartmontools/.md5sum @@ -0,0 +1,2 @@ +482b47077510dbac2bf8ce72907ff9f8 smartd +aea440fcce616867e1712d159aeecbc6 smartmontools-5.32.tar.gz diff --git a/smartmontools/Pkgfile b/smartmontools/Pkgfile new file mode 100644 index 000000000..36194c155 --- /dev/null +++ b/smartmontools/Pkgfile @@ -0,0 +1,18 @@ +# Description: Utilities to control and monitor S.M.A.R.T. hard drives +# URL: http://smartmontools.sourceforge.net/ +# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de + +name=smartmontools +version=5.32 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$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,etc/rc.d/init.d} +} diff --git a/smartmontools/README b/smartmontools/README new file mode 100644 index 000000000..06096dc25 --- /dev/null +++ b/smartmontools/README @@ -0,0 +1,12 @@ +README for smartmontools 5.x + +REQUIREMENTS +To send email notifications smartd needs a mail binary. +The contrib ports nail or mailx are recommend for that +purpose. + +PRE-INSTALL + +POST-INSTALL + +PRECAUTION diff --git a/smartmontools/smartd b/smartmontools/smartd new file mode 100644 index 000000000..c7c1396fa --- /dev/null +++ b/smartmontools/smartd @@ -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 |