aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sg3_utils
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-06-23 06:18:06 +0800
committerlippe <lippe@FreeBSD.org>2008-06-23 06:18:06 +0800
commitc617d8b2a773090941718c8d1e58df9ec2d6afb5 (patch)
treee41750f6adc7421c450c31118d9216c906306002 /sysutils/sg3_utils
parentc6a5dd7268499c28e8bcf6317adfa839ce2d0a8b (diff)
downloadfreebsd-ports-gnome-c617d8b2a773090941718c8d1e58df9ec2d6afb5.tar.gz
freebsd-ports-gnome-c617d8b2a773090941718c8d1e58df9ec2d6afb5.tar.zst
freebsd-ports-gnome-c617d8b2a773090941718c8d1e58df9ec2d6afb5.zip
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)
Diffstat (limited to 'sysutils/sg3_utils')
-rw-r--r--sysutils/sg3_utils/Makefile31
-rw-r--r--sysutils/sg3_utils/distinfo3
-rw-r--r--sysutils/sg3_utils/pkg-descr9
-rw-r--r--sysutils/sg3_utils/pkg-plist43
4 files changed, 86 insertions, 0 deletions
diff --git a/sysutils/sg3_utils/Makefile b/sysutils/sg3_utils/Makefile
new file mode 100644
index 000000000000..6aaf3da57d61
--- /dev/null
+++ b/sysutils/sg3_utils/Makefile
@@ -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>
diff --git a/sysutils/sg3_utils/distinfo b/sysutils/sg3_utils/distinfo
new file mode 100644
index 000000000000..932470d0a72d
--- /dev/null
+++ b/sysutils/sg3_utils/distinfo
@@ -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
diff --git a/sysutils/sg3_utils/pkg-descr b/sysutils/sg3_utils/pkg-descr
new file mode 100644
index 000000000000..ad0cdf1bbb78
--- /dev/null
+++ b/sysutils/sg3_utils/pkg-descr
@@ -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
diff --git a/sysutils/sg3_utils/pkg-plist b/sysutils/sg3_utils/pkg-plist
new file mode 100644
index 000000000000..ad7522f2166a
--- /dev/null
+++ b/sysutils/sg3_utils/pkg-plist
@@ -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