Changeset View
Changeset View
Standalone View
Standalone View
sysutils/docker-freebsd/Makefile
# Created by: kmoore@FreeBSD.org | # Created by: kmoore@FreeBSD.org | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= docker-freebsd | PORTNAME= docker-freebsd | ||||
PORTVERSION= 20150625 | PORTVERSION= g20170907 | ||||
PORTREVISION= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
mat: Why add the g here that forces you to bump PORTEPOCH ?
This is a bad idea, remove the g. | |||||
Not Done Inline ActionsThis is going to become 17.05.0 before this patch lands, which will involve a PORTEPOCH bump. lifanov: This is going to become 17.05.0 before this patch lands, which will involve a PORTEPOCH bump. | |||||
Not Done Inline ActionsWell, when this becomes 17.05.0, then PORTEPOCH will be needed, but right now, with a version of 20170907, there is no need to do it. mat: Well, when this becomes 17.05.0, then PORTEPOCH will be needed, but right now, with a version… | |||||
MAINTAINER= amutu@amutu.com | MAINTAINER= lifanov@FreeBSD.org | ||||
COMMENT= Docker containment system | COMMENT= Docker containment system | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${GO_WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= go>=1.4:lang/go \ | BUILD_DEPENDS= bash:shells/bash | ||||
bash:shells/bash \ | LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim | ||||
sqlite3:databases/sqlite3 | |||||
RUN_DEPENDS= go>=1.4:lang/go \ | |||||
bash:shells/bash \ | |||||
sqlite3:databases/sqlite3 | |||||
USE_GITHUB= yes | USES= go gmake | ||||
GH_ACCOUNT= kvasdopil | |||||
USE_GITHUB= nodefault | |||||
Not Done Inline ActionsUse USE_GITHUB=yes. mat: Use USE_GITHUB=yes. | |||||
GH_ACCOUNT= freebsd-docker | |||||
Not Done Inline Actionsdefault value, remove. mat: default value, remove. | |||||
Not Done Inline ActionsRemove, default value. mat: Remove, default value. | |||||
Not Done Inline ActionsThe port is named docker-freebsd, so wouldn't that mean the default value would be backward? The GitHub account is freebsd-docker, not docker-freebsd. dteske: The port is named docker-freebsd, so wouldn't that mean the default value would be backward? | |||||
Not Done Inline ActionsOh, yes, my brain rearranged the worlds in the same order, sorry about it. mat: Oh, yes, my brain rearranged the worlds in the same order, sorry about it. | |||||
GH_PROJECT= docker | GH_PROJECT= docker | ||||
GH_TAGNAME= 582db78 | GH_TAGNAME= 52d67c9 | ||||
PLIST_FILES= bin/docker | GH_TUPLE= freebsd-docker:docker:52d67c9:docker/src/github.com/docker/docker \ | ||||
freebsd-docker:containerd:00a99ef:containerd/src/github.com/containerd/containerd \ | |||||
freebsd-docker:libnetwork:acb2447:libnetwork/src/github.com/docker/libnetwork \ | |||||
freebsd-docker:runc:9c2d8d1:runc/src/github.com/runc/runc \ | |||||
krallin:tini:v0.16.1:tini/src/github.com/krallin/tini | |||||
PLIST_FILES= bin/docker \ | |||||
bin/dockerd \ | |||||
bin/docker-containerd \ | |||||
bin/docker-containerd-ctr \ | |||||
bin/docker-containerd-shim \ | |||||
bin/docker-proxy | |||||
Not Done Inline ActionsRemove this from the GH_TUPLE and add GH_SUBDIR=src/github.com/docker/docker instead. mat: Remove this from the GH_TUPLE and add `GH_SUBDIR=src/github.com/docker/docker` instead. | |||||
USE_RC_SUBR= docker | USE_RC_SUBR= docker | ||||
GO_PKGNAME= github.com/${GH_PROJECT}/${GH_PROJECT} | |||||
SSP_UNSAFE= yes | |||||
post-extract: | |||||
${LN} -sf ${WRKSRC}/src ${WRKDIR} | |||||
do-build: | do-build: | ||||
@cd ${WRKSRC} && export AUTO_GOPATH=1 && export DOCKER_GITCOMMIT=${GH_TAGNAME} && ./hack/make.sh binary | @cd ${GO_WRKSRC} && export DOCKER_GITCOMMIT=${GH_TAGNAME} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} -f Makefile.freebsd binary | ||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/bin | .for f in ${PLIST_FILES} | ||||
${INSTALL_PROGRAM} ${WRKSRC}/bundles/latest/binary/docker ${STAGEDIR}${PREFIX}/bin/ | ${INSTALL_PROGRAM} ${GO_WRKSRC}/bundles/${f} ${STAGEDIR}${PREFIX}/bin | ||||
.endfor | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Why add the g here that forces you to bump PORTEPOCH ?
This is a bad idea, remove the g.