RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-5.0.0 and ftp / http support

From: Per Øyvind Karlsen <pkarlsen@rpm5.org>
Date: Sat 10 Dec 2011 - 20:21:13 CET
Message-ID: <CA+0WU1Q2oVk7WQ0MQkxb6zAb5syUgfDG6crVGskZa5Sj0YFf1Q@mail.gmail.com>
Den 03:56 10. desember 2011 skrev Jeffrey Johnson <n3npq@me.com> følgende:
> On Dec 9, 2011, at 9:22 PM, Jeffrey Johnson wrote:
> On Dec 9, 2011, at 9:02 PM, Rolf Pedersen wrote:
> Mandriva 2011.0
> [rolf@localhost ~]$ cat /etc/mandriva-release
> Mandriva Linux release 2011.0 (Official) for x86_64
> [rolf@localhost ~]$ rpm -q rpm
> rpm-5.3.12-0.20110712.2-mdv2011.0.x86_64
> This is my first exposure to rpm-5 and I couldn't understand why I couldn't
> rpm -qip [--changelog] URL or rpm -U --oldpackage URL, some rpm
> functionalities I've come to use often, after 11 years of Mandrake|iva.
> This thread is the first suggestion of the reason I've found, after some
> fruitless google searching and devising some testing to eliminate local
> corruption:https://qa.mandriva.com/show_bug.cgi?id=64914
> Is "network access was disabled in rpm-5.0.0" why I am seeing this?  If so,
> can the functionalities be restored?
> Its likely the reason, yes. But there's quite a few years of history
> between the report and mdv2011 so I cannot say for sure.
> It is the same means to re-enable
> Then "opt-in" to network access by doing
>      echo "%_rpmgio        %{nil}" >> /etc/rpm/macros
> I changed the behavior a few years back (I've forgot why, there is/was a
> reason).
> Here's the comment (and tested with first URL at the bug report on mdv2011)
> I added to bz#64914
> If you configure a macro, then ftp/http transport will be re-enabled.
> This can be done on the CLI by adding
>     -D '_rpmgio .ufdio'
> of done persistently by doing
>    echo '%_rpmgio .ufdio' >> /etc/rpm/macros
> Note that this is "unsupported" (by Mandriva) functionality in RPM.
Well, we're just using the default as defined in /usr/lib/rpm/macros,
but if there's no
specific drawbacks I shold be aware of beyond the limitations of this
support you mention,
I'd be happy to change the default to enable this in our
/usr/lib/rpm/macros.d/mandriva.. :)

Per Øyvind
Received on Sat Dec 10 20:26:24 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.