From a48fd477f3ad7d50bccc838b3c8e8ff2f0e64e32 Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Feb 15 2010 10:16:50 +0000 Subject: And aplly the patch. --- diff --git a/DSO.patch b/DSO.patch new file mode 100644 index 0000000..ec59114 --- /dev/null +++ b/DSO.patch @@ -0,0 +1,14 @@ +diff -up cronie-1.4.3/configure.ac.old cronie-1.4.3/configure.ac +--- cronie-1.4.3/configure.ac.old 2009-11-03 14:26:51.000000000 +0100 ++++ cronie-1.4.3/configure.ac 2010-02-15 10:50:38.000000000 +0100 +@@ -208,8 +208,9 @@ AC_ARG_WITH(audit, + [ if test "x$withval" != "xno" ; then + saved_LIBS="$LIBS" + AC_DEFINE(WITH_AUDIT,1,[Define if you want Audit trails.]) +- SELINUX_MSG="yes" + AC_CHECK_HEADER([libaudit.h], ,AC_MSG_ERROR(Audit trails requires libaudit.h header)) ++ AC_CHECK_LIB(audit, audit_open, [ LIBAUDIT="-laudit" ], ++ AC_MSG_ERROR(Audit support needs audit libraries.)) + LIBS="$saved_LIBS $LIBAUDIT" + AC_SUBST(LIBAUDIT) + fi ]