Browse Source

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!
user/chris/next/master
Christian Wiese 13 years ago
parent
commit
4374d7dc0f
  1. 3
      security/audit/audit.conf

3
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

Loading…
Cancel
Save