main
cmake cleanup from PR #92
conditional copy getopt.h into include directory when missing
add cmake build system (alongside autotools) with cpack for deb and rpm packages; fixes so musl-gcc builds clean
spc5r20 updates; fixes for FreeBSD 12.0 release
split sg_cmds_mmc out of sg_cmds_extra; add PDT_* defines
fixes in sg_get_mode_page_controls()
sg_read_block_limits: fix granularity value, add --mloi option; sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work
add: SPDX-License-Identifier: BSD-2-Clause (or gpl-2-or-later); testing/sgs_dd.c work
tweak transport error handling in Linux; sg_compare_and_write: add examples section to its manpage; testing
sg_lib: add sg_strscpy() to replace strncpy(); sg_json: add sgj_haj_vs_nex(); fixes from regression testing against version 1.48
sg_inq+sg_vpd: rework designation descriptor handling; add sgj_haj_vs_len(); change sgj_js_designation_descriptor() to sgj_haj_designation_descriptor()
major addition of const, mainly to file scope statics
sg_vpd: add --descriptors option, for version descriptors; re-organiize library for SNT code
rearrange SNT and NVMe headers and associated source
sg_map: fix sg<->sd mapping for LUNs greater than 255
bump sg_pt library version number; doco tweaks
sg_write_x: add --quiet option; fix sg_if_can2stdxxx problem when es=0; other cleanups
add sg_snt_zero_snt_result() function to clear uninitialized warning
Some CMakeLists.txt fine tuning, mainly explanations