|
|
|
|
@ -104,7 +104,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
# Now checkout Suricata for the bundle script.
|
|
|
|
|
- name: Checking out Suricata
|
|
|
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
|
|
|
uses: actions/checkout@v3.5.3
|
|
|
|
|
|
|
|
|
|
- name: Fetching libhtp
|
|
|
|
|
run: |
|
|
|
|
|
@ -183,7 +183,7 @@ jobs:
|
|
|
|
|
key: ${{ github.job }}-dnf
|
|
|
|
|
- run: echo "keepcache=1" >> /etc/dnf/dnf.conf
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
|
|
|
|
|
# Download and extract dependency archives created during prep
|
|
|
|
|
# job.
|
|
|
|
|
@ -300,7 +300,7 @@ jobs:
|
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
|
key: cargo-registry
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
|
|
|
|
|
# Download and extract dependency archives created during prep
|
|
|
|
|
# job.
|
|
|
|
|
@ -391,7 +391,7 @@ jobs:
|
|
|
|
|
key: ${{ github.job }}-dnf
|
|
|
|
|
- run: echo "keepcache=1" >> /etc/dnf/dnf.conf
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
|
|
|
|
|
# Prebuild check for duplicate SIDs
|
|
|
|
|
- name: Check for duplicate SIDs
|
|
|
|
|
@ -644,7 +644,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -736,7 +736,7 @@ jobs:
|
|
|
|
|
systemd-devel \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -824,7 +824,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -921,7 +921,7 @@ jobs:
|
|
|
|
|
systemd-devel \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1014,7 +1014,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1116,7 +1116,7 @@ jobs:
|
|
|
|
|
systemd-devel \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1208,7 +1208,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1298,7 +1298,7 @@ jobs:
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- run: adduser suricata
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1388,7 +1388,7 @@ jobs:
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1460,7 +1460,7 @@ jobs:
|
|
|
|
|
# packaged Rust version is too old for coverage, so get from rustup
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1580,7 +1580,7 @@ jobs:
|
|
|
|
|
# packaged Rust version is too old for coverage, so get from rustup
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1668,7 +1668,7 @@ jobs:
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
exuberant-ctags \
|
|
|
|
|
dpdk-dev
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1815,7 +1815,7 @@ jobs:
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
exuberant-ctags
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1906,7 +1906,7 @@ jobs:
|
|
|
|
|
- name: Install Coccinelle
|
|
|
|
|
run: |
|
|
|
|
|
apt -y install coccinelle
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -1984,7 +1984,7 @@ jobs:
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2058,7 +2058,7 @@ jobs:
|
|
|
|
|
linux-headers-$(uname -r)
|
|
|
|
|
|
|
|
|
|
- name: Checkout Netmap repository
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
uses: actions/checkout@v3.5.3
|
|
|
|
|
with:
|
|
|
|
|
repository: luigirizzo/netmap
|
|
|
|
|
# gets cloned to $GITHUB_WORKSPACE/netmap/
|
|
|
|
|
@ -2071,7 +2071,7 @@ jobs:
|
|
|
|
|
make -j2
|
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2169,7 +2169,7 @@ jobs:
|
|
|
|
|
ninja -C build install
|
|
|
|
|
ldconfig
|
|
|
|
|
cd $HOME
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2239,7 +2239,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2313,7 +2313,7 @@ jobs:
|
|
|
|
|
- name: Install Rust
|
|
|
|
|
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2368,7 +2368,7 @@ jobs:
|
|
|
|
|
run: cargo install --debug --version 0.24.3 cbindgen
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- run: pip3 install PyYAML
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- name: Downloading prep archive
|
|
|
|
|
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
@ -2401,7 +2401,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
|
@ -2411,7 +2411,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2457,7 +2457,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
|
@ -2467,7 +2467,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
@ -2501,7 +2501,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f
|
|
|
|
|
with:
|
|
|
|
|
msystem: MINGW64
|
|
|
|
|
@ -2511,7 +2511,7 @@ jobs:
|
|
|
|
|
# preinstalled one to be picked up by configure
|
|
|
|
|
- name: cbindgen
|
|
|
|
|
run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen
|
|
|
|
|
- uses: actions/checkout@v3.3.0
|
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
|
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
|