From owner-freebsd-ports Mon Mar 18 21:10: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0F97837B404 for ; Mon, 18 Mar 2002 21:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2J5A1Q19358; Mon, 18 Mar 2002 21:10:01 -0800 (PST) (envelope-from gnats) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id 5B9EB37B404 for ; Mon, 18 Mar 2002 21:08:27 -0800 (PST) Received: from home.dinoex.sub.org (home [217.6.200.196]) by net2.dinoex.sub.org (8.12.2/8.12.2) with ESMTP id g2J57xwA008577 for ; Tue, 19 Mar 2002 06:07:59 +0100 (CET) (envelope-from dm@home.dinoex.sub.org) Received: (from dm@localhost) by home.dinoex.sub.org (8.12.2/8.12.2/Submit) id g2J57wDl034220; Tue, 19 Mar 2002 06:07:58 +0100 (CET) (envelope-from dm) Message-Id: <200203190507.g2J57wDl034220@home.dinoex.sub.org> Date: Tue, 19 Mar 2002 06:07:58 +0100 (CET) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36080: Support USE_OPENSSL=yes on 4.2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36080 >Category: ports >Synopsis: Support USE_OPENSSL=yes on 4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 18 21:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.4-STABLE i386 >Organization: privat >Environment: System: FreeBSD 4.5-STABLE i386 >Description: SSL was updated in the ports, opennsh and other ports depends on the newer version of SSL >How-To-Repeat: Fixes in security/openssh and security/openssh-portable .if ${OSVERSION} < 430000 OPENSSLBASE= /usr/local OPENSSLDIR= ${OPENSSLBASE}/openssl LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl OPENSSLLIB= ${OPENSSLBASE}/lib OPENSSLINC= ${OPENSSLBASE}/include MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \ OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR} .endif >Fix: use current SSL, even is old one is in the base system apply a patch: --- bsd.port.mk.orig Sun Mar 17 00:37:02 2002 +++ bsd.port.mk Tue Mar 19 06:03:22 2002 @@ -726,7 +726,7 @@ .endif .if defined(USE_OPENSSL) -.if ${OSVERSION} >= 400014 +.if ${OSVERSION} >= 430000 .if !exists(/usr/lib/libcrypto.so) .BEGIN: @${ECHO} "This port requires the OpenSSL library, which is part of" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message