CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

sysutils/smartmontools 7.5_3

S.M.A.R.T. disk monitoring tools

Port info

Maintainer
samm@FreeBSD.org
Packages
latest: 7.5_3
Upstream
up to date
Last update
to 7.5_3 · 34337efb7a
Quarterly
2026Q4: 7.5_2
WWW
https://www.smartmontools.org
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install smartmontools
installs 7.5_3 from latest; from quarterly (2026Q4) 7.5_2
Port
# cd /usr/ports/sysutils/smartmontools && make install clean
# make -C /usr/ports/sysutils/smartmontools config  # change options first
Size
591 KiB download · 2.1 MiB installed
Depends on
nothing
License
GPLv2+
Options
1 of 1 on in the package: DOCS
pkg-message
Shown after installing
smartmontools has been installed

To check the status of drives, use the following:

	/usr/local/sbin/smartctl -a /dev/ad0	for first ATA/SATA drive
	/usr/local/sbin/smartctl -a /dev/da0	for first SCSI drive
	/usr/local/sbin/smartctl -a /dev/ada0	for first SATA drive

To include drive health information in your daily status reports,
add a line like the following to /etc/periodic.conf:
	daily_status_smart_devices="/dev/ad0 /dev/da0"
substituting the appropriate device names for your SMART-capable disks.

To enable drive monitoring, you can use /usr/local/sbin/smartd.
A sample configuration file has been installed as
/usr/local/etc/smartd.conf.sample
Copy this file to /usr/local/etc/smartd.conf and edit appropriately

To enable smartd at boot and start it now:
	sysrc smartd_enable=YES
	service smartd start

To enable verification of the drivedb updates, install the "security/gnupg"
package.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 167.5_37.5_3–
FreeBSD 157.5_37.5_3–
FreeBSD 147.5_37.5_27.5_3

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 157.5_27.5_2–
FreeBSD 147.5_27.5_27.5_2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 7.5_3.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (127)

Antoine Brodin (antoine) · 6.3
Cleanup plist
23b328aaf9
John Marino (marino) · 6.3
Add USES=alias to several ports

Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
5e68477fdc
Guido Falsi (madpilot) · 6.3
- Update to 6.3 - Update home page

PR:		192293
Submitted by:	samm at os2.kiev.ua (maintainer)
fd5875aa27
Tijl Coosemans (tijl) · 6.2_2
Improve the FreeBSD SCSI and SAS support in smartmontools: - Remove unused private fields from some classes (found by Clang). - In freebsd_scsi_device::scsi_pass_through:   * Make sure this function returns false on error instead of an error     code that gets converted to true.   * Put printing of the "Incoming data" debug info right after the     cam_send_ccb() call and before the error checking

Committed upstream as r3873.

PR:		ports/181836, ports/185960, ports/186095
Tested by:	many
8b413af5b1
Tijl Coosemans (tijl) · 6.2_1
- Fix a crash with some SCSI disks. - Add DOCS option and use option helpers. - USES=gmake. - Staging. - Remove CFLAGS left from old versions.

PR:		ports/181836
Approved by:	maintainer timeout (3 weeks)
f7481ef696
Baptiste Daroussin (bapt) · 6.2
Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils)
83f65384c9
Vanilla I. Shu (vanilla) · 6.2
Upgrade to 6.2.

PR:		ports/180879
Submitted by:	maintainer
70f644326c
Pawel Pekala (pawel) · 6.1
- Update to version 6.1 [1] - Correct Makefile header - NOPORTDOCS -> ! ${PORT_OPTIONS:MDOCS}

PR:		ports/177088 [1]
Submitted by:	Jeremy Chadwick <jdc@koitsu.org>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
d0b7c7e577
Ruslan Makhmatkhanov (rm) · 6.0
- update to 6.0 - trim Makefile header while here

changelog:
http://sourceforge.net/apps/trac/smartmontools/browser/tags/RELEASE_6_0/smartmontools/NEWS

PR:	172697
Submitted by:	Jeremy Chadwick <jdc at koitsu dot org>
Approved by:	Alex Samorukov <samm at os2.kiev dot ua> (maintainer)
Feature safe:	yes
efc617a7bb
Juergen Lock (nox) · 5.43_1
- Fix AUTO in daily_status_smart_devices parameter (skip arX devices). - Bump PORTREVISION.

PR:		ports/172480
Submitted by:	Leonid Nevecherya <nlv@imbera.ru>
Approved by:	samm@os2.kiev.ua (maintainer)
Feature safe:	yes
b639546b3c
Pawel Pekala (pawel) · 5.43
Update to version 5.43

