Bug 36080 - [PATCH] Support USE_OPENSSL=yes on 4.2
Summary: [PATCH] Support USE_OPENSSL=yes on 4.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 05:10 UTC by dirk.meyer
Modified: 2002-08-31 20:43 UTC (History)
0 users

See Also:


Attachments
file.diff (313 bytes, patch)
2002-03-19 05:10 UTC, dirk.meyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.meyer 2002-03-19 05:10:00 UTC
	SSL was updated in the ports,
	opennsh and other ports depends on the newer version of SSL

Fix: use current SSL, even is old one is in the base system

	apply a patch:
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
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2002-03-19 05:11:02 UTC
Responsible Changed
From-To: freebsd-ports->portmgr

bsd.port.mk issue.
Comment 2 dirk.meyer 2002-05-08 07:00:11 UTC
Here the updated patch:

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]

--- bsd.port.mk.orig	Sat Apr 27 13:22:59 2002
+++ bsd.port.mk	Wed May  8 08:05:26 2002
@@ -733,7 +733,7 @@
 .endif
 
 .if defined(USE_OPENSSL)
-.if ${OSVERSION} >= 400014
+.if ${OSVERSION} >= 430000 && !exists(${LOCALBASE}/lib/libcrypto.so.3)
 .if !exists(/usr/lib/libcrypto.so)
 .BEGIN:
 	@${ECHO_CMD} "This port requires the OpenSSL library, which is part of"
@@ -764,7 +764,7 @@
 .endif
 .endif
 .else
-LIB_DEPENDS+=	crypto.2:${PORTSDIR}/security/openssl
+LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
 OPENSSLBASE?=	${LOCALBASE}
 OPENSSLDIR?=	${OPENSSLBASE}/openssl
 .endif
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2002-08-31 20:42:42 UTC
State Changed
From-To: open->closed

Superseeded by pr#39054