Kraken User Guide
Search…
Building on FreeBSD
While cross-compilation of FreeBSD binaries is not available yet, it is possible to build binaries in a native FreeBSD environment. In order to do so you will firstly need to install some packages:
1
$ sudo pkg install git gmake pkgconf go-bindata
Copied!
Then you will need to install Yara, which is normally available in ports:
1
$ cd /usr/ports/security/yara
Copied!
Before installing it, it is recommended that you modify the file Makefile to add --without-crypto to CONFIGURE_ARGS (if you don't need the Yara modules enabled in the Makefile, feel free to remove them). Now you can proceed with installing:
1
$ sudo make && sudo make install
Copied!
Now you can move to the directory that contains the Kraken source code and build it with:
1
$ BACKEND=example.com RULES=test/ gmake freebsd
Copied!
Copy link