This is marvellous Jeff, the patch applied cleanly, and since it is encapsulated by conditional compilation, it is safe to include in the main release. It is now in SVN
M Jeff Sheltren wrote: > Hi, I have been working on adding selinux support to cfengine. > Currently, I have editfiles and copy working with selinux security > contexts, although so far copy only has support for regular files; I > haven't worked on links, etc. yet. > > I'm attaching a patch against the 2.1.22 source which adds a configure > flag, '--enable-selinux', and modifies a couple of files in the src > directory. If you run the patch manually, you'll need to run autoconf > and automake. If you prefer to use an RPM, I have a spec file, SRPM, > and binary RPMs (for el4 and fc6) located here: > http://www.sheltren.com/cfengine/ If you are building by hand, the spec > file should give you an idea of how to run autoconf/automake, just look > in the build section. > > I've tested this out on a CentOS-4 machine, and things *seem* to work > OK, but use at your own risk :) I'd appreciate if people could help > test this, and also if anyone feels like contributing more code to get > other parts of cfengine working with selinux, that would be great! > Otherwise I'll slowly work on it as I have time... > > The patch is attached, and can also be found at > http://www.sheltren.com/cfengine/ Let me know if you have any questions > or problems with it. > > -Jeff > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/bug-cfengine -- Mark Burgess Professor of Network and System Administration Oslo University College ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Work: +47 22453272 Email: [EMAIL PROTECTED] Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