PR:		ports/169593
Submitted by:	Jeremy Chadwick <jdc@koitsu.org>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
a24a7d72f6
Guido Falsi (madpilot) · 5.42_4
- Fix scanning of ada disks on ata busses - Bump PORTREVISION

PR:		ports/168523
Submitted by:	Konstantin Kukushkin <dark@rambler-co.ru>
Approved by:	maintainer timeout (18 days)
Approved by:	tabthorpe (mentor)
26e3c2d224
Michael Scheidell (scheidell) · 5.42_3
- Honor NOPORTDOCS env var - No PORTREVISION bump

PR:		ports/165670
Submitted by:	scheidell (me)
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer), gabor (mentor, implicit)
5bcfde2b25
Doug Barton (dougb) · 5.42_3
This change has various simplifications/improvements for the port. Most importantly, it's currently installing the rc.d script from the source, rather than the fixed one in files/.

1. Remove 6.x compatibility hack
2. Use the PORTDOCS macro
3. Actually install the rc.d script in files/
4. Simplify pkg-plist
5. For the rc.d script:
   a. Move it to the standard location, after LOGIN
   b. Add KEYWORD nojail per the script in the distfiles
   c. Put the standard arguments in their usual order/formats
   d. Simplify the assignments of pidfile and required_files
   e. Use command_args for required arguments, don't abuse _flags
   f. The test for -p in smartd_flags should be a start_precmd,
      we frown on running any code unconditionally.
      Also, improve this check if -p is first.
   g. Bring the reload and report options from the distfile version,
      and simplify them.

PR:		ports/165167
Submitted by:	me
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
16b13f3515
Doug Barton (dougb) · 5.42_2
In the rc.d scripts, change assignments to rcvar to use the literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
83eb2c3700
Dirk Meyer (dinoex) · 5.42_2
- fix handling of cd* PR:		162383 Submitted by:	Christoph Mallon Approved by:	(maintainer timeout) Feature safe:	yes
b98ad75f78
Xin LI (delphij) · 5.42_1
Import 2 important fixes from upstream (SVN):

- Fix a crash with SCSI devices on FreeBSD9 [r3468]
 - Fix weird bugs caused by LSI firmware with SATA devices
   [r3466]

PR:		ports/162276
Submitted by:	Alex Samorukov <samm os2.kiev.ua> (maintainer)
c3e2dd8fa2
Eitan Adler (eadler) · 5.42
- fix distinfo after rerolled distfiles

PR:		ports/161889
Submitted by:	Kenji Rikitake <kenji.rikitake@acm.org>
Approved by:	bapt,sahil (mentors, implicit)
7840ceb42f
Philippe Audeoud (jadawin) · 5.42
- Update to 5.42 - Remove useless patch

PR:		ports/161859
Submitted by:	Alex Samorukov <samm _AT_ os2.kiev.ua> (maintainer)
7d930b7e67
Chris Rees (crees) · 5.41_3
Fix with atacam driver.

PR:		ports/161018
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Obtained from:	https://sourceforge.net/apps/trac/smartmontools/ticket/198
d1680780d5
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.41_2
- Update periodic script output - Bump PORTREVISION for PLIST change

PR:		ports/159022
Submitted by:	Ari <listat2011@apz.fi>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
bf00685d47
Romain Tartière (romain) · 5.41_1
Improve periodic script to display a short report when a disk attribute failed in the past but is now back to normal.

PR:		ports/158630
Submitted by:	romain
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
7c0d8674a8
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.41
- Update to 5.41 - Sort CONFIGURE_ARGS

Changes:	http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_41/smartmontools/CHANGELOG
PR:		ports/157762
Submitted by:	Jin-Sih Lin <linpct@gmail.com>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
60792b3ad1
Martin Wilke (miwi) · 5.40
- Get Rid MD5 support
a9481afc8a
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.40
- Update to 5.40 - Add LICENSE - Update pkg-descr

Changes:	http://sourceforge.net/apps/trac/smartmontools/browser/tags/RELEASE_5_40/smartmontools/NEWS
PR:		ports/151532
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Approved by:	pgollucci (mentor, implicit)
a97112d243
Martin Wilke (miwi) · 5.39.1
- Add support for periodic ciss devices health monitoring

PR:		146100
Submitted by:	Ondra Knezour <knezour@weboutsourcing.cz>
Approved by:	maintainer
20113704c6
Doug Barton (dougb) · 5.39.1
Begin the process of deprecating sysutils/rc_subr by s#. %%RC_SUBR%%#. /etc/rc.subr#
1d6b4b3f91
Martin Wilke (miwi) · 5.39.1
- Update to 5.39.1 - Pass maintainership to submitter

