git: b527fb65a1a2 - main - sysutils/intel-epct: add port for Intel's Ethernet Port Configuration Tool

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 14 Jun 2023 12:50:23 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b527fb65a1a2b808184df42cb01dc0f039024418

commit b527fb65a1a2b808184df42cb01dc0f039024418
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-14 12:45:59 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-14 12:50:03 +0000

    sysutils/intel-epct: add port for Intel's Ethernet Port Configuration Tool
    
    It was previously known as sysutils/intel-qcu.
---
 MOVED                         |  2 +-
 sysutils/Makefile             |  1 +
 sysutils/intel-epct/Makefile  | 32 ++++++++++++++++++++++++++++++++
 sysutils/intel-epct/distinfo  |  5 +++++
 sysutils/intel-epct/pkg-descr |  4 ++++
 5 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 32fc653f5e7b..048931cb97fc 100644
--- a/MOVED
+++ b/MOVED
@@ -4342,7 +4342,6 @@ sysutils/goss||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/gpte||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/hidesvn||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/hoz||2020-05-05|Has expired: Broken for more than 6 months
-sysutils/intel-qcu||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/iogen||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/jailctl||2020-05-05|Has expired: Broken for more than 6 months
 sysutils/jx||2020-05-05|Has expired: Broken for more than 6 months
@@ -7639,3 +7638,4 @@ security/py-sequoia||2023-06-09|Deprecated upstream, broken as based on older de
 audio/hvl2wav|audio/ocp|2023-06-10|Has expired: Abandoned upstream, use audio/ocp instead
 x11/thinglaunch|x11/thingylaunch|2023-06-10|Has expired: Abandonware, please use x11/thingylaunch instead
 sysutils/intel-nvmupdate|sysutils/intel-nvmupdate-40g|2023-06-14|Moved to sysutils/intel-nvmupdate-40g, which is 40G-generation specific port to make space for 10G and 100G generations
+sysutils/intel-qcu|sysutils/intel-epct|2023-06-14|Moved to sysutils/intel-epct
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 2100c7aa2288..1a16b6761448 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -564,6 +564,7 @@
     SUBDIR += incron
     SUBDIR += inotify-tools
     SUBDIR += installwatch
+    SUBDIR += intel-epct
     SUBDIR += intel-nvmupdate-10g
     SUBDIR += intel-nvmupdate-40g
     SUBDIR += intel-nvmupdate-100g
diff --git a/sysutils/intel-epct/Makefile b/sysutils/intel-epct/Makefile
new file mode 100644
index 000000000000..ccebdbdc5b88
--- /dev/null
+++ b/sysutils/intel-epct/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	epct
+PORTVERSION=	1.39.32.5
+CATEGORIES=	sysutils net
+MASTER_SITES=	https://downloadmirror.intel.com/772094/
+PKGNAMEPREFIX=	intel-
+DISTFILES=	FreeBSDx64.zip \
+		FreeBSD32.zip
+
+MAINTAINER=	freebsd@intel.com
+COMMENT=	Intel(R) Ethernet Port Configuration Tool
+WWW=		https://www.intel.com/content/www/us/en/download/19438/ethernet-port-configuration-tool-freebsd.html
+
+LICENSE=	IPL
+LICENSE_NAME=	Intel Proprietary License
+LICENSE_FILE=	${WRKSRC}/${ARCH:S/amd64/FreeBSDx64/:S/i386/FreeBSD32/}/license.pdf
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	not supported on anything other than amd64 and i386
+
+USES=		zip
+
+NO_WRKSUBDIR=	yes
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	sbin/epct
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${ARCH:S/amd64/FreeBSDx64/:S/i386/FreeBSD32/}/epct* ${STAGEDIR}${PREFIX}/sbin/epct
+
+.include <bsd.port.mk>
diff --git a/sysutils/intel-epct/distinfo b/sysutils/intel-epct/distinfo
new file mode 100644
index 000000000000..fd733472b5c7
--- /dev/null
+++ b/sysutils/intel-epct/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1686745905
+SHA256 (FreeBSDx64.zip) = f9ff4a144eb81b419d0d7fd8df6e90f63e6d74975c9ac9dfbba093f890cf91cf
+SIZE (FreeBSDx64.zip) = 1715066
+SHA256 (FreeBSD32.zip) = af59c24c34e39d4c5038845d474bee3562891ec4d0580e051c81dc02b760ab5a
+SIZE (FreeBSD32.zip) = 1532146
diff --git a/sysutils/intel-epct/pkg-descr b/sysutils/intel-epct/pkg-descr
new file mode 100644
index 000000000000..74696fc52adc
--- /dev/null
+++ b/sysutils/intel-epct/pkg-descr
@@ -0,0 +1,4 @@
+The Ethernet Port Configuration Tool (EPCT) is a command line utility that
+allows users to change the link type of a device. The supported types are
+defined within the adapter's NVM. This utility displays only the devices that
+potentially support reconfiguration.