ports/88825: Wrong OPENSSL_SHLIBVER in bsd.openssl.mk in FreeBSD 6.0

Diane Bruce db at db.net
Fri Nov 11 03:00:29 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list