aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-03-20 05:02:40 +0800
committerpawel <pawel@FreeBSD.org>2013-03-20 05:02:40 +0800
commitcf2938bc1255dcdd79739680c28e047c6dfe44d9 (patch)
tree82f0270d8e46d916b140f30c67298fd043052522 /sysutils
parent3710c381101da58611cf5f2937e288a823aa083c (diff)
downloadfreebsd-ports-gnome-cf2938bc1255dcdd79739680c28e047c6dfe44d9.tar.gz
freebsd-ports-gnome-cf2938bc1255dcdd79739680c28e047c6dfe44d9.tar.zst
freebsd-ports-gnome-cf2938bc1255dcdd79739680c28e047c6dfe44d9.zip
- 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)
Diffstat (limited to 'sysutils')
-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