Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 21:12:30 GMT
From:      Roger Marquis<marquis@roble.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/105302: openssl port doesn't properly support OVERWRITE_BASE
Message-ID:  <200611082112.kA8LCUWm074553@www.freebsd.org>
Resent-Message-ID: <200611082120.kA8LKLOt053927@freefall.freebsd.org>

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

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



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