As of the fix for Bug #417303, ruby 1.9 support was removed from libselinux. This is a request to include ruby 1.9 support again. Reproducible: Always
Created attachment 325506 [details] Ebuild for libselinux-2.1.9 with ruby19 support
Created attachment 325508 [details, diff] Patch to get the correct include paths for ruby19
libselinux-2.1.12 (should hit the tree soon) has the following for the ruby stuff: RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') RUBYINC ?= $(shell pkg-config --cflags ruby-$(RUBYLIBVER)) I *think* that's ok too, not? Or would that still fail within Gentoo?
Created attachment 325624 [details, diff] Patch to get the correct include paths for ruby19 Yep, that seems to work very well, at least on my boxes. I've adapted the patch accordingly, in case anyone still wants to include it in libselinux-2.1.9.
Both libselinux-2.1.9-r3 and libselinux-2.1.12 in hardened-dev overlay. libselinux-2.1.9-r3 contains the patch towards the Makefile; libselinux-2.1.12 only has the ebuild updated to reflect supporting ruby19 again.
In main portage tree (since October 9th)
recent selinux userspace utilities are now stabilized