On 7/20/07, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote:
what happends if you run LIBASSUAN_CONFIG=/bin/false ./configure ?
Oh... For now, I've used --with-libassuan-prefix=tmp
document this hack and good? very few people have the problem you mention so I think it is good enough?
No... Please explicitly add --enable-nsplugin or something. So that if you add dependency no additional hacks will be nessesery.
sorry, I have little clue about the plugin, I even think I never used it myself nor do I exactly know how to do that. can you describe the problem in detail, how to reproduce it and maybe any suggestions what to do about it? a new ticket on the web page might help as well to not forget it :)
Oh... is is always reproduced. Well... as I don't see any usage case for it, let's leave the problem. If you don't maintain it, you may consider providing this as a separate package... :) In the mean time the attached patch should do the trick. Alon.
--- opensc-0.11.3/configure.in 2007-07-15 18:32:16.000000000 +0300 +++ opensc-0.11.3.new/configure.in 2007-07-20 21:34:10.000000000 +0300 @@ -318,6 +318,21 @@ AC_ARG_WITH(plugin-dir, ] ) AC_SUBST(PLUGINDIR) +AC_ARG_ENABLE(nsplugin, + AC_HELP_STRING([--disable-nsplugin], [disable nsplugin (signer). [[default=no]]]), + [ENABLE_NSPLUGIN="${enableval}"], + [ENABLE_NSPLUGIN="yes"]) + +if test "x${ASSUAN_MSG}" != "xyes" -o "x${OPENSSL_MSG}" != "xyes"; then + ENABLE_NSPLUGIN="no" +fi +if test "x${ENABLE_NSPLUGIN}" == "xyes"; then + AM_CONDITIONAL(ENABLE_NSPLUGIN, true) + NSPLUGIN_MSG=yes +else + AM_CONDITIONAL(ENABLE_NSPLUGIN, false) + NSPLUGIN_MSG=no +fi # Check for PIN entry program used by OpenSC Signer PIN_ENTRY="/usr/local/bin/gpinentry" @@ -412,5 +427,6 @@ echo "OpenSSL support: ${OPENSS echo "PC/SC support: ${PCSC_MSG}" echo "OpenCT support: ${OPENCT_MSG}" echo "Assuan support: ${ASSUAN_MSG}" +echo "NSPlugin support: ${NSPLUGIN_MSG}" echo "" --- opensc-0.11.3/src/signer/Makefile.am 2006-07-23 13:10:44.000000000 +0300 +++ opensc-0.11.3.new/src/signer/Makefile.am 2007-07-20 21:32:52.000000000 +0300 @@ -10,11 +10,9 @@ EXTRA_DIST = testprog.c INCLUDES = -I$(srcdir)/npinclude $(CPPFLAGS) $(OPENSSL_CFLAGS) $(LIBASSUAN_CFLAGS) -if HAVE_OPENSSL -if HAVE_ASSUAN +if ENABLE_NSPLUGIN lib_LTLIBRARIES = opensc-signer.la endif -endif opensc_signer_la_LDFLAGS = -module -avoid-version opensc_signer_la_LIBADD = @LIBOPENSC@ $(OPENSSL_LIBS) $(LIBASSUAN_LIBS) @@ -25,8 +23,6 @@ noinst_HEADERS = \ opensc-crypto.h opensc-support.h signer.h install-exec-local: install-libLTLIBRARIES -if HAVE_OPENSSL -if HAVE_ASSUAN +if ENABLE_NSPLUGIN -$(LN_S) -f $(libdir)/opensc-signer.so $(DESTDIR)$(plugindir)/ endif -endif
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel