The sg3_utils package contains utilities that send SCSI commands to devices.

As well as devices on transports traditionally associated with SCSI (e.g.
Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI Parallel
Interface(SPI)) many other devices use SCSI command sets. It's
functionality similar to camcontrol(8), but more powerful. For example,
it can use SCSI Environmental Services not using FreeBSD ses(4),
read SCSI device logs, and much more.

WWW: http://sg.torque.net/sg/sg3_utils.html

PR:		ports/124358
Submitted by:	Denis Barov <dindin@dindin.ru>
Approved by:	gabor (mentor, implicit)
This commit is contained in:
Felippe de Meirelles Motta 2008-06-22 22:18:06 +00:00
parent 89a7a9e5f6
commit 040df40e20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215565
5 changed files with 87 additions and 0 deletions

View file

@ -647,6 +647,7 @@
SUBDIR += setquota
SUBDIR += sfdisk
SUBDIR += sformat
SUBDIR += sg3_utils
SUBDIR += sge60
SUBDIR += sge61
SUBDIR += sge62

View file

@ -0,0 +1,31 @@
# New ports collection makefile for: sg3_utils
# Date created: 06 Jun 2008
# Whom: Denis Barov <dindin@dindin.ru>
#
# $FreeBSD$
#
PORTNAME= sg3_utils
PORTVERSION= 1.25
CATEGORIES= sysutils
MASTER_SITES= http://sg.torque.net/sg/p/
EXTRACT_SUFX= .tgz
MAINTAINER= dindin@dindin.ru
COMMENT= Set of utilities that send SCSI commands to devices
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= sg_format.8 sg_get_config.8 sg_ident.8 sg_inq.8 sg_logs.8 \
sg_luns.8 sg_modes.8 sg_persist.8 sg_opcodes.8 sg_prevent.8 \
sg_raw.8 sg_rdac.8 sg_read_buffer.8 sg_read_long.8 \
sg_readcap.8 sg_reassign.8 sg_requests.8 sg_rmsn.8 sg_rtpg.8 \
sg_safte.8 sg_sat_identify.8 sg_sat_set_features.8 \
sg_senddiag.8 sg_ses.8 sg_start.8 sg_stpg.8 sg_sync.8 \
sg_turs.8 sg_verify.8 sg_vpd.8 sg_wr_mode.8 \
sg_write_buffer.8 sg_write_long.8 sg3_utils.8
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (sg3_utils-1.25.tgz) = 9fec4d8f3f6c8b3d2da79fc17cc2d387
SHA256 (sg3_utils-1.25.tgz) = 464bccf48f41d45ba2dd0b75c48f98a4cac15f0c3be1b83598c001887fee1528
SIZE (sg3_utils-1.25.tgz) = 867372

View file

@ -0,0 +1,9 @@
The sg3_utils package contains utilities that send SCSI commands to devices.
As well as devices on transports traditionally associated with SCSI (e.g.
Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI Parallel
Interface(SPI)) many other devices use SCSI command sets. It's
functions similar to camcontrol(8), but more powerful. For example,
it can use SCSI Environmental Services not using FreeBSD ses(4),
read SCSI device logs, and much more.
WWW: http://sg.torque.net/sg/sg3_utils.html

View file

@ -0,0 +1,43 @@
bin/sg_format
bin/sg_get_config
bin/sg_ident
bin/sg_inq
bin/sg_logs
bin/sg_luns
bin/sg_modes
bin/sg_opcodes
bin/sg_persist
bin/sg_prevent
bin/sg_raw
bin/sg_rdac
bin/sg_readcap
bin/sg_read_buffer
bin/sg_read_long
bin/sg_reassign
bin/sg_requests
bin/sg_rmsn
bin/sg_rtpg
bin/sg_safte
bin/sg_sat_identify
bin/sg_sat_set_features
bin/sg_senddiag
bin/sg_ses
bin/sg_stpg
bin/sg_start
bin/sg_sync
bin/sg_turs
bin/sg_verify
bin/sg_vpd
bin/sg_write_buffer
bin/sg_write_long
bin/sg_wr_mode
include/scsi/sg_lib.h
include/scsi/sg_cmds.h
include/scsi/sg_cmds_basic.h
include/scsi/sg_cmds_extra.h
include/scsi/sg_pt.h
lib/libsgutils.so.1
lib/libsgutils.so
lib/libsgutils.la
lib/libsgutils.a
@dirrm include/scsi