aports/testing/barnyard2/20-disable-outputs.patch
2019-06-05 19:18:48 +00:00

45 lines
1.2 KiB
Diff

--- a/src/output-plugins/Makefile.am
+++ b/src/output-plugins/Makefile.am
@@ -10,7 +10,6 @@
spo_alert_csv.c spo_alert_csv.h \
spo_alert_fast.c spo_alert_fast.h \
spo_alert_full.c spo_alert_full.h \
-spo_alert_fwsam.c spo_alert_fwsam.h \
spo_alert_prelude.c spo_alert_prelude.h \
spo_alert_syslog.c spo_alert_syslog.h \
spo_alert_test.c spo_alert_test.h \
--- a/src/plugbase.c
+++ b/src/plugbase.c
@@ -63,7 +63,6 @@
#include "output-plugins/spo_alert_csv.h"
#include "output-plugins/spo_alert_fast.h"
#include "output-plugins/spo_alert_full.h"
-#include "output-plugins/spo_alert_fwsam.h"
#include "output-plugins/spo_alert_syslog.h"
#include "output-plugins/spo_alert_test.h"
#include "output-plugins/spo_alert_prelude.h"
@@ -335,7 +334,6 @@
DatabaseSetup();
AlertFastSetup();
AlertFullSetup();
- AlertFWsamSetup();
#ifndef WIN32
/* Win32 doesn't support AF_UNIX sockets */
AlertUnixSockSetup();
--- a/src/output-plugins/spo_alert_arubaaction.c
+++ b/src/output-plugins/spo_alert_arubaaction.c
@@ -42,6 +42,9 @@
*/
/* output plugin header file */
+
+#ifdef ARUBA
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -649,3 +652,4 @@
}
+#endif // ARUBA