RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm5 configuration for curl

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 19 May 2009 - 15:37:50 CEST
Message-id: <E7BAE626-035C-4518-8A52-134C242E6BCA@mac.com>

On May 19, 2009, at 8:54 AM, Tino Jakowitz wrote:

> Hello,
> I am new to this list and I am new to rpm5 too. I worked with the  
> older rpm and after the switch to rpm5 I cannot install from http or  
> ftp sources.

You need to define a macro to re-enable network transport.

This is what I have in /etc/rpm/macros:

	%_rpmgio .ufdio

> Is this not supported by rpm5 anymore or should I do some  
> configuration for that working with the new rpm5?

The network transport @rpm5.org is not perfect, has issues
with error handling paths, doesn't handle 30x re-directs, certain
functionality traversing/globbing remote file trees hasn't
been finished, assumes WebDAV enabled servers, won't handle
EPASV ftp, etc etc. None of these are new (or even recent)
flaws @rpm5.org however.

So the "policy" decision @rpm5.org was to have network access
disabled by default. The macro above re-enables.

Note that rpm-5.1.7 (and later) includes a rpmwget-like executable
that can be used for testing.

There's also configuration to use an external curl helper to
download sources/patches, but that usage case is narrowly restricted
to rpmbuild "fetching".


73 de Jeff
Received on Tue May 19 15:38:14 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.