From owner-freebsd-ports Wed Oct 31 7:39:10 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sahiro.homeip.net (p43-dna05sawada.niigata.ocn.ne.jp [211.122.195.171]) by hub.freebsd.org (Postfix) with ESMTP id 029E637B401 for ; Wed, 31 Oct 2001 07:39:05 -0800 (PST) Date: Thu, 01 Nov 2001 00:39:04 +0900 From: SASAKI Katuhiro Subject: Re: ports/31579: kdessl of kde-2.2.1 wants to link to libssl.so.0 and libcrypt.so.0 To: freebsd-ports@FreeBSD.org Cc: fritz.heinrichmeyer@fernuni-hagen.de Message-ID: <3be013e8.6475%sahiro@crest.ocn.ne.jp> In-Reply-To: <200110301347.f9UDlin78040@freefall.freebsd.org> References: <200110301347.f9UDlin78040@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. How is patch below? That replaces embedded "libssl.so.0" and "libcrypto.so.0" to "libssl.so.2" and "libcrypto.so.2". After building kdelibs2 with patch below, libkssl.so.2 sems not to include strings "libssl.so.0" or "libcrypto.so.0" as below. And access via https seems to be good. % strings /usr/local/lib/libkssl.so.2 | grep libssl libssl.so.2 libssl.so % strings /usr/local/lib/libkssl.so.2 | grep libcrypto libcrypto.so.2 libcrypto.so diff -urN /usr/ports/x11/kdelibs2/files/patch-kssl::kopenssl.cc kdelibs2/files/patch-kssl::kopenssl.cc --- /usr/ports/x11/kdelibs2/files/patch-kssl::kopenssl.cc Thu Jan 1 09:00:00 1970 +++ kdelibs2/files/patch-kssl::kopenssl.cc Wed Oct 31 16:18:02 2001 @@ -0,0 +1,26 @@ +--- kssl/kopenssl.cc.orig Wed Sep 5 08:08:18 2001 ++++ kssl/kopenssl.cc Wed Oct 31 16:13:09 2001 +@@ -195,13 +195,23 @@ + << ""; + + // FIXME: #define here for the various OS types to optimize ++#if defined(__FreeBSD__) ++ libnamess << "libssl.so.2" ++ << "libssl.so"; ++#else + libnamess << "libssl.so.0" + << "libssl.so" + << "libssl.sl"; ++#endif + ++#if defined(__FreeBSD__) ++ libnamesc << "libcrypto.so.2" ++ << "libcrypto.so"; ++#else + libnamesc << "libcrypto.so.0" + << "libcrypto.so" + << "libcrypto.sl"; ++#endif + + for (QStringList::Iterator it = libpaths.begin(); + it != libpaths.end(); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message