diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile index dacd1b76fb1d..c0bec1e450a8 100644 --- a/sysutils/smartmontools/Makefile +++ b/sysutils/smartmontools/Makefile @@ -6,7 +6,7 @@ # PORTNAME= smartmontools -PORTVERSION= 5.40 +PORTVERSION= 5.41 CATEGORIES= sysutils MASTER_SITES= SF @@ -21,8 +21,9 @@ USE_GMAKE= yes # hack to prevent gmake failure on 6.xx GMAKE= make GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample \ - --disable-dependency-tracking --enable-drivedb +CONFIGURE_ARGS= --disable-dependency-tracking \ + --enable-drivedb --enable-sample \ + --with-docdir=${DOCSDIR} --with-initscriptdir=${PREFIX}/etc/rc.d SUB_FILES= pkg-message smart USE_RC_SUBR= smartd @@ -33,11 +34,12 @@ MAN8= smartd.8 smartctl.8 CFLAGS:= ${CFLAGS:S/-O2/-O/} -Wno-write-strings post-patch: - @${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/smart ${PREFIX}/etc/periodic/daily/smart + ${INSTALL_SCRIPT} ${WRKSRC}/smartd.freebsd.initd ${PREFIX}/etc/rc.d/smartd @${CAT} ${PKGMESSAGE} .include diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo index 885c623111a0..1ae36d2f8c3f 100644 --- a/sysutils/smartmontools/distinfo +++ b/sysutils/smartmontools/distinfo @@ -1,2 +1,2 @@ -SHA256 (smartmontools-5.40.tar.gz) = 2a68ed20d5d6bd198e1aa6bf0b6037f0f216e3b14da022115244f1af9d248bfd -SIZE (smartmontools-5.40.tar.gz) = 705592 +SHA256 (smartmontools-5.41.tar.gz) = 173eb14e3253a30230f38c7e684085bcae7fa021efff58bdf94c2702ac76fa32 +SIZE (smartmontools-5.41.tar.gz) = 740661 diff --git a/sysutils/smartmontools/files/pkg-message.in b/sysutils/smartmontools/files/pkg-message.in index 85cab06bfad7..9db5193a0843 100644 --- a/sysutils/smartmontools/files/pkg-message.in +++ b/sysutils/smartmontools/files/pkg-message.in @@ -2,8 +2,9 @@ smartmontools has been installed To check the status of drives, use the following: - %%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA drive - %%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive + %%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive + %%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive + %%PREFIX%%/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: