Created attachment 179676 [details] patch The port previously failed with: ssl.c:480:21: error: no member named 'state' in 'struct ssl_st' cc -c -isystem/usr/local/include -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.5.0\"" -D"BUILD_DATE=\"2017-02-06\"" -D"FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -pipe -DHARDENEDBSD -fPIE -fPIC -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o version.o version.c ssl->state, ~~~ ^ ssl.c:481:22: error: no member named 'state' in 'struct ssl_st' (ssl->state & SSL_ST_CONNECT) ? "SSL_ST_CONNECT|" : "", ~~~ ^ ssl.c:482:22: error: no member named 'state' in 'struct ssl_st' (ssl->state & SSL_ST_ACCEPT) ? "SSL_ST_ACCEPT|" : "", ~~~ ^ ssl.c:483:22: error: no member named 'state' in 'struct ssl_st' (ssl->state & SSL_ST_BEFORE) ? "SSL_ST_BEFORE|" : "", ~~~ ^ ssl.c:484:21: error: no member named 'state' in 'struct ssl_st' ssl->state & SSL_ST_MASK, ~~~ ^ ssl.c:487:22: error: no member named 'type' in 'struct ssl_st' (ssl->type == SSL_ST_CONNECT) ? "connect socket" ~~~ ^ This patch fixes this issue. Tested on Poudriere on 10.3-RELEASE with and without libressl-devel.
A commit references this bug: Author: swills Date: Fri Apr 7 17:23:23 UTC 2017 New revision: 437947 URL: https://svnweb.freebsd.org/changeset/ports/437947 Log: security/sslsplit: fix build with libressl-devel While here, add LICENSE, USES=ssl, strip the binary PR: 216846 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/security/sslsplit/Makefile head/security/sslsplit/files/patch-ssl.c
Committed, thanks!