Skip to content

Instantly share code, notes, and snippets.

@dcode
Created July 20, 2015 20:37
Show Gist options
  • Save dcode/c2a6e7c7a25f1580fdc2 to your computer and use it in GitHub Desktop.
Save dcode/c2a6e7c7a25f1580fdc2 to your computer and use it in GitHub Desktop.
Build Bro 2.3 on CentOS 6.6
# Enable EPEL
sudo yum -y install epel-release
# Install run-time deps
sudo yum -y install libpcap openssl bind-libs zlib bash python libcurl gawk GeoIP gperftools-libs
# Install compile-time deps
sudo yum -y install @development libpcap-devel openssl-devel bind-devel zlib-devel cmake git perl libcurl-devel GeoIP-devel python-devel gperftools-devel swig flex bison rpmdevtools gcc-c++
# Clone git repo (this is from Vagrant)
git clone git://git.bro.org/bro
cd bro; git checkout v2.3.2
git submodule update --init --recursive
# Build package
cd pkg
## Disable cmake version check
sed -i 's/\.\/check-cmake/\#\.\/check-cmake/' ./make-rpm-packages
./make-rpm-packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment