sample configuration file

12 views
Skip to first unread message

Jimmy

unread,
May 4, 2010, 12:12:11 PM5/4/10
to The X Binary Package System
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?

jimmy

--
XBPS - The X Binary Package System

You received this message because you are subscribed to the Google
Groups "xbps" group.
To post to this group, send email to xb...@googlegroups.com
To unsubscribe from this group, send email to
xbps+uns...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/xbps?hl=en

Juan Romero Pardines

unread,
May 4, 2010, 12:23:32 PM5/4/10
to xb...@googlegroups.com
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.

Juan Romero Pardines

unread,
May 4, 2010, 12:24:43 PM5/4/10
to xb...@googlegroups.com
2010/5/4 Juan Romero Pardines <xtr...@gmail.com>:

> Yes, libfetch supports basic HTTP and FTP proxy stuff.

Forgot to say, XBPS internally uses libfetch so this manual page applies:

http://www.freebsd.org/cgi/man.cgi?query=fetch&apropos=0&sektion=3&manpath=FreeBSD+8.0-RELEASE&format=html

Jimmy Tang

unread,
May 4, 2010, 12:27:35 PM5/4/10
to xb...@googlegroups.com
ah cool, I just wrapped the dynamically linked version up with tsocks
to get through our proxy here.

i'll have a play with it this evening and try building some test
packages after work.

thanks
jimmy
Reply all
Reply to author
Forward
0 new messages