Hi

I follow this treat now for a while, but something is still missing here.

RPM is not just a Binary Package. I agree most of them are.
Some of the RPM´s also have some scripts embedded which are not handled if you 
convert it with  rpm2targz or simular.

For example i still look for an way to convert Legate Networker RPM´s to Gentoo 
Ebuild without manual extracting those scripts which are normaly handled at 
installtime by the RPM System :-(.


------------------http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html-------------
Install/Erase-time Scripts

The other type of scripts that are present in the spec file are those that are 
only used when the package is either installed or erased. There are four 
scripts, each one meant to be executed at different times during the life of a 
package:

    *

      Before installation.
    *

      After installation.
    *

      Before erasure.
    *

      After erasure. 
-----------------------------------------------------------------------------------

By the way does someone have an idea how this can be done easily without 
extracting them manualy ??


Building an Binary Gentoo Ebuild from just Binary RPM´s no problem so far, but 
if those scripts needed for installation, the hard life goes on.

Ciao

        Alessandro





-----Original Message-----
From: Neil Bothwick [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 11. Mai 2007 12:35
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] convert rpm to ebuild

On Fri, 11 May 2007 13:25:46 +0300, Nistor Andrei wrote:

> > That won't work, emerge can only work with ebuilds or portage binary 
> > packages. You can either write your own ebuild to install the 
> > binary, which is pretty straightforward, or simply unpack it to /.
> >  
> Portage binary packages aren't actually .tar.gz archives?

No, they are tar.bz2 archives with some metadata appended. without that 
metadata, portage cannot create an entry in the package database.


--
Neil Bothwick

Life is pleasant. Death is peaceful. Its the transition thats troublesome. - 
Isaac Asimov
Die Information in dieser Nachricht ist vertraulich und ausschliesslich fuer 
den Adressaten bestimmt. Der Empfaenger dieser Nachricht, der nicht der 
Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmaechtigter ist, 
wird hiermit davon in Kenntnis gesetzt, dass er deren Inhalt nicht verwenden, 
weitergeben oder reproduzieren darf. Sollten Sie diese Nachricht irrtuemlich 
erhalten haben, benachrichtigen Sie uns bitte unverzueglich per Telefon und 
retournieren Sie uns die Nachricht per E-Mail/Fax.


The information contained in this e-mail is privileged and confidential and is 
for the exclusive use of the addressee. The person who receives this e-mail and 
who is not the addressee, one of his employees or an agent entitled to hand it 
over to the addressee, is informed that he may not use, disclose or reproduce 
the contents thereof. If you have received this communication by mistake, 
please let us know by telephone without delay and send it back to us by 
e-mail/fax.
--
[EMAIL PROTECTED] mailing list

Reply via email to