Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 13:11:35 -0800
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        ports@freebsd.org
Subject:   Port apache13-modssl broken ?
Message-ID:  <20011221131135.L79916@seven.alameda.net>

next in thread | raw e-mail | index | archive | help
I cvsup'ed yesterday and it gave me a new patch file
patch-src::modules::ssl::libssl.module (new as in modified at least).

It breaks in several places:

***************
*** 260,266 ****
      if [ ".$SSL_BASE" = . ]; then
          SSL_BASE=`egrep '^SSL_BASE=' $file | tail -1 | awk -F= '{print $2}'`
          if [ ".$SSL_BASE" = . ]; then
-             SSL_BASE="/usr/local/ssl"
          fi
      fi
      case $SSL_BASE in
--- 260,266 ----
      if [ ".$SSL_BASE" = . ]; then
          SSL_BASE=`egrep '^SSL_BASE=' $file | tail -1 | awk -F= '{print $2}'`
          if [ ".$SSL_BASE" = . ]; then
+             SSL_BASE="@@PREFIX@@/ssl"
          fi
      fi
      case $SSL_BASE in
***************
*** 486,492 ****
      if [ ".$RSA_BASE" != . ]; then
          if [ ".$RSA_BASE" = .SYSTEM ]; then
              my_found=no
-             for p in . /lib /usr/lib /usr/local/lib; do
                  if [ -f "$p/librsaref.a" -o -f "$p/librsaref.so" ]; then
                      SSL_LDFLAGS="$SSL_LDFLAGS -L$p"
                      SSL_LIBS="$SSL_LIBS -lrsaref"
--- 486,492 ----
      if [ ".$RSA_BASE" != . ]; then
          if [ ".$RSA_BASE" = .SYSTEM ]; then
              my_found=no
+             for p in . /lib /usr/lib /usr/local/lib @@PREFIX@@/lib; do
                  if [ -f "$p/librsaref.a" -o -f "$p/librsaref.so" ]; then
                      SSL_LDFLAGS="$SSL_LDFLAGS -L$p"
                      SSL_LIBS="$SSL_LIBS -lrsaref"
***************
*** 497,503 ****
              done
              if [ .$my_found = .no ]; then
                  echo "Error: Cannot find RSAref library in any of the following dirs:" 1>&2
-                 echo "Error: . /lib /usr/lib /usr/local/lib" 1>&2
                  exit 1
              fi
          else
--- 497,503 ----
              done
              if [ .$my_found = .no ]; then
                  echo "Error: Cannot find RSAref library in any of the following dirs:" 1>&2
+                 echo "Error: . /lib /usr/lib /usr/local/lib @@PREFIX@@/lib" 1>&2
                  exit 1
              fi
          else


-- 
Regards, Ulf.

---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204
You can find my resume at: http://seven.Alameda.net/~ulf/resume.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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