RPM package support in Woof

A special thanks to Iguleder who has done this, see previous blog post:
http://bkhome.org/blog/?viewDetailed=02301

I have applied these patches to Woof. There are five files affected: 0setup, 1download, DISTRO_COMPAT_REPOS-scientific-6rolling, support/rpm2ppm, support/inline_get_compat.

'rpm2ppm' is a new Perl script written by Iguleder.

The scripts use Busybox 'rpm' and 'rpm2cpio' applets.

This is a fantastic initiative, something that I was meaning to do, but never got around to it. Iguleder's Perl coding ability is great as 'rpm2ppm' is significantly faster than what I would have achieved coding in Ash/Bash.

Ok, now the thing I have to do is add RPM support to the Puppy Package Manager (PPM).


Posted on 23 May 2011, 8:00


Comments:

Posted on 23 May 2011, 8:48 by BarryK
PPM supports RPM
I have updated the PPM to support RPM packages. Theoretically, not yet tested.

The modified files: /usr/local/petget/petget, /usr/local/peget/installpkg.sh, /usr/local/petget/fetchinfo.sh.

I also added the mime-handling for Rox in rootfs-skeleton/root/Choices/MIME-types to launch petget for RPM files, and modified builddistro to override Rox mime files in rootfs-skeleton instead of possibly older ones in the Rox package.



Posted on 23 May 2011, 10:51 by scsijon
rpm
this almost makes me want to try my OpenSuSE 11.4 database out as they also use rpm.

I take it I will have to create a "DISTRO_COMPAT_REPOS-scientific-6rolling" equivalent and the "?where is it found?" file for source location,

any serious gotchas Barry / Iguleder I need to be aware of?


Posted on 25 May 2011, 2:11 by Iguleder
Testing
It was tested only against Scientific, so you should be careful.

Maybe RPM repos are different - I don't know, that's something we need to test.

I'm working on a Scientific Puppy at the moment, I aim at a bootable Puppy by two weeks from now :)