Ludovic Rousseau wrote:

This situation is the source of a lot of trouble. My suggestion:
- use #include <winscard.h> to keep source code compatibility between
Unix (pcsc-lite) and Windows.
- use #include <PCSC/foo.h> for any pcsc-lite/musclecard specific header file.

A portable source code using PC/SC should not need to include more
than <winscard.h>.

Any better suggestion or objection?

I hacked the includes to point at <PCSC/ >, because:
pcsc-lite package itself had this issue, and no libmusclecard was present. When you install libmusclecard, things get easier with pkgconfig, BUT some of the sources I compiled after libmusclecard (I patched things after testing the first 2) did not use pkgconfig for this, so the compile broke.


I also noticed this:
MusclePAM   does not have a configure script
muscleTools does not have a configure script
XCardII     does not have a configure script

Am I running outdated versions that don't have configure scripts instead
of your new ones?

The CVS version of muscleTool now has a configure script. The problem
is that these softwares need an active maintainer. Any volunteer?

Nice! I hope there is a release soon so I can package it :)


Some of the packages and committed so far:
http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/pcsc-lite/
http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/libmusclecard/
http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/muscle-pkcs11/
http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/muscle-tools/
http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/openct/ (I need
this as an ifd for my reader)


http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/muscle-pam/
As you can see in this package, I had some minor trouble with PAM.
OpenPAM does need a second header to be included in this way:

#ifdef _OPENPAM
#include <security/pam_appl.h>
#endif

in pam_smartcard.c


I think I will reuse some of your patches. Thanks!

Glad to hear I helped :)

Thanks :)

Evaldo Gardenali

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to