> Now that approx is run via inetd, /etc/defaults/approx has disappeared,
> and I apparently cannot export http_proxy to it anymore, which means,
> for example, that I cannot use it at work.
> 
> Is there another way to configure a proxy for approx to use?

Sorry, I plan to add this to a FAQ in the next upload:

  Since approx uses the curl(1) command to download files from
  remote repositories, you can use the http_proxy environment variable
  (or one of the others documented in the curl(1) manual page).

  To pass this to approx, modify the inetd.conf entry for approx to run
  an executable wrapper script instead of the /usr/sbin/approx binary.
  You can use something like this for the wrapper:

      #!/bin/sh

      export http_proxy=myproxy.org:1234
      exec /usr/sbin/approx

Please let me know if that works OK for you so I can close this bug.

-- 
Eric Cooper             e c c @ c m u . e d u



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to