Sat May 17 13:07:54 2008 UTC ()
Update smartmontools to 5.38, UNSTABLE to STABLE.
Based on patch provided by Sergey Svishchev in PR 38573.
This version contains DragonFly support, noted in PR 36982.
patch-ag is taken from PR 38199.

Date 2008-03-10
Summary: smartmontools release 5.38 (STABLE)
--------------------------------------------
This is a stable release of smartmontools.  In addition to changes
below, it includes:

 - Libata/Marvell driver devices no longer need explicit '-d' switch
 - DEVICESCAN automatically detects libata/marvell driver SATA devices
 - Fixed auto-offline/autosave support in FreeBSD
 - SAT device type + SCSI generic devices work properly with smartd under Linux
 - Many additions to drive database
 - More portable autogen/autoconf/automake script set
 - Additional Windows IOCTL route to access SMART data
 - Some ATA-8 updates
 - Smoother CCISS compilation support in Linux
 - Dragonfly support
 - Fixed some ATA identity byte swap problems on big endian CPUs
 - Added support for the QNX operating system
 - No-fork option added to smartd
 - Improved device scanning and drive type recognition in Windows
 - 3ware support for controllers with more disks (32 max)
 - Improved Windows installer
 - Improved SMART Attribute list and descriptions
 - Fix to smartctl return codes
 - Fix to scheduled tests on Highpoint RAID controllers
 - New samsung firmware bug workaround option
 - Auto-offline and Auto-save fixed in Linux + libata
 - Solaris: better SCSI support and support for Sun compilers AND gcc
 - Fixed and improvements to CCISS support
 - More options for SCSI temperature monitoring and history
 - Additional command line options for selective self-tests
 - Compilation fixes for various platforms.

See CHANGELOG for more details, or smartmontools CVS for still further
details.


(obache)
diff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/Makefile
diff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/distinfo
diff -r1.4 -r1.5 pkgsrc/sysutils/smartmontools/patches/patch-aa
diff -r1.1 -r0 pkgsrc/sysutils/smartmontools/patches/patch-ae
diff -r1.1 -r0 pkgsrc/sysutils/smartmontools/patches/patch-af
diff -r0 -r1.1 pkgsrc/sysutils/smartmontools/patches/patch-ag
diff -r0 -r1.1 pkgsrc/sysutils/smartmontools/patches/patch-ah

cvs diff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/smartmontools/Makefile 2008/01/04 22:15:47 1.14
+++ pkgsrc/sysutils/smartmontools/Makefile 2008/05/17 13:07:54 1.15
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.14 2008/01/04 22:15:47 heinz Exp $ 1# $NetBSD: Makefile,v 1.15 2008/05/17 13:07:54 obache Exp $
2 2
3DISTNAME= smartmontools-5.37 3DISTNAME= smartmontools-5.38
4CATEGORIES= sysutils 4CATEGORIES= sysutils
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
6 6
7MAINTAINER= shattered@users.sourceforge.net 7MAINTAINER= shattered@users.sourceforge.net
8HOMEPAGE= http://smartmontools.sourceforge.net/ 8HOMEPAGE= http://smartmontools.sourceforge.net/
9COMMENT= Control and monitor storage systems using SMART 9COMMENT= Control and monitor storage systems using SMART
10 10
11ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-* 11ONLY_FOR_PLATFORM= Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-*
12ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-* 12ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15PKG_INSTALLATION_TYPES= overwrite pkgviews 15PKG_INSTALLATION_TYPES= overwrite pkgviews
16 16
17USE_LANGUAGES+= c++ 17USE_LANGUAGES= c c++
18USE_TOOLS+= gmake 18USE_TOOLS+= gmake
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20 20
21EGDIR= ${PREFIX}/share/examples/smartmontools 21EGDIR= ${PREFIX}/share/examples/smartmontools
22CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf 22CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
23RCD_SCRIPTS= smartd 23RCD_SCRIPTS= smartd
24 24
25CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 25CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
26CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/smartmontools 26CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/smartmontools
27INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} 27INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
28 28
29INSTALLATION_DIRS= ${EGDIR} 29INSTALLATION_DIRS= ${EGDIR}
30 30

cvs diff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/smartmontools/distinfo 2007/10/19 03:56:13 1.14
+++ pkgsrc/sysutils/smartmontools/distinfo 2008/05/17 13:07:54 1.15
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.14 2007/10/19 03:56:13 taca Exp $ 1$NetBSD: distinfo,v 1.15 2008/05/17 13:07:54 obache Exp $
2 2
3SHA1 (smartmontools-5.37.tar.gz) = d6e88f576e26836b929c570290644b0580645602 3SHA1 (smartmontools-5.38.tar.gz) = 90e36f46af7a35336c63868176aa71deef4c9e66
4RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812 4RMD160 (smartmontools-5.38.tar.gz) = 6fcca6e18b14a14b579e8484c769f36b3ce238ea
5Size (smartmontools-5.37.tar.gz) = 590605 bytes 5Size (smartmontools-5.38.tar.gz) = 617326 bytes
6SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733 6SHA1 (patch-aa) = 98d7fee0a636f430756a9a57776053903d26bb7e
7SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918 7SHA1 (patch-ag) = c4280d734b4e1f9fa76d9c113ad42e916d8758cb
8SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2 8SHA1 (patch-ah) = 712cf0cc567221a92d38d8b3c4623902705b6dfa

