summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/openseachest/Makefile47
-rw-r--r--sysutils/openseachest/distinfo11
-rw-r--r--sysutils/openseachest/pkg-descr4
4 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 00e91b9ad1a8..4d0ae4add0d0 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -763,6 +763,7 @@
SUBDIR += opencorsairlink
SUBDIR += openipmi
SUBDIR += opensbi
+ SUBDIR += openseachest
SUBDIR += openupsd
SUBDIR += openzfs
SUBDIR += openzfs-kmod
diff --git a/sysutils/openseachest/Makefile b/sysutils/openseachest/Makefile
new file mode 100644
index 000000000000..fdda8bbf8ad9
--- /dev/null
+++ b/sysutils/openseachest/Makefile
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME= openseachest
+PORTVERSION= g2020012901
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Utilities for managing storage devices
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= gmake
+ALL_TARGET= release
+
+USE_GITHUB= yes
+GH_ACCOUNT= Seagate
+GH_PROJECT= openSeaChest
+GH_TAGNAME= 625fcac
+GH_TUPLE= Seagate:opensea-common:deae6bc:common/opensea-common \
+ Seagate:opensea-operations:f1e05ee:operations/opensea-operations \
+ Seagate:opensea-transport:16f85f2:transport/opensea-transport \
+ Seagate:wingetopt:1b5b5ad:wingetopt/wingetopt
+
+BUILD_WRKSRC= ${WRKSRC}/Make/gcc
+INSTALL_WRKSRC= ${WRKSRC}/Make/gcc
+CFLAGS+= -Wall -c -std=gnu99
+MAKE_JOBS_UNSAFE= yes
+EXES= openSeaChest_Basics openSeaChest_Configure openSeaChest_Erase \
+ openSeaChest_Firmware openSeaChest_FormatUnit \
+ openSeaChest_GenericTests openSeaChest_Info openSeaChest_Logs \
+ openSeaChest_NVMe openSeaChest_PassthroughTest \
+ openSeaChest_PowerControl openSeaChest_Security \
+ openSeaChest_SMART openSeaChest_ZBD
+.for file in ${EXES}
+PLIST_FILES+= bin/${file}
+.endfor
+
+.include <bsd.port.pre.mk>
+
+do-install:
+.for exefile in ${EXES}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/openseachest_exes/${exefile} ${STAGEDIR}${PREFIX}/bin/
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/openseachest/distinfo b/sysutils/openseachest/distinfo
new file mode 100644
index 000000000000..2a6c08393638
--- /dev/null
+++ b/sysutils/openseachest/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1580341275
+SHA256 (Seagate-openSeaChest-vg2020012901-625fcac_GH0.tar.gz) = 812815dab8ebb6c3aa3b865196768b76fe918cf435d0eabf1a7373fbcff72753
+SIZE (Seagate-openSeaChest-vg2020012901-625fcac_GH0.tar.gz) = 655751
+SHA256 (Seagate-opensea-common-deae6bc_GH0.tar.gz) = 3d1c85d02e4eb1f2d7d02d3bafab76b07b24f697c0845e3cdef6995a58f98547
+SIZE (Seagate-opensea-common-deae6bc_GH0.tar.gz) = 102695
+SHA256 (Seagate-opensea-operations-f1e05ee_GH0.tar.gz) = 24d55129e9927a759f71755d76056e64852b78c2cd24d06f9c5a3353b91b302b
+SIZE (Seagate-opensea-operations-f1e05ee_GH0.tar.gz) = 396066
+SHA256 (Seagate-opensea-transport-16f85f2_GH0.tar.gz) = 9e27402fc2ccad11f896b302fbdc2f323cb4628f862082c36342ffb388fafce5
+SIZE (Seagate-opensea-transport-16f85f2_GH0.tar.gz) = 630722
+SHA256 (Seagate-wingetopt-1b5b5ad_GH0.tar.gz) = 33457d93e768e9e877a84004e8f2d9a597fabe706855d4d18b10d60c650e24b8
+SIZE (Seagate-wingetopt-1b5b5ad_GH0.tar.gz) = 15515
diff --git a/sysutils/openseachest/pkg-descr b/sysutils/openseachest/pkg-descr
new file mode 100644
index 000000000000..0588381e43e9
--- /dev/null
+++ b/sysutils/openseachest/pkg-descr
@@ -0,0 +1,4 @@
+Cross platform utilities useful for performing various operations on SATA, SAS,
+NVMe, and USB storage devices.
+
+WWW: https://github.com/Seagate/openSeaChest