On Tue, Feb 20, 2007, Caleb Epstein wrote:

> I am stuck behind a proxy server that allows http or ftp-over-http
> traffic and am trying to bootstrap OpenPKG.
>
> I was able to successfully download, build and install the bootstrap
> package, but now when it comes time to build openpkg-tools, I'm stuck.
> It seems that the "openpkg" tool is aware of the http_proxy and
> ftp_proxy environment variables and makes use of them, but when it
> comes to an "rpm --rebuild" step, I get errors:
>
> % /data/openpkg/bin/openpkg rpm --rebuild
> ftp://ftp.openpkg.org/stable/2.20061018/SRC/CORE/make-3.81-2.20061018.src.rpm
> error: cannot open
> ftp://ftp.openpkg.org/stable/2.20061018/SRC/CORE/make-3.81-2.20061018.src.rpm:
> Operation not permitted
> warning: u 0x81dc228 ctrl 0x81e3458 nrefs != 0 (ftp.openpkg.org ftp)
>
> I think the problem is that rpm doesn't use the *_proxy environment
> variables.
>
> So I tried editing $prefix/lib/openpkg/macros to set %_ftpport and
> %_ftpproxy, but this is understood to behave like a "TIS Firewall", to
> which you can connect your FTP client and issue command like "open
> [EMAIL PROTECTED]".  My proxy server doesn't support this mode of operation.
>
> Is a local mirror the only practical way to solve this?

Your problem is that the "proxy" RPM uses for FTP URLs is really an
old-style FTP proxy, not a HTTP proxy which also accepts FTP URLs.

By coincidence, Thomas L. is currently working on this issue. The
solution is that cURL is used for downloading only as OpenPKG's current
RPM version is not able to download correctly via all sorts of URLs and
proxy combinations. Watch for his contribution the next days. It should
allow you to use "openpkg build" with a proxy.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to