From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 11 03:00:29 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7ECD16A41F for ; Fri, 11 Nov 2005 03:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22C3A43D48 for ; Fri, 11 Nov 2005 03:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAB30Tcf046239 for ; Fri, 11 Nov 2005 03:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAB30SeV046232; Fri, 11 Nov 2005 03:00:28 GMT (envelope-from gnats) Resent-Date: Fri, 11 Nov 2005 03:00:28 GMT Resent-Message-Id: <200511110300.jAB30SeV046232@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Diane Bruce Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78C7516A41F for ; Fri, 11 Nov 2005 02:52:11 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net (heceta.db.net [142.46.199.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28F9A43D45 for ; Fri, 11 Nov 2005 02:52:11 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net ([142.46.199.182] helo=localhost ident=mailnull) by heceta.db.net with esmtp (Exim 4.24; FreeBSD 4.8) id 1EaP57-000EK0-18 for freebsd-gnats-submit@freebsd.org; Thu, 10 Nov 2005 21:56:01 -0500 Received: from localhost.dbn ([127.0.0.1] helo=night.dbn) by night.db.net with esmtp (Exim 4.54 (FreeBSD)) id 1EaP1Q-000E8l-2T for FreeBSD-gnats-submit@freebsd.org; Fri, 11 Nov 2005 02:52:12 +0000 Received: (from db@localhost) by night.dbn (8.13.4/8.13.4/Submit) id jAB2q7Cj054358; Thu, 10 Nov 2005 21:52:07 -0500 (EST) (envelope-from db) Message-Id: <200511110252.jAB2q7Cj054358@night.dbn> Date: Thu, 10 Nov 2005 21:52:07 -0500 (EST) From: Diane Bruce To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88825: Wrong OPENSSL_SHLIBVER in bsd.openssl.mk in FreeBSD 6.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Diane Bruce List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 03:00:29 -0000 >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: