pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47525: fetch from sourceforge fails if user sets own FTPUSERAGENT
The following reply was made to PR pkg/47525; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/47525: fetch from sourceforge fails if user sets own
FTPUSERAGENT
Date: Wed, 06 Feb 2013 22:36:49 +0900
I don't know why you want to use such a bogus ("Mozilla/5.0") user agent,
but it is the origin of the fault.
morr@'s change may rise new other faults, because it will work well with
x11/rxvt-unicode/Makefile r1.41, adding FTPUSERAGENT="NetBSD/ftp".
If other sites also has same problem (empty user-agent is not welcomed),
package using such site as MASTER_SITES will also fail to fetch,
because usually, FTPUSERAGENT environment variable is empty.
Adding such hack to affected packages is not smart.
My suggestion is "revert to r1.56".
For Tsutsui-san's situation,
* unset FTPUSERAGENT for the case using pkgsrc
or
* put followings to mk.conf (or set equivalent to environment variable)
PKGSRC_SETENV=${SETENV} -i
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index