Date: Mon, 25 Apr 2005 11:31:11 +0200 (CEST) From: Jean-Baptiste Quenot <jb.quenot@caraldi.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80320: Maintainer update: unbreak www/resin3 Message-ID: <20050425093111.4FF416109@vision.anyware> Resent-Message-ID: <200504250940.j3P9e6me052751@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80320 >Category: ports >Synopsis: Maintainer update: unbreak www/resin3 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 09:40:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jean-Baptiste Quenot >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD vision.anyware 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Apr 21 11:41:35 CEST 2005 jbq@vision.anyware:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is an update that adresses OpenSSL problems reported by Kris Kennaway: * FreeBSD uses -lcrypto, not -lcrypt * Pick up the right OpenSSL >How-To-Repeat: >Fix: diff --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/Makefile ./Makefile --- /usr/ports/www/resin3/Makefile Thu Apr 21 00:04:55 2005 +++ ./Makefile Mon Apr 25 11:24:50 2005 @@ -18,6 +18,7 @@ HAS_CONFIGURE= yes USE_PYTHON= yes USE_REINPLACE= yes +USE_OPENSSL= yes # Customizable settings RUNASUSER?= www @@ -55,7 +56,9 @@ .include <bsd.port.pre.mk> # Pass JAVA_HOME as determined by bsd.java.mk -CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME} +CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME} \ + --with-openssl-lib=${OPENSSLLIB} \ + --with-openssl-include=${OPENSSLINC} # Install the Apache plugin if needed .if defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES) diff --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/files/patch-configure ./files/patch-configure --- /usr/ports/www/resin3/files/patch-configure Fri Feb 25 09:54:44 2005 +++ ./files/patch-configure Mon Apr 25 11:24:41 2005 @@ -1,8 +1,6 @@ -$FreeBSD: ports/www/resin3/files/patch-configure,v 1.2 2005/02/24 22:50:29 hq Exp $ - ---- configure.orig Tue Oct 12 18:34:32 2004 -+++ configure Tue Oct 12 18:34:48 2004 -@@ -8487,20 +8487,6 @@ +--- configure.orig Wed Jan 12 00:00:26 2005 ++++ configure Mon Apr 25 11:21:46 2005 +@@ -8669,20 +8669,6 @@ # Using Perl if it's available. # PERL=`which perl` @@ -23,3 +21,23 @@ #if test -z "${LD_SHLIB}"; then # AC_MSG_ERROR([Can't determine compilation flags.]); +@@ -8947,8 +8933,8 @@ + + if test -z "${OPENSSL_LIB}"; then + foo=bar +-elif test -r "${OPENSSL_LIB}/libcrypt.so"; then +- SSL_LIBS="${SSL_LIBS} -lcrypt" ++elif test -r "${OPENSSL_LIB}/libcrypto.so"; then ++ SSL_LIBS="${SSL_LIBS} -lcrypto" + elif test -r "${OPENSSL_LIB}/libcrypt.dylib"; then + SSL_LIBS="${SSL_LIBS} -lcrypt" + elif test -r "${OPENSSL_LIB}/libcrypt.a"; then +@@ -8983,7 +8969,7 @@ + foo=bar + elif test -z "${OPENSSL_LIB}"; then + foo=bar +-elif test ! -r "${OPENSSL_LIB}/libcrypt.so" -a \ ++elif test ! -r "${OPENSSL_LIB}/libcrypto.so" -a \ + ! -r "${OPENSSL_LIB}/libcrypt.dylib" -a \ + ! -r "${OPENSSL_LIB}/libcrypt.a" ; then + { { echo "$as_me:$LINENO: error: Can't find valid OpenSSL library in ${OPENSSL_LIB}" >&5 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425093111.4FF416109>