]> The Tcpdump Group git mirrors - tcpdump/commit
Restore the possibility of building when remote is enabled in libpcap
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 11 Feb 2021 08:25:29 +0000 (09:25 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 11 Feb 2021 09:32:58 +0000 (10:32 +0100)
commit40fa95e88afbf944949ee55ccd6b34bb0e7a8f49
treeb27f374ccffbc0b3ffa4c4308a808e4e4d232483
parentef1ecde01e69f677cb12650dd4100b0b96d2e411
Restore the possibility of building when remote is enabled in libpcap

This change allows to test the build with HAVE_PCAP_FINDALLDEVS_EX and
HAVE_PCAP_OPEN enabled.

Some ways to run theses tests:

MATRIX_BUILD_LIBPCAP=yes MATRIX_REMOTE=yes MATRIX_CMAKE=no MATRIX_CC=gcc \
MATRIX_CRYPTO=no MATRIX_SMB=no ./build_matrix.sh
(configure should display:
checking for pcap_open... yes
checking for pcap_findalldevs_ex... yes)

MATRIX_BUILD_LIBPCAP=yes MATRIX_REMOTE=yes MATRIX_CMAKE=yes MATRIX_CC=gcc \
MATRIX_CRYPTO=no MATRIX_SMB=no ./build_matrix.sh
(cmake should display:
Looking for pcap_open - found
Looking for pcap_findalldevs_ex - found)

Don't enable the builds with REMOTE=yes by default.

This partially reverts commit 3861a41bfa60b9a8bed2d5a11a2ba7a7b1bbed3d.
"Remove the REMOTE dimension from the nested matrix."
build.sh
build_matrix.sh