summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/patches
diff options
context:
space:
mode:
authorjmmv <jmmv>2007-06-03 10:40:07 +0000
committerjmmv <jmmv>2007-06-03 10:40:07 +0000
commit298f14eeb5d584e397cf48f09b6229cdfe8bcdd9 (patch)
treeb693e774a7346213968fdaf0e1ed6fa0da6ee7e0 /sysutils/smartmontools/patches
parentb601053f517a679f2b3f51421eec741f889311c9 (diff)
downloadpkgsrc-298f14eeb5d584e397cf48f09b6229cdfe8bcdd9.tar.gz
Update to 5.37:
This is an unstable/experimental release of smartmontools. I'm commiting this update anyway because of the SAT support, which allows this utility to be used with recent hard disks. No problems experienced so far and no objections raised on tech-pkg@. Changes include: - Many additions to the table of known drives - SAT (SCSI/ATA Translation) support - SCSI background scan results log - smartd -W directive for temperature tracking and warning - smartctl -n option to check power state - improved smartd power state logging - CCISS support under Linux - HighPoint RocketRAID support under Linux - 3ware RAID support under Windows - SPT interface for SCSI devices under Windows - ATA selective self test under Windows XP/2003 - NSIS installer support for Windows version - Started move from C to C++ - Various other improvements
Diffstat (limited to 'sysutils/smartmontools/patches')
-rw-r--r--sysutils/smartmontools/patches/patch-aa12
-rw-r--r--sysutils/smartmontools/patches/patch-ab21
2 files changed, 6 insertions, 27 deletions
diff --git a/sysutils/smartmontools/patches/patch-aa b/sysutils/smartmontools/patches/patch-aa
index c5d9914951e..39712f67158 100644
--- a/sysutils/smartmontools/patches/patch-aa
+++ b/sysutils/smartmontools/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2006/07/17 17:01:32 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2007/06/03 10:40:07 jmmv Exp $
---- Makefile.in.orig 2006-04-12 17:39:15.000000000 +0000
+--- Makefile.in.orig 2006-12-20 21:38:50.000000000 +0100
+++ Makefile.in
-@@ -93,7 +93,7 @@ CONFIG_HEADER = config.h
+@@ -92,7 +92,7 @@ CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" \
"$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docsdir)" \
@@ -10,8 +10,8 @@ $NetBSD: patch-aa,v 1.3 2006/07/17 17:01:32 wiz Exp $
+ "$(DESTDIR)$(sysconfdir)"
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(sbin_PROGRAMS)
- am__smartctl_SOURCES_DIST = smartctl.c smartctl.h atacmdnames.c \
-@@ -330,8 +330,7 @@ docs_DATA = AUTHORS \
+ am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \
+@@ -353,8 +353,7 @@ docs_DATA = AUTHORS \
NEWS \
README \
TODO \
@@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.3 2006/07/17 17:01:32 wiz Exp $
sysconf_DATA = smartd.conf$(smartd_suffix)
EXTRA_DIST = smartmontools.spec \
-@@ -1068,7 +1067,7 @@ info: info-recursive
+@@ -1122,7 +1121,7 @@ info: info-recursive
info-am:
diff --git a/sysutils/smartmontools/patches/patch-ab b/sysutils/smartmontools/patches/patch-ab
deleted file mode 100644
index 8dd08035d59..00000000000
--- a/sysutils/smartmontools/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2006/09/24 17:14:55 martin Exp $
-
---- ataprint.c.orig 2006-04-12 16:54:28.000000000 +0200
-+++ ataprint.c 2006-09-24 18:47:09.000000000 +0200
-@@ -95,11 +95,12 @@
- char tmp[65];
-
- n = n > 64 ? 64 : n;
--#ifndef __NetBSD__
-- swapbytes(tmp, in, n);
--#else
-- strncpy(tmp, in, n); /* NetBSD delivers host byte order strings */
-+#ifdef __NetBSD__
-+ if (isbigendian())
-+ strncpy(tmp, in, n);
-+ else
- #endif
-+ swapbytes(tmp, in, n);
- tmp[n] = '\0';
- trim(out, tmp);
- }