updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / mkinitcpio-encrypt-sc / opensc.patch
blob72c5efcbc4cfa0cf2b12f7e21d04eedba573e4a4
1 diff -ur opensc-0.11.11/etc/opensc.conf.in opensc-0.11.11-static/etc/opensc.conf.in
2 --- opensc-0.11.11/etc/opensc.conf.in 2009-02-01 10:28:49.000000000 +0200
3 +++ opensc-0.11.11-static/etc/opensc.conf.in 2009-12-19 19:46:35.000000000 +0200
4 @@ -46,7 +46,7 @@
5 # NOTE: if "internal" keyword is used, must be the
6 # last entry in reader_drivers list
8 - # reader_drivers = openct, pcsc, ctapi;
9 + reader_drivers = openct; #, pcsc, ctapi;
11 reader_driver ctapi {
12 # module /usr/local/towitoko/lib/libtowitoko.so {
13 @@ -64,7 +64,7 @@
14 # but the same set of variables are applicable to ctapi and
15 # openct readers, simply by using "reader_driver ctapi" and
16 # "reader_driver openct", respectively.
17 - reader_driver pcsc {
18 + # reader_driver pcsc {
19 # This sets the maximum send and receive sizes.
20 # Some reader drivers have limitations, so you need
21 # to set these values. For usb devices check the
22 @@ -92,7 +92,7 @@
23 # Use specific pcsc provider.
24 # Default: @DEFAULT_PCSC_PROVIDER@
25 # provider_library = @DEFAULT_PCSC_PROVIDER@
26 - }
27 + # }
29 # Options for OpenCT support
30 reader_driver openct {
31 diff -ur opensc-0.11.11/src/tools/Makefile.am opensc-0.11.11-static/src/tools/Makefile.am
32 --- opensc-0.11.11/src/tools/Makefile.am 2009-09-17 10:08:44.000000000 +0300
33 +++ opensc-0.11.11-static/src/tools/Makefile.am 2009-12-19 21:26:54.000000000 +0200
34 @@ -28,6 +28,7 @@
35 opensc_explorer_LDADD = $(OPTIONAL_READLINE_LIBS)
36 pkcs15_tool_SOURCES = pkcs15-tool.c util.c
37 pkcs15_tool_LDADD = $(OPTIONAL_OPENSSL_LIBS)
38 +pkcs15_tool_LDFLAGS = -all-static
39 pkcs11_tool_SOURCES = pkcs11-tool.c util.c
40 pkcs11_tool_LDADD = $(OPTIONAL_OPENSSL_LIBS) \
41 $(top_builddir)/src/pkcs11/libpkcs11.la