tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: github download recipe



On Wed, 19 Sep 2012 12:01:08 +0900, matthew sporleder 
<msporleder%gmail.com@localhost> wrote:

the following seems to work for using github:

DISTNAME=       fail2ban-fail2ban-sdist-0.8.5-0-g6c07999
#filename github would eventually give you without .tar.gz

MASTER_SITES=
https://nodeload.github.com/fail2ban/fail2ban/tarball/sdist/0.8.5?
#use ? to stop the url -- in this case the tag name is 'sdist/0.8.5'
so don't let the extra / confuse you


For such case, you can put "-" prefix on the URL.
i.e.
MASTER_SITES=-https://nodeload.github.com/fail2ban/fail2ban/tarball/sdist/0.8.5

FETCH_USING=    curl
FETCH_OUTPUT_ARGS=      ${DISTNAME}

For this case, you can use http instead of https, then curl will not be 
required.
(and FETCH_OUTPUT_ARGS should not be set here)

thanks,
Matt



--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index