notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
sg3_utils Set of utilities that send SCSI commands to devices
1.48_1 sysutils on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.48Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2008-06-22 22:18:21
Last Update: 2024-02-20 22:50:56
Commit Hash: f5e299f
People watching this port, also watch:: pkg, zip, coreutils, smartmontools, bash
License: BSD2CLAUSE GPLv2+
WWW:
https://sg.danny.cz/sg/sg3_utils.html
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. Its functions are 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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (165 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sg3_utils-1.48_1/catalog.mk
  3. /usr/local/share/licenses/sg3_utils-1.48_1/LICENSE
  4. /usr/local/share/licenses/sg3_utils-1.48_1/BSD2CLAUSE
  5. /usr/local/share/licenses/sg3_utils-1.48_1/GPLv2+
  6. bin/rescan-scsi-bus.sh
  7. bin/scsi_logging_level
  8. bin/scsi_mandat
  9. bin/scsi_readcap
  10. bin/scsi_ready
  11. bin/scsi_satl
  12. bin/scsi_start
  13. bin/scsi_stop
  14. bin/scsi_temperature
  15. bin/sg_bg_ctl
  16. bin/sg_compare_and_write
  17. bin/sg_decode_sense
  18. bin/sg_format
  19. bin/sg_get_config
  20. bin/sg_get_elem_status
  21. bin/sg_get_lba_status
  22. bin/sg_ident
  23. bin/sg_inq
  24. bin/sg_logs
  25. bin/sg_luns
  26. bin/sg_modes
  27. bin/sg_opcodes
  28. bin/sg_persist
  29. bin/sg_prevent
  30. bin/sg_raw
  31. bin/sg_rdac
  32. bin/sg_read_attr
  33. bin/sg_read_block_limits
  34. bin/sg_read_buffer
  35. bin/sg_read_long
  36. bin/sg_readcap
  37. bin/sg_reassign
  38. bin/sg_referrals
  39. bin/sg_rem_rest_elem
  40. bin/sg_rep_density
  41. bin/sg_rep_pip
  42. bin/sg_rep_zones
  43. bin/sg_requests
  44. bin/sg_reset_wp
  45. bin/sg_rmsn
  46. bin/sg_rtpg
  47. bin/sg_safte
  48. bin/sg_sanitize
  49. bin/sg_sat_datetime
  50. bin/sg_sat_identify
  51. bin/sg_sat_phy_event
  52. bin/sg_sat_read_gplog
  53. bin/sg_sat_set_features
  54. bin/sg_seek
  55. bin/sg_senddiag
  56. bin/sg_ses
  57. bin/sg_ses_microcode
  58. bin/sg_start
  59. bin/sg_stpg
  60. bin/sg_stream_ctl
  61. bin/sg_sync
  62. bin/sg_timestamp
  63. bin/sg_turs
  64. bin/sg_unmap
  65. bin/sg_verify
  66. bin/sg_vpd
  67. bin/sg_wr_mode
  68. bin/sg_write_attr
  69. bin/sg_write_buffer
  70. bin/sg_write_long
  71. bin/sg_write_same
  72. bin/sg_write_verify
  73. bin/sg_write_x
  74. bin/sg_z_act_query
  75. bin/sg_zone
  76. include/scsi/sg_cmds.h
  77. include/scsi/sg_cmds_basic.h
  78. include/scsi/sg_cmds_extra.h
  79. include/scsi/sg_cmds_mmc.h
  80. include/scsi/sg_json.h
  81. include/scsi/sg_json_sg_lib.h
  82. include/scsi/sg_lib.h
  83. include/scsi/sg_lib_data.h
  84. include/scsi/sg_lib_names.h
  85. include/scsi/sg_pr2serr.h
  86. include/scsi/sg_pt.h
  87. include/scsi/sg_pt_nvme.h
  88. include/scsi/sg_unaligned.h
  89. lib/libsgutils2-1.48.so.2
  90. lib/libsgutils2-1.48.so.2.0.0
  91. lib/libsgutils2.a
  92. lib/libsgutils2.so
  93. share/man/man8/scsi_mandat.8.gz
  94. share/man/man8/scsi_readcap.8.gz
  95. share/man/man8/scsi_ready.8.gz
  96. share/man/man8/scsi_satl.8.gz
  97. share/man/man8/scsi_start.8.gz
  98. share/man/man8/scsi_stop.8.gz
  99. share/man/man8/scsi_temperature.8.gz
  100. share/man/man8/sg3_utils.8.gz
  101. share/man/man8/sg3_utils_json.8.gz
  102. share/man/man8/sg_bg_ctl.8.gz
  103. share/man/man8/sg_compare_and_write.8.gz
  104. share/man/man8/sg_decode_sense.8.gz
  105. share/man/man8/sg_format.8.gz
  106. share/man/man8/sg_get_config.8.gz
  107. share/man/man8/sg_get_elem_status.8.gz
  108. share/man/man8/sg_get_lba_status.8.gz
  109. share/man/man8/sg_ident.8.gz
  110. share/man/man8/sg_inq.8.gz
  111. share/man/man8/sg_logs.8.gz
  112. share/man/man8/sg_luns.8.gz
  113. share/man/man8/sg_modes.8.gz
  114. share/man/man8/sg_opcodes.8.gz
  115. share/man/man8/sg_persist.8.gz
  116. share/man/man8/sg_prevent.8.gz
  117. share/man/man8/sg_raw.8.gz
  118. share/man/man8/sg_rdac.8.gz
  119. share/man/man8/sg_read_attr.8.gz
  120. share/man/man8/sg_read_block_limits.8.gz
  121. share/man/man8/sg_read_buffer.8.gz
  122. share/man/man8/sg_read_long.8.gz
  123. share/man/man8/sg_readcap.8.gz
  124. share/man/man8/sg_reassign.8.gz
  125. share/man/man8/sg_referrals.8.gz
  126. share/man/man8/sg_rem_rest_elem.8.gz
  127. share/man/man8/sg_rep_density.8.gz
  128. share/man/man8/sg_rep_pip.8.gz
  129. share/man/man8/sg_rep_zones.8.gz
  130. share/man/man8/sg_requests.8.gz
  131. share/man/man8/sg_reset_wp.8.gz
  132. share/man/man8/sg_rmsn.8.gz
  133. share/man/man8/sg_rtpg.8.gz
  134. share/man/man8/sg_safte.8.gz
  135. share/man/man8/sg_sanitize.8.gz
  136. share/man/man8/sg_sat_datetime.8.gz
  137. share/man/man8/sg_sat_identify.8.gz
  138. share/man/man8/sg_sat_phy_event.8.gz
  139. share/man/man8/sg_sat_read_gplog.8.gz
  140. share/man/man8/sg_sat_set_features.8.gz
  141. share/man/man8/sg_seek.8.gz
  142. share/man/man8/sg_senddiag.8.gz
  143. share/man/man8/sg_ses.8.gz
  144. share/man/man8/sg_ses_microcode.8.gz
  145. share/man/man8/sg_start.8.gz
  146. share/man/man8/sg_stpg.8.gz
  147. share/man/man8/sg_stream_ctl.8.gz
  148. share/man/man8/sg_sync.8.gz
  149. share/man/man8/sg_timestamp.8.gz
  150. share/man/man8/sg_turs.8.gz
  151. share/man/man8/sg_unmap.8.gz
  152. share/man/man8/sg_verify.8.gz
  153. share/man/man8/sg_vpd.8.gz
  154. share/man/man8/sg_wr_mode.8.gz
  155. share/man/man8/sg_write_attr.8.gz
  156. share/man/man8/sg_write_buffer.8.gz
  157. share/man/man8/sg_write_long.8.gz
  158. share/man/man8/sg_write_same.8.gz
  159. share/man/man8/sg_write_verify.8.gz
  160. share/man/man8/sg_write_x.8.gz
  161. share/man/man8/sg_z_act_query.8.gz
  162. share/man/man8/sg_zone.8.gz
  163. @owner
  164. @group
  165. @mode
Collapse this list.
Dependency lines:
  • sg3_utils>0:sysutils/sg3_utils
To install the port:
cd /usr/ports/sysutils/sg3_utils/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/sg3_utils
  • pkg install sg3_utils
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sg3_utils
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1691046445 SHA256 (sg3_utils-1.48.tgz) = d62b6c3cf20390fa7357044390084166d25f1d932a1135c450b69fe5c283d773 SIZE (sg3_utils-1.48.tgz) = 2302254

Packages (timestamps in pop-ups are UTC):
sg3_utils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.48_11.48_11.451.48_11.48_1-1.45-
FreeBSD:13:quarterly1.481.481.471.481.481.481.481.48
FreeBSD:14:latest1.48_11.48_11.471.48_11.48_11.47-1.47
FreeBSD:14:quarterly1.481.48-1.481.481.481.481.48
FreeBSD:15:latest1.48_11.48_1n/a1.48n/a1.481.481.48_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
This port is required by:
for Libraries
  1. audio/libgpod

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. audio/libgpod-sharp*
  2. misc/podsleuth*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
sysutils_sg3_utils
USES:
gmake libtool shebangfix tar:tgz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. http://sg.danny.cz/sg/p/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.48_1
20 Feb 2024 22:50:56
commit hash: f5e299ff30d667f58fc6588fe507f8ca9dc678c5commit hash: f5e299ff30d667f58fc6588fe507f8ca9dc678c5commit hash: f5e299ff30d667f58fc6588fe507f8ca9dc678c5commit hash: f5e299ff30d667f58fc6588fe507f8ca9dc678c5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
sysutils/sg3_utils: Moved man to share/man

Approved by:    portmgr (blanket)
1.48
04 Aug 2023 06:16:44
commit hash: d1cd84c1fc703d7e9b7fd51328ee7efdf497ccb8commit hash: d1cd84c1fc703d7e9b7fd51328ee7efdf497ccb8commit hash: d1cd84c1fc703d7e9b7fd51328ee7efdf497ccb8commit hash: d1cd84c1fc703d7e9b7fd51328ee7efdf497ccb8 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
sysutils/sg3_utils: update to 1.48

Reported by:	portscout
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.47
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.47
21 Aug 2022 01:48:55
commit hash: c60a5c51e87cf4d3befd8c32c39c06b69ee28e30commit hash: c60a5c51e87cf4d3befd8c32c39c06b69ee28e30commit hash: c60a5c51e87cf4d3befd8c32c39c06b69ee28e30commit hash: c60a5c51e87cf4d3befd8c32c39c06b69ee28e30 files touched by this commit
Neel Chauhan (nc) search for other commits by this committer
sysutils/sg3_utils: Update to 1.47
1.45
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.45
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.45
03 Mar 2020 10:45:57
Revision:527666Original commit files touched by this commit
0mp search for other commits by this committer
Update to 1.45

While here:
- Update license information.
- Sort variables.

Reported by:	portscout
1.44
12 Oct 2019 20:29:09
Revision:514353Original commit files touched by this commit
delphij search for other commits by this committer
Return this to pool.  I no longer use this port anymore.
1.44
31 Dec 2018 23:03:35
Revision:488844Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.44.
1.42
26 Jun 2016 20:39:01
Revision:417617Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.42.
1.41
19 May 2016 10:53:06
Revision:415500Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
1.41
20 Sep 2015 21:12:21
Revision:397463Original commit files touched by this commit
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (S-X).
1.41
15 Sep 2015 00:26:22
Revision:396944Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.41.
1.40
14 Nov 2014 18:04:02
Revision:372567Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.40.
1.39
29 Jul 2014 19:11:53
Revision:363374Original commit files touched by this commit
adamw search for other commits by this committer
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...

Approved by:	portmgr (not really, but touches unstaged ports)
1.39
14 Jun 2014 07:13:28
Revision:357751Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.3.9.
1.38
04 Apr 2014 00:01:47
Revision:350056Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.38.
1.37
13 Jan 2014 19:06:58
Revision:339620Original commit files touched by this commit
mandree search for other commits by this committer
- Convert to STAGING.
- Strip installed .so libs.
- Fix up shebang lines of scsi_* scripts.
- USE_GMAKE -> USES=

Approved by: portmgr@ (implicit, blanket)
1.37
16 Oct 2013 21:45:31
Revision:330549Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.37.
1.36_1
20 Sep 2013 23:06:00
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
1.36_1
17 Sep 2013 22:48:50
Revision:327507Original commit files touched by this commit
delphij search for other commits by this committer
Make sure that the buffers defined as global variables are aligned
with page boundary.

Tested by:	dwhite
1.36
04 Jun 2013 22:08:43
Revision:319923Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.36.
1.35
21 Jan 2013 03:25:48
Revision:310734Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.35.
1.34
02 Nov 2012 18:52:52
Revision:306880Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.34.

Feature safe:	yes
1.33
01 Feb 2012 18:35:13
Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.33 and take maintainership.
1.28
09 Nov 2011 15:26:04
Original commit files touched by this commit
miwi search for other commits by this committer
- Remove WITH_FBSD10_FIX, is no longer needed
1.28
29 Oct 2011 07:20:16
Original commit files touched by this commit
miwi search for other commits by this committer
- Fix build on FreeBSD 10

Reported by:    pointyhat
1.28
13 Mar 2011 08:43:51
Original commit files touched by this commit
bapt search for other commits by this committer
update WWW remove MD5
1.28
22 Aug 2010 23:20:17
Original commit files touched by this commit
linimon search for other commits by this committer
Reset dindin@dindin.ru due to maintainer-timeout and no response to email.

Hat:            portmgr
1.28
03 Nov 2009 17:49:11
Original commit files touched by this commit
delphij search for other commits by this committer
Update to 1.28.

PR:             ports/140240
Approved by:    maintainer
1.25
21 Aug 2008 06:18:49
Original commit files touched by this commit
rafan search for other commits by this committer
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.25
22 Jun 2008 22:18:06
Original commit files touched by this commit
lippe search for other commits by this committer
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)

Number of commits found: 33