From 09cce002b069d1053e66b4980b3055de0a8deb4a Mon Sep 17 00:00:00 2001 From: Lars Herschke Date: Tue, 7 Feb 2023 19:58:08 +0000 Subject: security/dsniff: fix build by using openssl-unsafe PR: 267387 --- security/dsniff/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index 73577db67ca6..a279c5e60d4a 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -1,6 +1,6 @@ PORTNAME= dsniff DISTVERSION= 2.4b1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= security MASTER_SITES= http://www.monkey.org/~dugsong/${PORTNAME}/beta/ \ LOCAL/sbz @@ -34,17 +34,17 @@ X11_CONFIGURE_WITH=x .include .if ${OPSYS} == FreeBSD || ${SSL_DEFAULT} == openssl -# Requires LibreSSL for old SSL interface -BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage -CPPFLAGS+= -nostdinc -I/usr/include -I${WRKDIR}/libressl/include -LDFLAGS+= -L${WRKDIR}/libressl/lib -CONFIGURE_ARGS+= --with-openssl=${WRKDIR}/libressl +# Requires OpenSSL 1.0.x for old SSL interface +BUILD_DEPENDS+= ${NONEXISTENT}:security/openssl-unsafe:stage +CPPFLAGS+= -nostdinc -I/usr/include -I${WRKDIR}/openssl-unsafe/include +LDFLAGS+= -L${WRKDIR}/openssl-unsafe/lib +CONFIGURE_ARGS+= --with-openssl=${WRKDIR}/openssl-unsafe # Don't use COPYTREE_SHARE here as it hard links files, and the original files # are owned by root, which creates problems of its own. pre-configure: - @cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \ - && ${FIND} . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1 + @cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/openssl-unsafe`${PREFIX}/openssl-unsafe \ + && ${FIND} . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/openssl-unsafe >/dev/null 2>&1 .else BROKEN_SSL= openssl BROKEN_SSL_REASON_openssl= incomplete definition of type 'struct rsa_st' -- cgit v1.2.3