new version of coreutils out and again selinux patch doesnt apply ;) also, can you fix configure.ac so it has a proper AC_ARG_ENABLE() ? maybe: LIB_SELINUX="" AC_ARG_ENABLE([selinux], [AC_HELP_STRING([--enable-selinux],[Enable use of the SELINUX libraries])], [ if test "x$enableval" != "xno" ; then AC_DEFINE(WITH_SELINUX, 1, [Define if you want to use SELINUX]) LIB_SELINUX="-lselinux" fi ]) AC_SUBST(LIB_SELINUX)
ive put 6.1 into the tree with KEYWORDS=-* so you can hack on it ...
hopefully this will be the last time we need to update this, since the SELinux support is going upstream finally.
ive put this into ~arch and masked in selinux profiles
Most of the patch applies, but some parts are giving me some trouble; haven't had much time to figure out their changes :( switching bug over to 6.2. I was hoping this ver would have the changes upstreamed, but it doesn't. Bah.
Is there a working patch out there or do I have to adjust the patch myself?
There is a working SELinux patch against coreutils-6.7, provided by "PLD Linux", which could be found here: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/coreutils-selinux.patch?rev=1.10 Patch applies fine with only two small rejects, which could be easily fixed :) --- The only "problem" in my eyes are the man-pages, the selinux-patch updates various ones (cp,dir,ls,mkdir,...) and enhances them for SELinux usage, but they get never installed (look into the ebuild), the reason is sys-apps/man-pages My suggestion is to enhance sys-apps/man-pages by a selinux USE-flag or let coreutils install the (patched) man-pages and not sys-apps/man-pages Thanks. btw: i have ebuilds and patches laying around, if anyone is interested ...
they've started integrating selinux upstream, so i imagine coreutils-7.0 should have it if not earlier ...
gave up waiting for the the support to be upstreamed (it is still on track to however). rebased selinux patch to 6.9.
they've announced upstream that selinux should be part of coreutils-6.10