Skip to content

Commit 6b5dbb6

Browse files
authored
Merge branch 'the-tcpdump-group:master' into haiku-ci
2 parents d60b36e + 05a263a commit 6b5dbb6

File tree

679 files changed

+6158
-4469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

679 files changed

+6158
-4469
lines changed

.appveyor.yml

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,61 +10,51 @@ matrix:
1010
fast_finish: true
1111

1212
install:
13-
- appveyor DownloadFile https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
14-
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
15-
- appveyor DownloadFile https://npcap.com/dist/npcap-sdk-1.12.zip
16-
- 7z x .\npcap-sdk-1.12.zip -oc:\projects\libpcap\Win32\npcap-sdk-1.12
13+
- appveyor DownloadFile https://npcap.com/dist/npcap-sdk-1.13.zip
14+
- 7z x .\npcap-sdk-1.13.zip -oc:\projects\libpcap\Win32\npcap-sdk-1.13
1715

1816
environment:
1917
matrix:
20-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
21-
GENERATOR: "Visual Studio 14 2015"
22-
SDK: WpdPack
23-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
24-
GENERATOR: "Visual Studio 14 2015 Win64"
25-
SDK: WpdPack
26-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
27-
GENERATOR: "Visual Studio 14 2015"
28-
SDK: npcap-sdk-1.12
29-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
30-
GENERATOR: "Visual Studio 14 2015 Win64"
31-
SDK: npcap-sdk-1.12
3218
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
3319
GENERATOR: "Visual Studio 15 2017"
34-
SDK: WpdPack
35-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
36-
GENERATOR: "Visual Studio 15 2017 Win64"
37-
SDK: WpdPack
20+
PLATFORM: Win32
21+
SDK: npcap-sdk-1.13
3822
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
3923
GENERATOR: "Visual Studio 15 2017"
40-
SDK: npcap-sdk-1.12
41-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
42-
GENERATOR: "Visual Studio 15 2017 Win64"
43-
SDK: npcap-sdk-1.12
24+
PLATFORM: x64
25+
SDK: npcap-sdk-1.13
4426
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
4527
GENERATOR: "Visual Studio 16 2019"
4628
PLATFORM: Win32
47-
SDK: WpdPack
29+
SDK: npcap-sdk-1.13
4830
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
4931
GENERATOR: "Visual Studio 16 2019"
5032
PLATFORM: x64
51-
SDK: WpdPack
33+
SDK: npcap-sdk-1.13
5234
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
5335
GENERATOR: "Visual Studio 16 2019"
36+
PLATFORM: ARM64
37+
SDK: npcap-sdk-1.13
38+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
39+
GENERATOR: "Visual Studio 17 2022"
5440
PLATFORM: Win32
55-
SDK: npcap-sdk-1.12
56-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
57-
GENERATOR: "Visual Studio 16 2019"
41+
SDK: npcap-sdk-1.13
42+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
43+
GENERATOR: "Visual Studio 17 2022"
5844
PLATFORM: x64
59-
SDK: npcap-sdk-1.12
45+
SDK: npcap-sdk-1.13
46+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
47+
GENERATOR: "Visual Studio 17 2022"
48+
PLATFORM: ARM64
49+
SDK: npcap-sdk-1.13
6050

6151
build_script:
6252
#
6353
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
6454
#
55+
- git show --oneline -s
6556
- type NUL >.devel
6657
- md build
6758
- cd build
68-
- if NOT DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" ..
69-
- if DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" -A %PLATFORM% ..
59+
- cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" -A %PLATFORM% ..
7060
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln

.cirrus.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
env:
22
CIRRUS_CLONE_DEPTH: 3 # The internal git client reads CIRRUS_CLONE_DEPTH.
33
LIBPCAP_GIT: https://github.com/the-tcpdump-group/libpcap.git
4+
AUTOCONF_WARNINGS: no-obsolete
45

