Re: Fwd: AIF through proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 22 May 2010 12:51:39 +0200
"Andre \"Osku\" Schmidt" <andre.osku.schmidt@xxxxxxxxxxxxxx> wrote:

> now i only wonder what would be the best way and place to save these
> variables in the installed system ?

are you saying the target system should always use the proxies, for all
users?
maybe write the variables into /etc/profile then. don't know if there
is a better way.

> in worker_configure_system() in
> the users aif profile ?

yes...

> and can i restrict it only to pacman ? (for general proxy
> like squid. pacproxy.py would be only used by pacman, hence my main
> interest on it)

I don't know... my attempt would be setting this into the pacman.conf:
XferCommand = http_proxy=.. ftp_proxy= .. /usr/bin/wget --passive-ftp -c -O %o %u

but i don't think that will work. maybe a pacman dev knows.

a bit more dirtier, but should definitely work:
XferCommand = /bin/sh -c 'http_proxy=.. ftp_proxy= .. /usr/bin/wget --passive-ftp -c -O %o %u'

or write this to /etc/profile:
alias pacman='http_proxy=.. ftp_proxy=.. pacman'

Dieter



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux