2010/5/4 Jimmy <
jcf...@gmail.com>:
> hi
>
> i don't suppose the xbps repo contains and installs a sample xbps.conf
> file? and on a side note, is there http/ftp proxy support for those
> behind restrictive firewalls?
You don't need any configuration file for XBPS, for now. Simply register
your local repo and make the top level directory browseable in your HTTP server.
Yes, libfetch supports basic HTTP and FTP proxy stuff.
The following environments vars can be used:
HTTP_PROXY URL of the proxy to use for HTTP requests. The docu-
ment part is ignored. Only HTTP proxies are sup-
ported for HTTP requests. If no port number is spec-
ified, the default is 3128.
Note that this proxy will also be used for FTP docu-
ments, unless the FTP_PROXY variable is set.
HTTP_PROXY_AUTH Specifies authorization parameters for the HTTP proxy
in the same format as the HTTP_AUTH variable.
This variable is used if and only if connected to an
HTTP proxy, and is ignored if a user and/or a pass-
word were specified in the proxy URL.
FTP_PROXY URL of the proxy to use for FTP requests. The docu-
ment part is ignored. FTP and HTTP proxies are sup-
ported; if no scheme is specified, FTP is assumed.
If the proxy is an FTP proxy, libfetch will send
`user@host' as user name to the proxy, where `user'
is the real user name, and `host' is the name of the
FTP server.
If this variable is set to an empty string, no proxy
will be used for FTP requests, even if the HTTP_PROXY
variable is set.