[Bug 209196] net/freeswitch: Remove dependency on openssl port
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 13 08:02:56 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209196
--- Comment #2 from numisemis at 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 => /usr/lib/libssl.so.7 (0x803054000)
libcrypto.so.7 => /lib/libcrypto.so.7 (0x8032c0000)
So I don't see a problem here.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list