Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 1999 09:39:26 GMT
From:      dave@id-arts.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14280: port cftp-0.9.3 build flag USE_SSL does nothing!
Message-ID:  <199910120939.JAA06620@id-arts.com>

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

>Number:         14280
>Category:       ports
>Synopsis:       port cftp-0.9.3 build flag USE_SSL does nothing!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 12 02:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     David Hanney
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
ID Arts LTD
>Environment:

FreeBSD server.workgroup 3.3-RELEASE FreeBSD 3.3-RELEASE #1: Wed Oct  6 12:05:59 GMT 1999     dave@server.workgroup:/usr/src/sys/compile/GENERIC  i386
I'm using the latest ports hierarchy (cvsuped today)

>Description:

The port built cleanly with USE_SSL=1
but the resulting curl didn't support SSL!

>How-To-Repeat:

cd /usr/ports/ftp/curl
make clean
make USE_SSL=1
make install
curl https://www.passcenter.com

curl says
curl: SSL is disabled, https: not supported!

>Fix:

After patching the Makefile like this:
*** Makefile.old        Wed Oct  6 11:52:44 1999
--- Makefile    Wed Oct  6 11:52:47 1999
***************
*** 20,26 ****
  .endif

  .if defined(USE_SSL)
! CONFIGURE_ENV+=       CPPFLAGS='-I${PREFIX}/include 
-I${PREFIX}/include/openssl' \
                LDFLAGS='-L${PREFIX}/lib'
  .endif

--- 20,26 ----
  .endif

  .if defined(USE_SSL)
! CONFIGURE_ENV+=       CPPFLAGS='-DUSE_SSLEAY -I${PREFIX}/include/openssl 
-I${PREFIX}/include' \
                LDFLAGS='-L${PREFIX}/lib'
  .endif

build again:
make USE_SSL=1

when it blows up do this:
pushd work/curl-5.9/src/
sed "s/-lcrypto/-lssl -lcrypto -lRSAglue -lrsaref/" Makefile >tmp
cp tmp Makefile
rm tmp
popd
make USE_SSL=1

it now builds to completion
and the result has SSL support.


>Release-Note:
>Audit-Trail:
>Unformatted:


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?199910120939.JAA06620>