pkgsrc-Users archive

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


Hi Joerg,

Joerg Sonnenberger schrieb:
On Wed, Aug 05, 2009 at 01:40:10PM +0200, Dirk H. Schulz wrote:
I want pkgsrc to use wget instead of ftp, and according to docs this can be done with the parameter
in /etc/mk.conf.

Yes, exactly. Works very well here.

Is the FETCH_USING parameter obsolete? And has FETCH_CMD to be accompanied by additional parameters to make wget work? The docs are a bit sparse on that, if I may say so. :)

FETCH_CMD is only used when FETCH_USING=manual is active.
That is definitely different here. I first put FETCH_USING= wget into /etc/mk.conf, and ftp still was used. Then I added FETCH_CMD= wget, and then wget was used with ftp-URLs. That was, when I had spaces between "=" and the value as exampled in the docs.
Without spaces (e.g. FETCH_USING=wget), nothing is changed at all.
What is the exact content of your mk.conf? Is this on NetBSD?
It is on NetBSD 5, and the content of /etc/mk.conf is just the 2 parameters above.

Home | Main Index | Thread Index | Old Index