nginx-1.0.15 does not install selinux policy associated with nginx. It should install that policy if the selinux use flag is selected (the profile usually does this). The user is then required to manually install the selinux policies for nginx. This USE flag should be added to the ebuild and selinux-nginx should install automatically.
Have a patch for review?
Created attachment 312059 [details, diff] nginx-selinux supporting patch on ebuild Add in dependency on selinux-nginx for nginx ebuild. Is part of CDEPEND, because we need the dependency in both DEPEND and RDEPEND. The dependency is USE="selinux" triggered (which is only possible for SELinux profiles, others have it forced out).
Looks fine, but I'm preparing a 1.3 bump and would prefer to add it there.
+*nginx-1.2.0 (18 May 2012) + + 18 May 2012; Jeremy Olexa <darkside@gentoo.org> +nginx-1.2.0.ebuild: + Version bump from upstream, new stable candidate. bug 414167 with selinux + mods from bug 416307