Re: Please review wip/openct wip/opensc and wip/opensc-signer

"OBATA Akio" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Thu, 19 Feb 2009 17:45:12 +0900, Hasso Tepper <[email protected]> wrote:

>> * I don't know the ext of "libpcsclite.so" is good for all platform
>>   (dylib for Darwin?  sl for HP-UX?)
>
> I have no idea.

After grep source tree...
It is used for lt_dlopen in src/libopensc/reader-pcsc.c,
then probably it is ok to pass libpcsclite.la instead.

And digging configure...
For Darwin, it can use /System/Library/Frameworks/PCSC.framework/PCSC
for DEFAULT_PCSC_PROVIDER, so is it better to change suggested option?

.if !exists(/System/Library/Frameworks/PCSC.framework/PCSC)
PKG_SUGGESTED_OPTIONS=  pcsc-lite
.else
CONFIGURE_ARGS+=	--enable-pcsc
CONFIGURE_ARGS+=	--with-pcsc-provider=/System/Library/Frameworks/PCSC.framework/PCSC
.endif

(or introduce pcsc option?)

> So I made defaults reasonable which should cover most of cases:
>
> app --> opensc --> pcsc-lite --> ccid
>                            \
>                              --> openct
>
> But if someone wants to rule out pcsc-lite for whatever reason, he/she has
> the way - to compile opensc to use openct directly:
>
> app --> opensc --> openct
>
>
> I hope this clarifies things a little bit ;).

I see, Thanks!

-- 
"Of course I love NetBSD":-)
OBATA Akio / [email protected]

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.