Index: head/security/sslsplit/Makefile =================================================================== --- head/security/sslsplit/Makefile (revision 437946) +++ head/security/sslsplit/Makefile (revision 437947) @@ -1,20 +1,24 @@ -# Created by: Steve Wills # $FreeBSD$ PORTNAME= sslsplit PORTVERSION= 0.5.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://mirror.roe.ch/rel/sslsplit/ MAINTAINER= swills@FreeBSD.org COMMENT= Transparent and scalable SSL/TLS interception +LICENSE= BSD2CLAUSE + LIB_DEPENDS= libevent.so:devel/libevent -USES= gmake pkgconfig tar:bzip2 uidfix +USES= gmake pkgconfig tar:bzip2 uidfix ssl MAKEFILE= GNUmakefile MAKE_ENV= DESTDIR=${STAGEDIR} MANDIR=man INSTALLUID=${UID} INSTALLGID=${GID} PLIST_FILES= bin/sslsplit man/man1/sslsplit.1.gz + +post-stage: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sslsplit .include Index: head/security/sslsplit/files/patch-ssl.c =================================================================== --- head/security/sslsplit/files/patch-ssl.c (nonexistent) +++ head/security/sslsplit/files/patch-ssl.c (revision 437947) @@ -0,0 +1,24 @@ +--- ssl.c.orig 2016-03-27 13:46:35 UTC ++++ ssl.c +@@ -477,15 +477,14 @@ ssl_ssl_state_to_str(SSL *ssl) + int rv; + + rv = asprintf(&str, "%08x = %s%s%s%04x = %s (%s) [%s]", +- ssl->state, +- (ssl->state & SSL_ST_CONNECT) ? "SSL_ST_CONNECT|" : "", +- (ssl->state & SSL_ST_ACCEPT) ? "SSL_ST_ACCEPT|" : "", +- (ssl->state & SSL_ST_BEFORE) ? "SSL_ST_BEFORE|" : "", +- ssl->state & SSL_ST_MASK, ++ SSL_get_state(ssl), ++ (SSL_get_state(ssl) & SSL_ST_CONNECT) ? "SSL_ST_CONNECT|" : "", ++ (SSL_get_state(ssl) & SSL_ST_ACCEPT) ? "SSL_ST_ACCEPT|" : "", ++ (SSL_get_state(ssl) & SSL_ST_BEFORE) ? "SSL_ST_BEFORE|" : "", ++ SSL_get_state(ssl) & SSL_ST_MASK, + SSL_state_string(ssl), + SSL_state_string_long(ssl), +- (ssl->type == SSL_ST_CONNECT) ? "connect socket" +- : "accept socket"); ++ ""); + + return (rv < 0) ? NULL : str; + } Property changes on: head/security/sslsplit/files/patch-ssl.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property