I had to add this to aux/broct/aux/capstats/CMakeLists.txt because I
have a custom pcap dir and there is no --with-PCAP=:
set(PCAP_ROOT_DIR "/usr/local/pfring")
find_path(PCAP_ROOT_DIR
NAMES include/pcap.h
)
find_path(PCAP_INCLUDE_DIR
NAMES pcap.h
HINTS ${PCAP_ROOT_DIR}/include
)
find_library(PCAP_LIBRARY
NAMES pcap
HINTS ${PCAP_ROOT_DIR}/lib
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PCAP DEFAULT_MSG
PCAP_LIBRARY
PCAP_INCLUDE_DIR
)
mark_as_advanced(
PCAP_ROOT_DIR
PCAP_INCLUDE_DIR
PCAP_LIBRARY
)
I had to add this to aux/broct/aux/capstats/CMakeLists.txt because I
have a custom pcap dir and there is no --with-PCAP=:
Thanks, I added the missing --with-pcap option to the 'broctl' repo's fastpath branch.
On a different note, I'm curious if there's a special reason you're building broctl separate from bro? I know in the past versions there's been an odd integration where the install directions said to install bro first and then install broctl over it, but now installing from the main 'bro' repo should automatically also install all the aux/ submodules, including broctl.
- Jon
The server I was building on didn't have access to the git port, so I
couldn't do a recursive, and none of the aux stuff is in the bro git
snapshot tarball.