A new upstream version of dmraid has been released: http://people.redhat.com/heinzm/sw/dmraid/src/dmraid-1.0.0.rc16-3.tar.bz2 http://people.redhat.com/heinzm/sw/dmraid/readme This new version installs without having to hack the destination directory (we can drop dmraid-destdir-fix.patch), and hopefully all patches have been merged. Reproducible: Always
It doesn't look like many patches have been merged, unfortunately... In fact, there are no changes to the code at all, just changes to the ./configure script and a couple of makefiles. Since this is current upstream I will update the ebuild as soon as I can. Chances are the results won't be any different that the previous revision, though.
If at least if could make all the hacks around the installation directories unnecessary, it's worth taking it. When I tested it, the DESTDIR stuff was not required. BTW, are there interesting patches that could be stolen from ubuntu ? http://packages.ubuntu.com/natty/dmraid It sounds they have done recent work on the dmraid package. 1) cd /var/tmp/ 2) mkdir dmraid 3) wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dmraid/dmraid_1.0.0.rc16.orig.tar.gz 4) wget http://archive.ubuntu.com/ubuntu/pool/main/d/dmraid/dmraid_1.0.0.rc16-4ubuntu2.diff.gz 5) tar xfz dmraid_1.0.0.rc16.orig.tar.gz 6) cd dmraid 7) zcat ../dmraid_1.0.0.rc16-4ubuntu2.diff.gz | patch -p1 8) cat debian/patches/series 01_fix_broken_linking.patch 02_disable_dmreg.patch 03_fix_hyphen-used-as-minus-sign.patch 09_promise-add-offsets.patch 10_exit_code.patch 12_support_virtio_devices.patch 17_isw-probe-hpa.patch 15_activate_multiple_raid_sets.patch 18_pdc_raid10_failure..patch 19_ddf1_lsi_persistent_name.patch 20_fix_isw_sectors_calculation.patch
Updates in -r3: --------------- It does seem that the destdir stuff was fixed, and also the as-needed issues seem to be fixed. I'm not certain of this but I think the selinux stuff was also removed. Patches to 1.0.0.16: -------------------- There are even more patches in redhat's git repository, although for whatever reason the upstream author has decided not to release a new version. I have rolled my own version of 1.0.0.17_pre1 using those patches, but they didn't seem to actually fix any of the outstanding issues that are listed in bugs.gentoo.org... If you are having issues with dmraid that are fixed by one or more of the patches below, though, please let me know and I'll apply those fixes. I'm not willing to apply them preemptively though unless issues are reported.
FYI, this will take a little while; it seems static compiles are also broken at the moment.
Created attachment 256776 [details] dmraid-1.0.0_rc16-r3-static-build-fixes.patch patch to fix static build issues.
Created attachment 256777 [details] dmraid-1.0.0_rc16-r3.ebuild Updated ebuild for new upstream release. Use with attachment 256776 [details]
.. This is my preliminary attempt; I'll review these with my proxy maintainer and get the update into the tree in the next few days. Note that I added use flags for some of the ./configure options which were previously unavailable. These may not stick when released to the tree, but please feel free to test them out.
OK, so progress -- this version needs to be patched quite a bit more than its predecessor but it seems to be working well now; it should hit the tree in a day or two. Also, for the record, the codebase in this release does have many of the ubuntu patches integrated.
I just committed -r3 to the main tree, should be on your local mirror in a few hours.