|
发表于 2005-5-14 00:57:23
|
显示全部楼层
form the GNU wget's manual:
Wget supports proxy servers, which can lighten the network load, speed up retrieval and provide access behind firewalls. However, if you are behind a firewall that requires that you use a socks style gateway, you can get the socks library and build Wget with support for socks. Wget also supports the passive FTP downloading as an option.
所以,我认为wget默认没有加入socks的支持。需要开启它并重新编译。
你可以试试下面这个PKGBUILD。
- pkgname=wget
- pkgver=1.9.1
- pkgrel=socks
- pkgdesc="A network utility to retrieve files from the Web"
- url="http://www.gnu.org/software/wget/wget.html"
- depends=('glibc' 'openssl')
- backup=('etc/wgetrc')
- source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
- md5sums=('e6051f1e1487ec0ebfdbda72bedc70ad')
- build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --with-socks
- make || return 1
- make DESTDIR=$startdir/pkg install
- }
复制代码 |
|