pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add GIT_ENV for modifying git's environment (e.g. GIT_SSL_NO_VERIFY=true)



Module Name:	pkgsrc-wip
Committed By:	Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By:	hauke
Date:		Thu Nov 12 16:33:16 2015 +0100
Changeset:	64d4934b49f0636d1c0857314e81de0e538473ff

Modified Files:
	mk/git-package.mk

Log Message:
Add GIT_ENV for modifying git's environment (e.g. GIT_SSL_NO_VERIFY=true)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=64d4934b49f0636d1c0857314e81de0e538473ff

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mk/git-package.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/mk/git-package.mk b/mk/git-package.mk
index 57b3d77..afe61b2 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -21,6 +21,8 @@
 #	GIT_TAG.${id}
 #		Overridable GIT tag for a repository.
 #
+#	GIT_ENV
+#		The environment for git, to set e.g. GIT_SSL_NO_VERIFY=true
 
 .if !defined(_PKG_MK_GIT_PACKAGE_MK)
 _PKG_MK_GIT_PACKAGE_MK=	# defined
@@ -62,7 +64,7 @@ PKG_FAIL_REASON+=	"[git-package.mk] GIT_REPO."${_repo_:Q}" must be set."
 USE_TOOLS+=		date pax
 
 _GIT_CMD=		git
-_GIT_ENV=		# empty
+_GIT_ENV=		${GIT_ENV}
 _GIT_FLAGS=		--quiet --depth 1 --recursive
 _GIT_TODAY_CMD=		${DATE} -u +'%Y-%m-%d'
 _GIT_TODAY=		${_GIT_TODAY_CMD:sh}


Home | Main Index | Thread Index | Old Index