public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] convert rpm to ebuild
@ 2007-05-10 19:06 Florian Philipp
  2007-05-10 19:41 ` darren kirby
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Florian Philipp @ 2007-05-10 19:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Hi!

I thought this question would be quiet common but I've been unable to get an 
answer googling and looking through howtos. Actually there are some links in 
an old thread on forums.gentoo.org but its target seems to have moved.

Anyway, how do I install packages in .rpm or .deb without messing up portage? 
Is there something like "alien"?

Thanks in advance
Florian Philipp 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: [gentoo-user] convert rpm to ebuild
@ 2007-05-11 18:29 Öhler, Alessandro
  0 siblings, 0 replies; 25+ messages in thread
From: Öhler, Alessandro @ 2007-05-11 18:29 UTC (permalink / raw
  To: gentoo-user

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:neil@digimed.co.uk] 
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.
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2007-05-11 18:36 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 19:06 [gentoo-user] convert rpm to ebuild Florian Philipp
2007-05-10 19:41 ` darren kirby
2007-05-10 22:12   ` b.n.
2007-05-10 20:20     ` darren kirby
2007-05-10 20:36       ` Florian Philipp
2007-05-10 21:13         ` Neil Bothwick
2007-05-10 21:46         ` Jesús Guerrero
2007-05-10 22:26         ` Bo Ørsted Andresen
2007-05-10 22:33         ` darren kirby
2007-05-11  9:18           ` Florian Philipp
2007-05-10 20:29     ` Bo Ørsted Andresen
2007-05-11  3:45       ` Randy Barlow
2007-05-11  0:35     ` Aleksandar L. Dimitrov
2007-05-10 19:53 ` Bo Ørsted Andresen
2007-05-10 20:16   ` Florian Philipp
2007-05-10 20:29     ` Bo Ørsted Andresen
2007-05-10 20:50       ` Florian Philipp
2007-05-10 23:36         ` Hans-Werner Hilse
2007-05-10 21:05       ` Paul Varner
2007-05-11  5:51 ` Dirk Heinrichs
2007-05-11  9:43 ` Nistor Andrei
2007-05-11 10:04   ` Neil Bothwick
2007-05-11 10:25     ` Nistor Andrei
2007-05-11 10:34       ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2007-05-11 18:29 Öhler, Alessandro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox