Date: Mon, 06 Feb 2017 13:53:14 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216846] security/sslsplit: add LICENSE, USES=ssl, strip the binary, fix build with libressl-devel Message-ID: <bug-216846-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216846 Bug ID: 216846 Summary: security/sslsplit: add LICENSE, USES=3Dssl, strip the binary, fix build with libressl-devel Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(swills@FreeBSD.org) Assignee: swills@FreeBSD.org Created attachment 179676 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179676&action= =3Dedit 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=3D\"sslsplit\"" -D"PNAME=3D\"SSLsplit\"" -D"VERSION=3D\"0.5.0\"" -D"BUILD_DATE=3D\"2017-02-= 06\"" -D"FEATURES=3D\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -D"BUILD_INFO=3D\"V:FILE\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -pipe= =20 -DHARDENEDBSD -fPIE -fPIC -fstack-protector -fno-strict-aliasing -D_THREAD_= SAFE -pthread -std=3Dc99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=3D2 -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 =3D=3D SSL_ST_CONNECT) ? "connect socket" ~~~ ^ This patch fixes this issue. Tested on Poudriere on 10.3-RELEASE with and without libressl-devel. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216846-13>