Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 21:52:07 -0500 (EST)
From:      Diane Bruce <db@db.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88825: Wrong OPENSSL_SHLIBVER in bsd.openssl.mk in FreeBSD 6.0
Message-ID:  <200511110252.jAB2q7Cj054358@night.dbn>
Resent-Message-ID: <200511110300.jAB30SeV046232@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88825
>Category:       ports
>Synopsis:       Wrong OPENSSL_SHLIBVER in bsd.openssl.mk in FreeBSD 6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 03:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Diane Bruce
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
me? organised?
>Environment:
System: FreeBSD night.db.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386



>Description:
	The default OPENSSL_SHLIBVER assigned/used results in
	ports depending on openssl to mistakenly recompile the port
	and try to reinstall it, which results in the port failing.
	bsd.openssl.mk uses a version of libcrypto.so which is not
	the one installed.

	Presumably I am missing one of the WITH_OPENSSL_* options
	somewhere, but it still should not break like this.

>How-To-Repeat:
	portupgrade -a did it for me, any port that depends on openssl.
>Fix:

	I am not familiar enough with the script or the intent to
	suggest the definitive fix. However, here is a diff that works
	for me.

# diff bsd.openssl.mk.orig bsd.openssl.mk.fixed
123c123
< OPENSSL_SHLIBVER?=    4
---
> OPENSSL_SHLIBVER?=    3
>Release-Note:
>Audit-Trail:
>Unformatted:



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