tech-pkg archive

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

Re: Packages with https-only MASTER_SITES



On Tue, Mar 27, 2012 at 03:45:21PM +0300, Andreas Gustafsson wrote:
> How does one create a pkgsrc package for a software package whose
> master site only supports HTTPS downloads?  For example, if I set
> 
>   PKGVERSION=     8.0.2b
>   MASTER_SITES=   https://launchpad.net/vm/8.2.x/${PKGVERSION}/+download/
> 
> in the Makefile, I get:
> 
>   ftp: Can't lookup `https:ftp': No address associated with hostname
>   ftp: Can't connect or login to host `https:(null)'
>   fetch: Unable to fetch expected file vm-8.0.2b.tgz

The standard workaround until we get a solution is to use
FETCH_USING=curl
in the Makefile.

For some hosts, there are non-https URLs too, but you have to know
them (I don't, but grep pkgsrc).
 Thomas


Home | Main Index | Thread Index | Old Index