Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2019 14:31:19 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500736 - head/sysutils/docker-credential-pass
Message-ID:  <201905031431.x43EVJ9l070988@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri May  3 14:31:18 2019
New Revision: 500736
URL: https://svnweb.freebsd.org/changeset/ports/500736

Log:
  sysutils/docker-credential-pass: update to 0.6.2
  
  PR:		237730
  Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)

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

Modified: head/sysutils/docker-credential-pass/Makefile
==============================================================================
--- head/sysutils/docker-credential-pass/Makefile	Fri May  3 14:29:50 2019	(r500735)
+++ head/sysutils/docker-credential-pass/Makefile	Fri May  3 14:31:18 2019	(r500736)
@@ -2,7 +2,7 @@
 
 PORTNAME=	docker-credential-pass
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6.1
+DISTVERSION=	0.6.2
 CATEGORIES=	sysutils
 
 MAINTAINER=	dg@syrec.org
@@ -11,23 +11,24 @@ COMMENT=	Helper to use sysutils/password-store as Dock
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
 RUN_DEPENDS=	${LOCALBASE}/bin/pass:sysutils/password-store
 
+USES=		go
+
+GO_PKGNAME=	github.com/docker/docker-credential-helpers
+GO_TARGET=	./pass/cmd
+
 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
+pre-build:
+	${CP} ${GO_WRKSRC}/pass/cmd/main_linux.go ${GO_WRKSRC}/pass/cmd/main_freebsd.go
+	${CP} ${GO_WRKSRC}/pass/pass_linux.go ${GO_WRKSRC}/pass/pass_freebsd.go
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${GH_SUBDIR}/pass/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/cmd ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/sysutils/docker-credential-pass/distinfo
==============================================================================
--- head/sysutils/docker-credential-pass/distinfo	Fri May  3 14:29:50 2019	(r500735)
+++ head/sysutils/docker-credential-pass/distinfo	Fri May  3 14:31:18 2019	(r500736)
@@ -1,3 +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
+TIMESTAMP = 1556886368
+SHA256 (docker-docker-credential-helpers-v0.6.2_GH0.tar.gz) = 1b332d40e3d50ce084e54feea09750e18c87dadcfdfd2e8e9bd4622cbbf461b2
+SIZE (docker-docker-credential-helpers-v0.6.2_GH0.tar.gz) = 28238



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