56
freebsd_task:
67
name: freebsd-amd64
78
only_if: $CIRRUS_BRANCH != 'coverity_scan'
89
freebsd_instance:
910
# FreeBSD fails to start with 1 GB. 8 CPUs max concurrency.
1011
# The number of CPU cores must be either 1 or a multiple of 2.
11-
matrix:
12-
- image_family: freebsd-13-2
13-
cpu: 2
14-
memory: 2G
15-
- image_family: freebsd-14-0
16-
cpu: 2
17-
memory: 2G
12+
cpu: 1
13+
memory: 2G
14+
image_family: freebsd-13-4
1815
env:
1916
IGNORE_OSVERSION: yes
20-
MAKEFLAGS: -j 3
2117
MATRIX_CC: clang17 gcc13
2218
script:
2319
- pkg install -qy git autoconf gcc13 llvm17
@@ -34,36 +30,29 @@ linux_task:
3430
container:
3531
# Linux works just fine with 1 GB. 16 CPUs max concurrency.
3632
# The number of CPU cores must be either 1 or a multiple of 2.
37-
cpu: 4
33+
cpu: 1
3834
memory: 1G
39-
image: ubuntu:22.04
35+
image: ubuntu:24.04
4036
env:
4137
DEBIAN_FRONTEND: noninteractive
42-
MAKEFLAGS: -j 5
43-
MATRIX_CC: gcc clang-15
4438
LANG: C
4539
script:
4640
- apt-get -qy update >/dev/null
47-
- apt-get -qy install git autoconf make cmake clang-15 gcc >/dev/null
41+
- apt-get -qy install autoconf make gcc libpcap-dev >/dev/null # for "./configure"
4842
- apt-get -qy install flex bison libdbus-1-dev libbluetooth-dev libnl-genl-3-dev libibverbs-dev >/dev/null # for libpcap
49-
- apt-get -qy install libssl-dev libsmi2-dev libcap-ng-dev libpcap-dev binutils-dev >/dev/null
50-
- apt-get -qy install sudo >/dev/null # for some tcpdump commands
43+
- apt-get -qy install cmake git binutils-dev >/dev/null # for "make releasecheck"
5144
- apt-get -qy install shellcheck >/dev/null
52-
- apt list --installed 'lib*-dev'
53-
- echo '$ git clone [...] libpcap.git'
54-
- git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
5545
- ./autogen.sh
5646
- ./configure --quiet # build the Makefile
5747
- make releasecheck
5848
- make whitespacecheck
5949
- make shellcheck
60-
- ./build_matrix.sh
6150

6251
macos_task:
6352
name: macos-aarch64
6453
only_if: $CIRRUS_BRANCH != 'coverity_scan'
6554
macos_instance:
66-
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.1 # macOS 13 with Xcode 14.1
55+
image: ghcr.io/cirruslabs/macos-runner:sonoma # last 3 versions of Xcode
6756
env:
6857
MAKEFLAGS: '-j 4'
6958
script:
@@ -77,12 +66,12 @@ coverity_task:
7766
name: Coverity Scan
7867
only_if: $CIRRUS_BRANCH == 'coverity_scan'
7968
container:
80-
cpu: 4
69+
cpu: 1
8170
memory: 2G
82-
image: ubuntu:22.04
71+
image: ubuntu:24.04
8372
env:
8473
DEBIAN_FRONTEND: noninteractive
85-
MAKEFLAGS: -j 5
74+
LANG: C
8675
COVERITY_SCAN_PROJECT_NAME: $CIRRUS_REPO_FULL_NAME
8776
COVERITY_SCAN_TOKEN: ENCRYPTED[1b6f994cabfe74267ce2dce81fd9e49f694e9cfe69fb99f7d1580907bec1266efd7b38df3a47ccab53d5af98636f8e9c]
8877
COVERITY_SCAN_BUILD_COMMAND_PREPEND: ./configure --enable-instrument-functions --enable-smb

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*.rej
33
/Makefile
44
*~
5+
.*.swo
6+
.*.swp
57
/*.o
68
*.gcda
79
*.gcno

0 commit comments

Comments
 (0)