ports/124358: [NEW PORT] sysutils/sg3_utils Set of utilities that send SCSI commands to devices

Denis Barov dindin at dindin.ru
Fri Jun 6 18:50:01 UTC 2008


>Number:         124358
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/sg3_utils Set of utilities that send SCSI commands to devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 06 18:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Denis Barov
>Release:        FreeBSD 6,7,8
>Organization:
Yandex
>Environment:
FreeBSD sepulca.yandex.ru 6.3-STABLE FreeBSD 6.3-STABLE #5: Wed Feb 27 12:26:30 MSK 2008     root at sepulca.yandex.ru:/usr/obj/usr/RELENG_6/src/sys/SEPULCA  amd6
>Description:
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.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/sysutils/sg3_utils
#	/usr/ports/sysutils/sg3_utils/Makefile
#	/usr/ports/sysutils/sg3_utils/distinfo
#	/usr/ports/sysutils/sg3_utils/pkg-descr
#	/usr/ports/sysutils/sg3_utils/pkg-plist
#
echo c - /usr/ports/sysutils/sg3_utils
mkdir -p /usr/ports/sysutils/sg3_utils > /dev/null 2>&1
echo x - /usr/ports/sysutils/sg3_utils/Makefile
sed 's/^X//' >/usr/ports/sysutils/sg3_utils/Makefile << 'END-of-/usr/ports/sysutils/sg3_utils/Makefile'
X# New ports collection makefile for:   sg3_utils
X# Date created:        06 Jun 2008
X# Whom:                Denis Barov <dindin at dindin.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sg3_utils
XPORTVERSION=	1.25
XCATEGORIES=	sysutils
XMASTER_SITES=	http://sg.torque.net/sg/p/
XEXTRACT_SUFX=.tgz
X
XMAINTAINER=	dindin at dindin.ru
XCOMMENT=	Set of utilities that send SCSI commands to devices
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN8=		sg_format.8 sg_get_config.8 sg_ident.8 sg_inq.8 sg_logs.8 \
X			sg_luns.8 sg_modes.8 sg_persist.8 sg_opcodes.8 sg_prevent.8 \
X			sg_raw.8 sg_rdac.8 sg_read_buffer.8 sg_read_long.8 \
X			sg_readcap.8 sg_reassign.8 sg_requests.8 sg_rmsn.8 sg_rtpg.8 \
X			sg_safte.8 sg_sat_identify.8 sg_sat_set_features.8 \
X			sg_senddiag.8 sg_ses.8 sg_start.8 sg_stpg.8 sg_sync.8 \
X			sg_turs.8 sg_verify.8 sg_vpd.8 sg_wr_mode.8 \
X			sg_write_buffer.8 sg_write_long.8
X
X.include <bsd.port.mk>
END-of-/usr/ports/sysutils/sg3_utils/Makefile
echo x - /usr/ports/sysutils/sg3_utils/distinfo
sed 's/^X//' >/usr/ports/sysutils/sg3_utils/distinfo << 'END-of-/usr/ports/sysutils/sg3_utils/distinfo'
XMD5 (sg3_utils-1.25.tgz) = 9fec4d8f3f6c8b3d2da79fc17cc2d387
XSHA256 (sg3_utils-1.25.tgz) = 464bccf48f41d45ba2dd0b75c48f98a4cac15f0c3be1b83598c001887fee1528
XSIZE (sg3_utils-1.25.tgz) = 867372
END-of-/usr/ports/sysutils/sg3_utils/distinfo
echo x - /usr/ports/sysutils/sg3_utils/pkg-descr
sed 's/^X//' >/usr/ports/sysutils/sg3_utils/pkg-descr << 'END-of-/usr/ports/sysutils/sg3_utils/pkg-descr'
XThe sg3_utils package contains utilities that send SCSI commands to devices.
XAs well as devices on transports traditionally associated with SCSI (e.g.
XFibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI Parallel
XInterface(SPI)) many other devices use SCSI command sets. It's
Xfunctions similar to camcontrol(8), but more powerful. For example,
Xit can use SCSI Environmental Services not using FreeBSD ses(4), 
Xread SCSI device logs, and much more. 
X
XWWW: http://sg.torque.net/sg/sg3_utils.html
END-of-/usr/ports/sysutils/sg3_utils/pkg-descr
echo x - /usr/ports/sysutils/sg3_utils/pkg-plist
sed 's/^X//' >/usr/ports/sysutils/sg3_utils/pkg-plist << 'END-of-/usr/ports/sysutils/sg3_utils/pkg-plist'
X at comment $FreeBSD$
Xbin/sg_format
Xbin/sg_get_config
Xbin/sg_ident
Xbin/sg_inq
Xbin/sg_logs
Xbin/sg_luns
Xbin/sg_modes
Xbin/sg_opcodes
Xbin/sg_persist
Xbin/sg_prevent
Xbin/sg_raw
Xbin/sg_rdac
Xbin/sg_readcap
Xbin/sg_read_buffer
Xbin/sg_read_long
Xbin/sg_reassign
Xbin/sg_requests
Xbin/sg_rmsn
Xbin/sg_rtpg
Xbin/sg_safte
Xbin/sg_sat_identify
Xbin/sg_sat_set_features
Xbin/sg_senddiag
Xbin/sg_ses
Xbin/sg_stpg
Xbin/sg_start
Xbin/sg_sync
Xbin/sg_turs
Xbin/sg_verify
Xbin/sg_vpd
Xbin/sg_write_buffer
Xbin/sg_write_long
Xbin/sg_wr_mode
Xinclude/scsi/sg_lib.h
Xinclude/scsi/sg_cmds.h
Xinclude/scsi/sg_cmds_basic.h
Xinclude/scsi/sg_cmds_extra.h
Xinclude/scsi/sg_pt.h
Xlib/libsgutils.so.1
Xlib/libsgutils.la
Xlib/libsgutils.a
X at dirrm include/scsi
END-of-/usr/ports/sysutils/sg3_utils/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list