From owner-freebsd-ports@freebsd.org Sun Sep 18 08:03:48 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B407CBDF508 for ; Sun, 18 Sep 2016 08:03:48 +0000 (UTC) (envelope-from cs@innolan.dk) Received: from avril.innolan.net (ntp2.innolan.net [90.184.222.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7950A9ED for ; Sun, 18 Sep 2016 08:03:47 +0000 (UTC) (envelope-from cs@innolan.dk) Received: from [192.168.10.60] (unknown [192.168.222.119]) by avril.innolan.net (Postfix) with ESMTP id 411B561F8D2; Sun, 18 Sep 2016 09:57:14 +0200 (CEST) Subject: Re: Problems with fetching from GitHub using GH_TAGNAME= hash To: Kevin Oberman References: <20160918092928.957173645d90f0995aa9425b@gmail.com> Cc: FreeBSD Ports ML From: Carsten Larsen Message-ID: Date: Sun, 18 Sep 2016 09:57:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160918092928.957173645d90f0995aa9425b@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 08:03:48 -0000 Den 18-09-2016 kl. 09:29 skrev Olivier Duchateau: > On Sat, 17 Sep 2016 22:40:27 -0700 > Kevin Oberman wrote: > >> I an attempting to write a port for multimedia/mp4vs which has moved from >> Google Code to GitHub. I tried specifying GH_TAGNAME= 6fda22f, but instead >> of fetching mp4v2-Release-MP4v2-3.0.1.1.tar.gz, it tries to fetch >> mp4v2-Release-MP4v2-3.0.1.1_GH0.tar.gz. (Note added "_GH0".) >> >> I have no idea where this is coming from an have no experience with porting >> where GitHub is the distfile repo. > > Tarball is correct, despite "_GH0", I think it's GitHub, which adds this keyword on the fly, when we fetch tarball. > >> >> My Makefile contains: >> USE_GITHUB= yes >> GH_ACCOUNT= TechSmith >> GH_PROJECT= mp4v2 >> GH_TAGNAME= 6fda22f > > Here, GH_PROJECT= is not necessary, because by default it re-uses PORTNAME (see Mk/bsd.sites.mk). > >> >> Any idea what I need to change? The port should fetch from: https://codeload.github.com/TechSmith/mp4v2/tar.gz/6fda22f Which seems to work fine. >> >> Thanks, >> -- >> Kevin Oberman, Part time kid herder and retired Network Engineer >> E-mail: rkoberman@gmail.com >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > -- Kind regards Carsten Larsen