Turns out, the current Version of smartmontools sets the timeout in
ata.passthru to 60 instead of 60000. (Missing conversion from seconds
to milliseconds)
In Upstream commit 9c2f3a38063c4c6837507373c4dc4c9b1e3e7e81 from
2020-06-05 fixes this.
Since there were also API-Changes, i could not just import the fix.
The patch below patches just the timeout to fix our version.
When smartmontools 7.2 is released the patch should be obsolete.
Report (above), diff and tests from Martin Ziemer (maintainer), thanks!
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.
This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -
- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.
- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.
devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
There's no good reason to restrict this to only a few tested
architectures, the package is fast to build and might be useful
elsewhere. If it doesn't build on some architectures, we can fix it or
use NOT_FOR_ARCHS. ok giovanni@ (maintainer)
- install sample smartd.conf.
- clean out empty patch.
- remove some less than useful files.
original diff from Giovanni Bechis < bigionews at snb.it > via ports@.
ok ajacoutot@ merdely@
Controls and monitors 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.
For now i386 only (Some issues noticed on macppc)
Soekris users with internal hdd will like this port.
From Romain GAILLEGUE <romain@biscotte.net>