eep Docker credentials safe.

WWW: https://github.com/docker/docker-credential-helpers

PR:		230338
Submitted by:	Dmitri Goutnik dg@syrec.org
This commit is contained in:
Rene Ladan
2018-08-03 18:59:18 +00:00
parent 07e4951365
commit db8f15fcd5
4 changed files with 41 additions and 0 deletions

View File

@@ -263,6 +263,7 @@
SUBDIR += dmidecode
SUBDIR += docker
SUBDIR += docker-compose
SUBDIR += docker-credential-pass
SUBDIR += docker-freebsd
SUBDIR += docker-machine
SUBDIR += doctl

View File

@@ -0,0 +1,33 @@
# $FreeBSD$
PORTNAME= docker-credential-pass
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.1
CATEGORIES= sysutils
MAINTAINER= dg@syrec.org
COMMENT= Helper to use sysutils/password-store as Docker credentials store
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
RUN_DEPENDS= ${LOCALBASE}/bin/pass:sysutils/password-store
USE_GITHUB= yes
GH_ACCOUNT= docker
GH_PROJECT= docker-credential-helpers
GH_SUBDIR= src/github.com/docker/docker-credential-helpers
PLIST_FILES= bin/docker-credential-pass
do-build:
${CP} ${WRKSRC}/${GH_SUBDIR}/pass/cmd/main_linux.go ${WRKSRC}/${GH_SUBDIR}/pass/cmd/main_freebsd.go
${CP} ${WRKSRC}/${GH_SUBDIR}/pass/pass_linux.go ${WRKSRC}/${GH_SUBDIR}/pass/pass_freebsd.go
cd ${WRKSRC}/${GH_SUBDIR}/pass && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ./cmd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${GH_SUBDIR}/pass/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1533314093
SHA256 (docker-docker-credential-helpers-v0.6.1_GH0.tar.gz) = 9b36ae15d5bceaaf3496b80413acafa6325c633af3ae211ce10724dfa7046883
SIZE (docker-docker-credential-helpers-v0.6.1_GH0.tar.gz) = 27723

View File

@@ -0,0 +1,4 @@
docker-credential-pass provides a helper to use sysutils/password-store to
keep Docker credentials safe.
WWW: https://github.com/docker/docker-credential-helpers