ports/105302: openssl port doesn't properly support OVERWRITE_BASE
Roger Marquis
marquis at roble.com
Wed Nov 8 21:21:02 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list