Re: FETCH_USING=custom help

Jan Šmydke <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <20110329003210.6da69773@gaspard>
Oh so mk/fetch/fetch.mk has been updated recently just for that :-)

Now it works and is nice!

Thank you very much :)

JS

> From: Jan Šmydke <[email protected]>, Date: Mon, 28 Mar 2011
> 20:21:42 +0200
> 
> > Hi,
> > 
> >> Hi,
> >> 
> >> On my pkgsrc-current tree and Makefile of wip/termit with
> >> FETCH_USING=curl works fine.
> >> If you have no reason to stay in 2010Q4 branch,
> >> switching to pkgsrc-current is smart.
> >> 
> >> Or please modify _FETCH_BEFORE_ARGS.curl= line in
> >> pkgsrc/mk/fetch/fetch.mk.
> >> 
> >> Thank you.
> > 
> > I would rather stick to the stable pkgsrc branches for some reasons,
> > but I updated curl to current, which I assume should be sufficient,
> > but still curl doesn't work for me. It might be possible that I
> > really needed full pkgsrc-current branch, but I doubt it. Anyway I
> > enclose the failure screens from both FETCH_USING=curl:
> 
> Updating curl is not suitable for this problem.
> Please apply following patch to pkgsrc/mk/fetch/fetch.mk file.
> 
> Thank you.
> 
> 
> 
> $NetBSD$
> 
> --- pkgsrc/mk/fetch/fetch.mk.orig	2010-06-27
> 17:46:22.000000000 +0000 +++ pkgsrc/mk/fetch/fetch.mk
> @@ -215,6 +215,7 @@ _FETCH_OUTPUT_ARGS.wget=	-O
>  _FETCH_CMD.wget=		${PREFIX}/bin/wget
>  
>  _FETCH_BEFORE_ARGS.curl=	${PASSIVE_FETCH:D--ftp-pasv} \
> +				--fail --insecure --location \
>  				${FETCH_TIMEOUT:D--connect-timeout=${FETCH_TIMEOUT}}
> \ ${FETCH_TIMEOUT:D--speed-time=${FETCH_TIMEOUT}}
>  _FETCH_AFTER_ARGS.curl=		-O # must be here to honor -o
> option
> 
> --
> Ryo ONODERA // [email protected]
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
pkgsrc-wip-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.