From owner-freebsd-ports-bugs@freebsd.org Fri May 13 08:02:56 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EF70B38E1A for ; Fri, 13 May 2016 08:02:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7B181783 for ; Fri, 13 May 2016 08:02:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4D82sl4048304 for ; Fri, 13 May 2016 08:02:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209196] net/freeswitch: Remove dependency on openssl port Date: Fri, 13 May 2016 08:02:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: numisemis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2016 08:02:56 -0000 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.=