Typo in opensc-0.9.4 configure script

Bruce M Simpson bms at spc.org
Sat Jan 22 13:53:52 PST 2005


Hi,

There is a typo in the OpenSSL version test in the configure script for
the 0.9.4 release.

The operator '==' is used instead of '='. This doesn't exist in FreeBSD's
version of 'test'.

I thought I should bring this to your attention as it causes unexpected
linking behaviour on FreeBSD and possibly other operating systems; the
error could be masked on Linux and possibly affects other platforms too.

This caused the static version of libcrypto to be linked in on all FreeBSD
platforms and versions despite OpenSSL being 0.9.7d or newer in the base
system. Yhis caused other problems in that the build did not work on AMD64,
as the relocations in its libcrypto.a are incompatible with shared ELF
linkage.

I've committed an appropriate patch to FreeBSD's ports repo as a workaround
for now, it can be found at:-
	http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/opensc/files/patch-configure?rev=1.1&content-type=text/x-cvsweb-markup

Regards,
BMS
-------------- next part --------------
An embedded message was scrubbed...
From: Kris Kennaway <kris at obsecurity.org>
Subject: [ports-amd64 at FreeBSD.org: opensc-0.9.4 failed on amd64 6]
Date: Sat, 22 Jan 2005 13:16:12 -0800
Size: 141091
Url: http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050122/054551c9/attachment-0001.mht
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 167 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050122/054551c9/attachment-0001.bin


More information about the freebsd-ports mailing list