From owner-freebsd-ports@freebsd.org Wed Apr 18 06:07:07 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53654F94678 for ; Wed, 18 Apr 2018 06:07:07 +0000 (UTC) (envelope-from lebarondemerde@privacychain.ch) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3BEF6CCFD for ; Wed, 18 Apr 2018 06:07:06 +0000 (UTC) (envelope-from lebarondemerde@privacychain.ch) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 84CCF43027C4 for ; Wed, 18 Apr 2018 09:06:55 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mxXW1pRWln-6tHWDjOw; Wed, 18 Apr 2018 09:06:55 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id qnypIhi0d3-6lOuQCM8; Wed, 18 Apr 2018 09:06:47 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Date: Wed, 18 Apr 2018 03:06:42 -0300 From: Le Baron =?utf-8?B?ZOKAmU1lcmRl?= To: freebsd-ports@freebsd.org Subject: Re: magic syntax for most recent git from sourceforge? [solved] Message-ID: <20180418060642.mxyyn7o5dm2uqdfy@privacychain.ch> References: <9e5060d7-ba6e-8538-8205-aa6e2cc3a4a2@dreamchaser.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180323 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 06:07:07 -0000 On Tue, Apr 17, 2018 at 09:48:53PM -0600, Gary Aitken wrote: > On 04/16/18 13:17, Gary Aitken wrote: > > Can anyone give me the magic formula for fetching the most recent git > > distro from sourceforge for a ports Makefile? > > > > The porter's handbook talks about how to fetch git repos from github > > but not about how to get them from sourceforge. > > > > I've tried a few things but can't get the right combo of MASTER_SITES > > and PORTNAME, DISTFILE, and DISTVERSION > > > > The git clone cmd is: > >   git clone https://git.code.sf.net/p/nufraw/git nufraw-git > > > > This particular git version says it is 0.41 but attempting to fetch > > with from > >   PORTVERSION=    0.41 > >   MASTER_SITES=   https://sourceforge.net/projects/nufraw/files/latest/ > > doesn't work; PORTVERSION=  0.40 does. > > I've also tried with > >   DISTVERSION=    07ebb73a > > with no joy. > > Many thanks to Jeremy Chadwick for guidance. > Appropriate values for the above example are: > > DISTVERSION= 0.41 > MASTER_SITES= SOURCEFORGE/nufraw Please use just SF instead, this is the way it is used in practice: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-popular I guess you didn't read The 'FreeBSD Porter's Handbook' yet. :) > > A problem also encountered while searching for a solution was a stale distinfo > left over from using the 0.40 version; moving it aside allowed the fetch to > complete. Apparently the distinfo file is checked during the fetch process > if it exists, not just at extract time. Please don't do that, run 'make makesum' instead. Do not forget to run 'portlint -AC' and 'poudriere testport ...' before opening a PR! ;) > _______________________________________________ > 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" -- Best Regards. LBdM.