Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2018 14:17:33 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471370 - in head/sysutils: . coreos-ct
Message-ID:  <201806021417.w52EHXKl080909@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Jun  2 14:17:33 2018
New Revision: 471370
URL: https://svnweb.freebsd.org/changeset/ports/471370

Log:
  New port: sysutils/coreos-ct, a Container Linux Config Transpiler
  
  PR:		227584
  Submitted by:	fabian.freyer@physik.tu-berlin.de
  Reviewed by:	0mp, mat, riggs
  Differential Revision:	https://reviews.freebsd.org/D15114

Added:
  head/sysutils/coreos-ct/
  head/sysutils/coreos-ct/Makefile   (contents, props changed)
  head/sysutils/coreos-ct/distinfo   (contents, props changed)
  head/sysutils/coreos-ct/pkg-descr   (contents, props changed)
  head/sysutils/coreos-ct/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Jun  2 14:09:14 2018	(r471369)
+++ head/sysutils/Makefile	Sat Jun  2 14:17:33 2018	(r471370)
@@ -203,6 +203,7 @@
     SUBDIR += container-diff
     SUBDIR += contractor
     SUBDIR += copytape
+    SUBDIR += coreos-ct
     SUBDIR += coreutils
     SUBDIR += cotty
     SUBDIR += cpdup

Added: head/sysutils/coreos-ct/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/coreos-ct/Makefile	Sat Jun  2 14:17:33 2018	(r471370)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	coreos-ct
+PORTVERSION=	0.9.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	sysutils
+
+MAINTAINER=	fabian.freyer@physik.tu-berlin.de
+COMMENT=	Container Linux Config Transpiler
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	coreos
+GH_PROJECT=	container-linux-config-transpiler
+
+GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
+GO_LDFLAGS=	-w -X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal/version.Raw=${PORTVERSION}
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	README.md NEWS doc/*
+
+do-build:
+	@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build -o ${WRKDIR}/bin/ct -ldflags "${GO_LDFLAGS}" ./internal)
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/ct ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/sysutils/coreos-ct/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/coreos-ct/distinfo	Sat Jun  2 14:17:33 2018	(r471370)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527263595
+SHA256 (coreos-container-linux-config-transpiler-v0.9.0_GH0.tar.gz) = 140c2a5bfd2562a069882e66c4aee01290417f35ef0db06e11e74b2ccf52de7f
+SIZE (coreos-container-linux-config-transpiler-v0.9.0_GH0.tar.gz) = 217508

Added: head/sysutils/coreos-ct/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/coreos-ct/pkg-descr	Sat Jun  2 14:17:33 2018	(r471370)
@@ -0,0 +1,6 @@
+The Config Transpiler, ct, is the utility responsible for transforming a
+user-provided Container Linux Configuration into an Ignition configuration.
+The resulting Ignition config can then be provided to a Container Linux machine
+when it first boots in order to provision it.
+
+WWW: https://coreos.com/os/docs/latest/overview-of-ct.html

Added: head/sysutils/coreos-ct/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/coreos-ct/pkg-plist	Sat Jun  2 14:17:33 2018	(r471370)
@@ -0,0 +1,9 @@
+bin/ct
+%%PORTDOCS%%%%DOCSDIR%%/configuration.md
+%%PORTDOCS%%%%DOCSDIR%%/dynamic-data.md
+%%PORTDOCS%%%%DOCSDIR%%/examples.md
+%%PORTDOCS%%%%DOCSDIR%%/getting-started.md
+%%PORTDOCS%%%%DOCSDIR%%/operators-notes.md
+%%PORTDOCS%%%%DOCSDIR%%/overview.md
+%%PORTDOCS%%%%DOCSDIR%%/production-users.md
+%%PORTDOCS%%%%DOCSDIR%%/release_checklist.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806021417.w52EHXKl080909>