cvs diff -r1.4 -r1.5 pkgsrc/sysutils/smartmontools/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/sysutils/smartmontools/patches/patch-aa 2007/06/03 10:40:07 1.4
+++ pkgsrc/sysutils/smartmontools/patches/patch-aa 2008/05/17 13:07:54 1.5
@@ -1,32 +1,32 @@ @@ -1,32 +1,32 @@
1$NetBSD: patch-aa,v 1.4 2007/06/03 10:40:07 jmmv Exp $ 1$NetBSD: patch-aa,v 1.5 2008/05/17 13:07:54 obache Exp $
2 2
3--- Makefile.in.orig 2006-12-20 21:38:50.000000000 +0100 3--- Makefile.in.orig 2008-03-10 10:44:13.000000000 +0000
4+++ Makefile.in 4+++ Makefile.in
5@@ -92,7 +92,7 @@ CONFIG_HEADER = config.h 5@@ -87,7 +87,7 @@ CONFIG_HEADER = config.h
6 CONFIG_CLEAN_FILES = 6 CONFIG_CLEAN_FILES =
7 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" \ 7 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" \
8 "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docsdir)" \ 8 "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docsdir)" \
9- "$(DESTDIR)$(initddir)" "$(DESTDIR)$(sysconfdir)" 9- "$(DESTDIR)$(initddir)" "$(DESTDIR)$(sysconfdir)"
10+ "$(DESTDIR)$(sysconfdir)" 10+ "$(DESTDIR)$(sysconfdir)"
11 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 11 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
12 PROGRAMS = $(sbin_PROGRAMS) 12 PROGRAMS = $(sbin_PROGRAMS)
13 am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \ 13 am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \
14@@ -353,8 +353,7 @@ docs_DATA = AUTHORS \ 14@@ -347,8 +347,7 @@ docs_DATA = AUTHORS \
15 NEWS \ 15 NEWS \
16 README \ 16 README \
17 TODO \ 17 TODO \
18- WARNINGS \ 18- WARNINGS \
19- smartd.conf 19- smartd.conf
20+ WARNINGS 20+ WARNINGS
21  21
22 sysconf_DATA = smartd.conf$(smartd_suffix) 22 sysconf_DATA = smartd.conf$(smartd_suffix)
23 EXTRA_DIST = smartmontools.spec \ 23 EXTRA_DIST = smartmontools.spec \
24@@ -1122,7 +1121,7 @@ info: info-recursive 24@@ -1115,7 +1114,7 @@ info: info-recursive
25  25
26 info-am: 26 info-am:
27  27
28-install-data-am: install-docsDATA install-initdDATA install-man 28-install-data-am: install-docsDATA install-initdDATA install-man
29+install-data-am: install-docsDATA install-man 29+install-data-am: install-docsDATA install-man
30  30
31 install-exec-am: install-sbinPROGRAMS install-sysconfDATA 31 install-dvi: install-dvi-recursive
32  32

File Deleted: pkgsrc/sysutils/smartmontools/patches/Attic/patch-ae

File Deleted: pkgsrc/sysutils/smartmontools/patches/Attic/patch-af

File Added: pkgsrc/sysutils/smartmontools/patches/patch-ag
$NetBSD: patch-ag,v 1.1 2008/05/17 13:07:54 obache Exp $

Avoid special man page section handling for Solaris (PR 38199).

--- configure.orig	2008-03-10 10:44:14.000000000 +0000
+++ configure
@@ -8141,13 +8141,8 @@ else
   OS_DARWIN_FALSE=
 fi
 
- if echo $host_os | grep '^solaris' > /dev/null; then
-  OS_SOLARIS_TRUE=
-  OS_SOLARIS_FALSE='#'
-else
   OS_SOLARIS_TRUE='#'
   OS_SOLARIS_FALSE=
-fi
 
  if echo $host_os | grep '^mingw' > /dev/null; then
   OS_WIN32_MINGW_TRUE=

File Added: pkgsrc/sysutils/smartmontools/patches/Attic/patch-ah
$NetBSD: patch-ah,v 1.1 2008/05/17 13:07:54 obache Exp $

--- os_freebsd.cpp.orig	2008-03-04 22:09:47.000000000 +0000
+++ os_freebsd.cpp
@@ -272,7 +272,6 @@ int marvell_command_interface(__unused i
 }
 
 int highpoint_command_interface(__unused int fd, __unused smart_command_set command, __unused int select, __unused char *data) {
-{
   return -1;
 }