View | Details | Raw Unified | Return to bug 227584 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/coreos-ct/Makefile (+37 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	coreos-ct
4
PORTVERSION=	0.9.0
5
DISTVERSIONPREFIX=v
6
CATEGORIES=	sysutils
7
8
MAINTAINER=	fabian.freyer@physik.tu-berlin.de
9
COMMENT=	Container Linux Config Transpiler
10
11
LICENSE=	APACHE20
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USES=		go
15
USE_GITHUB=	yes
16
17
GH_ACCOUNT=	coreos
18
GH_PROJECT=	container-linux-config-transpiler
19
20
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
21
GO_LDFLAGS=	-w -X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal/version.Raw=${PORTVERSION}
22
23
OPTIONS_DEFINE=	DOCS
24
25
PORTDOCS=	README.md NEWS doc/*
26
27
do-build:
28
	@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build -o ${WRKDIR}/bin/ct -ldflags "${GO_LDFLAGS}" ./internal)
29
30
do-install:
31
	${INSTALL_PROGRAM} ${WRKDIR}/bin/ct ${STAGEDIR}${PREFIX}/bin
32
33
post-install-DOCS-on:
34
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
35
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
36
37
.include <bsd.port.mk>
(-)sysutils/coreos-ct/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1527263595
2
SHA256 (coreos-container-linux-config-transpiler-v0.9.0_GH0.tar.gz) = 140c2a5bfd2562a069882e66c4aee01290417f35ef0db06e11e74b2ccf52de7f
3
SIZE (coreos-container-linux-config-transpiler-v0.9.0_GH0.tar.gz) = 217508
(-)sysutils/coreos-ct/pkg-descr (+6 lines)
Line 0 Link Here
1
The Config Transpiler, ct, is the utility responsible for transforming a
2
user-provided Container Linux Configuration into an Ignition configuration.
3
The resulting Ignition config can then be provided to a Container Linux machine
4
when it first boots in order to provision it.
5
6
WWW: https://coreos.com/os/docs/latest/overview-of-ct.html

Return to bug 227584