blob: 75af892d5e224f63b16aa266cd01b8775144f2ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh -x
CWD=$(pwd)
set -e
SRC=host-sflow
if [ ! -d ${SRC} ]; then
echo "source directory does not exists, please 'git clone'"
exit 1
fi
cd ${SRC}
echo "I: Ensure Debian build dependencies are met"
sudo apt-get install -y libpcap0.8-dev
# Build hsflowd
# make deb FEATURES="NFLOG PCAP TCP DOCKER KVM OVS DBUS SYSTEMD DROPMON PSAMPLE DENT CONTAINERD"
echo "I: Build VyOS hsflowd Package"
make deb FEATURES="PCAP"
|