Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 18:59:18 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476317 - in head/sysutils: . docker-credential-pass
Message-ID:  <201808031859.w73IxIg9017434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Aug  3 18:59:18 2018
New Revision: 476317
URL: https://svnweb.freebsd.org/changeset/ports/476317

Log:
  eep Docker credentials safe.
  
  WWW: https://github.com/docker/docker-credential-helpers
  
  PR:		230338
  Submitted by:	Dmitri Goutnik dg@syrec.org

Added:
  head/sysutils/docker-credential-pass/
  head/sysutils/docker-credential-pass/Makefile   (contents, props changed)
  head/sysutils/docker-credential-pass/distinfo   (contents, props changed)
  head/sysutils/docker-credential-pass/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Aug  3 18:10:01 2018	(r476316)
+++ head/sysutils/Makefile	Fri Aug  3 18:59:18 2018	(r476317)
@@ -263,6 +263,7 @@
     SUBDIR += dmidecode
     SUBDIR += docker
     SUBDIR += docker-compose
+    SUBDIR += docker-credential-pass
     SUBDIR += docker-freebsd
     SUBDIR += docker-machine
     SUBDIR += doctl

Added: head/sysutils/docker-credential-pass/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/docker-credential-pass/Makefile	Fri Aug  3 18:59:18 2018	(r476317)
@@ -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>

Added: head/sysutils/docker-credential-pass/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/docker-credential-pass/distinfo	Fri Aug  3 18:59:18 2018	(r476317)
@@ -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

Added: head/sysutils/docker-credential-pass/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/docker-credential-pass/pkg-descr	Fri Aug  3 18:59:18 2018	(r476317)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808031859.w73IxIg9017434>