sysutils/nvme-cli: Add json-c dependency and enable json
Turns out that too much is disabled when we disable json. Add dependency
Sponsored by: Netflix
sysutils/nvme-cli: Don't depend on swig
Swig is needed only to create the python bindings for libnvme. It was
added in development before python was disabled, but not subsequently
removed.
Sponsored by: Netflix
sysutils/nvme-cli: Update to 2.11.0.1
Update to my FreeBSD fixes to 2.11:
* Update support for SN-340 based on trial an error
* Patch meson.build in my repo, not via ports
Sponsored by: Netflix
sysutils/nvme-cli: Fix commit 3517dea254f951d5fbc9aa12d9b73c2581636c07
Patch file rended up in root dir instead of files which causes port
to fail due to plist errors
PR: 284971
Approved by: portmgr (blanket, build fix)
sysutils/nvme-cli: Update to 2.11
Update to 2.11, and depend on libnvme, per upstream. Adds a boatload of
new functionality. However, not everything works. Caveat emptor.
Remastered by: zi@
Sponsored by: Netflix
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
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.