Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2016 07:29:01 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416269 - head/Mk
Message-ID:  <201606020729.u527T1Nq063040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Jun  2 07:29:01 2016
New Revision: 416269
URL: https://svnweb.freebsd.org/changeset/ports/416269

Log:
  Github silently replaces + with - in the tag when creating a tarball.
  
  Reported by:	antoine
  Sponsored by:	Absolight

Modified:
  head/Mk/bsd.sites.mk   (contents, props changed)

Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk	Thu Jun  2 06:15:01 2016	(r416268)
+++ head/Mk/bsd.sites.mk	Thu Jun  2 07:29:01 2016	(r416269)
@@ -611,8 +611,8 @@ GH_TAGNAME:=	${GH_TAGNAME_DEFAULT}
 .  if defined(GH_TAGNAME)
 GH_TAGNAME_SANITIZED=	${GH_TAGNAME:S,/,-,}
 # Github silently converts tags starting with v to not have v in the filename
-# and extraction directory.
-GH_TAGNAME_EXTRACT=	${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/}
+# and extraction directory.  It also replaces + with -.
+GH_TAGNAME_EXTRACT=	${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g}
 .  endif 
 .  if defined(_GITHUB_MUST_SET_DISTNAME)
 # GH_TAGNAME defaults to DISTVERSIONFULL; Avoid adding DISTVERSIONFULL in twice



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