From 4374d7dc0f20c312556b1beded73da658b4e1899 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 7 May 2012 15:21:27 +0200 Subject: [PATCH] audit: fixed to not build the zos-remote plugin if openldap is not installed Note: Unfortunately there is no configure switch for disabling the zos-remote plugin! --- security/audit/audit.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/audit/audit.conf b/security/audit/audit.conf index 377076573..6254f6c32 100644 --- a/security/audit/audit.conf +++ b/security/audit/audit.conf @@ -25,4 +25,7 @@ if pkginstalled -f openldap; then pkgprefix -t openldap var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )" +else + # hack for disabling the zos-remote plugin which depends on openldap + hook_add preconf 1 'sed -i -e "s/zos\-remote\ //" audisp/plugins/Makefile.in' fi