* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 19:16 [gentoo-dev] RPM installer for Gentoo Andrew Gaffney
@ 2003-08-26 20:26 ` Jayson Garrell
2003-08-26 20:53 ` Andrew Gaffney
2003-08-26 23:07 ` Luke-Jr
2003-08-26 20:31 ` Dewet Diener
` (2 subsequent siblings)
3 siblings, 2 replies; 17+ messages in thread
From: Jayson Garrell @ 2003-08-26 20:26 UTC (permalink / raw
To: Andrew Gaffney; +Cc: Gentoo Dev
On Tue, 2003-08-26 at 12:16, Andrew Gaffney wrote:
> Is their currently a script/program out there that will install an RPM
> onto a Gentoo system? I'm not talking about 'rpm --nodeps -i file.rpm'.
> I mean a program that will parse the RPMs dependencies and then use
> portage to try and satisfy those dependencies, write a dummy ebuild,
> then use portage to install it. Yes, I know RPMs are the spawn of Satan.
> No, I do not need this program for myself. I just think it would be an
> interesting project.
I remember using a program in Debian called 'Alien'. It would convert
rpm's into .deb, .tar.gz, or convert to .deb install the package and
remove the .deb it created. It could probably be extended to do the same
to create .ebuild's.
I'll download the sources and take a look.
Jayson Garrell
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:26 ` Jayson Garrell
@ 2003-08-26 20:53 ` Andrew Gaffney
2003-08-26 20:53 ` Mike Williams
2003-08-26 23:07 ` Luke-Jr
1 sibling, 1 reply; 17+ messages in thread
From: Andrew Gaffney @ 2003-08-26 20:53 UTC (permalink / raw
To: Jayson Garrell; +Cc: Gentoo Dev
Jayson Garrell wrote:
> On Tue, 2003-08-26 at 12:16, Andrew Gaffney wrote:
>
>>Is their currently a script/program out there that will install an RPM
>>onto a Gentoo system? I'm not talking about 'rpm --nodeps -i file.rpm'.
>>I mean a program that will parse the RPMs dependencies and then use
>>portage to try and satisfy those dependencies, write a dummy ebuild,
>>then use portage to install it. Yes, I know RPMs are the spawn of Satan.
>>No, I do not need this program for myself. I just think it would be an
>>interesting project.
>
>
> I remember using a program in Debian called 'Alien'. It would convert
> rpm's into .deb, .tar.gz, or convert to .deb install the package and
> remove the .deb it created. It could probably be extended to do the same
> to create .ebuild's.
>
> I'll download the sources and take a look.
Yes, but can Alien install dependencies using Portage? That would be the
aim of this project.
--
Andrew Gaffney
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:53 ` Andrew Gaffney
@ 2003-08-26 20:53 ` Mike Williams
2003-08-26 21:21 ` Andrew Gaffney
0 siblings, 1 reply; 17+ messages in thread
From: Mike Williams @ 2003-08-26 20:53 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 26 August 2003 21:53, Andrew Gaffney wrote:
> > I remember using a program in Debian called 'Alien'. It would convert
> > rpm's into .deb, .tar.gz, or convert to .deb install the package and
> > remove the .deb it created. It could probably be extended to do the same
> > to create .ebuild's.
> >
> > I'll download the sources and take a look.
>
> Yes, but can Alien install dependencies using Portage? That would be the
> aim of this project.
rpms and debs have dependency information, it must be available at some point
during the conversion process (it's transferred between rpm <-> deb). So it
should be trivial to build the {P,R}DEPEND info from that to create a simple
ebuild.
The conversion process can ask the category, or default to something sensible
like app-converted maybe ?
- --
Mike Williams
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/S8iuInuLMrk7bIwRAifuAJ0f+ceWOwShG5kDWPB/8i9uedvUpgCfSTv/
Oixf/ozbGkl1FxNRzrrKjnc=
=PXlV
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:53 ` Mike Williams
@ 2003-08-26 21:21 ` Andrew Gaffney
0 siblings, 0 replies; 17+ messages in thread
From: Andrew Gaffney @ 2003-08-26 21:21 UTC (permalink / raw
To: Mike Williams; +Cc: gentoo-dev
Mike Williams wrote:
> On Tuesday 26 August 2003 21:53, Andrew Gaffney wrote:
>
>>>I remember using a program in Debian called 'Alien'. It would convert
>>>rpm's into .deb, .tar.gz, or convert to .deb install the package and
>>>remove the .deb it created. It could probably be extended to do the same
>>>to create .ebuild's.
>>>
>>>I'll download the sources and take a look.
>>
>>Yes, but can Alien install dependencies using Portage? That would be the
>>aim of this project.
>
> rpms and debs have dependency information, it must be available at some point
> during the conversion process (it's transferred between rpm <-> deb). So it
> should be trivial to build the {P,R}DEPEND info from that to create a simple
> ebuild.
> The conversion process can ask the category, or default to something sensible
> like app-converted maybe ?
I was thinking something like app-rpm, but yes.
--
Andrew Gaffney
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:26 ` Jayson Garrell
2003-08-26 20:53 ` Andrew Gaffney
@ 2003-08-26 23:07 ` Luke-Jr
1 sibling, 0 replies; 17+ messages in thread
From: Luke-Jr @ 2003-08-26 23:07 UTC (permalink / raw
To: Jayson Garrell, Andrew Gaffney; +Cc: Gentoo Dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I remember that, and I also remember that my problem with it was that it
required root access and the commands for all the packages (rpm etc). I'd
much prefer something which parsed the RPM format itself and didn't need to
extract them. The simplest way, I think, to do this would be to write a
rpmextract (or similar; not a full blown RPM, but just an extractor) and have
the auto generated ebuilds use the RPMs in distfiles... The problem would
come in if we wanted to automate compiling a source RPM... Though for all I
know they could come with compiliation instructions. I think DEBs do...
On Tuesday 26 August 2003 08:26 pm, Jayson Garrell wrote:
> On Tue, 2003-08-26 at 12:16, Andrew Gaffney wrote:
> > Is their currently a script/program out there that will install an RPM
> > onto a Gentoo system? I'm not talking about 'rpm --nodeps -i file.rpm'.
> > I mean a program that will parse the RPMs dependencies and then use
> > portage to try and satisfy those dependencies, write a dummy ebuild,
> > then use portage to install it. Yes, I know RPMs are the spawn of Satan.
> > No, I do not need this program for myself. I just think it would be an
> > interesting project.
>
> I remember using a program in Debian called 'Alien'. It would convert
> rpm's into .deb, .tar.gz, or convert to .deb install the package and
> remove the .deb it created. It could probably be extended to do the same
> to create .ebuild's.
>
> I'll download the sources and take a look.
>
> Jayson Garrell
>
>
> --
> gentoo-dev@gentoo.org mailing list
- --
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/S+hIZl/BHdU+lYMRAvdgAJsFtgYHg9ISJtktuQpKtWAWYMsDDACgnk3J
sVZp/gbOUMvDc5Qw9hfKGos=
=4TdZ
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 19:16 [gentoo-dev] RPM installer for Gentoo Andrew Gaffney
2003-08-26 20:26 ` Jayson Garrell
@ 2003-08-26 20:31 ` Dewet Diener
2003-08-26 20:52 ` Andrew Gaffney
2003-08-27 13:11 ` Terje Kvernes
2003-08-26 20:40 ` Marius Mauch
2003-08-26 21:17 ` Stuart Herbert
3 siblings, 2 replies; 17+ messages in thread
From: Dewet Diener @ 2003-08-26 20:31 UTC (permalink / raw
To: gentoo-dev
On Tuesday 26 August 2003 21:16, Andrew Gaffney wrote:
> I mean a program that will parse the RPMs dependencies
> and then use portage to try and satisfy those dependencies, write a
> dummy ebuild, then use portage to install it.
Much like g-cpan.pl? Sounds like a good idea -- the biggest problem
that I can imagine is different naming conventions: RedHat / Mdk
already use (sorta) differing schemes to name packages -- how would
one go about 'translating' this to category/ebuild names?
Dewet
--
Dewet Diener <gentoo@dewet.org> http://dewet.org
Professional Student, avid Gentoo user :)
Stellenbosch, South Africa (33º 55" 58.80'S 18º 51" 00.00'E)
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:31 ` Dewet Diener
@ 2003-08-26 20:52 ` Andrew Gaffney
2003-08-27 13:11 ` Terje Kvernes
1 sibling, 0 replies; 17+ messages in thread
From: Andrew Gaffney @ 2003-08-26 20:52 UTC (permalink / raw
To: Dewet Diener; +Cc: Gentoo Dev
Dewet Diener wrote:
> On Tuesday 26 August 2003 21:16, Andrew Gaffney wrote:
>
>>I mean a program that will parse the RPMs dependencies
>>and then use portage to try and satisfy those dependencies, write a
>>dummy ebuild, then use portage to install it.
>
>
> Much like g-cpan.pl? Sounds like a good idea -- the biggest problem
> that I can imagine is different naming conventions: RedHat / Mdk
> already use (sorta) differing schemes to name packages -- how would
> one go about 'translating' this to category/ebuild names?
Make the program interactive? If it can't figure it out all by itself
(using some kind of algorithm) or if it has a few possibilities, it
would prompt the user.
--
Andrew Gaffney
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 20:31 ` Dewet Diener
2003-08-26 20:52 ` Andrew Gaffney
@ 2003-08-27 13:11 ` Terje Kvernes
2003-08-27 13:33 ` Chris Gianelloni
1 sibling, 1 reply; 17+ messages in thread
From: Terje Kvernes @ 2003-08-27 13:11 UTC (permalink / raw
To: Dewet Diener; +Cc: gentoo-dev
Dewet Diener <gentoo@dewet.org> writes:
[ ... ]
> Much like g-cpan.pl? Sounds like a good idea -- the biggest problem
> that I can imagine is different naming conventions: RedHat / Mdk
> already use (sorta) differing schemes to name packages -- how would
> one go about 'translating' this to category/ebuild names?
you need a map between known packages in RedHat (and in Mandrake)
towards their Gentoo-equivalents. this only needs to be done once
per version per distribution. the big issue is that there is no
frontend to portage that'll make this easy to incorporate.
--
Terje
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-27 13:11 ` Terje Kvernes
@ 2003-08-27 13:33 ` Chris Gianelloni
2003-08-28 1:00 ` Luke-Jr
0 siblings, 1 reply; 17+ messages in thread
From: Chris Gianelloni @ 2003-08-27 13:33 UTC (permalink / raw
To: Terje Kvernes; +Cc: Dewet Diener, gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
On Wed, 2003-08-27 at 09:11, Terje Kvernes wrote:
> you need a map between known packages in RedHat (and in Mandrake)
> towards their Gentoo-equivalents. this only needs to be done once
> per version per distribution. the big issue is that there is no
> frontend to portage that'll make this easy to incorporate.
You would also need some way to do it for any non-distribution RPM.
There are quite a few programs out there that are made by third parties
that are RPM-only.
--
Chris Gianelloni
Developer, Gentoo Linux
Games Team
Is your power animal a penguin?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-27 13:33 ` Chris Gianelloni
@ 2003-08-28 1:00 ` Luke-Jr
2003-08-28 1:26 ` Lisa Marie Seelye
0 siblings, 1 reply; 17+ messages in thread
From: Luke-Jr @ 2003-08-28 1:00 UTC (permalink / raw
To: Chris Gianelloni, Terje Kvernes; +Cc: Dewet Diener, gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, many RPMs can simply be sorted into some dir in /opt, as they would be
binaries...
On Wednesday 27 August 2003 01:33 pm, Chris Gianelloni wrote:
> On Wed, 2003-08-27 at 09:11, Terje Kvernes wrote:
> > you need a map between known packages in RedHat (and in Mandrake)
> > towards their Gentoo-equivalents. this only needs to be done once
> > per version per distribution. the big issue is that there is no
> > frontend to portage that'll make this easy to incorporate.
>
> You would also need some way to do it for any non-distribution RPM.
>
> There are quite a few programs out there that are made by third parties
> that are RPM-only.
- --
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/TVRBZl/BHdU+lYMRAqSjAJ4+VglgU3X1+tAvDw0vfVGBneEJ8QCgh6LE
rSkkFHb2hhL+Sw5IbwlMymA=
=SR2Q
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-28 1:00 ` Luke-Jr
@ 2003-08-28 1:26 ` Lisa Marie Seelye
2003-08-28 4:05 ` Luke-Jr
0 siblings, 1 reply; 17+ messages in thread
From: Lisa Marie Seelye @ 2003-08-28 1:26 UTC (permalink / raw
To: Luke-Jr; +Cc: Chris Gianelloni, Terje Kvernes, Dewet Diener, gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
On Wed, 2003-08-27 at 21:00, Luke-Jr wrote:
> Well, many RPMs can simply be sorted into some dir in /opt, as they would be
> binaries...
And source RPMs?
--
Regards,
-Lisa
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-28 1:26 ` Lisa Marie Seelye
@ 2003-08-28 4:05 ` Luke-Jr
0 siblings, 0 replies; 17+ messages in thread
From: Luke-Jr @ 2003-08-28 4:05 UTC (permalink / raw
To: Lisa Marie Seelye
Cc: Chris Gianelloni, Terje Kvernes, Dewet Diener, gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For source RPMs, installation location is the least of the problems... How do
you plan to detect how to compile them?
On Thursday 28 August 2003 01:26 am, Lisa Marie Seelye wrote:
> On Wed, 2003-08-27 at 21:00, Luke-Jr wrote:
> > Well, many RPMs can simply be sorted into some dir in /opt, as they would
> > be binaries...
>
> And source RPMs?
- --
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/TX+lZl/BHdU+lYMRAmX8AKCdtHhZYprBKdnAFfxh02BHNY9B9gCggz+R
R46BmEN+dRMcABQBCqMgafU=
=wS2c
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 19:16 [gentoo-dev] RPM installer for Gentoo Andrew Gaffney
2003-08-26 20:26 ` Jayson Garrell
2003-08-26 20:31 ` Dewet Diener
@ 2003-08-26 20:40 ` Marius Mauch
2003-08-26 21:17 ` Stuart Herbert
3 siblings, 0 replies; 17+ messages in thread
From: Marius Mauch @ 2003-08-26 20:40 UTC (permalink / raw
To: gentoo-dev
On Tue, 26 Aug 2003 14:16:50 -0500
Andrew Gaffney <agaffney@technaut.darktalker.net> wrote:
> Is their currently a script/program out there that will install an RPM
>
> onto a Gentoo system? I'm not talking about 'rpm --nodeps -i
> file.rpm'. I mean a program that will parse the RPMs dependencies and
> then use portage to try and satisfy those dependencies, write a dummy
> ebuild, then use portage to install it. Yes, I know RPMs are the spawn
> of Satan. No, I do not need this program for myself. I just think it
> would be an interesting project.
I don't know of any tool to do it automatically, the easiest way is
probably
a) take a look at the spec file of the src.rpm (if available) and
rewrite that in an ebuild, or
b) make an ebuild based on the rpm eclass like the ebuilds
ximian-connector or use rpm2targz / rpm2cpio
Marius
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 19:16 [gentoo-dev] RPM installer for Gentoo Andrew Gaffney
` (2 preceding siblings ...)
2003-08-26 20:40 ` Marius Mauch
@ 2003-08-26 21:17 ` Stuart Herbert
2003-08-26 21:43 ` Andrew Gaffney
3 siblings, 1 reply; 17+ messages in thread
From: Stuart Herbert @ 2003-08-26 21:17 UTC (permalink / raw
To: Andrew Gaffney, Gentoo Dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1411 bytes --]
On Tuesday 26 August 2003 8:16 pm, Andrew Gaffney wrote:
> Is their currently a script/program out there that will install an RPM
> onto a Gentoo system? I'm not talking about 'rpm --nodeps -i file.rpm'.
> I mean a program that will parse the RPMs dependencies and then use
> portage to try and satisfy those dependencies, write a dummy ebuild,
> then use portage to install it. Yes, I know RPMs are the spawn of Satan.
> No, I do not need this program for myself. I just think it would be an
> interesting project.
Please excuse me for this, but I think it would be a nightmare, and a waste of
time.
The problem isn't the dependencies, it's converting the install scripts from a
RedHat-compatible system to a Gentoo one.
I maintain a few ebuilds which have this very problem, and to date I haven't
figured out a way of performing that automatic conversion. If someone does,
then I'd like to hear from them.
Best regards,
Stu
--
Stuart Herbert stuart@gentoo.org
Gentoo Developer http://www.gentoo.org/
Beta packages for download http://dev.gentoo.org/~stuart/packages/
Come and meet me in March 2004 http://www.phparch.com/cruise/
GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
--
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-dev] RPM installer for Gentoo
2003-08-26 21:17 ` Stuart Herbert
@ 2003-08-26 21:43 ` Andrew Gaffney
2003-08-26 21:30 ` Stuart Herbert
0 siblings, 1 reply; 17+ messages in thread
From: Andrew Gaffney @ 2003-08-26 21:43 UTC (permalink / raw
To: Stuart Herbert; +Cc: Gentoo Dev
Stuart Herbert wrote:
> On Tuesday 26 August 2003 8:16 pm, Andrew Gaffney wrote:
>
>>Is their currently a script/program out there that will install an RPM
>>onto a Gentoo system? I'm not talking about 'rpm --nodeps -i file.rpm'.
>>I mean a program that will parse the RPMs dependencies and then use
>>portage to try and satisfy those dependencies, write a dummy ebuild,
>>then use portage to install it. Yes, I know RPMs are the spawn of Satan.
>>No, I do not need this program for myself. I just think it would be an
>>interesting project.
>
>
> Please excuse me for this, but I think it would be a nightmare, and a waste of
> time.
>
> The problem isn't the dependencies, it's converting the install scripts from a
> RedHat-compatible system to a Gentoo one.
>
> I maintain a few ebuilds which have this very problem, and to date I haven't
> figured out a way of performing that automatic conversion. If someone does,
> then I'd like to hear from them.
Ah, I had forgotten about those pesky post-install scripts.
--
Andrew Gaffney
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread