Commit graph

35 commits

Author SHA1 Message Date
taca
9c5366756a Use a raw disk device file on NetBSD.
Bump PKGREVISION.
2012-07-20 12:35:00 +00:00
shattered
fe3315bb85 Set LICENSE. 2012-03-10 13:20:10 +00:00
marino
746880764b PR#40628 sysutils/smartmontools: DragonFly support
Currently DragonFly is using the FreeBSD-specific configuration for
Smartmontools.  In the future, a DragonFly-specific file should be
created and moved upstream, but for now these additional macro
conditions will provide DragonFly support.
2011-11-01 12:59:17 +00:00
obache
be0c2e789e Note upstream ticket URL. 2011-01-03 01:44:59 +00:00
obache
b86912322f Add an patch for DragonFly BSD usb headers.
PR#44320 by Rumko.
2011-01-03 01:40:46 +00:00
tnn
4492826130 Update to smartmontools-5.40 (ok shattered@)
Date 2010-10-16
Summary: smartmontools release 5.40
-----------------------------------------------------------
- Other config entries may precede smartd DEVICESCAN.
- Option '-v' allows to specify byte order of attribute raw value
- configure: New default value for '--with-docdir'.
- configure: '--enable-drivedb' is now the default.
- Improved support for Intel SSDs.
- Improved support for SandForce based SSDs.
- Drive database is in a separate source file 'drivedb.h'
  which can be downloaded from SVN.
- USB ID info is now included in 'drivedb.h'.
- Many additions to drive database.
- New script 'update-smart-drivedb'.
- smartd libcap-ng support, option '-C, --capabilities'.
- smartd directive '-l xerror' to check Extended Comprehensive
  SMART Error Log.
- smartctl option '-l scterc[,...]' to get/set the
  SCT Error Recovery Control time limit.
- smartctl option '-t vendor,N'.
- smartctl options '--scan, --scan-open'.
- Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN.
- Linux: Support SATA drives on LSI 3ware 9750 controllers.
- Windows: Read 'drivedb.h' and 'smartd.conf' from exe directory.
- Windows: Support for 64-bit executables.
- Windows: Support for cross compilation on Linux.
- Fix regression in smartctl option '-t select,M-N'.
- Fix SCT temperature table commands on big endian CPUs.
- Fix regression in smartd SMARTD_DEVICE and SMARTD_DEVICETYPE
  environment variables.

Date 2010-01-28
Summary: smartmontools release 5.39.1
-----------------------------------------------------------
- Fix crash on kFreeBSD.
- Fix regression in smartctl option '-q, --quietmode'.
- Fix regression in smartd directive '-l selftest'.
- Linux: Allow smartd 'DEVICESCAN -d sat'.
- Linux: Fix spin-up of SATA drive if '-n standby' is used.
- Windows: Fix parsing of 3ware 'tw_cli' output.

Date 2009-12-09
Summary: smartmontools release 5.39 (UNSTABLE/EXPERIMENTAL)
-----------------------------------------------------------
- Sourcecode repository moved from CVS to SVN
- Support for USB devices with Cypress, JMicron and Sunplus USB bridges
- USB device type autodetection for some devices on Linux, Windows and FreeBSD
  (http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices)
- Support for Areca controllers on Linux
- Support for MegaRAID controllers on Linux
- Support for HighPoint RocketRAID controllers on FreeBSD
- Support RAID controllers using /dev/pass devices on FreeBSD
- Support CHECK_POWER_MODE and WRITE_LOG on FreeBSD
- Support for up to 128 devices on 3ware controllers
- smartctl option '-l xerror' to print ATA SMART Extended Comprehensive
  Error Log
- smartctl option '-l xselftest' to print ATA SMART Extended Self-test Log
- smartctl option '-l sataphy' to print SATA Phy Event Counters
- smartctl option '-l sasphy' to print SAS device phy information
- smartctl options '-l gplog,...' and '-l smartlog,...' to print any log page
- smartctl option '-x' to print all extended info if available
- smartctl prints SCSI load/unload cycle counts
- Improve display of huge raw values of some SMART attributes
- Option '-d sat+TYPE' to use SAT with controllers which require '-d TYPE'
- Option '-v ID,RAW_FORMAT,ATTR_NAME' to add new vendor specific attributes
- Support for SSD drives using 64-bit raw attributes
- Many additions to drive database
- New simplified syntax for drive database
- Option '-B FILE' to read drive database from a file
- Configure option to add drive database file to distribution
- smartd can now handle attributes 197 and 198 with increasing raw values
- smartd logs changes of self-test execution status
- smartd directive '-n powermode,N' to limit the number of skipped checks
- smartd flag '!' for '-r' and '-R' directives to log changes as critical
- smartd supports scheduled Selective Self-Tests
- Self-tests scheduled during system downtime or disk standby are run after
  next startup
- smartd option '-s PREFIX' to store smartd internal state until next startup
- smartd option '-A PREFIX' to log attributes at each check cycle
- Configure options to enable the above by default
- Change to an object oriented interface to access ATA and SCSI devices
- Linux, Win32 and FreeBSD modules migrated to new interface
- Rework of smartd data structures
- Checkin date and SVN revision and optional BUILD_INFO printed in version info
- Better support for GSmartControl on Windows
- SELinux fixes to 3ware device node creation
- Fix CCISS file descriptor leak on FreeBSD
- Compile fixes for Solaris and FreeBSD
- Use getaddrinfo() instead of gethostbyname() to support IPv6
- C++ Support for QNX Target, already tested for QNX 6.3.2 on x86 and
  armle target
