Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 05:34:44 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482025 - head/sysutils/nvme-cli
Message-ID:  <201810140534.w9E5Yibc072767@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Oct 14 05:34:43 2018
New Revision: 482025
URL: https://svnweb.freebsd.org/changeset/ports/482025

Log:
  Add new port for Linux-nvme's nvme-cli program.
  
  The nvme program allows sending of arbitrary commands to nvme devices.
  Only the admin-passthru command is known to work, though others might.
  Many linuxisms remain in this program that, though it compiles, will
  likely not work on FreeBSD, preventing other commands from working.
  Marked only for amd64 / FreeBSD 12/13 since it's only been tested
  there and uses APIs that are unstable between the major releases.
  Upstreamable patches welcome to fix any of this, and this port will
  evolve as my patches get accepted upstream.

Added:
  head/sysutils/nvme-cli/
  head/sysutils/nvme-cli/Makefile   (contents, props changed)
  head/sysutils/nvme-cli/distinfo   (contents, props changed)
  head/sysutils/nvme-cli/pkg-descr   (contents, props changed)

Added: head/sysutils/nvme-cli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nvme-cli/Makefile	Sun Oct 14 05:34:43 2018	(r482025)
@@ -0,0 +1,26 @@
+# Created by: imp
+# $FreeBSD$
+
+PORTNAME=	nvme-cli
+PORTVERSION=	1.6
+CATEGORIES=	sysutils
+
+MAINTAINER=	imp@FreeBSD.org
+COMMENT=	Port of Linux nvme cli utility
+
+LICENSE=	GPLv2
+
+# only tested on amd64, all other archs are no-go until we're sure amd64 works.
+# And there's plenty in amd64 that compiles, but won't run (eg using /sys/, etc)
+ONLY_FOR_ARCHS=	amd64
+BROKEN_FreeBSD_11=	Uses newer API than in 11.x
+BROKEN_FreeBSD_10=	Uses newer API than in 10.x
+
+USES=		gmake
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	bsdimp
+GH_PROJECT=	nvme-cli
+GH_TAGNAME=	9221b5f
+
+.include <bsd.port.mk>

Added: head/sysutils/nvme-cli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nvme-cli/distinfo	Sun Oct 14 05:34:43 2018	(r482025)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1539492927
+SHA256 (bsdimp-nvme-cli-1.6-9221b5f_GH0.tar.gz) = b0b0c69f1315f332235a509dee509b98e0f01dccff5642351c0e88db252c821e
+SIZE (bsdimp-nvme-cli-1.6-9221b5f_GH0.tar.gz) = 379619

Added: head/sysutils/nvme-cli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nvme-cli/pkg-descr	Sun Oct 14 05:34:43 2018	(r482025)
@@ -0,0 +1,3 @@
+NVM-Express user space tooling for Linux.
+
+WWW: https://github.com/linux-nvme/nvme-cli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810140534.w9E5Yibc072767>