PR:		144052
Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
Approved by:	marck@ (maintainer)
6ecdd1e9a2
Dmitry Marakasov (amdmi3) · 5.39_2
- More tweaks of periodic script

Submitted by:	marck (maintainer)
e5a04ac37d
Dmitry Marakasov (amdmi3) · 5.39_1
- Fix periodic script

PR:		143551
Submitted by:	marck (maintainer)
d213ce11a6
Xin LI (delphij) · 5.39
Update to 5.39.

This version is long awaited and the important improvements related to
FreeBSD are:

 - USB device type autodetection for some devices
   http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices
 - Support for HighPoint RocketRAID controllers
 - Support RAID controllers using /dev/pass devices
 - Support CHECK_POWER_MODE and WRITE_LOG
 - Fix CCISS file descriptor leak
 - 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

PR:		ports/141371
Submitted by:	Alex Samorukov <samm os2 kiev ua>
Approved by:	marck (maintainer)
05d6bc7bcc
Dmitry Marakasov (amdmi3) · 5.38_8
- Add CONFLICTS against newly added sysutils/smartmontools-devel
a3f1a47248
Alexander Logvinov (avl) · 5.38_8
- Add a patch that makes shure the data buffers used to read smart   attributes and logs do not straddle page boundaries

PR:		ports/138540
Submitted by:	Brad Huntting <huntting AT glarp.com>
Approved by:	tabthorpe, glarkin (mentors, implicit), marck (maintainer)
6eaf7a345f
Alexander Logvinov (avl) · 5.38_7
- Fix command 13 in ata_command_interface()

PR:		ports/137177
Submitted by:	marck (maintainer)
Approved by:	tabthorpe (mentor)
32a0ad1ce2
Dmitry Marakasov (amdmi3) · 5.38_6
- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
3eb168f46b
Wesley Shields (wxs) · 5.38_6
- Fix questionable correctness of autodetect procedure and switch to using   kern.disks in place of ls /dev/da*[0-9].

PR:		ports/135213
Submitted by:	Dmitry Morozovsky <marck@freebsd.org> (maintainer)
eed1fb4787
Martin Wilke (miwi) · 5.38_5
- Fix typo in smart periodic script. - Add simple autodetect mode (works only for regular disks).

PR:		134954
Submitted by:	maintainer
30083f5673
Pav Lucistnik (pav) · 5.38_4
- Over to marck, a new maintainer
ebe1a389f0
Pav Lucistnik (pav) · 5.38_4
- Support SATA disks attached to a SAS controller - Compile with -O to prevent SCSI bus resets on amd64

Submitted by:	ru
5b0c008d13
Pav Lucistnik (pav) · 5.38_3
- Revert previous change

Requested by:	wollman
76613624de
Pav Lucistnik (pav) · 5.38_2
- Improve periodic script

PR:		ports/129985
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
0df75946ac
Pav Lucistnik (pav) · 5.38_1
- Now comes with a periodic script

PR:		ports/129722
Submitted by:	wollman
f1fdf32a0c
Rong-En Fan (rafan) · 5.38
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
741aa71483
Pav Lucistnik (pav) · 5.38
- Remove CISS option, the necessary support is now included in the vendor code

Reported by:	mi
24d4609420
Pav Lucistnik (pav) · 5.38
- Update to 5.38 - Mark the CISS patch as broken, it wasn't update to 5.38
0bb59eff20
Pav Lucistnik (pav) · 5.37_2
- Allow smartctl to interact with SCSI /dev/pass devices, thus enabling it to   work with RAID controllers that expose disks via these devices.

Submitted by:	scottl
9cd588d1cf
Rong-En Fan (rafan) · 5.37_1
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script   supports them.  This is determined by running ``configure --help'' in   do-configure target and set the shell variable _LATE_CONFIGURE_ARGS   which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable   Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - 

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
f935a609c5
Pav Lucistnik (pav) · 5.37_1
- Fix smartd to detect drives if the first drive has two-digit number (like   ad10) - Recognize some new Western Digital Caviar SE drives

PR:		ports/110806
Submitted by:	marck
4cac24ee80
Pav Lucistnik (pav) · 5.37
- Add optional ciss(4) support, defaults to off

Submitted by:	mi
d146de2fad
Pav Lucistnik (pav) · 5.37
- Update to 5.37
fb3b507acd