- Additional support for Samsung MLC flash drives
- New device type detection algorithm on FreeBSD, not based on filename
- Support for the adaX (ATA on CAM bus) devices on FreeBSD 8.0 and higher
2010-11-13 10:10:45 +00:00
shattered
5d155f2be2 (hopefully) make this package actually work on Solaris x86. Reported by Tom Hensel. 2010-10-25 22:58:56 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
shattered
5cd10c8d18 Change maintainer email to my NetBSD.org alias. At the same time, disown
games/adom -- I don't use (play :-) it these days.
2009-01-04 14:08:14 +00:00
obache
580204fec2 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.
2008-05-17 13:07:54 +00:00
heinz
1579851456 The package supports installation to DESTDIR. 2008-01-04 22:15:47 +00:00
taca
a380c3fe58 Add const to fix compile problem on some platforms. 2007-10-19 03:56:13 +00:00
jmmv
02182710b5 Restrict this package to supported platforms only. From Sergey Svishchev
in private mail.
2007-09-11 11:19:13 +00:00
jmmv
c6838f1d47 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
2007-06-03 10:40:07 +00:00
martin
23523cc06f Fix this for little endian args 2006-09-24 17:14:55 +00:00
wiz
2e3fd5e8f9 Update to 5.36, provided by Sergey Svishchev in PR 33958:
Date 2006-04-12
Summary: smartmontools release 5.36 (STABLE)
-----------------------------------------------------------
This is a stable smartmontools release.  The 5.34 version
described just below was never officially released because
Bruce Allen decided to wait until Linux support for
accessing SATA devices through libata was in the official
kernel.org sources.  Changes include:

- Win 2000/XP:ability to cancel drive self-tests
- Additions to the table of known drives
- FreeBSD support for 3ware char device interface and
  multiple 3ware cards
- Various cygwin improvements for running as service
- Works 'out of the box' with Linux SATA libata
- smartd option added to list test schedules
- smartctl option added to list part of drive database
- various improvements for SCSI disks and logs


Date 2005-04-19
Summary: smartmontools release 5.34 (STABLE)
-----------------------------------------------------------
This is a stable smartmontools release.  It includes:
- OS/2 and eComStation support
All Platforms:
 - Printing of drive family info
 - SCSI disks: output size of grown defect list
 - Added info about drive family to 'smartctl -i' output.
 - Added option ',q' for smartd '-n' directive to suppress
   'skipping checks' message which may spin up laptop disk.
 - Added message if smartd '-n' check power mode spins up disk.
Cygwin and Windows:
 - Added info about Windows version and service pack to banner line.
 - Added support for smartd '-n' directive for Win2000/XP.
 - Added support for READ_LOG for WinNT4 also.
 - Fixed bug that prevents display of empty logs on Win2000/XP
 - Fixed use of cached smart enabled state in 'smartctl -i' output.
Windows:
 - Fixed bug that prevents running smartd as service on WinNT4.


Date 2004-9-5
Summary: smartmontools release 5.33 (UNSTABLE/EXPERIMENTAL)
-----------------------------------------------------------
This is an unstable/experimental release of smartmontools.  It includes
 - support for Darwin/Mac OSX
 - support for OpenBSD
 - support for 3ware ATA RAID controllers under FreeBSD
 - support for 3ware 9500 series SATA RAID controllers under
   Linux.  Use /dev/twa[0-15] devices to access these.
 - support for 3ware character device interfaces /dev/twe[0-15]
   under Linux.  This allows (for example) Selective Self-tests.
 - support for Marvell chip-set based SATA controllers under Linux.
 - smartd mail now works also under Windows (using "Blat" mailer).
 - smartd can now be run as a Windows service.
Please report sucess/failure with these items to the
smartmontools-support mailing list.
2006-07-17 17:01:32 +00:00
martin
0fd3cf2dc0 Fix string output of IDENTIFY on little endian machines (which I broke
with the previous version). Noted by Rhialto in private mail.
2006-04-20 23:22:04 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
kristerw
84adc1832e Regenerate a hand-edited patch so that the Mac OS X patch program
can understand how to apply it.
2005-10-27 21:36:13 +00:00
martin
59449b4e37 Make this work on big endian NetBSD machines.
(Patches already forwarded to the maintainers)
2005-09-07 07:32:10 +00:00
kristerw
cb8c87a1c0 Regenerate so that the Mac OS X patch program undestands how
to apply it.
2005-07-19 04:01:41 +00:00
rillig
b84e63e225 Removed RCS Id from the patch. 2005-07-18 09:26:30 +00:00
martin
a2b64a3291 Avoid functions w/o prototype 2005-07-15 07:49:49 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
70b8813025 Add patch from Scott Presnell in PR 29701:
The package smartmontools version 5.32 uses wrong units for SCSI
timeout in os_netbsd.c.

Double checked by thorpej.

Bump PKGREVISION.
2005-03-17 16:33:23 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
jlam
d7c341a8a9 Use a standard idiom to install the config files into the examples
directory instead of $(sysconfdir) for packages that use GNU automake.
Also modify patch-aa to avoid installing the provided init.d script
in a simpler way.
2005-01-02 20:29:16 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
xtraeme
38f60398da /bin/sh -> @RCD_SCRIPTS_SHELL@ 2004-10-20 07:25:39 +00:00
xtraeme
1fc231ba19 Replace harcoded /usr/pkg and /var with @PREFIX@ and @VARBASE@
respectively, from Sergey Svishchev in private email.
2004-10-20 07:22:09 +00:00
xtraeme
76af227387 Enable pkgviews installation. 2004-07-15 20:42:26 +00:00
xtraeme
aac2169619 Initial import of smartmontools-5.32 from pkgsrc-wip, contributed by
<shattered at users.sourceforge.net> with some minor changes by me.

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.

This closes PR pkg/25616.
2004-07-15 20:17:45 +00:00