From owner-svn-ports-head@freebsd.org Sun Oct 14 05:34:45 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D729110C5CED; Sun, 14 Oct 2018 05:34:44 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ABEB7A056; Sun, 14 Oct 2018 05:34:44 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 85C3A19FF6; Sun, 14 Oct 2018 05:34:44 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9E5Yihg072770; Sun, 14 Oct 2018 05:34:44 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9E5Yibc072767; Sun, 14 Oct 2018 05:34:44 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201810140534.w9E5Yibc072767@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sun, 14 Oct 2018 05:34:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482025 - head/sysutils/nvme-cli X-SVN-Group: ports-head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/sysutils/nvme-cli X-SVN-Commit-Revision: 482025 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2018 05:34:45 -0000 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 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