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?

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

Reply via email to