summaryrefslogtreecommitdiff
path: root/smartmontools
diff options
context:
space:
mode:
Diffstat (limited to 'smartmontools')
-rw-r--r--smartmontools/.footprint14
-rw-r--r--smartmontools/.md5sum2
-rw-r--r--smartmontools/Pkgfile25
-rw-r--r--smartmontools/README11
-rw-r--r--smartmontools/smartd26
5 files changed, 78 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..56d75e286
--- /dev/null
+++ b/smartmontools/.md5sum
@@ -0,0 +1,2 @@
+482b47077510dbac2bf8ce72907ff9f8 smartd
+53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz
diff --git a/smartmontools/Pkgfile b/smartmontools/Pkgfile
new file mode 100644
index 000000000..1bd5e7f73
--- /dev/null
+++ b/smartmontools/Pkgfile
@@ -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
+}
diff --git a/smartmontools/README b/smartmontools/README
new file mode 100644
index 000000000..bf5a85d47
--- /dev/null
+++ b/smartmontools/README
@@ -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
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

Generated by cgit