git: 95336f34a247 - main - net/devfile: Add devfile 2.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 12 Aug 2025 18:16:53 UTC
The branch main has been updated by sunpoet:

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

commit 95336f34a24755b7a6a6f964f5894741dd962348
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:41:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:27 +0000

    net/devfile: Add devfile 2.3.0
    
    The Devfile Parser library is a Golang module that:
    - parses a devfile as specified by the api & schema.
    - writes to the specified devfile with the updated data.
    - generates Kubernetes objects for the various devfile resources.
    - defines util functions for the devfile.
    - downloads resources from a parent devfile if specified in the devfile.
---
 net/Makefile          |  1 +
 net/devfile/Makefile  | 19 +++++++++++++++++++
 net/devfile/distinfo  |  5 +++++
 net/devfile/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 7663a6f56a42..b103441bea97 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -117,6 +117,7 @@
     SUBDIR += dbeacon
     SUBDIR += delegate
     SUBDIR += deltachat-rpc-server
+    SUBDIR += devfile
     SUBDIR += deviceatlas-enterprise-c
     SUBDIR += dgd
     SUBDIR += dgd-kernel
diff --git a/net/devfile/Makefile b/net/devfile/Makefile
new file mode 100644
index 000000000000..81763e96c88e
--- /dev/null
+++ b/net/devfile/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	devfile
+PORTVERSION=	2.3.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	net
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Generate Kubernetes objects from a devfile and accessing the devfile registry
+WWW=		https://github.com/devfile/library
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/devfile/library/v2
+
+PLIST_FILES=	bin/devfile
+
+.include <bsd.port.mk>
diff --git a/net/devfile/distinfo b/net/devfile/distinfo
new file mode 100644
index 000000000000..85d0da48b71e
--- /dev/null
+++ b/net/devfile/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1753796004
+SHA256 (go/net_devfile/devfile-v2.3.0/v2.3.0.mod) = c9410a407e269531a90bedf64b071d7b300ef54ccad783c9ddaef514e3e1af93
+SIZE (go/net_devfile/devfile-v2.3.0/v2.3.0.mod) = 6499
+SHA256 (go/net_devfile/devfile-v2.3.0/v2.3.0.zip) = afd53a88326cefa3d754ef466d8391b3522a08e7cc55bdec3f2ac44e35e2f600
+SIZE (go/net_devfile/devfile-v2.3.0/v2.3.0.zip) = 365596
diff --git a/net/devfile/pkg-descr b/net/devfile/pkg-descr
new file mode 100644
index 000000000000..1cf5672c35ef
--- /dev/null
+++ b/net/devfile/pkg-descr
@@ -0,0 +1,6 @@
+The Devfile Parser library is a Golang module that:
+- parses a devfile as specified by the api & schema.
+- writes to the specified devfile with the updated data.
+- generates Kubernetes objects for the various devfile resources.
+- defines util functions for the devfile.
+- downloads resources from a parent devfile if specified in the devfile.