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.diff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/Makefile
(obache)
@@ -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 | |||
3 | DISTNAME= smartmontools-5.37 | 3 | DISTNAME= smartmontools-5.38 | |
4 | CATEGORIES= sysutils | 4 | CATEGORIES= sysutils | |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/} | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/} | |
6 | 6 | |||
7 | MAINTAINER= shattered@users.sourceforge.net | 7 | MAINTAINER= shattered@users.sourceforge.net | |
8 | HOMEPAGE= http://smartmontools.sourceforge.net/ | 8 | HOMEPAGE= http://smartmontools.sourceforge.net/ | |
9 | COMMENT= Control and monitor storage systems using SMART | 9 | COMMENT= Control and monitor storage systems using SMART | |
10 | 10 | |||
11 | ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-* | 11 | ONLY_FOR_PLATFORM= Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-* | |
12 | ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-* | 12 | ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-* | |
13 | 13 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
16 | 16 | |||
17 | USE_LANGUAGES+= c++ | 17 | USE_LANGUAGES= c c++ | |
18 | USE_TOOLS+= gmake | 18 | USE_TOOLS+= gmake | |
19 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
20 | 20 | |||
21 | EGDIR= ${PREFIX}/share/examples/smartmontools | 21 | EGDIR= ${PREFIX}/share/examples/smartmontools | |
22 | CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf | 22 | CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf | |
23 | RCD_SCRIPTS= smartd | 23 | RCD_SCRIPTS= smartd | |
24 | 24 | |||
25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
26 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/smartmontools | 26 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/smartmontools | |
27 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | 27 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | |
28 | 28 | |||
29 | INSTALLATION_DIRS= ${EGDIR} | 29 | INSTALLATION_DIRS= ${EGDIR} | |
30 | 30 |
@@ -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 | |||
3 | SHA1 (smartmontools-5.37.tar.gz) = d6e88f576e26836b929c570290644b0580645602 | 3 | SHA1 (smartmontools-5.38.tar.gz) = 90e36f46af7a35336c63868176aa71deef4c9e66 | |
4 | RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812 | 4 | RMD160 (smartmontools-5.38.tar.gz) = 6fcca6e18b14a14b579e8484c769f36b3ce238ea | |
5 | Size (smartmontools-5.37.tar.gz) = 590605 bytes | 5 | Size (smartmontools-5.38.tar.gz) = 617326 bytes | |
6 | SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733 | 6 | SHA1 (patch-aa) = 98d7fee0a636f430756a9a57776053903d26bb7e | |
7 | SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918 | 7 | SHA1 (patch-ag) = c4280d734b4e1f9fa76d9c113ad42e916d8758cb | |
8 | SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2 | 8 | SHA1 (patch-ah) = 712cf0cc567221a92d38d8b3c4623902705b6dfa |
@@ -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 |
$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=
$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;
}