Skip to content

Instantly share code, notes, and snippets.

@dcode
Last active August 29, 2015 14:24
Show Gist options
  • Save dcode/24ef9daf1140685e80d5 to your computer and use it in GitHub Desktop.
Save dcode/24ef9daf1140685e80d5 to your computer and use it in GitHub Desktop.
Build Bro 2.3 on Fedora 22
# Build Bro from Source on Fedora 22
## Install runtime dependencies - These will be needed once the RPM is built
sudo dnf -y install libpcap openssl-libs bind-libs zlib bash python libcurl gawk GeoIP gperftools-libs
## Install the build dependencies
sudo dnf -y install @development-tools 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++
## Checkout code and build RPMs
git clone git://git.bro.org/bro
cd bro; git checkout v2.3.2
git submodule update --init --recursive
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