diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-14 18:44:10 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-14 18:44:10 +0000 |
commit | 60792b3ad18b1501d8e92b99c828a1b0328262b5 (patch) | |
tree | 925ae0e594ecfff83db450cdde0686bc72f4ccc6 /sysutils | |
parent | 397176cfa3caf099c12a8572e06f59fe874c0b66 (diff) | |
download | ports-60792b3ad18b1501d8e92b99c828a1b0328262b5.tar.gz ports-60792b3ad18b1501d8e92b99c828a1b0328262b5.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/smartmontools/Makefile | 10 | ||||
-rw-r--r-- | sysutils/smartmontools/distinfo | 4 | ||||
-rw-r--r-- | sysutils/smartmontools/files/pkg-message.in | 5 |
3 files changed, 11 insertions, 8 deletions
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 <bsd.port.mk> 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: |