RPM Community Forums

Mailing List Message of <rpm-users>

Re: Requires/Provides

From: Rick Miller <vmiller@hostileadmin.com>
Date: Tue 03 Apr 2012 - 22:03:29 CEST
Message-ID: <CAHzLAVEub10r29shmSR_B318zfd6Xw+KHni2SFcP9mufmbkfEA@mail.gmail.com>
Thanks for the info, Anders!

I had wondered if anyone had done this already and was unable to
locate the port using my google-foo.  Thank you for the URLs.  I guess
we will evaluate how important yum would be for us in our environment
and compare the benefits vs. the LOE to implement.

On Tue, Apr 3, 2012 at 12:30 PM, Anders F Björklund <afb@rpm5.org> wrote:
> Rick Miller wrote:
>>> What version of RPM?
>> I *think* its 5.2.x, but not 100% sure.  I don't have access to the
>> host today and can let you know tomorrow.  It was installed from the
>> FreeBSD ports collection for 8.2-RELEASE.
> That would be 5.2.1.
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/rpm5/
>> (aside)
>> The RPM I am trying to build is yum.  I suspect that I may hit a
>> number of snags with the yum.spec as I try to get an RPM built for
>> FreeBSD.  This happens to be the first.
> Using the yum.spec from Fedora on FreeBSD won't work, and is
> probably the least of your problems compared with portability.
> A yum port is available, and it required *lots* of patching:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150541
> But even with all the patching, the only yum use is for handling
> RPM packages for Linux on FreeBSD (like for the linux emulator).
> It has too many hardcoded assumptions to work for native packages.
> There is no real interest in having it portable to other systems.
> It was mistakenly submitted* as a dependency of createrepo-0.9.8,
> but it would have been better to use createrepo-0.4.11 instead...
> (* as per http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150542)
> At one point, there was even a port of mock for use in linux-base:
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/linux_base-f10/
> (currently it has a long hardcoded list of rpms, and uses rpm2cpio)
> --anders

Take care
Rick Miller
Received on Tue Apr 3 22:08:35 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.