Created attachment 372958 [details, diff]
Simple patch for adding multilib support.
I had to move the sed command into multilib_src_configure in order to get the correct libdir. If there is a better solution for this i'm open for suggestions :)
+*keyutils-1.5.9-r1 (14 May 2014)
+ 14 May 2014; Michał Górny <email@example.com> +keyutils-1.5.9-r1.ebuild:
+ Enable multilib support, bug #505006.
p.masked for testing & review.
I think something changed wrt tests but I can't get my grip on it. It looks like different set of tests is run in the multilib version, and they start with selinux tests (on my non-selinux system) that fail early. Could you take a look and tell me if I'm missing something obvious?
(In reply to Michał Górny from comment #1)
> I think something changed wrt tests but I can't get my grip on it. It looks
> like different set of tests is run in the multilib version, and they start
> with selinux tests (on my non-selinux system) that fail early. Could you
> take a look and tell me if I'm missing something obvious?
Hmm, tests fail for me too. However, these are not selinux related test (afaik) and the non-multilib version fail at the exact same test too.
./runtest.sh: line 48: /proc/sys/kernel/keys/root_maxbytes: Permission denied
+++ ADD LARGE USER KEY
It seems i'm missing some kernel config settings(?) here, even though i've double checked for CONFIG_KEYS & CONFIG_KEYS_DEBUG_PROC_KEYS.
1.5.8 fails too, but on a different test.
What about closing this bug (the multilib version went already stable) and opening another bug regarding the failing test?
I don't think it's failing because of multilib since keyutils-1.5.9 (the non multilibed version) fails tests at the exact same place? (just tested)
thanks for feedback