Date: Fri, 15 Nov 2013 13:03:30 -0600 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Adam Weinberger <adamw@adamw.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Adam Weinberger <adamw@freebsd.org>, ports-committers@freebsd.org Subject: Re: svn commit: r331725 - head/textproc/multimarkdown Message-ID: <4f89eaebb880fab1f6f99e2c3b2611cc@shatow.net> In-Reply-To: <op.w6ltn4mr49nfxl@projector.lan> References: <op.w6ltn4mr49nfxl@projector.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-11-15 12:58, Adam Weinberger wrote: > On Fri, 15 Nov 2013 08:23:09 -0500, Bryan Drewery > <bdrewery@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f89eaebb880fab1f6f99e2c3b2611cc>