1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
Disable LDAP support
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Disable LDAP support
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
diff -ur audit-2.1.3.orig/audisp/plugins/Makefile.am audit-2.1.3/audisp/plugins/Makefile.am
--- audit-2.1.3.orig/audisp/plugins/Makefile.am 2011-08-15 12:30:59.000000000 -0500
+++ audit-2.1.3/audisp/plugins/Makefile.am 2012-01-30 12:04:19.986834936 -0600
@@ -22,8 +22,10 @@
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
-SUBDIRS = builtins zos-remote remote
-#SUBDIRS = builtins zos-remote
+SUBDIRS = builtins remote
+if HAVE_LDAP
+SUBDIRS += zos-remote
+endif
if HAVE_PRELUDE
SUBDIRS += prelude
endif
diff -ur audit-2.1.3.orig/configure.ac audit-2.1.3/configure.ac
--- audit-2.1.3.orig/configure.ac 2011-08-15 12:30:58.000000000 -0500
+++ audit-2.1.3/configure.ac 2012-01-30 12:09:54.933961471 -0600
@@ -181,6 +181,12 @@
fi
AM_CONDITIONAL(HAVE_PRELUDE, test x$have_prelude = xyes)
+AC_ARG_WITH(ldap,
+AS_HELP_STRING([--with-ldap],[enable zos-remote plugin, which requires ldap]),
+use_ldap=$withval,
+use_ldap=no)
+AM_CONDITIONAL(HAVE_LDAP, test x$have_ldap = xyes)
+
AC_MSG_CHECKING(whether to use libwrap)
AC_ARG_WITH(libwrap,
[ --with-libwrap[=PATH] Compile in libwrap (tcp_wrappers) support.],
diff -ur audit-2.1.3.orig/docs/Makefile.am audit-2.1.3/docs/Makefile.am
--- audit-2.1.3.orig/docs/Makefile.am 2011-08-15 12:31:01.000000000 -0500
+++ audit-2.1.3/docs/Makefile.am 2012-01-30 12:05:49.352834294 -0600
@@ -53,6 +53,8 @@
ausearch_clear.3 \
ausearch_next_event.3 ausearch_set_stop.3 \
autrace.8 get_auditfail_action.3 set_aumessage_mode.3 \
-audispd.8 audispd.conf.5 audispd-zos-remote.8 libaudit.conf.5 \
-zos-remote.conf.5
+audispd.8 audispd.conf.5 libaudit.conf.5
+if HAVE_LDAP
+man_MANS += audispd-zos-remote.8 zos-remote.conf.5
+endif
|