Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2023 20:13:18 GMT
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 09cce002b069 - main - security/dsniff: fix build by using openssl-unsafe
Message-ID:  <202302072013.317KDIZ2036589@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sbz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=09cce002b069d1053e66b4980b3055de0a8deb4a

commit 09cce002b069d1053e66b4980b3055de0a8deb4a
Author:     Lars Herschke <lhersch@dssgmbh.de>
AuthorDate: 2023-02-07 19:58:08 +0000
Commit:     Sofian Brabez <sbz@FreeBSD.org>
CommitDate: 2023-02-07 20:12:08 +0000

    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 <bsd.port.pre.mk>
 
 .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'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302072013.317KDIZ2036589>