--- sysutils/coreos-ct/Makefile (nonexistent) +++ sysutils/coreos-ct/Makefile (working copy) @@ -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 --- sysutils/coreos-ct/distinfo (nonexistent) +++ sysutils/coreos-ct/distinfo (working copy) @@ -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 --- sysutils/coreos-ct/pkg-descr (nonexistent) +++ sysutils/coreos-ct/pkg-descr (working copy) @@ -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