fetch (fetch http_proxy)

FreeBSD, NetBSD, OpenBSD, DragonFly и т. д.

Модератор: arachnid

pomka87
Сообщения: 5
ОС: FreeBSD

fetch

Сообщение pomka87 »

Организация выходит в нет через проксю.... при попытке поставить чёнить из портов возникает ошибка:
===> Vulnerability check disabled, database not found
=> xmms-1.2.10.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.xmms.org/files/1.2.x/.
fetch: http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2: Connection refused
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/d...1.2.10.tar.bz2: Connection refused
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
вот такая фигня.....
http://www.freebsd.org/cgi/man.cgi?query=fetch&sektion=3 - вот что мне нужно! точнее там очень много параметров связанных с прокси... посмотрел на ман но так и не понял как в итоге это должно выглядеть!?
немогу слепить нечто конкретное что моглобы задать переменной параметр... да и многовато их как то! непонимаю почему тема так неактуальна... ведь прокси встречаются на каждом шагу, а из портов ставить помоему самый нормальный вариант для обычного человека, которому ненужно ничего сверхестественного... ))
поможите чем сможите...


вот что сделал:
# fetch http_proxy https://srv-isa.XXXXXXXXX.ru:8080
fetch: http_proxy: No such file or directory
704:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478:
fetch: https://srv-isa.XXXXXXXXX.ru:8080: Authentication error
Ну впринципе прально.... на проксе то я никак не авторизуюсь...
в фале /etc/csh.cshrc
setenv http_proxy https//srv-isa.XXXXXXXXX.ru:8080
setenv ftp_proxy http://srv-isa.XXXXXXXXX.ru:8080
и всё.... а как авторизация проходит?

ИСТИННА ГДЕ ТО РЯДОМ! КАК ПРОКСЕ СКАЗАТЬ КТО Я?



# whereis lsof
lsof: /usr/ports/sysutils/lsof
# cd /usr/ports/sysutils/lsof/
# make install
===> Vulnerability check disabled, database not found
=> lsof_4.77D.freebsd.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/.
fetch: ftp://lsof.itap.purdue.edu/pub/tools/unix...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/.
fetch: ftp://lsof.itap.purdue.edu/pub/tools/unix...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.ayamura.org/pub/lsof/.
fetch: ftp://ftp.ayamura.org/pub/lsof/lsof_4.77D.freebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.ayamura.org/pub/lsof/NEW/.
fetch: ftp://ftp.ayamura.org/pub/lsof/NEW/lsof_4...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/.
fetch: ftp://ftp.cerias.purdue.edu/pub/tools/uni...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.cerias.purdue.edu/pub/tools/uni...utils/lsof/NEW/.
fetch: ftp://ftp.cerias.purdue.edu/pub/tools/uni...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/.
fetch: ftp://gd.tuwien.ac.at/utils/admin-tools/l...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/NEW/.
fetch: ftp://gd.tuwien.ac.at/utils/admin-tools/l...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.sunet.se/pub/unix/admin/lsof/.
fetch: ftp://ftp.sunet.se/pub/unix/admin/lsof/ls...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.sunet.se/pub/unix/admin/lsof/NEW/.
fetch: ftp://ftp.sunet.se/pub/unix/admin/lsof/NE...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/.
fetch: ftp://ftp.cert.dfn.de/pub/tools/admin/lso...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/NEW/.
fetch: ftp://ftp.cert.dfn.de/pub/tools/admin/lso...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.tau.ac.il/pub/unix/admin/.
fetch: ftp://ftp.tau.ac.il/pub/unix/admin/lsof_4...reebsd.tar.bz2: Proxy Authentication Required
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/d...reebsd.tar.bz2: Proxy Authentication Required
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
Спасибо сказали:
Аватара пользователя
polachok
Бывший модератор
Сообщения: 2199
Статус: главный форумный маргинал
ОС: gnu/linux

Re: fetch

Сообщение polachok »

EXAMPLES
To access a proxy server on proxy.example.com port 8080, set the
HTTP_PROXY environment variable in a manner similar to this:

HTTP_PROXY=http://proxy.example.com:8080

If the proxy server requires authentication, there are two options avail-
able for passing the authentication data. The first method is by using
the proxy URL:

HTTP_PROXY=http://<user>:<pwd>@proxy.example.com:8080

The second method is by using the HTTP_PROXY_AUTH environment variable:

HTTP_PROXY=http://proxy.example.com:8080
HTTP_PROXY_AUTH=basic:*:<user>:<pwd>

а из портов ставить помоему самый нормальный вариант для обычного человека, которому ненужно ничего сверхестественного... ))

нет, для такого человека больше пакеты подойдут
И немедленно выпил.
Спасибо сказали: