Hi all,

 I just tried to include the new pkcs11.h header into opensc-java by
using svn:externals, because I didn't want to chekin yet another copy of
this file. Up to now Iknow at least 4 Projects who need this header:

 - opensc
 - pam_p11
 - libp11
 - opensc-java

The task turned out to not be so easy, because svn:exzternals may only
reference a whole subdirectory. Unfortunately, the pkcs11.h file is
never present as a single in a directory.

 My suggestion is to move the file to the main project under

http://www.opensc-project.org/svn/opensc/trunk/src/include/pkcs11/pkcs11.h

or

http://www.opensc-project.org/svn/opensc/trunk/src/pkcs11/contrib/pkcs11.h


Then I may e.g. use the file inside opensc-java by issuing

svn propset svn:externals \
'contrib \
http://www.opensc-project.org/svn/opensc/trunk/src/pkcs11/contrib' .

Other project (pam_p11 and libp11) should follow these guidelines, so we
have exactly one actual copy of this header file to maintain.

Does anybody have a better idea, any arguments against this procedure?

  Wolfgang
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to