Please find attached an ebuild for installing the perl module Data::HexDump on Gentoo. It is required as a dependency for dev-perl/RadiusPerl (see bug #252131).
Created attachment 176110 [details] Ebuild for installing Data::HexDump module Not yet fully tested. This ebuild currently generates the following file collision: $ portageq owners / /usr/bin/hexdump sys-apps/util-linux-2.14.1 /usr/bin/hexdump dev-perl/Data-HexDump-0.02 /usr/bin/hexdump What can I do about it?
Created attachment 176383 [details] Ebuild for installing Data::HexDump module (In reply to comment #1) > What can I do about it? I don't install this package's hexdump script into /usr/bin, but put it into the documentation directory: ... # this script can serve as an example on how to use Data::HexDump dodoc "${D}/usr/bin/hexdump" # prevent file collision with util-linux rm "${D}/usr/bin/hexdump" ... I think this is better now. What smells a bit is that I sometimes got the following message emerging with this ebuild (with no "test" in FEATURES): * The ebuild phase 'test' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). Unfortunately I could not find anything suspicious in my ebuild...
Created attachment 211874 [details] fixed ebuild Here's fixed ebuild. Its solves overlapping with util linux NOT by removing util-linux hexdump. It installs hexdump.pl instead hexdump
Available in my overlay: http://code.google.com/p/barzog-gentoo-overlay/
Already in the tree.