Author: viper Date: 2006-04-10 14:43:50 +0200 (Mon, 10 Apr 2006) New Revision: 1211 Added: crux-2.2/ports/opt/smartmontools/ crux-2.2/ports/opt/smartmontools/.footprint crux-2.2/ports/opt/smartmontools/.md5sum crux-2.2/ports/opt/smartmontools/Pkgfile crux-2.2/ports/opt/smartmontools/README crux-2.2/ports/opt/smartmontools/smartd Log: smartmontools: initial import Added: crux-2.2/ports/opt/smartmontools/.footprint =================================================================== --- crux-2.2/ports/opt/smartmontools/.footprint (rev 0) +++ crux-2.2/ports/opt/smartmontools/.footprint 2006-04-10 12:43:50 UTC (rev 1211) @@ -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 Added: crux-2.2/ports/opt/smartmontools/.md5sum =================================================================== --- crux-2.2/ports/opt/smartmontools/.md5sum (rev 0) +++ crux-2.2/ports/opt/smartmontools/.md5sum 2006-04-10 12:43:50 UTC (rev 1211) @@ -0,0 +1,2 @@ +482b47077510dbac2bf8ce72907ff9f8 smartd +53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz Added: crux-2.2/ports/opt/smartmontools/Pkgfile =================================================================== --- crux-2.2/ports/opt/smartmontools/Pkgfile (rev 0) +++ crux-2.2/ports/opt/smartmontools/Pkgfile 2006-04-10 12:43:50 UTC (rev 1211) @@ -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 +} Added: crux-2.2/ports/opt/smartmontools/README =================================================================== --- crux-2.2/ports/opt/smartmontools/README (rev 0) +++ crux-2.2/ports/opt/smartmontools/README 2006-04-10 12:43:50 UTC (rev 1211) @@ -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 Added: crux-2.2/ports/opt/smartmontools/smartd =================================================================== --- crux-2.2/ports/opt/smartmontools/smartd (rev 0) +++ crux-2.2/ports/opt/smartmontools/smartd 2006-04-10 12:43:50 UTC (rev 1211) @@ -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