RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Jeffrey Johnson <n3npq@me.com>
Date: Mon 26 Mar 2012 - 23:07:57 CEST
Message-id: <608767E7-2242-4CCF-9F6E-89A4C969CA75@me.com>

On Mar 26, 2012, at 4:57 PM, Henri Gomez wrote:

> If MacPorts could provide a RPM based distribution, may be need for recreating a new distribution may be less urgent. 

Well I (and aft) have been waiting for MacPorts to attempt
binary packaging using RPM for going on 8 years now.

Don't hold your breath: the politics is rather daunting. They've
never ever quite figured out binary packaging benefits in
Mac Ports, just that its Cool!

> Better if they push dependencies in ... RPMs. 

You are preaching to the choir …

> MacPorts team did a tremendous works and duplicating effort may not be mandatory. 

Yes, but ...

> About RPM on MacPorts, could it be updated to 5.4.7 ?

Yes, but …


73 de Jeff
> Le 26 mars 2012 à 20:17, Anders F Björklund <afb@rpm5.org> a écrit :
>> Jeffrey Johnson:
>>>> [...]
>>>> The .src.rpm format is somewhat troublesome to port, but bundled
>>>> rpm2cpio.sh and extracted the tarball in a post-extract {} step.
>>> [...]
>>> But if it gets to be too big a hassle, I'll pop out the tar ball and included
>>> detached signature whenever you wish.
>> Basically it's only troublesome because there is no built-in support
>> for the .src.rpm format, while there is for the .tar.gz. format...
>> But it was not a big deal to add it, to the "extract" phase:
>> extract.suffix          .src.rpm
>> extract.cmd             ${filespath}/rpm2cpio.sh
>> extract.pre_args        ""
>> extract.post_args       "| cpio -dvim"
>> post-extract {
>>       system -W ${workpath} "${portutil::autoconf::tar_command} -xzf rpm-${version}.tar.gz"
>> }
>> So for MacPorts it can remain in that format, if you prefer.
>> --anders______________________________________________________________________
>> RPM Package Manager                                    http://rpm5.org
>> User Communication List                             rpm-users@rpm5.org
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Mon Mar 26 23:08:02 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.