Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 08:02:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209196] net/freeswitch: Remove dependency on openssl port
Message-ID:  <bug-209196-13-QXKWUj1AS1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209196-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209196-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209196

--- Comment #2 from numisemis@yahoo.com ---
If you do this (after patching with an attached patch):

# pkg remove openssl
# cd /usr/ports/net/freeswitch
# make patch
# cd work/freeswitch-1.6.7
# ./configure|&tee /tmp/log
# fgrep -i ssl /tmp/log

You will see:
checking for openssl... checking for openssl/tls1.h... yes
checking for TLSv1_method in -lssl... yes
  adding "-DHAVE_OPENSSL" to SWITCH_AM_CFLAGS
checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes
checking for DTLSv1_method in -lssl... yes
checking whether to leverage OpenSSL crypto... yes
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
Package 'openssl', required by 'world', not found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
Package 'openssl', required by 'world', not found
checking for openssl... checking for openssl/tls1.h... yes
checking for TLSv1_method in -lssl... yes
checking for openssl... checking for openssl/tls1.h... yes
checking for TLSv1_method in -lssl... yes

So it seems base openssl is detected just fine even without pkg-config.

After you build and install patched port you can check that base openssl is
really linked with freeswitch with:
# ldd /usr/local/bin/freeswitch|egrep '(ssl|crypto)'

And it shows that it is:
        libssl.so.7 =3D> /usr/lib/libssl.so.7 (0x803054000)
        libcrypto.so.7 =3D> /lib/libcrypto.so.7 (0x8032c0000)

So I don't see a problem here.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209196-13-QXKWUj1AS1>