make.conf and fetch problem

Just stupid error but take me a few days to sort it out.

Basically we have two gateway, A and B. I use to tell fetch in freebsd to use connection from gateway A for updating ports since gateway A have faster connection than gateway B.

Due to the change of IT policy, I no longer can use gateway A, we separate the network physically.

I don’t realize that when updating ports came :

proxy# csup -g -L2 ports-supfile

………………………………………………

Delete ports/x11-wm/xfce4-wm/files/patch-display.c
 Delete ports/x11-wm/xfce4-wm/files/patch-display.h
 Delete ports/x11-wm/xfce4-wm/files/patch-hint.c
 Delete ports/x11-wm/xfce4-wm/files/patch-hint.h
 Edit ports/x11-wm/xfce4-wm/pkg-plist
  Add delta 1.19 2008.02.12.18.11.03 oliver
Shutting down connection to server
Finished successfully

Fetchindex time :

proxy# make fetchindex

fetch: http://www.FreeBSD.org/ports/INDEX-6.bz2: Operation timed out
fetch: http://www.FreeBSD.org/ports/INDEX-6.bz2: Operation timed out

Until I realize about my make.conf:

proxy# cat /etc/make.conf

 

# added by use.perl 2007-10-08 16:42:06
without_11x="YES"
PERL_VER=5.8.8
PERL_VERSION=5.8.8
FETCH_ENV=http_proxy=http://proxy:$%#fert@10.10.12.10:3128

I forgot the line of FETCH_ENV icon sad make.conf and fetch problem

Quick solution for this case is mark it as comment by put # in front of the line.

#FETCH_ENV=http_proxy=http://proxy:$%#fert@10.10.12.10:3128

and save the file.

proxy# make fetchindex

/usr/ports/INDEX-6.bz2                        100% of 1152 kB   48 kBps 00m00s

sighhh, I just blame my pf.conf already icon smile make.conf and fetch problem

Just for sharing.

Have a nice weekend.