From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 8 21:21:01 2006 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 D492916A403 for ; Wed, 8 Nov 2006 21:21:01 +0000 (UTC) (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 48B6C43D72 for ; Wed, 8 Nov 2006 21:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kA8LKL5K053928 for ; Wed, 8 Nov 2006 21:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kA8LKLOt053927; Wed, 8 Nov 2006 21:20:21 GMT (envelope-from gnats) Resent-Date: Wed, 8 Nov 2006 21:20:21 GMT Resent-Message-Id: <200611082120.kA8LKLOt053927@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, Roger Marquis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72DBF16A403 for ; Wed, 8 Nov 2006 21:12:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6CFA43D58 for ; Wed, 8 Nov 2006 21:12:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kA8LCUWd074554 for ; Wed, 8 Nov 2006 21:12:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kA8LCUWm074553; Wed, 8 Nov 2006 21:12:30 GMT (envelope-from nobody) Message-Id: <200611082112.kA8LCUWm074553@www.freebsd.org> Date: Wed, 8 Nov 2006 21:12:30 GMT From: Roger Marquis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/105302: openssl port doesn't properly support OVERWRITE_BASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 21:21:02 -0000 >Number: 105302 >Category: ports >Synopsis: openssl port doesn't properly support OVERWRITE_BASE >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: Wed Nov 08 21:20:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Roger Marquis >Release: 5.4-RELEASE-p6 >Organization: >Environment: 5.4-RELEASE-p6 i386 >Description: The openssl{,-stable} port fails to correctly process OPENSSL_OVERWRITE_BASE instead printing an error message: "this ports conflicts with your base system, please undefine OPENSSL_OVERWRITE_PORT, and use WITH_OPENSSL_BASE=yes instead" WITH_OPENSSL_BASE doesn't cause the port to overwrite the base installation but installs under /usr/local, resulting in two different versions on the system. Sinply deleting these if/endif sections in the Makefile restores the expected behavior. >How-To-Repeat: >Fix: Remove the following from the Makefile: .if exists(/lib/libcrypto.so) || exists(/lib/libcrypto.so.3) pre-everything:: @${ECHO_CMD} "#" @${ECHO_CMD} "# this ports does not support the dynamic root" @${ECHO_CMD} "# please undefine OPENSSL_OVERWRITE_BASE" @${ECHO_CMD} "# and use WITH_OPENSSL_PORT=yes instead." @${ECHO_CMD} "#" @${FALSE} .endif .if exists(${DESTDIR}/usr/lib/libcrypto.so.3) && ${OPENSSL_SHLIBVER} != 3 pre-everything:: @${ECHO_CMD} "#" @${ECHO_CMD} "# this ports conflicts with your base system" @${ECHO_CMD} "# please undefine OPENSSL_OVERWRITE_BASE" @${ECHO_CMD} "# and use WITH_OPENSSL_PORT=yes instead." @${ECHO_CMD} "#" @${FALSE} .endif >Release-Note: >Audit-Trail: >Unformatted: