pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38573: sysutils/smartmontools 5.38
>Number: 38573
>Category: pkg
>Synopsis: sysutils/smartmontools 5.38
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat May 03 23:05:00 +0000 2008
>Originator: Sergey Svishchev
>Release: 4.0
>Organization:
>Environment:
>Description:
New platforms: DragonFly [see also PR/36982], GNU/kFreeBSD.
New features:
ATA: '-l scttemp[sts,hist]' options to print disk temperature information and
history table provided by SMART Command Transport (SCT) Feature Set.
ATA: '-t selective,{redo,next,cont}' commands to perform tests based on the
last ranges still stored on disk.
Many cleanups of CCISS support code; support FreeBSD ciss(4) driver.
On Linux, DEVICESCAN now automatically recognizes SATA devices behind libata
and Marvell drivers.
'-F samsung3' option to correct firmware bug reporting completed self-tests
as still in progress.
Many new entries in drive database.
Fixes:
Added missing const specifiers (undetected by gcc 3.4 and 4.X) to fix
compilation with gcc 2.X.
smartd: Don't start self tests in first pass to avoid performance problems
during boot.
Fix scheduled tests on Highpoint RAID controllers.
Support up to 32 disks on 3ware controllers.
Fix auto-offline and auto-save on Linux via libata and on FreeBSD.
NetBSD-specific fixes:
Handle actual SCSI and ATA errors and not only ioctl() errors;
Set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands;
Handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does).
pkgsrc- and Solaris-specific fix copied from PR/38199.
>How-To-Repeat:
>Fix:
Index: sysutils/smartmontools/Makefile
===================================================================
RCS file: /vol/2/cvsup/pkgsrc/sysutils/smartmontools/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- sysutils/smartmontools/Makefile 4 Jan 2008 22:15:47 -0000 1.14
+++ sysutils/smartmontools/Makefile 3 May 2008 13:20:46 -0000
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2008/01/04 22:15:47 heinz Exp $
-DISTNAME= smartmontools-5.37
+DISTNAME= smartmontools-5.38
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
@@ -8,15 +8,15 @@
HOMEPAGE= http://smartmontools.sourceforge.net/
COMMENT= Control and monitor storage systems using SMART
-ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-*
+ONLY_FOR_PLATFORM= Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-*
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_LANGUAGES+= c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
EGDIR= ${PREFIX}/share/examples/smartmontools
CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
Index: sysutils/smartmontools/distinfo
===================================================================
RCS file: /vol/2/cvsup/pkgsrc/sysutils/smartmontools/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- sysutils/smartmontools/distinfo 19 Oct 2007 03:56:13 -0000 1.14
+++ sysutils/smartmontools/distinfo 3 May 2008 13:18:38 -0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2007/10/19 03:56:13 taca Exp $
+$NetBSD$
-SHA1 (smartmontools-5.37.tar.gz) = d6e88f576e26836b929c570290644b0580645602
-RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812
-Size (smartmontools-5.37.tar.gz) = 590605 bytes
-SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733
-SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918
-SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2
+SHA1 (smartmontools-5.38.tar.gz) = b5831719fd292dccfd12fa58b15b3e278dd9bcbe
+RMD160 (smartmontools-5.38.tar.gz) = abc2ca7f30c84f9679da79c0ca2f812c1b816ee9
+Size (smartmontools-5.38.tar.gz) = 617099 bytes
+SHA1 (patch-aa) = bf6e5aaef364397ebfb7b44dfd98297c780a2f17
+SHA1 (patch-ab) = b40f78d220d87217d0006bfbfec2b47ee3c79e2f
+SHA1 (patch-ac) = 712cf0cc567221a92d38d8b3c4623902705b6dfa
Index: sysutils/smartmontools/patches/patch-aa
===================================================================
RCS file: /vol/2/cvsup/pkgsrc/sysutils/smartmontools/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- sysutils/smartmontools/patches/patch-aa 3 Jun 2007 10:40:07 -0000
1.4
+++ sysutils/smartmontools/patches/patch-aa 27 Apr 2008 17:36:50 -0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2007/06/03 10:40:07 jmmv Exp $
+$NetBSD$
---- Makefile.in.orig 2006-12-20 21:38:50.000000000 +0100
+--- Makefile.in.orig 2008-03-04 22:28:09.000000000 +0000
+++ Makefile.in
-@@ -92,7 +92,7 @@ CONFIG_HEADER = config.h
+@@ -87,7 +87,7 @@ CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" \
"$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docsdir)" \
@@ -11,7 +11,7 @@
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(sbin_PROGRAMS)
am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \
-@@ -353,8 +353,7 @@ docs_DATA = AUTHORS \
+@@ -347,8 +347,7 @@ docs_DATA = AUTHORS \
NEWS \
README \
TODO \
@@ -21,12 +21,12 @@
sysconf_DATA = smartd.conf$(smartd_suffix)
EXTRA_DIST = smartmontools.spec \
-@@ -1122,7 +1121,7 @@ info: info-recursive
+@@ -1115,7 +1114,7 @@ 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-dvi: install-dvi-recursive
Index: sysutils/smartmontools/patches/patch-ab
===================================================================
RCS file: sysutils/smartmontools/patches/patch-ab
diff -N sysutils/smartmontools/patches/patch-ab
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/smartmontools/patches/patch-ab 27 Apr 2008 17:35:59 -0000
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- configure.orig 2008-03-04 22:28:10.000000000 +0000
++++ configure
+@@ -8098,13 +8098,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=
Index: sysutils/smartmontools/patches/patch-ac
===================================================================
RCS file: sysutils/smartmontools/patches/patch-ac
diff -N sysutils/smartmontools/patches/patch-ac
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/smartmontools/patches/patch-ac 3 May 2008 13:18:36 -0000
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- 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;
+ }
+
Index: sysutils/smartmontools/patches/patch-ae
===================================================================
RCS file: sysutils/smartmontools/patches/patch-ae
diff -N sysutils/smartmontools/patches/patch-ae
--- sysutils/smartmontools/patches/patch-ae 19 Oct 2007 03:56:13 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2007/10/19 03:56:13 taca Exp $
-
---- smartctl.cpp.orig Mon Oct 9 20:45:12 2006
-+++ smartctl.cpp
-@@ -82,7 +82,7 @@ void PrintOneCVS(const char *a_cvs_id){
- }
-
- void printcopy(){
-- char
*configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no
arguments given]";
-+ const char
*configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no
arguments given]";
-
- pout("smartctl comes with ABSOLUTELY NO WARRANTY. This\n");
- pout("is free software, and you are welcome to redistribute it\n");
Index: sysutils/smartmontools/patches/patch-af
===================================================================
RCS file: sysutils/smartmontools/patches/patch-af
diff -N sysutils/smartmontools/patches/patch-af
--- sysutils/smartmontools/patches/patch-af 19 Oct 2007 03:56:14 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2007/10/19 03:56:14 taca Exp $
-
---- smartd.cpp.orig Sun Nov 12 13:49:09 2006
-+++ smartd.cpp
-@@ -310,7 +310,7 @@ void PrintOneCVS(const char *a_cvs_id){
-
- // prints CVS identity information for the executable
- void PrintCVS(void){
-- char
*configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no
arguments given]";
-+ const char
*configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no
arguments given]";
-
- PrintOut(LOG_INFO,(char *)copyleftstring);
- PrintOut(LOG_INFO,"CVS version IDs of files used to build this code
are:\n");
Home |
Main Index |
Thread Index |
Old Index