Date: Thu, 01 Nov 2001 00:39:04 +0900 From: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp> To: freebsd-ports@FreeBSD.org Cc: fritz.heinrichmeyer@fernuni-hagen.de Subject: Re: ports/31579: kdessl of kde-2.2.1 wants to link to libssl.so.0 and libcrypt.so.0 Message-ID: <3be013e8.6475%sahiro@crest.ocn.ne.jp> In-Reply-To: <200110301347.f9UDlin78040@freefall.freebsd.org> References: <200110301347.f9UDlin78040@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3be013e8.6475%sahiro>