Import smarmontools 5.33

Controls and monitors storage systems using the Self-Monitoring, 
Analysis and Reporting Technology System (SMART) built into most
modern ATA and SCSI hard disks. In many cases, these utilities 
will provide advanced warning of disk degradation and failure.

For now i386 only (Some issues noticed on macppc)

Soekris users with internal hdd will like this port.

From Romain GAILLEGUE <romain@biscotte.net>
This commit is contained in:
kurt 2005-03-08 01:47:26 +00:00
parent 37298ebaf2
commit b20d316d8d
6 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/03/08 01:47:26 kurt Exp $
# consertive setting. macppc found to have some issues.
ONLY_FOR_ARCHS= i386
COMMENT= "control and monitor storage systems using SMART"
DISTNAME= smartmontools-5.33
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
HOMEPAGE= http://smartmontools.sourceforge.net/
MAINTAINER= Romain GAILLEGUE <romain@biscotte.net>
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c util
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (smartmontools-5.33.tar.gz) = 53f6861a916169a88a9edb1848e27dd0
RMD160 (smartmontools-5.33.tar.gz) = c6aa5a6dd903a55d0c583db2c8bd7d20852c9bf4
SHA1 (smartmontools-5.33.tar.gz) = dd1478402843278ba3778ccb1b6ab629a23e3abe
SIZE (smartmontools-5.33.tar.gz) = 509826

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2005/03/08 01:47:26 kurt Exp $
--- Makefile.in.orig Fri Sep 10 00:11:44 2004
+++ Makefile.in Fri Feb 18 14:27:05 2005
@@ -424,7 +424,7 @@ DIST_SOURCES = $(smartctl_SOURCES) $(am_
NROFF = nroff
MANS = $(man_MANS)
-DATA = $(docs_DATA) $(initd_DATA) $(sysconf_DATA)
+DATA = $(docs_DATA) $(sysconf_DATA)
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
@@ -1145,9 +1145,9 @@ info: info-recursive
info-am:
-install-data-am: install-docsDATA install-initdDATA install-man
+install-data-am: install-docsDATA install-man
-install-exec-am: install-sbinPROGRAMS install-sysconfDATA
+install-exec-am: install-sbinPROGRAMS
install-info: install-info-recursive

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-os_openbsd_c,v 1.1.1.1 2005/03/08 01:47:26 kurt Exp $
--- os_openbsd.c.orig Fri Feb 18 14:13:11 2005
+++ os_openbsd.c Fri Feb 18 14:11:38 2005
@@ -18,6 +18,7 @@
*
*/
+#include <unistd.h>
#include "config.h"
#include "atacmds.h"
#include "scsicmds.h"

View File

@ -0,0 +1,5 @@
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 hard disks. In many cases, these
utilities will provide advanced warning of disk degradation and failure.

View File

@ -0,0 +1,22 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/08 01:47:26 kurt Exp $
@man man/man5/smartd.conf.5
@man man/man8/smartctl.8
@man man/man8/smartd.8
sbin/smartctl
sbin/smartd
share/doc/smartmontools-5.33/
share/doc/smartmontools-5.33/AUTHORS
share/doc/smartmontools-5.33/CHANGELOG
share/doc/smartmontools-5.33/COPYING
share/doc/smartmontools-5.33/INSTALL
share/doc/smartmontools-5.33/NEWS
share/doc/smartmontools-5.33/README
share/doc/smartmontools-5.33/TODO
share/doc/smartmontools-5.33/WARNINGS
share/doc/smartmontools-5.33/examplescripts/
share/doc/smartmontools-5.33/examplescripts/Example1
share/doc/smartmontools-5.33/examplescripts/Example2
share/doc/smartmontools-5.33/examplescripts/Example3
share/doc/smartmontools-5.33/examplescripts/README
share/doc/smartmontools-5.33/smartd.conf
@sample ${SYSCONFDIR}/smartd.conf