You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/scripts/check-setup.sh

29 lines
490 B
Bash

#!/usr/bin/env bash
set -e
# Create temp. directory and copy in sources.
tmpdir=$(mktemp -d)
trap "rm -rf ${tmpdir}" EXIT
(cd .. && tar cf - $(git ls-files)) | (cd ${tmpdir} && tar xf -)
cd ${tmpdir}
# Do initial build.
./autogen.sh
./configure
./scripts/setup-app-layer.py --parser Echo
./scripts/setup-app-layer.py --detect Echo request
./scripts/setup-app-layer.py --logger Echo
./scripts/setup-decoder.sh Udplite
./scripts/setup-simple-detect.sh simpledetect
make distcheck