How do you "make install" without direct internet access?

Christian Hiris 4711 at chello.at
Tue Nov 23 14:59:31 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 November 2004 22:35, Christian Hiris wrote:
> On Tuesday 23 November 2004 22:22, Ralph wrote:
> > actually, since I was in csh, the setenv FTP_PROXY
> > my.internal.proxy:80 worked like a charm, except that,
> > for some reason, fetch refuses to work without
> > internet DNS resolution.  As with our environment, no
> > internal hosts have external DNS resolution - how do
> > you solve that?
>
> Just an idea - try to use your proxy's ip-address instead of hostname.
> ie. FTP_PROXY=http://192.168.n.n:80

If the proxy's address is the only address fetch tries to resolve, it maybe 
could help, if you modify common.c in libfetch. Add "hints.ai_flags = 
AI_NUMERICHOST;" before the getaddrinfo calls (line# 244 anf 275). This 
should disable DNS resolving (assuming you set proxy-url to a numeric host as 
mentioned above).

- -- 
Christian Hiris <4711 at chello.at> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBo8DQ09WjGjvKU74RAjowAJ9lB1VWFLn3YqLNPhgvGUanbjn5KQCeJgVZ
PGJ3C3jfqA78lX797v7i4eI=
=z3vx
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list