git: 45c51beb4908 - main - sysutils/diffoci: Add diffoci 0.1.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 14:26:42 UTC
The branch main has been updated by sunpoet:

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

commit 45c51beb49083042f36480cc33ea8f3c4b4e127c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:21:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:34 +0000

    sysutils/diffoci: Add diffoci 0.1.4
    
    diffoci compares Docker and OCI container images for helping reproducible
    builds.
    
    Note that mon-Linux users typically have to specify --platform explicitly. e.g.,
    diffoci diff --platform=linux/amd64 IMAGE0 IMAGE1.
---
 sysutils/Makefile          |  1 +
 sysutils/diffoci/Makefile  | 20 ++++++++++++++++++++
 sysutils/diffoci/distinfo  |  5 +++++
 sysutils/diffoci/pkg-descr |  5 +++++
 4 files changed, 31 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 1dedd649d436..93293e82217b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -298,6 +298,7 @@
     SUBDIR += devstat
     SUBDIR += dfc
     SUBDIR += di
+    SUBDIR += diffoci
     SUBDIR += digdag
     SUBDIR += dim
     SUBDIR += dirdiff
diff --git a/sysutils/diffoci/Makefile b/sysutils/diffoci/Makefile
new file mode 100644
index 000000000000..03ed83e7c71d
--- /dev/null
+++ b/sysutils/diffoci/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	diffoci
+PORTVERSION=	0.1.4
+DISTVERSIONPREFIX=	v
+CATEGORIES=	sysutils
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Diff for Docker and OCI container images
+WWW=		https://github.com/reproducible-containers/diffoci
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/reproducible-containers/diffoci
+GO_TARGET=	./cmd/diffoci
+
+PLIST_FILES=	bin/diffoci
+
+.include <bsd.port.mk>
diff --git a/sysutils/diffoci/distinfo b/sysutils/diffoci/distinfo
new file mode 100644
index 000000000000..b29e11dd770c
--- /dev/null
+++ b/sysutils/diffoci/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1713528486
+SHA256 (go/sysutils_diffoci/diffoci-v0.1.4/v0.1.4.mod) = c632765d0c14758ee9776357fddd17998e9e2f9eb5a11818b50301f3643cb662
+SIZE (go/sysutils_diffoci/diffoci-v0.1.4/v0.1.4.mod) = 2981
+SHA256 (go/sysutils_diffoci/diffoci-v0.1.4/v0.1.4.zip) = 47784cd46ce71617af0da73fa262718a8a1f2213cdd67e4628d8ceaca8d8c793
+SIZE (go/sysutils_diffoci/diffoci-v0.1.4/v0.1.4.zip) = 54646
diff --git a/sysutils/diffoci/pkg-descr b/sysutils/diffoci/pkg-descr
new file mode 100644
index 000000000000..51344f0e5f1b
--- /dev/null
+++ b/sysutils/diffoci/pkg-descr
@@ -0,0 +1,5 @@
+diffoci compares Docker and OCI container images for helping reproducible
+builds.
+
+Note that mon-Linux users typically have to specify --platform explicitly. e.g.,
+diffoci diff --platform=linux/amd64 IMAGE0 IMAGE1.