aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-03-19 21:02:40 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-03-19 21:02:40 +0000
commitd0b7c7e577be8f300a30eee7884351083333392c (patch)
tree82f0270d8e46d916b140f30c67298fd043052522 /sysutils/smartmontools
parentfa56e1424dc7878a008734277f3c7f5e6770efa2 (diff)
downloadports-d0b7c7e577be8f300a30eee7884351083333392c.tar.gz
ports-d0b7c7e577be8f300a30eee7884351083333392c.zip
Notes
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r--sysutils/smartmontools/Makefile8
-rw-r--r--sysutils/smartmontools/distinfo4
-rw-r--r--sysutils/smartmontools/files/patch-atacam15
-rw-r--r--sysutils/smartmontools/pkg-plist1
4 files changed, 8 insertions, 20 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index 8d5a158f13cb..654b702eba28 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -1,8 +1,8 @@
-# Create by: Eduard Martinescu
+# Created by: Eduard Martinescu
# $FreeBSD$
PORTNAME= smartmontools
-PORTVERSION= 6.0
+PORTVERSION= 6.1
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -27,7 +27,9 @@ MAN8= smartd.8 smartctl.8
PORTDOCS= *
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --without-docdir --without-exampledir
.else
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo
index 6193e6f6159a..4dcec60142b6 100644
--- a/sysutils/smartmontools/distinfo
+++ b/sysutils/smartmontools/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smartmontools-6.0.tar.gz) = 9fe4ff2b7bcd00fde19db82bba168f5462ed6e857d3ef439495e304e3231d3a6
-SIZE (smartmontools-6.0.tar.gz) = 771540
+SHA256 (smartmontools-6.1.tar.gz) = a9003b8bccc82682f658ce76d70edb1842411e51dc56d4cd6b56618da1d9ce07
+SIZE (smartmontools-6.1.tar.gz) = 787091
diff --git a/sysutils/smartmontools/files/patch-atacam b/sysutils/smartmontools/files/patch-atacam
deleted file mode 100644
index 51c63bd40063..000000000000
--- a/sysutils/smartmontools/files/patch-atacam
+++ /dev/null
@@ -1,15 +0,0 @@
---- os_freebsd.cpp 2012-06-19 13:37:05.000000000 -0700
-+++ os_freebsd.cpp 2012-07-02 01:51:10.998181000 -0700
-@@ -1795,8 +1795,10 @@
- * We are searching for latest name
- */
- periph_result = &ccb.cdm.matches[i].result.periph_result;
-- devname = strprintf("%s%s%d", _PATH_DEV, periph_result->periph_name, periph_result->unit_number);
-- changed = 0;
-+ if (strcmp(periph_result->periph_name, "pass")) {
-+ devname = strprintf("%s%s%d", _PATH_DEV, periph_result->periph_name, periph_result->unit_number);
-+ changed = 0;
-+ }
- };
- if ((changed == 1 || show_all) && !devname.empty()) {
- names.push_back(devname);
diff --git a/sysutils/smartmontools/pkg-plist b/sysutils/smartmontools/pkg-plist
index 61881784b7b9..30869b1081a5 100644
--- a/sysutils/smartmontools/pkg-plist
+++ b/sysutils/smartmontools/pkg-plist
@@ -1,6 +1,7 @@
@stopdaemon smartd
etc/periodic/daily/smart
etc/smartd.conf.sample
+etc/smartd_warning.sh
sbin/smartctl
sbin/smartd
sbin/update-smart-drivedb