public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [SOLVED] gentoo and proxy variable
Date: Mon, 25 Dec 2006 16:02:42 +0200	[thread overview]
Message-ID: <458FDA02.1070805@ilievnet.com> (raw)
In-Reply-To: <458FD0BF.4090703@ilievnet.com>

Daniel Iliev wrote:
> Mike Williams wrote:
>   
>> On Monday 25 December 2006 12:24, Daniel Iliev wrote:
>>   
>>     
>>> Where is it most appropriate to set ftp_proxy and http_proxy environment
>>> variables on Gentoo in order to use a proxy server with wget *when it is
>>> used by emerge from a cron job*?
>>>
>>> I want to make an "emerge --fetchonly" cron job which downloads through
>>> a squid server. Actually the ftp_proxy variable is important in this
>>> case because the whole traffic on port 80 is transparently redirected to
>>> the proxy.
>>>     
>>>       
>> /etc/make.conf
>> It's sourced as a bash script.
>>
>>   
>>     
>
> Thanks a lot!
>
> That will do the job for emerge. What if I want to schedule some other
> downloading with cron?
>
>   


grep -in proxy /etc/make.conf.example
144:# If you need to set a proxy for wget or lukemftp, add the
appropriate "export
145:# ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to
/etc/profile if


So it appears "/etc/profile" is the appropriate file.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-12-25 14:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-25 12:24 [gentoo-user] gentoo and proxy variable Daniel Iliev
2006-12-25 12:44 ` Mike Williams
2006-12-25 13:23   ` Daniel Iliev
2006-12-25 14:02     ` Daniel Iliev [this message]
2006-12-25 18:31       ` [gentoo-user] [SOLVED] " Etaoin Shrdlu
2006-12-25 18:19         ` Uwe Thiem
2006-12-25 19:18           ` Etaoin Shrdlu
2006-12-26  5:45             ` Uwe Thiem
2006-12-26 11:30               ` Daniel Iliev
2006-12-25 18:48         ` Daniel Iliev
2006-12-25 14:14     ` [gentoo-user] " Etaoin Shrdlu
2006-12-25 15:39     ` Uwe Thiem
2006-12-25 18:30     ` Boyd Stephen Smith Jr.
2006-12-25 19:06 ` [gentoo-user] [SOLVED] Daniel Iliev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=458FDA02.1070805@ilievnet.com \
    --to=danny@ilievnet.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox