Hi Jeff,

> I have both a patch and build instructions for OpenBSD builds
> with SSL support here:
>
> https://gist.github.com/jbuchbinder/ab33b7528b75fa99fcca

Why would you build openssl yourself and especially why would you
install it to your system paths? This likely breaks your system. I
strongly suggest you use the packet manager to install the dev
packet.

Also, why static PCRE?



> It's a small patch, but is necessary for haproxy 1.5.x to build
> on that platform.

Thats strange, I can build haproxy 1.5.4 just fine without any
modifications in OpenBSD 5.4 with:

$ gmake TARGET=openbsd CPU=i686 USE_PCRE=1 USE_OPENSSL=1

which compiles fine and results in :

$ ./haproxy -vv
HA-Proxy version 1.5.4 2014/09/02
Copyright 2000-2014 Willy Tarreau <[email protected]>

Build options :
  TARGET  = openbsd
  CPU     = i686
  CC      = gcc
  CFLAGS  = -O2 -march=i686 -g -fno-strict-aliasing
  OPTIONS = USE_OPENSSL=1 USE_PCRE=1

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200

Encrypted password support via crypt(3): no
Built without zlib support (USE_ZLIB not set)
Compression algorithms supported : identity
Built with OpenSSL version : OpenSSL 1.0.1c 10 May 2012
Running on OpenSSL version : OpenSSL 1.0.1c 10 May 2012
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports prefer-server-ciphers : yes
Built with PCRE version : 8.33 2013-05-28
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Built with transparent proxy support using: SO_BINDANY

Available polling systems :
     kqueue : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 3 (3 usable), will use kqueue.

$


Can you elaborate on those issues you are facing?




Regards,

Lukas

                                          

Reply via email to