aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-03-10 13:12:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-03-10 13:12:53 +0000
commit6ecdd1e9a27e6c0b14e5fc76d765631440bf36de (patch)
treefb01c4c6f9e62b7579f62f6e1f5e154a33d225f5 /sysutils/smartmontools
parent3a0f4b6a8e4d76559451f1acd425e839d49432f7 (diff)
downloadports-6ecdd1e9a27e6c0b14e5fc76d765631440bf36de.tar.gz
ports-6ecdd1e9a27e6c0b14e5fc76d765631440bf36de.zip
Notes
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r--sysutils/smartmontools/Makefile8
-rw-r--r--sysutils/smartmontools/distinfo6
-rw-r--r--sysutils/smartmontools/files/smart.in3
-rw-r--r--sysutils/smartmontools/pkg-plist2
4 files changed, 12 insertions, 7 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index 2c6c558fccbb..0dedcfff6f7b 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= smartmontools
-PORTVERSION= 5.39
-PORTREVISION= 2
+PORTVERSION= 5.39.1
CATEGORIES= sysutils
MASTER_SITES= SF
-MAINTAINER= marck@FreeBSD.org
+MAINTAINER= samm@os2.kiev.ua
COMMENT= S.M.A.R.T. disk monitoring tools
CONFLICTS= smartmontools-devel-[0-9]*
@@ -20,7 +19,8 @@ USE_GMAKE= yes
# hack to prevent gmake failure on 6.xx
GMAKE= make
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample \
+ --disable-dependency-tracking --enable-drivedb
SUB_FILES= pkg-message smart
USE_RC_SUBR= smartd
diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo
index e6b68ba2f358..143bab442dd9 100644
--- a/sysutils/smartmontools/distinfo
+++ b/sysutils/smartmontools/distinfo
@@ -1,3 +1,3 @@
-MD5 (smartmontools-5.39.tar.gz) = 63c1b5373a9ef91e9c9becb16e147571
-SHA256 (smartmontools-5.39.tar.gz) = e118de37541ef78061a823439425c63106df249e925610d96aabc9bd8239e0d0
-SIZE (smartmontools-5.39.tar.gz) = 658355
+MD5 (smartmontools-5.39.1.tar.gz) = f6f7380ae45587161c0adae8862110e9
+SHA256 (smartmontools-5.39.1.tar.gz) = 725cfd59b33a97561346a990e1ec50b150dbac01f2b90cd9cf3fd74ff1e77720
+SIZE (smartmontools-5.39.1.tar.gz) = 659335
diff --git a/sysutils/smartmontools/files/smart.in b/sysutils/smartmontools/files/smart.in
index 713ece59b70d..17a85547a968 100644
--- a/sysutils/smartmontools/files/smart.in
+++ b/sysutils/smartmontools/files/smart.in
@@ -64,6 +64,9 @@ case "${daily_status_smart_enable}" in
elif [ $((status & 3)) -ne 0 ]; then
rc=2
${trim_junk} "${tmpfile}"
+ elif [ `grep -c '^SMART support is: Unavailable' ${tmpfile}` -eq 1 ] ; then
+ rc=2
+ echo "N/A"
else
rc=1
${smartctl} ${devflags} ${daily_status_smartctl_extra_status_flags} \
diff --git a/sysutils/smartmontools/pkg-plist b/sysutils/smartmontools/pkg-plist
index 7ca96cbea442..5ae1f7cae493 100644
--- a/sysutils/smartmontools/pkg-plist
+++ b/sysutils/smartmontools/pkg-plist
@@ -19,6 +19,8 @@ sbin/smartd
%%DOCSDIR%%/examplescripts/Example4
%%DOCSDIR%%/examplescripts/README
%%DOCSDIR%%/smartd.conf
+%%DATADIR%%/drivedb.h
+@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%/examplescripts
@dirrm %%DOCSDIR%%
@dirrmtry etc/periodic/daily