[Midnightbsd-cvs] mports [21955] trunk/sysutils/smartmontools: smartmontools 6.5
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 29 16:58:58 EDT 2016
Revision: 21955
http://svnweb.midnightbsd.org/mports/?rev=21955
Author: laffer1
Date: 2016-09-29 16:58:57 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
smartmontools 6.5
Modified Paths:
--------------
trunk/sysutils/smartmontools/Makefile
trunk/sysutils/smartmontools/distinfo
Added Paths:
-----------
trunk/sysutils/smartmontools/files/patch-atacmds.h
trunk/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
trunk/sysutils/smartmontools/files/patch-update-smart-drivedb.in
Modified: trunk/sysutils/smartmontools/Makefile
===================================================================
--- trunk/sysutils/smartmontools/Makefile 2016-09-29 20:53:06 UTC (rev 21954)
+++ trunk/sysutils/smartmontools/Makefile 2016-09-29 20:58:57 UTC (rev 21955)
@@ -1,7 +1,7 @@
# $MidnightBSD$
PORTNAME= smartmontools
-PORTVERSION= 6.4
+PORTVERSION= 6.5
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -13,13 +13,11 @@
CONFLICTS= smartmontools-devel-[0-9]*
OPTIONS_DEFINE= DOCS
-DOCS_CONFIGURE_OFF= --without-docdir --without-exampledir
-DOCS_CONFIGURE_ON= --with-docdir=${DOCSDIR}
USES= alias gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
- --enable-drivedb --enable-sample \
+ --enable-sample \
--with-initscriptdir=${PREFIX}/etc/rc.d
SUB_FILES= pkg-message smart
Modified: trunk/sysutils/smartmontools/distinfo
===================================================================
--- trunk/sysutils/smartmontools/distinfo 2016-09-29 20:53:06 UTC (rev 21954)
+++ trunk/sysutils/smartmontools/distinfo 2016-09-29 20:58:57 UTC (rev 21955)
@@ -1,2 +1,2 @@
-SHA256 (smartmontools-6.4.tar.gz) = eab75600c1eda9c34b13097db71138ab376f3dad8a6a4667fb4d1d081feb7a85
-SIZE (smartmontools-6.4.tar.gz) = 822539
+SHA256 (smartmontools-6.5.tar.gz) = 89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc
+SIZE (smartmontools-6.5.tar.gz) = 855642
Added: trunk/sysutils/smartmontools/files/patch-atacmds.h
===================================================================
--- trunk/sysutils/smartmontools/files/patch-atacmds.h (rev 0)
+++ trunk/sysutils/smartmontools/files/patch-atacmds.h 2016-09-29 20:58:57 UTC (rev 21955)
@@ -0,0 +1,12 @@
+--- atacmds.h.orig 2015-10-31 09:36:16.000000000 -0700
++++ atacmds.h 2016-06-15 19:39:43.425233000 -0700
+@@ -74,7 +74,9 @@
+ #define ATA_IDLE 0xe3
+ #define ATA_SMART_CMD 0xb0
+ #define ATA_SECURITY_FREEZE_LOCK 0xf5
++#ifndef ATA_SET_FEATURES
+ #define ATA_SET_FEATURES 0xef
++#endif
+ #define ATA_STANDBY_IMMEDIATE 0xe0
+
+ // SET_FEATURES subcommands
Property changes on: trunk/sysutils/smartmontools/files/patch-atacmds.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
===================================================================
--- trunk/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h (rev 0)
+++ trunk/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h 2016-09-29 20:58:57 UTC (rev 21955)
@@ -0,0 +1,20 @@
+--- freebsd_nvme_ioctl.h.orig 2016-03-28 16:25:56 UTC
++++ freebsd_nvme_ioctl.h
+@@ -31,6 +31,7 @@
+
+ #define NVME_PASSTHROUGH_CMD _IOWR('n', 0, struct nvme_pt_command)
+
++#if __FreeBSD_version < 1100110
+ struct nvme_command
+ {
+ /* dword 0 */
+@@ -143,6 +144,9 @@ struct nvme_pt_command {
+ */
+ struct mtx * driver_lock;
+ };
++#else
++#include <dev/nvme/nvme.h>
++#endif
+
+ #define nvme_completion_is_error(cpl) \
+ ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
Property changes on: trunk/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/smartmontools/files/patch-update-smart-drivedb.in
===================================================================
--- trunk/sysutils/smartmontools/files/patch-update-smart-drivedb.in (rev 0)
+++ trunk/sysutils/smartmontools/files/patch-update-smart-drivedb.in 2016-09-29 20:58:57 UTC (rev 21955)
@@ -0,0 +1,29 @@
+--- update-smart-drivedb.in.orig 2016-02-26 23:29:24.000000000 +0300
++++ update-smart-drivedb.in 2016-05-12 23:07:17.558810000 +0300
+@@ -51,7 +51,8 @@
+ -s SMARTCTL Use SMARTCTL for syntax check ('-s -' to disable)
+ [default: $SMARTCTL]
+ -t TOOL Use TOOL for download: $os_dltools
+- [default: first one found in PATH]
++ [default: fetch, which is always available
++ on FreeBSD.]
+ -u LOCATION Use URL of LOCATION for download:
+ sf (Sourceforge code browser via HTTPS)
+ svn (SVN repository via HTTPS) [default]
+@@ -262,14 +263,8 @@
+ esac
+
+ if [ -z "$tool" ]; then
+- # Find download tool in PATH
+- for t in $os_dltools; do
+- if inpath "$t"; then
+- tool=$t
+- break
+- fi
+- done
+- test -n "$tool" || error "found none of: $os_dltools"
++ # Set to fetch by default
++ tool="fetch"
+ fi
+
+ test -n "$url" || selecturl "svn"
Property changes on: trunk/sysutils/smartmontools/files/patch-update-smart-drivedb.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list