Improved RPM 4 compatibility for RPM 5 and apt-get support
Sooo, I've improved the rpm4 compatibility wrapper for rpm5, a lot of C++ fixes has been applied to it as well as a couple of other to rpm5 code upstream otherwise as well, I've added new function wrappers for apt-get, and since noone objected, I've also pushed the compatibility wrapper upstream at
http://rpm5.org/cvs/chngview?cn=9804 . :)
So this means that apt-get has been succesfully been ported to rpm 5.0 as well! I haven't really tested apt-get much besides getting it to build without warnings, so since it lacks regression tests and I don't use it myself, I leave it to others to test. :p
I would think that it should work fairly well though, at least urpmi works excellent with this compatibility wrapper, and not much changes needed to be done besides the C++ fixes.
I've posted the patch to apt-get mailing list, so I hope it gets applied upstream some time soon, in the meanwhile you can fetch the patch at
http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/2008-March/000828.html .
Be sure to notice that this patch is against latest apt-get from git and requires latest code from rpm5.org rpm-5_0 branch (or soon to be released rpm 5.0.3), I've still to look into this one for HEAD..
Oh well, cheers to all, I know at least rpm5.org based distros like
PCLinuxOS and
Ark Linux should benefit from this a lot and help them migrate to rpm 5.0. :)
PS: I'll try make some rpm 5.0 packages for Mandriva available soon for anyone interested. ;)
Blog Home?