Everything has been comitted and merged upstream. So you can simply run:
pkg install opensearch
Want to try out OpenSearch on FreeBSD?
Right now there is no official support or port for OpenSearch on FreeBSD, so I created a small hotfix for a demo installation. As I like to run everything on BastilleBSD I added basic support for jails as well (due to missing default loopback interface).
pkg install openjdk15 bash
Fetch and extract opensearch and create a FreeBSD clone:
The attached patch adds support for jails as well
tar xvzf opensearch-1.0.0-linux-x64.tar.gz
patch -p0 -tRi os-freebsd_0.1a.patch
setenv JAVA_HOME /usr/local/
Goto https:[yourip]:9200 and login with default credentials admin / admin
Don’t use that hotfix in production environments!
The certificates are provided by AWS and should but regenerated as soon as you might even think of using the cluster in production. Same for the default credentials.
Right now there’s no official port for FreeBSD (fixing paths and environments, rc scripts etc.). If there’s someone out there who’s interested in this: FreeBSD porters handbook