1 |
On Fri, 2006-05-12 at 16:05 -0700, Nimish Pachapurkar wrote: |
2 |
> Hello All, |
3 |
> |
4 |
> I have been fiddling with Portage for a few weeks now. Recently, I was |
5 |
> trying to get the RPM creation with ebuild to work a little better. I |
6 |
> noticed that currently emerge does not support building RPMs, but ebuild |
7 |
> does. |
8 |
> |
9 |
> I have added some code to emerge that can build RPM for a package and |
10 |
> all its dependencies. It will optionally merge the package to the system |
11 |
> or just build an RPM. I am basically making this work very similar to |
12 |
> the --buildpkg and --buildpkgonly options. |
13 |
> |
14 |
> I am using --buildrpm (-r) and --buildrpmonly (-R) options currently for |
15 |
> these two tasks. However, if those two short options are reserved for |
16 |
> some other purpose, I am fine with changing them. (If so, please suggest |
17 |
> different short options). |
18 |
> |
19 |
> If this functionality is likely to be useful to other people also, I |
20 |
> would love to submit a patch. |
21 |
> |
22 |
> I think I have somewhat older version of portage. Which version should I |
23 |
> build the patch against, if I have to? |
24 |
|
25 |
|
26 |
2.1 is in a feature freeze right now. Everybody is trying to tidy up |
27 |
existing functionality in preparation for 2006.1 But that would of |
28 |
otherwise been the branch of seen it committed to. probably best to |
29 |
give it a few weeks and revisit. |
30 |
|
31 |
rpm support however needs more than a few emerge switches. The existing |
32 |
package itself of rpm in the tree has a few problems and really needs a |
33 |
maintainer. Also portage's auto spec generation is on the side of far |
34 |
to basic to really be useful. |
35 |
|
36 |
A while ago a user Peter S. Mazinger <ps.m@×××.net> and myself |
37 |
discussed in semi detail a lot of the problems surrounding rpm support |
38 |
and later he sent me some patches that interpolated nicely with the |
39 |
existing rpm based distros. I mirrored those patches and they are |
40 |
all tagged with the names of the portage-rpm-*.patch |
41 |
http://dev.gentoo.org/~solar/patch_overlay/sys-apps/portage/ |
42 |
|
43 |
You may find some of those patches inspirational to your work. |
44 |
|
45 |
good luck. |
46 |
|
47 |
-- |
48 |
Ned Ludd <solar@g.o> |
49 |
Gentoo Linux |
50 |
|
51 |
-- |
52 |
gentoo-portage-dev@g.o mailing list |