From 7c456538b4cacbf31d7bc8a2da3f5f53e2a40577 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Mon, 3 Mar 2025 11:04:37 +0100 Subject: [PATCH] Fix formatting of `zeek_add_plugin` --- .cmake-format.json | 12 ++ .../protocol/bittorrent/CMakeLists.txt | 16 +- .../protocol/conn-size/CMakeLists.txt | 11 +- src/analyzer/protocol/dce-rpc/CMakeLists.txt | 21 +-- src/analyzer/protocol/dhcp/CMakeLists.txt | 17 +- src/analyzer/protocol/dnp3/CMakeLists.txt | 16 +- src/analyzer/protocol/dns/CMakeLists.txt | 10 +- src/analyzer/protocol/file/CMakeLists.txt | 10 +- .../protocol/finger/legacy/CMakeLists.txt | 10 +- src/analyzer/protocol/ftp/CMakeLists.txt | 11 +- src/analyzer/protocol/gnutella/CMakeLists.txt | 10 +- src/analyzer/protocol/gssapi/CMakeLists.txt | 17 +- src/analyzer/protocol/http/CMakeLists.txt | 11 +- src/analyzer/protocol/ident/CMakeLists.txt | 10 +- src/analyzer/protocol/imap/CMakeLists.txt | 15 +- src/analyzer/protocol/irc/CMakeLists.txt | 10 +- src/analyzer/protocol/krb/CMakeLists.txt | 46 ++--- src/analyzer/protocol/login/CMakeLists.txt | 15 +- src/analyzer/protocol/mime/CMakeLists.txt | 11 +- src/analyzer/protocol/modbus/CMakeLists.txt | 15 +- src/analyzer/protocol/mqtt/CMakeLists.txt | 44 ++--- src/analyzer/protocol/mysql/CMakeLists.txt | 15 +- src/analyzer/protocol/ncp/CMakeLists.txt | 14 +- src/analyzer/protocol/netbios/CMakeLists.txt | 11 +- src/analyzer/protocol/ntlm/CMakeLists.txt | 16 +- src/analyzer/protocol/ntp/CMakeLists.txt | 17 +- src/analyzer/protocol/pia/CMakeLists.txt | 4 +- src/analyzer/protocol/pop3/CMakeLists.txt | 11 +- src/analyzer/protocol/radius/CMakeLists.txt | 15 +- src/analyzer/protocol/rdp/CMakeLists.txt | 24 +-- src/analyzer/protocol/rfb/CMakeLists.txt | 15 +- src/analyzer/protocol/rpc/CMakeLists.txt | 14 +- src/analyzer/protocol/sip/CMakeLists.txt | 21 +-- src/analyzer/protocol/smb/CMakeLists.txt | 169 +++++++++--------- src/analyzer/protocol/smtp/CMakeLists.txt | 13 +- src/analyzer/protocol/snmp/CMakeLists.txt | 18 +- src/analyzer/protocol/socks/CMakeLists.txt | 15 +- src/analyzer/protocol/ssh/CMakeLists.txt | 17 +- src/analyzer/protocol/ssl/CMakeLists.txt | 47 ++--- .../protocol/stream_event/CMakeLists.txt | 10 +- .../protocol/syslog/legacy/CMakeLists.txt | 15 +- src/analyzer/protocol/tcp/CMakeLists.txt | 15 +- .../protocol/websocket/CMakeLists.txt | 18 +- src/analyzer/protocol/xmpp/CMakeLists.txt | 15 +- src/analyzer/protocol/zip/CMakeLists.txt | 4 +- src/broker/CMakeLists.txt | 4 +- src/cluster/backend/zeromq/CMakeLists.txt | 19 +- .../CMakeLists.txt | 11 +- src/cluster/serializer/broker/CMakeLists.txt | 11 +- .../analyzer/data_event/CMakeLists.txt | 10 +- .../analyzer/entropy/CMakeLists.txt | 10 +- .../analyzer/extract/CMakeLists.txt | 11 +- .../analyzer/hash/CMakeLists.txt | 10 +- src/file_analysis/analyzer/pe/CMakeLists.txt | 18 +- .../analyzer/x509/CMakeLists.txt | 19 +- src/input/readers/ascii/CMakeLists.txt | 10 +- src/input/readers/benchmark/CMakeLists.txt | 10 +- src/input/readers/binary/CMakeLists.txt | 10 +- src/input/readers/config/CMakeLists.txt | 10 +- src/input/readers/raw/CMakeLists.txt | 10 +- src/input/readers/sqlite/CMakeLists.txt | 10 +- src/iosource/pcap/CMakeLists.txt | 4 +- src/logging/writers/ascii/CMakeLists.txt | 10 +- src/logging/writers/none/CMakeLists.txt | 10 +- src/logging/writers/sqlite/CMakeLists.txt | 10 +- .../protocol/arp/CMakeLists.txt | 10 +- .../protocol/ayiya/CMakeLists.txt | 4 +- .../protocol/ethernet/CMakeLists.txt | 4 +- .../protocol/fddi/CMakeLists.txt | 4 +- .../protocol/geneve/CMakeLists.txt | 11 +- .../protocol/gre/CMakeLists.txt | 4 +- .../protocol/gtpv1/CMakeLists.txt | 16 +- .../protocol/icmp/CMakeLists.txt | 11 +- .../protocol/ieee802_11/CMakeLists.txt | 4 +- .../protocol/ieee802_11_radio/CMakeLists.txt | 4 +- .../protocol/ip/CMakeLists.txt | 9 +- .../protocol/iptunnel/CMakeLists.txt | 4 +- .../protocol/linux_sll/CMakeLists.txt | 4 +- .../protocol/linux_sll2/CMakeLists.txt | 4 +- .../protocol/llc/CMakeLists.txt | 4 +- .../protocol/mpls/CMakeLists.txt | 4 +- .../protocol/nflog/CMakeLists.txt | 4 +- .../protocol/novell_802_3/CMakeLists.txt | 4 +- .../protocol/null/CMakeLists.txt | 4 +- .../protocol/ppp/CMakeLists.txt | 4 +- .../protocol/ppp_serial/CMakeLists.txt | 4 +- .../protocol/pppoe/CMakeLists.txt | 4 +- .../protocol/root/CMakeLists.txt | 4 +- .../protocol/skip/CMakeLists.txt | 4 +- .../protocol/snap/CMakeLists.txt | 4 +- .../protocol/tcp/CMakeLists.txt | 9 +- .../protocol/teredo/CMakeLists.txt | 11 +- .../protocol/udp/CMakeLists.txt | 11 +- .../unknown_ip_transport/CMakeLists.txt | 4 +- .../protocol/vlan/CMakeLists.txt | 4 +- .../protocol/vntag/CMakeLists.txt | 4 +- .../protocol/vxlan/CMakeLists.txt | 10 +- 97 files changed, 452 insertions(+), 826 deletions(-) diff --git a/.cmake-format.json b/.cmake-format.json index 5682845d29..5e404f4c81 100644 --- a/.cmake-format.json +++ b/.cmake-format.json @@ -72,10 +72,22 @@ "SOURCES": "*", "MODULES": "*" } + }, + "zeek_add_plugin": { + "kwargs": { + "INCLUDE_DIRS": "*", + "DEPENDENCIES": "*", + "SOURCES": "*", + "BIFS": "*", + "PAC": "*" + } } } }, "format": { + "always_wrap": [ + "zeek_add_plugin" + ], "line_width": 100, "tab_size": 4, "separate_ctrl_name_with_space": true, diff --git a/src/analyzer/protocol/bittorrent/CMakeLists.txt b/src/analyzer/protocol/bittorrent/CMakeLists.txt index 9c663bc3d0..ce955abed3 100644 --- a/src/analyzer/protocol/bittorrent/CMakeLists.txt +++ b/src/analyzer/protocol/bittorrent/CMakeLists.txt @@ -1,13 +1,5 @@ zeek_add_plugin( - Zeek - BitTorrent - SOURCES - BitTorrent.cc - BitTorrentTracker.cc - Plugin.cc - BIFS - events.bif - PAC - bittorrent.pac - bittorrent-analyzer.pac - bittorrent-protocol.pac) + Zeek BitTorrent + SOURCES BitTorrent.cc BitTorrentTracker.cc Plugin.cc + BIFS events.bif + PAC bittorrent.pac bittorrent-analyzer.pac bittorrent-protocol.pac) diff --git a/src/analyzer/protocol/conn-size/CMakeLists.txt b/src/analyzer/protocol/conn-size/CMakeLists.txt index 6780316ab5..0820aaa5a3 100644 --- a/src/analyzer/protocol/conn-size/CMakeLists.txt +++ b/src/analyzer/protocol/conn-size/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - ConnSize - SOURCES - ConnSize.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek ConnSize + SOURCES ConnSize.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/analyzer/protocol/dce-rpc/CMakeLists.txt b/src/analyzer/protocol/dce-rpc/CMakeLists.txt index 34b3f95ba8..f0f5b8ea6e 100644 --- a/src/analyzer/protocol/dce-rpc/CMakeLists.txt +++ b/src/analyzer/protocol/dce-rpc/CMakeLists.txt @@ -1,17 +1,6 @@ zeek_add_plugin( - Zeek - DCE_RPC - SOURCES - DCE_RPC.cc - Plugin.cc - BIFS - consts.bif - types.bif - events.bif - PAC - dce_rpc.pac - dce_rpc-protocol.pac - dce_rpc-analyzer.pac - dce_rpc-auth.pac - endpoint-atsvc.pac - endpoint-epmapper.pac) + Zeek DCE_RPC + SOURCES DCE_RPC.cc Plugin.cc + BIFS consts.bif types.bif events.bif + PAC dce_rpc.pac dce_rpc-protocol.pac dce_rpc-analyzer.pac dce_rpc-auth.pac endpoint-atsvc.pac + endpoint-epmapper.pac) diff --git a/src/analyzer/protocol/dhcp/CMakeLists.txt b/src/analyzer/protocol/dhcp/CMakeLists.txt index c6623b56f0..2573d559f5 100644 --- a/src/analyzer/protocol/dhcp/CMakeLists.txt +++ b/src/analyzer/protocol/dhcp/CMakeLists.txt @@ -1,14 +1,5 @@ zeek_add_plugin( - Zeek - DHCP - SOURCES - DHCP.cc - Plugin.cc - BIFS - events.bif - types.bif - PAC - dhcp.pac - dhcp-protocol.pac - dhcp-analyzer.pac - dhcp-options.pac) + Zeek DHCP + SOURCES DHCP.cc Plugin.cc + BIFS events.bif types.bif + PAC dhcp.pac dhcp-protocol.pac dhcp-analyzer.pac dhcp-options.pac) diff --git a/src/analyzer/protocol/dnp3/CMakeLists.txt b/src/analyzer/protocol/dnp3/CMakeLists.txt index dd647498f8..d6141bc777 100644 --- a/src/analyzer/protocol/dnp3/CMakeLists.txt +++ b/src/analyzer/protocol/dnp3/CMakeLists.txt @@ -1,13 +1,5 @@ zeek_add_plugin( - Zeek - DNP3 - SOURCES - DNP3.cc - Plugin.cc - BIFS - events.bif - PAC - dnp3.pac - dnp3-analyzer.pac - dnp3-protocol.pac - dnp3-objects.pac) + Zeek DNP3 + SOURCES DNP3.cc Plugin.cc + BIFS events.bif + PAC dnp3.pac dnp3-analyzer.pac dnp3-protocol.pac dnp3-objects.pac) diff --git a/src/analyzer/protocol/dns/CMakeLists.txt b/src/analyzer/protocol/dns/CMakeLists.txt index 7fbeec5e1e..803ee8ec52 100644 --- a/src/analyzer/protocol/dns/CMakeLists.txt +++ b/src/analyzer/protocol/dns/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - DNS - SOURCES - DNS.cc - Plugin.cc - BIFS - events.bif) + Zeek DNS + SOURCES DNS.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/file/CMakeLists.txt b/src/analyzer/protocol/file/CMakeLists.txt index ae574880cf..d965748e37 100644 --- a/src/analyzer/protocol/file/CMakeLists.txt +++ b/src/analyzer/protocol/file/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - File - SOURCES - File.cc - Plugin.cc - BIFS - events.bif) + Zeek File + SOURCES File.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/finger/legacy/CMakeLists.txt b/src/analyzer/protocol/finger/legacy/CMakeLists.txt index 3ad97bd66b..c277d9f54f 100644 --- a/src/analyzer/protocol/finger/legacy/CMakeLists.txt +++ b/src/analyzer/protocol/finger/legacy/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - Finger - SOURCES - Finger.cc - Plugin.cc - BIFS - events.bif) + Zeek Finger + SOURCES Finger.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/ftp/CMakeLists.txt b/src/analyzer/protocol/ftp/CMakeLists.txt index 728c5ddc65..61b2e9fe1b 100644 --- a/src/analyzer/protocol/ftp/CMakeLists.txt +++ b/src/analyzer/protocol/ftp/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - FTP - SOURCES - FTP.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek FTP + SOURCES FTP.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/analyzer/protocol/gnutella/CMakeLists.txt b/src/analyzer/protocol/gnutella/CMakeLists.txt index 58d28c5a37..cfb1a18391 100644 --- a/src/analyzer/protocol/gnutella/CMakeLists.txt +++ b/src/analyzer/protocol/gnutella/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - Gnutella - SOURCES - Gnutella.cc - Plugin.cc - BIFS - events.bif) + Zeek Gnutella + SOURCES Gnutella.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/gssapi/CMakeLists.txt b/src/analyzer/protocol/gssapi/CMakeLists.txt index 454b45c5a2..84406a3331 100644 --- a/src/analyzer/protocol/gssapi/CMakeLists.txt +++ b/src/analyzer/protocol/gssapi/CMakeLists.txt @@ -1,13 +1,6 @@ zeek_add_plugin( - Zeek - GSSAPI - SOURCES - GSSAPI.cc - Plugin.cc - BIFS - events.bif - PAC - gssapi.pac - gssapi-protocol.pac - gssapi-analyzer.pac - ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) + Zeek GSSAPI + SOURCES GSSAPI.cc Plugin.cc + BIFS events.bif + PAC gssapi.pac gssapi-protocol.pac gssapi-analyzer.pac + ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) diff --git a/src/analyzer/protocol/http/CMakeLists.txt b/src/analyzer/protocol/http/CMakeLists.txt index a0088de732..3ab17ae875 100644 --- a/src/analyzer/protocol/http/CMakeLists.txt +++ b/src/analyzer/protocol/http/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - HTTP - SOURCES - HTTP.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek HTTP + SOURCES HTTP.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/analyzer/protocol/ident/CMakeLists.txt b/src/analyzer/protocol/ident/CMakeLists.txt index 82c32491ee..872fdb56a3 100644 --- a/src/analyzer/protocol/ident/CMakeLists.txt +++ b/src/analyzer/protocol/ident/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - Ident - SOURCES - Ident.cc - Plugin.cc - BIFS - events.bif) + Zeek Ident + SOURCES Ident.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/imap/CMakeLists.txt b/src/analyzer/protocol/imap/CMakeLists.txt index 257b1bf0bc..3b104daf2d 100644 --- a/src/analyzer/protocol/imap/CMakeLists.txt +++ b/src/analyzer/protocol/imap/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - IMAP - SOURCES - Plugin.cc - IMAP.cc - BIFS - events.bif - PAC - imap.pac - imap-analyzer.pac - imap-protocol.pac) + Zeek IMAP + SOURCES Plugin.cc IMAP.cc + BIFS events.bif + PAC imap.pac imap-analyzer.pac imap-protocol.pac) diff --git a/src/analyzer/protocol/irc/CMakeLists.txt b/src/analyzer/protocol/irc/CMakeLists.txt index 0791a61c79..b94be1e1a1 100644 --- a/src/analyzer/protocol/irc/CMakeLists.txt +++ b/src/analyzer/protocol/irc/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - IRC - SOURCES - IRC.cc - Plugin.cc - BIFS - events.bif) + Zeek IRC + SOURCES IRC.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/krb/CMakeLists.txt b/src/analyzer/protocol/krb/CMakeLists.txt index a9ac783095..8829ae675d 100644 --- a/src/analyzer/protocol/krb/CMakeLists.txt +++ b/src/analyzer/protocol/krb/CMakeLists.txt @@ -1,28 +1,20 @@ zeek_add_plugin( - Zeek - KRB - SOURCES - Plugin.cc - KRB.cc - KRB_TCP.cc - BIFS - types.bif - events.bif - PAC - krb.pac - krb-protocol.pac - krb-analyzer.pac - krb-asn1.pac - krb-defs.pac - krb-types.pac - krb-padata.pac - ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac - PAC - krb_TCP.pac - krb-protocol.pac - krb-analyzer.pac - krb-asn1.pac - krb-defs.pac - krb-types.pac - krb-padata.pac - ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) + Zeek KRB + SOURCES Plugin.cc KRB.cc KRB_TCP.cc + BIFS types.bif events.bif + PAC krb.pac + krb-protocol.pac + krb-analyzer.pac + krb-asn1.pac + krb-defs.pac + krb-types.pac + krb-padata.pac + ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac + PAC krb_TCP.pac + krb-protocol.pac + krb-analyzer.pac + krb-asn1.pac + krb-defs.pac + krb-types.pac + krb-padata.pac + ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) diff --git a/src/analyzer/protocol/login/CMakeLists.txt b/src/analyzer/protocol/login/CMakeLists.txt index d2e78bd7ac..e35487eaf1 100644 --- a/src/analyzer/protocol/login/CMakeLists.txt +++ b/src/analyzer/protocol/login/CMakeLists.txt @@ -1,13 +1,4 @@ zeek_add_plugin( - Zeek - Login - SOURCES - Login.cc - RSH.cc - Telnet.cc - Rlogin.cc - NVT.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek Login + SOURCES Login.cc RSH.cc Telnet.cc Rlogin.cc NVT.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/analyzer/protocol/mime/CMakeLists.txt b/src/analyzer/protocol/mime/CMakeLists.txt index 86cccb9b2e..0a751262af 100644 --- a/src/analyzer/protocol/mime/CMakeLists.txt +++ b/src/analyzer/protocol/mime/CMakeLists.txt @@ -4,11 +4,6 @@ # this code was written. zeek_add_plugin( - Zeek - MIME - SOURCES - MIME.cc - Plugin.cc - BIFS - consts.bif - events.bif) + Zeek MIME + SOURCES MIME.cc Plugin.cc + BIFS consts.bif events.bif) diff --git a/src/analyzer/protocol/modbus/CMakeLists.txt b/src/analyzer/protocol/modbus/CMakeLists.txt index 1c2f078760..273d3022f2 100644 --- a/src/analyzer/protocol/modbus/CMakeLists.txt +++ b/src/analyzer/protocol/modbus/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - Modbus - SOURCES - Modbus.cc - Plugin.cc - BIFS - events.bif - PAC - modbus.pac - modbus-analyzer.pac - modbus-protocol.pac) + Zeek Modbus + SOURCES Modbus.cc Plugin.cc + BIFS events.bif + PAC modbus.pac modbus-analyzer.pac modbus-protocol.pac) diff --git a/src/analyzer/protocol/mqtt/CMakeLists.txt b/src/analyzer/protocol/mqtt/CMakeLists.txt index 7c55d984d2..a3595d8427 100644 --- a/src/analyzer/protocol/mqtt/CMakeLists.txt +++ b/src/analyzer/protocol/mqtt/CMakeLists.txt @@ -1,26 +1,20 @@ zeek_add_plugin( - Zeek - MQTT - SOURCES - MQTT.cc - Plugin.cc - BIFS - types.bif - events.bif - PAC - mqtt.pac - mqtt-protocol.pac - commands/connect.pac - commands/connack.pac - commands/publish.pac - commands/puback.pac - commands/pubrec.pac - commands/pubrel.pac - commands/pubcomp.pac - commands/subscribe.pac - commands/suback.pac - commands/unsuback.pac - commands/unsubscribe.pac - commands/disconnect.pac - commands/pingreq.pac - commands/pingresp.pac) + Zeek MQTT + SOURCES MQTT.cc Plugin.cc + BIFS types.bif events.bif + PAC mqtt.pac + mqtt-protocol.pac + commands/connect.pac + commands/connack.pac + commands/publish.pac + commands/puback.pac + commands/pubrec.pac + commands/pubrel.pac + commands/pubcomp.pac + commands/subscribe.pac + commands/suback.pac + commands/unsuback.pac + commands/unsubscribe.pac + commands/disconnect.pac + commands/pingreq.pac + commands/pingresp.pac) diff --git a/src/analyzer/protocol/mysql/CMakeLists.txt b/src/analyzer/protocol/mysql/CMakeLists.txt index 8dcecf637d..1671316e27 100644 --- a/src/analyzer/protocol/mysql/CMakeLists.txt +++ b/src/analyzer/protocol/mysql/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - MySQL - SOURCES - MySQL.cc - Plugin.cc - BIFS - events.bif - PAC - mysql.pac - mysql-analyzer.pac - mysql-protocol.pac) + Zeek MySQL + SOURCES MySQL.cc Plugin.cc + BIFS events.bif + PAC mysql.pac mysql-analyzer.pac mysql-protocol.pac) diff --git a/src/analyzer/protocol/ncp/CMakeLists.txt b/src/analyzer/protocol/ncp/CMakeLists.txt index dd217f9977..ddca4af7dc 100644 --- a/src/analyzer/protocol/ncp/CMakeLists.txt +++ b/src/analyzer/protocol/ncp/CMakeLists.txt @@ -1,11 +1,5 @@ zeek_add_plugin( - Zeek - NCP - SOURCES - NCP.cc - Plugin.cc - BIFS - events.bif - consts.bif - PAC - ncp.pac) + Zeek NCP + SOURCES NCP.cc Plugin.cc + BIFS events.bif consts.bif + PAC ncp.pac) diff --git a/src/analyzer/protocol/netbios/CMakeLists.txt b/src/analyzer/protocol/netbios/CMakeLists.txt index ef2b863c4d..7773883e60 100644 --- a/src/analyzer/protocol/netbios/CMakeLists.txt +++ b/src/analyzer/protocol/netbios/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - NetBIOS - SOURCES - NetbiosSSN.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek NetBIOS + SOURCES NetbiosSSN.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/analyzer/protocol/ntlm/CMakeLists.txt b/src/analyzer/protocol/ntlm/CMakeLists.txt index f5cf25b1fd..566fa64d63 100644 --- a/src/analyzer/protocol/ntlm/CMakeLists.txt +++ b/src/analyzer/protocol/ntlm/CMakeLists.txt @@ -1,13 +1,5 @@ zeek_add_plugin( - Zeek - NTLM - SOURCES - NTLM.cc - Plugin.cc - BIFS - types.bif - events.bif - PAC - ntlm.pac - ntlm-protocol.pac - ntlm-analyzer.pac) + Zeek NTLM + SOURCES NTLM.cc Plugin.cc + BIFS types.bif events.bif + PAC ntlm.pac ntlm-protocol.pac ntlm-analyzer.pac) diff --git a/src/analyzer/protocol/ntp/CMakeLists.txt b/src/analyzer/protocol/ntp/CMakeLists.txt index 1a062716bd..ecdb6d685b 100644 --- a/src/analyzer/protocol/ntp/CMakeLists.txt +++ b/src/analyzer/protocol/ntp/CMakeLists.txt @@ -1,14 +1,5 @@ zeek_add_plugin( - Zeek - NTP - SOURCES - NTP.cc - Plugin.cc - BIFS - types.bif - events.bif - PAC - ntp.pac - ntp-analyzer.pac - ntp-mode7.pac - ntp-protocol.pac) + Zeek NTP + SOURCES NTP.cc Plugin.cc + BIFS types.bif events.bif + PAC ntp.pac ntp-analyzer.pac ntp-mode7.pac ntp-protocol.pac) diff --git a/src/analyzer/protocol/pia/CMakeLists.txt b/src/analyzer/protocol/pia/CMakeLists.txt index e8ee99dd46..ed9aa1700d 100644 --- a/src/analyzer/protocol/pia/CMakeLists.txt +++ b/src/analyzer/protocol/pia/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(Zeek PIA SOURCES PIA.cc Plugin.cc) +zeek_add_plugin( + Zeek PIA + SOURCES PIA.cc Plugin.cc) diff --git a/src/analyzer/protocol/pop3/CMakeLists.txt b/src/analyzer/protocol/pop3/CMakeLists.txt index 11e0e43439..8ce36fca73 100644 --- a/src/analyzer/protocol/pop3/CMakeLists.txt +++ b/src/analyzer/protocol/pop3/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - POP3 - SOURCES - POP3.cc - Plugin.cc - BIFS - consts.bif - events.bif) + Zeek POP3 + SOURCES POP3.cc Plugin.cc + BIFS consts.bif events.bif) diff --git a/src/analyzer/protocol/radius/CMakeLists.txt b/src/analyzer/protocol/radius/CMakeLists.txt index 3239bc71c7..555cb4425d 100644 --- a/src/analyzer/protocol/radius/CMakeLists.txt +++ b/src/analyzer/protocol/radius/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - RADIUS - SOURCES - RADIUS.cc - Plugin.cc - BIFS - events.bif - PAC - radius.pac - radius-analyzer.pac - radius-protocol.pac) + Zeek RADIUS + SOURCES RADIUS.cc Plugin.cc + BIFS events.bif + PAC radius.pac radius-analyzer.pac radius-protocol.pac) diff --git a/src/analyzer/protocol/rdp/CMakeLists.txt b/src/analyzer/protocol/rdp/CMakeLists.txt index 2cc96a0768..32e25df367 100644 --- a/src/analyzer/protocol/rdp/CMakeLists.txt +++ b/src/analyzer/protocol/rdp/CMakeLists.txt @@ -1,19 +1,7 @@ zeek_add_plugin( - Zeek - RDP - SOURCES - RDPEUDP.cc - RDP.cc - Plugin.cc - BIFS - events.bif - types.bif - PAC - rdp.pac - rdp-analyzer.pac - rdp-protocol.pac - ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac - PAC - rdpeudp.pac - rdpeudp-analyzer.pac - rdpeudp-protocol.pac) + Zeek RDP + SOURCES RDPEUDP.cc RDP.cc Plugin.cc + BIFS events.bif types.bif + PAC rdp.pac rdp-analyzer.pac rdp-protocol.pac + ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac + PAC rdpeudp.pac rdpeudp-analyzer.pac rdpeudp-protocol.pac) diff --git a/src/analyzer/protocol/rfb/CMakeLists.txt b/src/analyzer/protocol/rfb/CMakeLists.txt index ee23af1e88..0eb6fde9d8 100644 --- a/src/analyzer/protocol/rfb/CMakeLists.txt +++ b/src/analyzer/protocol/rfb/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - RFB - SOURCES - RFB.cc - Plugin.cc - BIFS - events.bif - PAC - rfb.pac - rfb-analyzer.pac - rfb-protocol.pac) + Zeek RFB + SOURCES RFB.cc Plugin.cc + BIFS events.bif + PAC rfb.pac rfb-analyzer.pac rfb-protocol.pac) diff --git a/src/analyzer/protocol/rpc/CMakeLists.txt b/src/analyzer/protocol/rpc/CMakeLists.txt index fcb3547b04..0035439e55 100644 --- a/src/analyzer/protocol/rpc/CMakeLists.txt +++ b/src/analyzer/protocol/rpc/CMakeLists.txt @@ -1,12 +1,4 @@ zeek_add_plugin( - Zeek - RPC - SOURCES - RPC.cc - NFS.cc - MOUNT.cc - Portmap.cc - XDR.cc - Plugin.cc - BIFS - events.bif) + Zeek RPC + SOURCES RPC.cc NFS.cc MOUNT.cc Portmap.cc XDR.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/sip/CMakeLists.txt b/src/analyzer/protocol/sip/CMakeLists.txt index 1d3d9a7d8d..e631c81e0b 100644 --- a/src/analyzer/protocol/sip/CMakeLists.txt +++ b/src/analyzer/protocol/sip/CMakeLists.txt @@ -1,17 +1,6 @@ zeek_add_plugin( - Zeek - SIP - SOURCES - Plugin.cc - SIP.cc - SIP_TCP.cc - BIFS - events.bif - PAC - sip.pac - sip-analyzer.pac - sip-protocol.pac - PAC - sip_TCP.pac - sip-protocol.pac - sip-analyzer.pac) + Zeek SIP + SOURCES Plugin.cc SIP.cc SIP_TCP.cc + BIFS events.bif + PAC sip.pac sip-analyzer.pac sip-protocol.pac + PAC sip_TCP.pac sip-protocol.pac sip-analyzer.pac) diff --git a/src/analyzer/protocol/smb/CMakeLists.txt b/src/analyzer/protocol/smb/CMakeLists.txt index 4bd7cf1eee..f0cadbe91f 100644 --- a/src/analyzer/protocol/smb/CMakeLists.txt +++ b/src/analyzer/protocol/smb/CMakeLists.txt @@ -1,88 +1,83 @@ zeek_add_plugin( - Zeek - SMB - SOURCES - SMB.cc - Plugin.cc - BIFS - # SMB 1. - smb1_com_check_directory.bif - smb1_com_close.bif - smb1_com_create_directory.bif - smb1_com_echo.bif - smb1_com_logoff_andx.bif - smb1_com_negotiate.bif - smb1_com_nt_create_andx.bif - smb1_com_nt_cancel.bif - smb1_com_query_information.bif - smb1_com_read_andx.bif - smb1_com_session_setup_andx.bif - smb1_com_transaction.bif - smb1_com_transaction_secondary.bif - smb1_com_transaction2.bif - smb1_com_transaction2_secondary.bif - smb1_com_tree_connect_andx.bif - smb1_com_tree_disconnect.bif - smb1_com_write_andx.bif - smb1_events.bif - # SMB 2. - smb2_com_close.bif - smb2_com_create.bif - smb2_com_negotiate.bif - smb2_com_read.bif - smb2_com_session_setup.bif - smb2_com_set_info.bif - smb2_com_tree_connect.bif - smb2_com_tree_disconnect.bif - smb2_com_write.bif - smb2_com_transform_header.bif - smb2_events.bif - # Common boilerplate. - events.bif - consts.bif - types.bif - PAC - # Common boilerplate. - smb.pac - smb-common.pac - smb-strings.pac - smb-time.pac - smb-pipe.pac - smb-gssapi.pac - smb-mailslot.pac - # SMB 1. - smb1-protocol.pac - smb1-com-check-directory.pac - smb1-com-close.pac - smb1-com-create-directory.pac - smb1-com-echo.pac - smb1-com-locking-andx.pac - smb1-com-logoff-andx.pac - smb1-com-negotiate.pac - smb1-com-nt-cancel.pac - smb1-com-nt-create-andx.pac - smb1-com-nt-transact.pac - smb1-com-query-information.pac - smb1-com-read-andx.pac - smb1-com-session-setup-andx.pac - smb1-com-transaction-secondary.pac - smb1-com-transaction.pac - smb1-com-transaction2.pac - smb1-com-transaction2-secondary.pac - smb1-com-tree-connect-andx.pac - smb1-com-tree-disconnect.pac - smb1-com-write-andx.pac - # SMB 2. - smb2-protocol.pac - smb2-com-close.pac - smb2-com-create.pac - smb2-com-ioctl.pac - smb2-com-lock.pac - smb2-com-negotiate.pac - smb2-com-read.pac - smb2-com-session-setup.pac - smb2-com-set-info.pac - smb2-com-tree-connect.pac - smb2-com-tree-disconnect.pac - smb2-com-write.pac - smb2-com-transform-header.pac) + Zeek SMB + SOURCES SMB.cc Plugin.cc + BIFS # SMB 1. + smb1_com_check_directory.bif + smb1_com_close.bif + smb1_com_create_directory.bif + smb1_com_echo.bif + smb1_com_logoff_andx.bif + smb1_com_negotiate.bif + smb1_com_nt_create_andx.bif + smb1_com_nt_cancel.bif + smb1_com_query_information.bif + smb1_com_read_andx.bif + smb1_com_session_setup_andx.bif + smb1_com_transaction.bif + smb1_com_transaction_secondary.bif + smb1_com_transaction2.bif + smb1_com_transaction2_secondary.bif + smb1_com_tree_connect_andx.bif + smb1_com_tree_disconnect.bif + smb1_com_write_andx.bif + smb1_events.bif + # SMB 2. + smb2_com_close.bif + smb2_com_create.bif + smb2_com_negotiate.bif + smb2_com_read.bif + smb2_com_session_setup.bif + smb2_com_set_info.bif + smb2_com_tree_connect.bif + smb2_com_tree_disconnect.bif + smb2_com_write.bif + smb2_com_transform_header.bif + smb2_events.bif + # Common boilerplate. + events.bif + consts.bif + types.bif + PAC # Common boilerplate. + smb.pac + smb-common.pac + smb-strings.pac + smb-time.pac + smb-pipe.pac + smb-gssapi.pac + smb-mailslot.pac + # SMB 1. + smb1-protocol.pac + smb1-com-check-directory.pac + smb1-com-close.pac + smb1-com-create-directory.pac + smb1-com-echo.pac + smb1-com-locking-andx.pac + smb1-com-logoff-andx.pac + smb1-com-negotiate.pac + smb1-com-nt-cancel.pac + smb1-com-nt-create-andx.pac + smb1-com-nt-transact.pac + smb1-com-query-information.pac + smb1-com-read-andx.pac + smb1-com-session-setup-andx.pac + smb1-com-transaction-secondary.pac + smb1-com-transaction.pac + smb1-com-transaction2.pac + smb1-com-transaction2-secondary.pac + smb1-com-tree-connect-andx.pac + smb1-com-tree-disconnect.pac + smb1-com-write-andx.pac + # SMB 2. + smb2-protocol.pac + smb2-com-close.pac + smb2-com-create.pac + smb2-com-ioctl.pac + smb2-com-lock.pac + smb2-com-negotiate.pac + smb2-com-read.pac + smb2-com-session-setup.pac + smb2-com-set-info.pac + smb2-com-tree-connect.pac + smb2-com-tree-disconnect.pac + smb2-com-write.pac + smb2-com-transform-header.pac) diff --git a/src/analyzer/protocol/smtp/CMakeLists.txt b/src/analyzer/protocol/smtp/CMakeLists.txt index 88fb237e94..91b528f9db 100644 --- a/src/analyzer/protocol/smtp/CMakeLists.txt +++ b/src/analyzer/protocol/smtp/CMakeLists.txt @@ -1,11 +1,4 @@ zeek_add_plugin( - Zeek - SMTP - SOURCES - SMTP.cc - BDAT.cc - Plugin.cc - BIFS - consts.bif - events.bif - functions.bif) + Zeek SMTP + SOURCES SMTP.cc BDAT.cc Plugin.cc + BIFS consts.bif events.bif functions.bif) diff --git a/src/analyzer/protocol/snmp/CMakeLists.txt b/src/analyzer/protocol/snmp/CMakeLists.txt index 48c829d91b..6f2729da55 100644 --- a/src/analyzer/protocol/snmp/CMakeLists.txt +++ b/src/analyzer/protocol/snmp/CMakeLists.txt @@ -1,14 +1,6 @@ zeek_add_plugin( - Zeek - SNMP - SOURCES - SNMP.cc - Plugin.cc - BIFS - types.bif - events.bif - PAC - snmp.pac - snmp-protocol.pac - snmp-analyzer.pac - ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) + Zeek SNMP + SOURCES SNMP.cc Plugin.cc + BIFS types.bif events.bif + PAC snmp.pac snmp-protocol.pac snmp-analyzer.pac + ${PROJECT_SOURCE_DIR}/src/analyzer/protocol/asn1/asn1.pac) diff --git a/src/analyzer/protocol/socks/CMakeLists.txt b/src/analyzer/protocol/socks/CMakeLists.txt index 7d11ee70d5..79dc97b6fe 100644 --- a/src/analyzer/protocol/socks/CMakeLists.txt +++ b/src/analyzer/protocol/socks/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - SOCKS - SOURCES - SOCKS.cc - Plugin.cc - BIFS - events.bif - PAC - socks.pac - socks-protocol.pac - socks-analyzer.pac) + Zeek SOCKS + SOURCES SOCKS.cc Plugin.cc + BIFS events.bif + PAC socks.pac socks-protocol.pac socks-analyzer.pac) diff --git a/src/analyzer/protocol/ssh/CMakeLists.txt b/src/analyzer/protocol/ssh/CMakeLists.txt index f2364bffef..4b99af6b6b 100644 --- a/src/analyzer/protocol/ssh/CMakeLists.txt +++ b/src/analyzer/protocol/ssh/CMakeLists.txt @@ -1,14 +1,5 @@ zeek_add_plugin( - Zeek - SSH - SOURCES - SSH.cc - Plugin.cc - BIFS - types.bif - events.bif - PAC - ssh.pac - ssh-analyzer.pac - ssh-protocol.pac - consts.pac) + Zeek SSH + SOURCES SSH.cc Plugin.cc + BIFS types.bif events.bif + PAC ssh.pac ssh-analyzer.pac ssh-protocol.pac consts.pac) diff --git a/src/analyzer/protocol/ssl/CMakeLists.txt b/src/analyzer/protocol/ssl/CMakeLists.txt index 9783784569..ba0e592d32 100644 --- a/src/analyzer/protocol/ssl/CMakeLists.txt +++ b/src/analyzer/protocol/ssl/CMakeLists.txt @@ -1,38 +1,19 @@ if (NOT ENABLE_SPICY_SSL) zeek_add_plugin( - Zeek - SSL - SOURCES - SSL.cc - DTLS.cc - Plugin.cc - BIFS - types.bif - events.bif - functions.bif - consts.bif - PAC - tls-handshake.pac - tls-handshake-protocol.pac - tls-handshake-analyzer.pac - ssl-defs.pac - proc-certificate.pac - tls-handshake-signed_certificate_timestamp.pac - PAC - ssl.pac - ssl-dtls-analyzer.pac - ssl-analyzer.pac - ssl-dtls-protocol.pac - ssl-protocol.pac - ssl-defs.pac - proc-certificate.pac - PAC - dtls.pac - ssl-dtls-analyzer.pac - dtls-analyzer.pac - ssl-dtls-protocol.pac - dtls-protocol.pac - ssl-defs.pac) + Zeek SSL + SOURCES SSL.cc DTLS.cc Plugin.cc + BIFS types.bif events.bif functions.bif consts.bif + PAC tls-handshake.pac tls-handshake-protocol.pac tls-handshake-analyzer.pac ssl-defs.pac + proc-certificate.pac tls-handshake-signed_certificate_timestamp.pac + PAC ssl.pac + ssl-dtls-analyzer.pac + ssl-analyzer.pac + ssl-dtls-protocol.pac + ssl-protocol.pac + ssl-defs.pac + proc-certificate.pac + PAC dtls.pac ssl-dtls-analyzer.pac dtls-analyzer.pac ssl-dtls-protocol.pac + dtls-protocol.pac ssl-defs.pac) else () add_subdirectory(spicy) zeek_add_plugin(Zeek SSL SOURCES Plugin.cc BIFS functions.bif) diff --git a/src/analyzer/protocol/stream_event/CMakeLists.txt b/src/analyzer/protocol/stream_event/CMakeLists.txt index deae252f9d..4af954c794 100644 --- a/src/analyzer/protocol/stream_event/CMakeLists.txt +++ b/src/analyzer/protocol/stream_event/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - StreamEvent - SOURCES - StreamEvent.cc - Plugin.cc - BIFS - events.bif) + Zeek StreamEvent + SOURCES StreamEvent.cc Plugin.cc + BIFS events.bif) diff --git a/src/analyzer/protocol/syslog/legacy/CMakeLists.txt b/src/analyzer/protocol/syslog/legacy/CMakeLists.txt index ef2f7330d5..adc1caa131 100644 --- a/src/analyzer/protocol/syslog/legacy/CMakeLists.txt +++ b/src/analyzer/protocol/syslog/legacy/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - Syslog - SOURCES - Syslog.cc - Plugin.cc - BIFS - events.bif - PAC - syslog.pac - syslog-analyzer.pac - syslog-protocol.pac) + Zeek Syslog + SOURCES Syslog.cc Plugin.cc + BIFS events.bif + PAC syslog.pac syslog-analyzer.pac syslog-protocol.pac) diff --git a/src/analyzer/protocol/tcp/CMakeLists.txt b/src/analyzer/protocol/tcp/CMakeLists.txt index 42e41c9dac..335be67a54 100644 --- a/src/analyzer/protocol/tcp/CMakeLists.txt +++ b/src/analyzer/protocol/tcp/CMakeLists.txt @@ -1,13 +1,4 @@ zeek_add_plugin( - Zeek - TCP - SOURCES - TCP.cc - TCP_Endpoint.cc - TCP_Reassembler.cc - ContentLine.cc - Plugin.cc - BIFS - events.bif - types.bif - functions.bif) + Zeek TCP + SOURCES TCP.cc TCP_Endpoint.cc TCP_Reassembler.cc ContentLine.cc Plugin.cc + BIFS events.bif types.bif functions.bif) diff --git a/src/analyzer/protocol/websocket/CMakeLists.txt b/src/analyzer/protocol/websocket/CMakeLists.txt index 3e23593643..ddd9c45fbf 100644 --- a/src/analyzer/protocol/websocket/CMakeLists.txt +++ b/src/analyzer/protocol/websocket/CMakeLists.txt @@ -1,18 +1,8 @@ zeek_add_plugin( - Zeek - WebSocket - SOURCES - WebSocket.cc - Plugin.cc - BIFS - consts.bif - events.bif - functions.bif - types.bif - PAC - websocket.pac - websocket-analyzer.pac - websocket-protocol.pac) + Zeek WebSocket + SOURCES WebSocket.cc Plugin.cc + BIFS consts.bif events.bif functions.bif types.bif + PAC websocket.pac websocket-analyzer.pac websocket-protocol.pac) if (USE_SPICY_ANALYZERS) spicy_add_analyzer(NAME WebSocket SOURCES websocket.spicy websocket.evt unmask.cc) diff --git a/src/analyzer/protocol/xmpp/CMakeLists.txt b/src/analyzer/protocol/xmpp/CMakeLists.txt index 3ea127d691..5eabd0b514 100644 --- a/src/analyzer/protocol/xmpp/CMakeLists.txt +++ b/src/analyzer/protocol/xmpp/CMakeLists.txt @@ -1,12 +1,5 @@ zeek_add_plugin( - Zeek - XMPP - SOURCES - Plugin.cc - XMPP.cc - BIFS - events.bif - PAC - xmpp.pac - xmpp-analyzer.pac - xmpp-protocol.pac) + Zeek XMPP + SOURCES Plugin.cc XMPP.cc + BIFS events.bif + PAC xmpp.pac xmpp-analyzer.pac xmpp-protocol.pac) diff --git a/src/analyzer/protocol/zip/CMakeLists.txt b/src/analyzer/protocol/zip/CMakeLists.txt index e7c11ccdbb..0187008594 100644 --- a/src/analyzer/protocol/zip/CMakeLists.txt +++ b/src/analyzer/protocol/zip/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(Zeek ZIP SOURCES ZIP.cc Plugin.cc) +zeek_add_plugin( + Zeek ZIP + SOURCES ZIP.cc Plugin.cc) diff --git a/src/broker/CMakeLists.txt b/src/broker/CMakeLists.txt index 210f5be138..22b2afdf6e 100644 --- a/src/broker/CMakeLists.txt +++ b/src/broker/CMakeLists.txt @@ -14,4 +14,6 @@ zeek_add_subdir_library( store.bif) # Small plugin shim to make the CLUSTER_BACKEND_BROKER enum value available. -zeek_add_plugin(Zeek Cluster_Backend_Broker SOURCES Plugin.cc) +zeek_add_plugin( + Zeek Cluster_Backend_Broker + SOURCES Plugin.cc) diff --git a/src/cluster/backend/zeromq/CMakeLists.txt b/src/cluster/backend/zeromq/CMakeLists.txt index 9895f4faf2..3e21808621 100644 --- a/src/cluster/backend/zeromq/CMakeLists.txt +++ b/src/cluster/backend/zeromq/CMakeLists.txt @@ -3,17 +3,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") find_package(ZeroMQ REQUIRED) zeek_add_plugin( - Zeek - Cluster_Backend_ZeroMQ - INCLUDE_DIRS - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${ZeroMQ_INCLUDE_DIRS} - DEPENDENCIES - ${ZeroMQ_LIBRARIES} - SOURCES - Plugin.cc - ZeroMQ-Proxy.cc - ZeroMQ.cc - BIFS - cluster_backend_zeromq.bif) + Zeek Cluster_Backend_ZeroMQ + INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${ZeroMQ_INCLUDE_DIRS} + DEPENDENCIES ${ZeroMQ_LIBRARIES} + SOURCES Plugin.cc ZeroMQ-Proxy.cc ZeroMQ.cc + BIFS cluster_backend_zeromq.bif) diff --git a/src/cluster/serializer/binary-serialization-format/CMakeLists.txt b/src/cluster/serializer/binary-serialization-format/CMakeLists.txt index ba4b332bdc..c3c00eedae 100644 --- a/src/cluster/serializer/binary-serialization-format/CMakeLists.txt +++ b/src/cluster/serializer/binary-serialization-format/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - Zeek_Binary_Serializer - INCLUDE_DIRS - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - SOURCES - Plugin.cc - Serializer.cc) + Zeek Zeek_Binary_Serializer + INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} + SOURCES Plugin.cc Serializer.cc) diff --git a/src/cluster/serializer/broker/CMakeLists.txt b/src/cluster/serializer/broker/CMakeLists.txt index 4854cbb333..16e5e14141 100644 --- a/src/cluster/serializer/broker/CMakeLists.txt +++ b/src/cluster/serializer/broker/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - Cluster_Serializer_Binary_Serialization_Format - INCLUDE_DIRS - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - SOURCES - Plugin.cc - Serializer.cc) + Zeek Cluster_Serializer_Binary_Serialization_Format + INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} + SOURCES Plugin.cc Serializer.cc) diff --git a/src/file_analysis/analyzer/data_event/CMakeLists.txt b/src/file_analysis/analyzer/data_event/CMakeLists.txt index eb8042dd77..94b1049671 100644 --- a/src/file_analysis/analyzer/data_event/CMakeLists.txt +++ b/src/file_analysis/analyzer/data_event/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - FileDataEvent - SOURCES - DataEvent.cc - Plugin.cc - INCLUDE_DIRS - "${CMAKE_CURRENT_SOURCE_DIR}") + Zeek FileDataEvent + SOURCES DataEvent.cc Plugin.cc + INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}") diff --git a/src/file_analysis/analyzer/entropy/CMakeLists.txt b/src/file_analysis/analyzer/entropy/CMakeLists.txt index 944cf64a3c..8b8e5a93ba 100644 --- a/src/file_analysis/analyzer/entropy/CMakeLists.txt +++ b/src/file_analysis/analyzer/entropy/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - FileEntropy - SOURCES - Entropy.cc - Plugin.cc - BIFS - events.bif) + Zeek FileEntropy + SOURCES Entropy.cc Plugin.cc + BIFS events.bif) diff --git a/src/file_analysis/analyzer/extract/CMakeLists.txt b/src/file_analysis/analyzer/extract/CMakeLists.txt index 0c08872172..d10440c444 100644 --- a/src/file_analysis/analyzer/extract/CMakeLists.txt +++ b/src/file_analysis/analyzer/extract/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - FileExtract - SOURCES - Extract.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek FileExtract + SOURCES Extract.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/file_analysis/analyzer/hash/CMakeLists.txt b/src/file_analysis/analyzer/hash/CMakeLists.txt index adfd96007f..0b3a4063a2 100644 --- a/src/file_analysis/analyzer/hash/CMakeLists.txt +++ b/src/file_analysis/analyzer/hash/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - FileHash - SOURCES - Hash.cc - Plugin.cc - BIFS - events.bif) + Zeek FileHash + SOURCES Hash.cc Plugin.cc + BIFS events.bif) diff --git a/src/file_analysis/analyzer/pe/CMakeLists.txt b/src/file_analysis/analyzer/pe/CMakeLists.txt index ff98b004db..b3b40ca651 100644 --- a/src/file_analysis/analyzer/pe/CMakeLists.txt +++ b/src/file_analysis/analyzer/pe/CMakeLists.txt @@ -1,15 +1,5 @@ zeek_add_plugin( - Zeek - PE - SOURCES - PE.cc - Plugin.cc - BIFS - events.bif - PAC - pe.pac - pe-analyzer.pac - pe-file-headers.pac - pe-file-idata.pac - pe-file.pac - pe-file-types.pac) + Zeek PE + SOURCES PE.cc Plugin.cc + BIFS events.bif + PAC pe.pac pe-analyzer.pac pe-file-headers.pac pe-file-idata.pac pe-file.pac pe-file-types.pac) diff --git a/src/file_analysis/analyzer/x509/CMakeLists.txt b/src/file_analysis/analyzer/x509/CMakeLists.txt index 7f9541df0d..16eb963036 100644 --- a/src/file_analysis/analyzer/x509/CMakeLists.txt +++ b/src/file_analysis/analyzer/x509/CMakeLists.txt @@ -1,16 +1,5 @@ zeek_add_plugin( - Zeek - X509 - SOURCES - X509Common.cc - X509.cc - OCSP.cc - Plugin.cc - BIFS - events.bif - types.bif - functions.bif - ocsp_events.bif - PAC - x509-extension.pac - x509-signed_certificate_timestamp.pac) + Zeek X509 + SOURCES X509Common.cc X509.cc OCSP.cc Plugin.cc + BIFS events.bif types.bif functions.bif ocsp_events.bif + PAC x509-extension.pac x509-signed_certificate_timestamp.pac) diff --git a/src/input/readers/ascii/CMakeLists.txt b/src/input/readers/ascii/CMakeLists.txt index fc2aa5645e..6e5dff9178 100644 --- a/src/input/readers/ascii/CMakeLists.txt +++ b/src/input/readers/ascii/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - AsciiReader - SOURCES - Ascii.cc - Plugin.cc - BIFS - ascii.bif) + Zeek AsciiReader + SOURCES Ascii.cc Plugin.cc + BIFS ascii.bif) diff --git a/src/input/readers/benchmark/CMakeLists.txt b/src/input/readers/benchmark/CMakeLists.txt index 25a4bdce82..f01dc5de35 100644 --- a/src/input/readers/benchmark/CMakeLists.txt +++ b/src/input/readers/benchmark/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - BenchmarkReader - SOURCES - Benchmark.cc - Plugin.cc - BIFS - benchmark.bif) + Zeek BenchmarkReader + SOURCES Benchmark.cc Plugin.cc + BIFS benchmark.bif) diff --git a/src/input/readers/binary/CMakeLists.txt b/src/input/readers/binary/CMakeLists.txt index 0025bec76f..12535a5a81 100644 --- a/src/input/readers/binary/CMakeLists.txt +++ b/src/input/readers/binary/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - BinaryReader - SOURCES - Binary.cc - Plugin.cc - BIFS - binary.bif) + Zeek BinaryReader + SOURCES Binary.cc Plugin.cc + BIFS binary.bif) diff --git a/src/input/readers/config/CMakeLists.txt b/src/input/readers/config/CMakeLists.txt index aaafc14e6e..fc608d07ba 100644 --- a/src/input/readers/config/CMakeLists.txt +++ b/src/input/readers/config/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - ConfigReader - SOURCES - Config.cc - Plugin.cc - BIFS - config.bif) + Zeek ConfigReader + SOURCES Config.cc Plugin.cc + BIFS config.bif) diff --git a/src/input/readers/raw/CMakeLists.txt b/src/input/readers/raw/CMakeLists.txt index 9d70b4c4c8..295e689da5 100644 --- a/src/input/readers/raw/CMakeLists.txt +++ b/src/input/readers/raw/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - RawReader - SOURCES - Raw.cc - Plugin.cc - BIFS - raw.bif) + Zeek RawReader + SOURCES Raw.cc Plugin.cc + BIFS raw.bif) diff --git a/src/input/readers/sqlite/CMakeLists.txt b/src/input/readers/sqlite/CMakeLists.txt index bb8bd4159c..210bd4eca5 100644 --- a/src/input/readers/sqlite/CMakeLists.txt +++ b/src/input/readers/sqlite/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - SQLiteReader - SOURCES - SQLite.cc - Plugin.cc - BIFS - sqlite.bif) + Zeek SQLiteReader + SOURCES SQLite.cc Plugin.cc + BIFS sqlite.bif) diff --git a/src/iosource/pcap/CMakeLists.txt b/src/iosource/pcap/CMakeLists.txt index 1102815afd..1d7b44d6e5 100644 --- a/src/iosource/pcap/CMakeLists.txt +++ b/src/iosource/pcap/CMakeLists.txt @@ -1,4 +1,6 @@ -zeek_add_plugin(Zeek Pcap SOURCES Source.cc Dumper.cc Plugin.cc) +zeek_add_plugin( + Zeek Pcap + SOURCES Source.cc Dumper.cc Plugin.cc) # Treat BIFs as builtin (alternative mode). bif_target(pcap.bif) diff --git a/src/logging/writers/ascii/CMakeLists.txt b/src/logging/writers/ascii/CMakeLists.txt index b76d2f4265..82030a1197 100644 --- a/src/logging/writers/ascii/CMakeLists.txt +++ b/src/logging/writers/ascii/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - AsciiWriter - SOURCES - Ascii.cc - Plugin.cc - BIFS - ascii.bif) + Zeek AsciiWriter + SOURCES Ascii.cc Plugin.cc + BIFS ascii.bif) diff --git a/src/logging/writers/none/CMakeLists.txt b/src/logging/writers/none/CMakeLists.txt index a9466c1ece..d2652b3f7a 100644 --- a/src/logging/writers/none/CMakeLists.txt +++ b/src/logging/writers/none/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - NoneWriter - SOURCES - None.cc - Plugin.cc - BIFS - none.bif) + Zeek NoneWriter + SOURCES None.cc Plugin.cc + BIFS none.bif) diff --git a/src/logging/writers/sqlite/CMakeLists.txt b/src/logging/writers/sqlite/CMakeLists.txt index 735ba8aec1..598d8d1c3c 100644 --- a/src/logging/writers/sqlite/CMakeLists.txt +++ b/src/logging/writers/sqlite/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - SQLiteWriter - SOURCES - SQLite.cc - Plugin.cc - BIFS - sqlite.bif) + Zeek SQLiteWriter + SOURCES SQLite.cc Plugin.cc + BIFS sqlite.bif) diff --git a/src/packet_analysis/protocol/arp/CMakeLists.txt b/src/packet_analysis/protocol/arp/CMakeLists.txt index 0a2a7b73da..003defeca1 100644 --- a/src/packet_analysis/protocol/arp/CMakeLists.txt +++ b/src/packet_analysis/protocol/arp/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - ARP - SOURCES - ARP.cc - Plugin.cc - BIFS - events.bif) + Zeek ARP + SOURCES ARP.cc Plugin.cc + BIFS events.bif) diff --git a/src/packet_analysis/protocol/ayiya/CMakeLists.txt b/src/packet_analysis/protocol/ayiya/CMakeLists.txt index 9e79abc894..414369cf57 100644 --- a/src/packet_analysis/protocol/ayiya/CMakeLists.txt +++ b/src/packet_analysis/protocol/ayiya/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(Zeek AYIYA SOURCES AYIYA.cc Plugin.cc) +zeek_add_plugin( + Zeek AYIYA + SOURCES AYIYA.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/ethernet/CMakeLists.txt b/src/packet_analysis/protocol/ethernet/CMakeLists.txt index bd1577b9b2..083c39f714 100644 --- a/src/packet_analysis/protocol/ethernet/CMakeLists.txt +++ b/src/packet_analysis/protocol/ethernet/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer Ethernet SOURCES Ethernet.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer Ethernet + SOURCES Ethernet.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/fddi/CMakeLists.txt b/src/packet_analysis/protocol/fddi/CMakeLists.txt index 1d1658a3ea..bf624c05b5 100644 --- a/src/packet_analysis/protocol/fddi/CMakeLists.txt +++ b/src/packet_analysis/protocol/fddi/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer FDDI SOURCES FDDI.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer FDDI + SOURCES FDDI.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/geneve/CMakeLists.txt b/src/packet_analysis/protocol/geneve/CMakeLists.txt index 4f9cad7736..29e1541c4c 100644 --- a/src/packet_analysis/protocol/geneve/CMakeLists.txt +++ b/src/packet_analysis/protocol/geneve/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - Geneve - SOURCES - Geneve.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek Geneve + SOURCES Geneve.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/packet_analysis/protocol/gre/CMakeLists.txt b/src/packet_analysis/protocol/gre/CMakeLists.txt index ad3585ed78..e7ae26182a 100644 --- a/src/packet_analysis/protocol/gre/CMakeLists.txt +++ b/src/packet_analysis/protocol/gre/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer GRE SOURCES GRE.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer GRE + SOURCES GRE.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/gtpv1/CMakeLists.txt b/src/packet_analysis/protocol/gtpv1/CMakeLists.txt index af1e3b15a8..e2099e1a3a 100644 --- a/src/packet_analysis/protocol/gtpv1/CMakeLists.txt +++ b/src/packet_analysis/protocol/gtpv1/CMakeLists.txt @@ -1,13 +1,5 @@ zeek_add_plugin( - Zeek - GTPv1 - SOURCES - GTPv1.cc - Plugin.cc - BIFS - events.bif - functions.bif - PAC - gtpv1.pac - gtpv1-protocol.pac - gtpv1-analyzer.pac) + Zeek GTPv1 + SOURCES GTPv1.cc Plugin.cc + BIFS events.bif functions.bif + PAC gtpv1.pac gtpv1-protocol.pac gtpv1-analyzer.pac) diff --git a/src/packet_analysis/protocol/icmp/CMakeLists.txt b/src/packet_analysis/protocol/icmp/CMakeLists.txt index f1b4f3cee9..bef10419ec 100644 --- a/src/packet_analysis/protocol/icmp/CMakeLists.txt +++ b/src/packet_analysis/protocol/icmp/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - ICMP - SOURCES - ICMP.cc - ICMPSessionAdapter.cc - Plugin.cc - BIFS - events.bif) + Zeek ICMP + SOURCES ICMP.cc ICMPSessionAdapter.cc Plugin.cc + BIFS events.bif) diff --git a/src/packet_analysis/protocol/ieee802_11/CMakeLists.txt b/src/packet_analysis/protocol/ieee802_11/CMakeLists.txt index 0c2d46b31c..f30a80fc62 100644 --- a/src/packet_analysis/protocol/ieee802_11/CMakeLists.txt +++ b/src/packet_analysis/protocol/ieee802_11/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer IEEE802_11 SOURCES IEEE802_11.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer IEEE802_11 + SOURCES IEEE802_11.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/ieee802_11_radio/CMakeLists.txt b/src/packet_analysis/protocol/ieee802_11_radio/CMakeLists.txt index 3cfb20083b..7830ed1358 100644 --- a/src/packet_analysis/protocol/ieee802_11_radio/CMakeLists.txt +++ b/src/packet_analysis/protocol/ieee802_11_radio/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer IEEE802_11_Radio SOURCES IEEE802_11_Radio.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer IEEE802_11_Radio + SOURCES IEEE802_11_Radio.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/ip/CMakeLists.txt b/src/packet_analysis/protocol/ip/CMakeLists.txt index 05b694c482..7e6d6ff8b4 100644 --- a/src/packet_analysis/protocol/ip/CMakeLists.txt +++ b/src/packet_analysis/protocol/ip/CMakeLists.txt @@ -1,8 +1,3 @@ zeek_add_plugin( - PacketAnalyzer - IP - SOURCES - IP.cc - IPBasedAnalyzer.cc - SessionAdapter.cc - Plugin.cc) + PacketAnalyzer IP + SOURCES IP.cc IPBasedAnalyzer.cc SessionAdapter.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/iptunnel/CMakeLists.txt b/src/packet_analysis/protocol/iptunnel/CMakeLists.txt index 01a680323e..dbda9fc469 100644 --- a/src/packet_analysis/protocol/iptunnel/CMakeLists.txt +++ b/src/packet_analysis/protocol/iptunnel/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer IPTunnel SOURCES IPTunnel.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer IPTunnel + SOURCES IPTunnel.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/linux_sll/CMakeLists.txt b/src/packet_analysis/protocol/linux_sll/CMakeLists.txt index 2591b64160..0749159acc 100644 --- a/src/packet_analysis/protocol/linux_sll/CMakeLists.txt +++ b/src/packet_analysis/protocol/linux_sll/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer LinuxSLL SOURCES LinuxSLL.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer LinuxSLL + SOURCES LinuxSLL.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/linux_sll2/CMakeLists.txt b/src/packet_analysis/protocol/linux_sll2/CMakeLists.txt index b3072fa4bb..e5c2d27511 100644 --- a/src/packet_analysis/protocol/linux_sll2/CMakeLists.txt +++ b/src/packet_analysis/protocol/linux_sll2/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer LinuxSLL2 SOURCES LinuxSLL2.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer LinuxSLL2 + SOURCES LinuxSLL2.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/llc/CMakeLists.txt b/src/packet_analysis/protocol/llc/CMakeLists.txt index 692f39e440..c4921a6b4d 100644 --- a/src/packet_analysis/protocol/llc/CMakeLists.txt +++ b/src/packet_analysis/protocol/llc/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer LLC SOURCES LLC.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer LLC + SOURCES LLC.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/mpls/CMakeLists.txt b/src/packet_analysis/protocol/mpls/CMakeLists.txt index 8f14323b77..a35d716c66 100644 --- a/src/packet_analysis/protocol/mpls/CMakeLists.txt +++ b/src/packet_analysis/protocol/mpls/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer MPLS SOURCES MPLS.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer MPLS + SOURCES MPLS.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/nflog/CMakeLists.txt b/src/packet_analysis/protocol/nflog/CMakeLists.txt index fad9feb3b7..bcd95d66d6 100644 --- a/src/packet_analysis/protocol/nflog/CMakeLists.txt +++ b/src/packet_analysis/protocol/nflog/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer NFLog SOURCES NFLog.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer NFLog + SOURCES NFLog.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/novell_802_3/CMakeLists.txt b/src/packet_analysis/protocol/novell_802_3/CMakeLists.txt index 9adb81f417..74a0a50bae 100644 --- a/src/packet_analysis/protocol/novell_802_3/CMakeLists.txt +++ b/src/packet_analysis/protocol/novell_802_3/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer Novell_802_3 SOURCES Novell_802_3.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer Novell_802_3 + SOURCES Novell_802_3.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/null/CMakeLists.txt b/src/packet_analysis/protocol/null/CMakeLists.txt index 91e04f8d9d..3fed27216b 100644 --- a/src/packet_analysis/protocol/null/CMakeLists.txt +++ b/src/packet_analysis/protocol/null/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer Null SOURCES Null.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer Null + SOURCES Null.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/ppp/CMakeLists.txt b/src/packet_analysis/protocol/ppp/CMakeLists.txt index e22cb559f5..492dda8d23 100644 --- a/src/packet_analysis/protocol/ppp/CMakeLists.txt +++ b/src/packet_analysis/protocol/ppp/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer PPP SOURCES PPP.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer PPP + SOURCES PPP.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/ppp_serial/CMakeLists.txt b/src/packet_analysis/protocol/ppp_serial/CMakeLists.txt index aa4ab35657..fa44424b15 100644 --- a/src/packet_analysis/protocol/ppp_serial/CMakeLists.txt +++ b/src/packet_analysis/protocol/ppp_serial/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer PPPSerial SOURCES PPPSerial.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer PPPSerial + SOURCES PPPSerial.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/pppoe/CMakeLists.txt b/src/packet_analysis/protocol/pppoe/CMakeLists.txt index d84229004a..b549cf4d1a 100644 --- a/src/packet_analysis/protocol/pppoe/CMakeLists.txt +++ b/src/packet_analysis/protocol/pppoe/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer PPPoE SOURCES PPPoE.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer PPPoE + SOURCES PPPoE.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/root/CMakeLists.txt b/src/packet_analysis/protocol/root/CMakeLists.txt index cd4456cb6a..e9f2ba3e49 100644 --- a/src/packet_analysis/protocol/root/CMakeLists.txt +++ b/src/packet_analysis/protocol/root/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer Root SOURCES Root.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer Root + SOURCES Root.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/skip/CMakeLists.txt b/src/packet_analysis/protocol/skip/CMakeLists.txt index a8d4bc517a..55218b220e 100644 --- a/src/packet_analysis/protocol/skip/CMakeLists.txt +++ b/src/packet_analysis/protocol/skip/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer Skip SOURCES Skip.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer Skip + SOURCES Skip.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/snap/CMakeLists.txt b/src/packet_analysis/protocol/snap/CMakeLists.txt index e064f3c395..bb96d1b074 100644 --- a/src/packet_analysis/protocol/snap/CMakeLists.txt +++ b/src/packet_analysis/protocol/snap/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer SNAP SOURCES SNAP.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer SNAP + SOURCES SNAP.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/tcp/CMakeLists.txt b/src/packet_analysis/protocol/tcp/CMakeLists.txt index 9935b63489..6a75958c2c 100644 --- a/src/packet_analysis/protocol/tcp/CMakeLists.txt +++ b/src/packet_analysis/protocol/tcp/CMakeLists.txt @@ -1,8 +1,3 @@ zeek_add_plugin( - PacketAnalyzer - TCP_PKT - SOURCES - TCP.cc - TCPSessionAdapter.cc - Plugin.cc - Stats.cc) + PacketAnalyzer TCP_PKT + SOURCES TCP.cc TCPSessionAdapter.cc Plugin.cc Stats.cc) diff --git a/src/packet_analysis/protocol/teredo/CMakeLists.txt b/src/packet_analysis/protocol/teredo/CMakeLists.txt index dd5682b1f5..40795a332d 100644 --- a/src/packet_analysis/protocol/teredo/CMakeLists.txt +++ b/src/packet_analysis/protocol/teredo/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - Teredo - SOURCES - Teredo.cc - Plugin.cc - BIFS - events.bif - functions.bif) + Zeek Teredo + SOURCES Teredo.cc Plugin.cc + BIFS events.bif functions.bif) diff --git a/src/packet_analysis/protocol/udp/CMakeLists.txt b/src/packet_analysis/protocol/udp/CMakeLists.txt index 3812077c37..10ac19ebaa 100644 --- a/src/packet_analysis/protocol/udp/CMakeLists.txt +++ b/src/packet_analysis/protocol/udp/CMakeLists.txt @@ -1,9 +1,4 @@ zeek_add_plugin( - Zeek - UDP - SOURCES - UDP.cc - UDPSessionAdapter.cc - Plugin.cc - BIFS - events.bif) + Zeek UDP + SOURCES UDP.cc UDPSessionAdapter.cc Plugin.cc + BIFS events.bif) diff --git a/src/packet_analysis/protocol/unknown_ip_transport/CMakeLists.txt b/src/packet_analysis/protocol/unknown_ip_transport/CMakeLists.txt index cd2198cc25..9f5c2d73b0 100644 --- a/src/packet_analysis/protocol/unknown_ip_transport/CMakeLists.txt +++ b/src/packet_analysis/protocol/unknown_ip_transport/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(Zeek UnknownIP SOURCES UnknownIPTransport.cc UnknownIPSessionAdapter.cc Plugin.cc) +zeek_add_plugin( + Zeek UnknownIP + SOURCES UnknownIPTransport.cc UnknownIPSessionAdapter.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/vlan/CMakeLists.txt b/src/packet_analysis/protocol/vlan/CMakeLists.txt index afc2faab54..db1d63facb 100644 --- a/src/packet_analysis/protocol/vlan/CMakeLists.txt +++ b/src/packet_analysis/protocol/vlan/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer VLAN SOURCES VLAN.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer VLAN + SOURCES VLAN.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/vntag/CMakeLists.txt b/src/packet_analysis/protocol/vntag/CMakeLists.txt index 1143d525a7..48dd3ab358 100644 --- a/src/packet_analysis/protocol/vntag/CMakeLists.txt +++ b/src/packet_analysis/protocol/vntag/CMakeLists.txt @@ -1 +1,3 @@ -zeek_add_plugin(PacketAnalyzer VNTag SOURCES VNTag.cc Plugin.cc) +zeek_add_plugin( + PacketAnalyzer VNTag + SOURCES VNTag.cc Plugin.cc) diff --git a/src/packet_analysis/protocol/vxlan/CMakeLists.txt b/src/packet_analysis/protocol/vxlan/CMakeLists.txt index 5a077f50f8..b0dfe680cc 100644 --- a/src/packet_analysis/protocol/vxlan/CMakeLists.txt +++ b/src/packet_analysis/protocol/vxlan/CMakeLists.txt @@ -1,8 +1,4 @@ zeek_add_plugin( - Zeek - VXLAN - SOURCES - VXLAN.cc - Plugin.cc - BIFS - events.bif) + Zeek VXLAN + SOURCES VXLAN.cc Plugin.cc + BIFS events.bif)