git: c60a5c51e87c - main - sysutils/sg3_utils: Update to 1.47
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Aug 2022 01:49:28 UTC
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=c60a5c51e87cf4d3befd8c32c39c06b69ee28e30 commit c60a5c51e87cf4d3befd8c32c39c06b69ee28e30 Author: Neel Chauhan <nc@FreeBSD.org> AuthorDate: 2022-08-21 01:48:55 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-08-21 01:48:55 +0000 sysutils/sg3_utils: Update to 1.47 --- sysutils/sg3_utils/Makefile | 2 +- sysutils/sg3_utils/distinfo | 6 +++--- sysutils/sg3_utils/files/patch-lib_sg__pt__freebsd.c | 15 --------------- sysutils/sg3_utils/pkg-plist | 6 ++++-- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/sysutils/sg3_utils/Makefile b/sysutils/sg3_utils/Makefile index 782b4ef57c29..6b35d8075fb9 100644 --- a/sysutils/sg3_utils/Makefile +++ b/sysutils/sg3_utils/Makefile @@ -1,5 +1,5 @@ PORTNAME= sg3_utils -DISTVERSION= 1.45 +DISTVERSION= 1.47 CATEGORIES= sysutils MASTER_SITES= http://sg.danny.cz/sg/p/ diff --git a/sysutils/sg3_utils/distinfo b/sysutils/sg3_utils/distinfo index 77b2bd9cc9ef..9bd2482e265e 100644 --- a/sysutils/sg3_utils/distinfo +++ b/sysutils/sg3_utils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1583231382 -SHA256 (sg3_utils-1.45.tgz) = 0b87c971af52af7cebebcce343eac6bd3d73febb3c72af9ce41a4552f1605a61 -SIZE (sg3_utils-1.45.tgz) = 1578568 +TIMESTAMP = 1661045579 +SHA256 (sg3_utils-1.47.tgz) = 8673c7faca849b6b34764332d2aa91f72db05bff7382bb836d0688795199c3e1 +SIZE (sg3_utils-1.47.tgz) = 1682084 diff --git a/sysutils/sg3_utils/files/patch-lib_sg__pt__freebsd.c b/sysutils/sg3_utils/files/patch-lib_sg__pt__freebsd.c deleted file mode 100644 index 1e24321af715..000000000000 --- a/sysutils/sg3_utils/files/patch-lib_sg__pt__freebsd.c +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/sg_pt_freebsd.c.orig 2019-02-11 01:43:25 UTC -+++ lib/sg_pt_freebsd.c -@@ -1181,8 +1181,12 @@ nvme_pt_low(struct freebsd_dev_channel *fdc_p, void * - err = ioctl(fdc_p->dev_fd, NVME_PASSTHROUGH_CMD, npcp); - if (err < 0) - return -errno; /* Assume Unix error in normal place */ -+#if __FreeBSD_version <= 1200058 -+ sct_sc = ((npcp->cpl.status.sct << 8) | npcp->cpl.status.sc); -+#else - sct_sc = (NVME_STATUS_GET_SCT(npcp->cpl.status) << 8) | - NVME_STATUS_GET_SC(npcp->cpl.status); -+#endif - fdc_p->nvme_result = npcp->cpl.cdw0; - sg_put_unaligned_le32(npcp->cpl.cdw0, - fdc_p->cq_dw0_3 + SG_NVME_PT_CQ_RESULT); diff --git a/sysutils/sg3_utils/pkg-plist b/sysutils/sg3_utils/pkg-plist index d2634ce9adf0..109e02de2f8a 100644 --- a/sysutils/sg3_utils/pkg-plist +++ b/sysutils/sg3_utils/pkg-plist @@ -31,6 +31,7 @@ bin/sg_read_long bin/sg_readcap bin/sg_reassign bin/sg_referrals +bin/sg_rep_pip bin/sg_rep_zones bin/sg_requests bin/sg_reset_wp @@ -72,8 +73,8 @@ include/scsi/sg_pr2serr.h include/scsi/sg_pt.h include/scsi/sg_pt_nvme.h include/scsi/sg_unaligned.h -lib/libsgutils2-1.45.so.2 -lib/libsgutils2-1.45.so.2.0.0 +lib/libsgutils2-1.47.so.2 +lib/libsgutils2-1.47.so.2.0.0 lib/libsgutils2.a lib/libsgutils2.so man/man8/scsi_mandat.8.gz @@ -108,6 +109,7 @@ man/man8/sg_read_long.8.gz man/man8/sg_readcap.8.gz man/man8/sg_reassign.8.gz man/man8/sg_referrals.8.gz +man/man8/sg_rep_pip.8.gz man/man8/sg_rep_zones.8.gz man/man8/sg_requests.8.gz man/man8/sg_reset_wp.8.gz