From 78c07db88846e008910b03fbe0d33df0fcd2dd5e Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 22 Jul 2014 07:27:38 -0500 Subject: [PATCH] Use LibreSSL on OpenBSD build, yes it does work --- build/Makefile.openbsd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/Makefile.openbsd b/build/Makefile.openbsd index c35e33b345..49aa239ee4 100644 --- a/build/Makefile.openbsd +++ b/build/Makefile.openbsd @@ -11,7 +11,7 @@ PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wge FSPREFIX=/usr/local/freeswitch PREFIX=$(FSPREFIX) DOWNLOAD=http://files.freeswitch.org/downloads/libs -OPENSSL=1.0.1h +LIBRESSL=2.0.3 LIBEDIT=20140618-3.1 CURL=7.35.0 @@ -37,14 +37,14 @@ clean: has-git: @git --version || PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r git -deps: libedit openssl curl +deps: libedit libressl curl @PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r $(PKG) -openssl: openssl-$(OPENSSL)/Makefile -openssl-$(OPENSSL)/Makefile: openssl-$(OPENSSL) -openssl-$(OPENSSL): +libressl: libressl-$(LIBRESSL)/Makefile +libressl-$(LIBRESSL)/Makefile: libressl-$(LIBRESSL) +libressl-$(LIBRESSL): (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz) - (cd $@ && ./Configure --prefix=$(PREFIX) BSD-x86_64 shared && make && sudo make install) + (cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install) libedit: libedit-$(LIBEDIT)/Makefile libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT)