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:
@@ -263,6 +263,7 @@
|
||||
SUBDIR += dmidecode
|
||||
SUBDIR += docker
|
||||
SUBDIR += docker-compose
|
||||
SUBDIR += docker-credential-pass
|
||||
SUBDIR += docker-freebsd
|
||||
SUBDIR += docker-machine
|
||||
SUBDIR += doctl
|
||||
|
||||
33
sysutils/docker-credential-pass/Makefile
Normal file
33
sysutils/docker-credential-pass/Makefile
Normal 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>
|
||||
3
sysutils/docker-credential-pass/distinfo
Normal file
3
sysutils/docker-credential-pass/distinfo
Normal 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
|
||||
4
sysutils/docker-credential-pass/pkg-descr
Normal file
4
sysutils/docker-credential-pass/pkg-descr
Normal 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
|
||||
Reference in New Issue
Block a user