From owner-svn-ports-all@FreeBSD.ORG Fri Nov 15 19:03:33 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CDE2826 for ; Fri, 15 Nov 2013 19:03:33 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C31F2EBE for ; Fri, 15 Nov 2013 19:03:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAFJ3XKu042187 for ; Fri, 15 Nov 2013 19:03:33 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAFJ3Xrv042183 for svn-ports-all@freebsd.org; Fri, 15 Nov 2013 19:03:33 GMT (envelope-from bdrewery) Received: (qmail 33332 invoked from network); 15 Nov 2013 13:03:31 -0600 Received: from unknown (HELO roundcube.xk42.net) (10.10.5.5) by sweb.xzibition.com with SMTP; 15 Nov 2013 13:03:31 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Nov 2013 13:03:30 -0600 From: Bryan Drewery To: Adam Weinberger Subject: Re: svn commit: r331725 - head/textproc/multimarkdown Organization: FreeBSD In-Reply-To: References: Message-ID: <4f89eaebb880fab1f6f99e2c3b2611cc@shatow.net> X-Sender: bdrewery@FreeBSD.org User-Agent: Roundcube Webmail/0.9.3 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Adam Weinberger , ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2013 19:03:33 -0000 On 2013-11-15 12:58, Adam Weinberger wrote: > On Fri, 15 Nov 2013 08:23:09 -0500, Bryan Drewery > wrote: > >> On 10/26/2013 12:56 PM, Adam Weinberger wrote: >>> Author: adamw >>> Date: Sat Oct 26 17:56:07 2013 >>> New Revision: 331725 >>> URL: http://svnweb.freebsd.org/changeset/ports/331725 >>> >>> Log: >>> Update to 4.3.2. >>> >>> The source remains only available through github. It also includes >>> a couple git submodules, which do not get included in the >>> auto-generated >>> source tarballs. Some of these submodules do not have tagged >>> releases. >>> >>> So, I'm cutting my losses and just checking the source itself out >>> of github. >> >> This is why we have USE_GITHUB. See /usr/ports/CHANGES for how to use >> it. >> >> git(1) should not be used for any fetching at all. It short circuits >> the >> checksum storage and is not a secure method of downloading the source. > > Okay, I understand the problems with the port. Everyone keeps telling > me to use USE_GITHUB, but every time I ask for help I get silence. > > 1) How do I use USE_GITHUB to fetch distfiles from projects with no > tags > https://github.com/fletcher/human-markdown-reference With GH_COMMIT= hash, GH_TAGNAME=${GH_COMMIT} > 2) How do I use USE_GITHUB to fetch distfiles from two different > GH_ACCOUNTs? > 3) How do I use USE_GITHUB to fetch multiple distfiles at all? You can't, but you just use what USE_GITHUB is doing anyway, which is a fetch of github's tarball URL. Ie: http://codeload.github.com/freebsd/portmaster/legacy.tar.gz/7359019?dummy=/g-freebsd-portmaster-3.17.2-7359019.tar.gz It downloads known hash 7359019, saves file as g-freebsd-portmaster-3.17.2-7359019.tar.gz. The port becomes a "snapshot" port. You update it occasionally with latest update. You can use YYYYMMDD as the PORTVERSION if upstream has no tags. I can expand on this more if needed. > > # Adam -- Regards, Bryan Drewery