summaryrefslogtreecommitdiff
path: root/sysutils/container-diff/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-01-04 20:11:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-01-04 20:11:01 +0000
commitb699d1c94bcc2870ca0913bfcd1296edd6670629 (patch)
treedfaf0d2866f964ef1104587f42b182c318347407 /sysutils/container-diff/Makefile
parentFollow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES. (diff)
Add container-diff 0.6.0
container-diff is a tool for analyzing and comparing container images. container-diff can examine images along several different criteria, including: - Docker Image History - Image file system - Apt packages - pip packages - npm packages These analyses can be performed on a single image, or a diff can be performed on two images to compare. The tool can help users better understand what is changing inside their images, and give them a better look at what their images contain. WWW: https://github.com/GoogleCloudPlatform/container-diff
Notes
Notes: svn path=/head/; revision=458060
Diffstat (limited to 'sysutils/container-diff/Makefile')
-rw-r--r--sysutils/container-diff/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/container-diff/Makefile b/sysutils/container-diff/Makefile
new file mode 100644
index 000000000000..ec26fca0598c
--- /dev/null
+++ b/sysutils/container-diff/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= container-diff
+PORTVERSION= 0.6.0
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Diff your Docker containers
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
+USES= go
+
+PLIST_FILES= bin/container-diff
+
+GH_ACCOUNT= GoogleCloudPlatform
+USE_GITHUB= yes
+
+.include <bsd.port.options.mk>
+
+# Change inode size from 64 bits to 32 bits for systems without ino64 support
+.if ${OSVERSION} < 1200031
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-without-ino64
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/container-diff ${STAGEDIR}${PREFIX}/bin/container-diff
+
+.include <bsd.port.mk>