Index: sysutils/coreos-ct/Makefile =================================================================== --- sysutils/coreos-ct/Makefile +++ sysutils/coreos-ct/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= coreos-ct +PORTVERSION= 0.8.0 +DISTVERSIONPREFIX=v +CATEGORIES= sysutils + +MAINTAINER= fabian.freyer@physik.tu-berlin.de +COMMENT= Container Linux Config Transpiler + +LICENSE= APACHE20 + +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} + +PLIST_FILES= bin/ct + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/bin/ct ${STAGEDIR}${PREFIX}/bin + +do-build: + @(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build -o ${WRKDIR}/bin/ct -ldflags "${GO_LDFLAGS}" ./internal) + +.include Index: sysutils/coreos-ct/distinfo =================================================================== --- sysutils/coreos-ct/distinfo +++ sysutils/coreos-ct/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1523973468 +SHA256 (coreos-container-linux-config-transpiler-v0.8.0_GH0.tar.gz) = aaadace032628dfd2a298684168961920a5c8ebc6b98fd1b5f3683000fd35dcb +SIZE (coreos-container-linux-config-transpiler-v0.8.0_GH0.tar.gz) = 217168 Index: sysutils/coreos-ct/pkg-descr =================================================================== --- sysutils/coreos-ct/pkg-descr +++ sysutils/coreos-ct/pkg-descr @@ -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