remove libcacard
From: Marc-André Lureau <[email protected]>
The following changes since commit 684bb5770ec5d72a66620f64fc5d9672bf8d3509:
Merge remote-tracking branch 'remotes/dgibson/tags/spapr-next-20150923' into staging (2015-09-23 16:52:54 +0100)
are available in the git repository at:
https://github.com/elmarco/qemu tags/rm-libcacard
for you to fetch changes up to 7b02f5447c64d1854468f758398c9f6fe9e5721f:
libcacard: use the standalone project (2015-09-23 23:34:17 +0200)
----------------------------------------------------------------
Remove libcacard
----------------------------------------------------------------
Marc-André Lureau (1):
libcacard: use the standalone project
.gitignore | 1 - Makefile | 3 - Makefile.objs | 14 --- configure | 52 +++----- docs/libcacard.txt | 483 ------------------------------------------------------------------------ hw/usb/Makefile.objs | 5 +- hw/usb/ccid-card-passthru.c | 2 +- libcacard/Makefile | 45 ------- libcacard/cac.c | 414 -------------------------------------------------------------- libcacard/cac.h | 31 ----- libcacard/card_7816.c | 757 ---------------------------------------------------------------------------------------------------------------- libcacard/card_7816.h | 62 ---------- libcacard/card_7816t.h | 165 ------------------------- libcacard/event.c | 103 ---------------- libcacard/eventt.h | 29 ----- libcacard/libcacard.pc.in | 13 -- libcacard/libcacard.syms | 77 ------------ libcacard/link_test.c | 22 ---- libcacard/vcard.c | 325 ------------------------------------------------ libcacard/vcard.h | 86 ------------- libcacard/vcard_emul.h | 66 ---------- libcacard/vcard_emul_nss.c | 1274 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- libcacard/vcard_emul_type.c | 57 --------- libcacard/vcard_emul_type.h | 32 ----- libcacard/vcardt.c | 40 ------ libcacard/vcardt.h | 59 --------- libcacard/vcardt_internal.h | 6 - libcacard/vevent.h | 27 ---- libcacard/vreader.c | 578 -------------------------------------------------------------------------------------- libcacard/vreader.h | 55 --------- libcacard/vreadert.h | 24 ---- libcacard/vscard_common.h | 178 --------------------------- libcacard/vscclient.c | 785 -------------------------------------------------------------------------------------------------------------------- 33 files changed, 21 insertions(+), 5849 deletions(-) delete mode 100644 docs/libcacard.txt delete mode 100644 libcacard/Makefile delete mode 100644 libcacard/cac.c delete mode 100644 libcacard/cac.h delete mode 100644 libcacard/card_7816.c delete mode 100644 libcacard/card_7816.h delete mode 100644 libcacard/card_7816t.h delete mode 100644 libcacard/event.c delete mode 100644 libcacard/eventt.h delete mode 100644 libcacard/libcacard.pc.in delete mode 100644 libcacard/libcacard.syms delete mode 100644 libcacard/link_test.c delete mode 100644 libcacard/vcard.c delete mode 100644 libcacard/vcard.h delete mode 100644 libcacard/vcard_emul.h delete mode 100644 libcacard/vcard_emul_nss.c delete mode 100644 libcacard/vcard_emul_type.c delete mode 100644 libcacard/vcard_emul_type.h delete mode 100644 libcacard/vcardt.c delete mode 100644 libcacard/vcardt.h delete mode 100644 libcacard/vcardt_internal.h delete mode 100644 libcacard/vevent.h delete mode 100644 libcacard/vreader.c delete mode 100644 libcacard/vreader.h delete mode 100644 libcacard/vreadert.h delete mode 100644 libcacard/vscard_common.h delete mode 100644 libcacard/vscclient.c
Signature · 1 line
2.4.3
[Qemu-devel] [PULL] libcacard: use the standalone project
From: Marc-André Lureau <[email protected]>
libcacard is now a standalone project hosted with the Spice project (see the 2.5.0 release announcement), remove it from qemu tree.
Use the library if found during configure or if --enable-smartcard.
--- .gitignore | 1 - Makefile | 3 - Makefile.objs | 14 - configure | 52 +- docs/libcacard.txt | 483 ---------------- hw/usb/Makefile.objs | 5 +- hw/usb/ccid-card-passthru.c | 2 +- libcacard/Makefile | 45 -- libcacard/cac.c | 414 -------------- libcacard/cac.h | 31 -- libcacard/card_7816.c | 757 ------------------------- libcacard/card_7816.h | 62 --- libcacard/card_7816t.h | 165 ------ libcacard/event.c | 103 ---- libcacard/eventt.h | 29 - libcacard/libcacard.pc.in | 13 - libcacard/libcacard.syms | 77 --- libcacard/link_test.c | 22 - libcacard/vcard.c | 325 ----------- libcacard/vcard.h | 86 --- libcacard/vcard_emul.h | 66 --- libcacard/vcard_emul_nss.c | 1274 ------------------------------------------- libcacard/vcard_emul_type.c | 57 -- libcacard/vcard_emul_type.h | 32 -- libcacard/vcardt.c | 40 -- libcacard/vcardt.h | 59 -- libcacard/vcardt_internal.h | 6 - libcacard/vevent.h | 27 - libcacard/vreader.c | 578 -------------------- libcacard/vreader.h | 55 -- libcacard/vreadert.h | 24 - libcacard/vscard_common.h | 178 ------ libcacard/vscclient.c | 785 -------------------------- 33 files changed, 21 insertions(+), 5849 deletions(-) delete mode 100644 docs/libcacard.txt delete mode 100644 libcacard/Makefile delete mode 100644 libcacard/cac.c delete mode 100644 libcacard/cac.h delete mode 100644 libcacard/card_7816.c delete mode 100644 libcacard/card_7816.h delete mode 100644 libcacard/card_7816t.h delete mode 100644 libcacard/event.c delete mode 100644 libcacard/eventt.h delete mode 100644 libcacard/libcacard.pc.in delete mode 100644 libcacard/libcacard.syms delete mode 100644 libcacard/link_test.c delete mode 100644 libcacard/vcard.c delete mode 100644 libcacard/vcard.h delete mode 100644 libcacard/vcard_emul.h delete mode 100644 libcacard/vcard_emul_nss.c delete mode 100644 libcacard/vcard_emul_type.c delete mode 100644 libcacard/vcard_emul_type.h delete mode 100644 libcacard/vcardt.c delete mode 100644 libcacard/vcardt.h delete mode 100644 libcacard/vcardt_internal.h delete mode 100644 libcacard/vevent.h delete mode 100644 libcacard/vreader.c delete mode 100644 libcacard/vreader.h delete mode 100644 libcacard/vreadert.h delete mode 100644 libcacard/vscard_common.h delete mode 100644 libcacard/vscclient.c
.gitignore +0 -1
@@ -19,7 +19,6 @@ /trace/generated-ust.c /ui/shader/texture-blit-frag.h /ui/shader/texture-blit-vert.h -/libcacard/trace/generated-tracers.c *-timestamp /*-softmmu /*-darwin-user
Makefile +0 -3
@@ -163,9 +163,6 @@ dummy := $(call unnest-vars,, \ ifneq ($(wildcard config-host.mak),) include $(SRC_PATH)/tests/Makefile endif -ifeq ($(CONFIG_SMARTCARD_NSS),y) -include $(SRC_PATH)/libcacard/Makefile -endif all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules
Makefile.objs +0 -14
@@ -33,18 +33,6 @@ crypto-aes-obj-y = crypto/ qom-obj-y = qom/ ###################################################################### -# smartcard - -libcacard-y += libcacard/cac.o libcacard/event.o -libcacard-y += libcacard/vcard.o libcacard/vreader.o -libcacard-y += libcacard/vcard_emul_nss.o -libcacard-y += libcacard/vcard_emul_type.o -libcacard-y += libcacard/card_7816.o -libcacard-y += libcacard/vcardt.o -libcacard/vcard_emul_nss.o-cflags := $(NSS_CFLAGS) -libcacard/vcard_emul_nss.o-libs := $(NSS_LIBS) - -###################################################################### # Target independent part of system emulation. The long term path is to # suppress *all* target specific code in case of system emulation, i.e. a # single QEMU executable should support all CPUs and machines.
@@ -85,8 +73,6 @@ common-obj-y += backends/ common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o -common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y) - common-obj-$(CONFIG_FDT) += device_tree.o ######################################################################
configure +18 -34
92 lines not on this page · raw message
docs/libcacard.txt deleted +0 -483
483 lines not on this page · raw message
hw/usb/Makefile.objs +2 -3
@@ -23,9 +23,8 @@ common-obj-$(CONFIG_USB_BLUETOOTH) += dev-bluetooth.o ifeq ($(CONFIG_USB_SMARTCARD),y) common-obj-y += dev-smartcard-reader.o -common-obj-y += ccid-card-passthru.o -common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o -ccid-card-emulated.o-cflags := -I$(SRC_PATH)/libcacard +common-obj-$(CONFIG_SMARTCARD) += ccid-card-passthru.o +common-obj-$(CONFIG_SMARTCARD) += ccid-card-emulated.o endif ifeq ($(CONFIG_POSIX),y)
hw/usb/ccid-card-passthru.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/error-report.h" #include "qemu/sockets.h" #include "ccid.h" -#include "libcacard/vscard_common.h" +#include "cacard/vscard_common.h" #define DPRINTF (card, lvl, fmt, ...) \ do { \
libcacard/Makefile deleted +0 -45
45 lines not on this page · raw message
libcacard/cac.c deleted +0 -414
414 lines not on this page · raw message
libcacard/cac.h deleted +0 -31
@@ -1,31 +0,0 @@ -/* -* defines the entry point for the cac card. Only used by cac.c anc -* vcard_emul_type.c -* -* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. -* See the COPYING.LIB file in the top-level directory. -*/ -#ifndef CAC_H -#define CAC_H 1 -#include "vcard.h" -#include "vreader.h" - -#define CAC_GET_PROPERTIES 0x56 -#define CAC_GET_ACR 0x4c -#define CAC_READ_BUFFER 0x52 -#define CAC_UPDATE_BUFFER 0x58 -#define CAC_SIGN_DECRYPT 0x42 -#define CAC_GET_CERTIFICATE 0x36 - -/* -* Initialize the cac card. This is the only public function in this file. All -* the rest are connected through function pointers. -*/ -VCardStatus cac_card_init (VReader *reader,VCard *card,const char *params, -unsigned char *const *cert,int cert_len[], -VCardKey *key[]/* adopt the keys*/ , -int cert_count); - -/* not yet implemented */ -VCardStatus cac_is_cac_card (VReader *reader); -#endif
libcacard/card_7816.c deleted +0 -757
757 lines not on this page · raw message
libcacard/card_7816.h deleted +0 -62
62 lines not on this page · raw message
libcacard/card_7816t.h deleted +0 -165
165 lines not on this page · raw message
libcacard/event.c deleted +0 -103
103 lines not on this page · raw message
libcacard/eventt.h deleted +0 -29
@@ -1,29 +0,0 @@ -/* -* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. -* See the COPYING.LIB file in the top-level directory. -*/ - -#ifndef EVENTT_H -#define EVENTT_H 1 -#include "vreadert.h" -#include "vcardt.h" - -typedef struct VEventStruct VEvent ; - -typedef enum { -VEVENT_READER_INSERT , -VEVENT_READER_REMOVE , -VEVENT_CARD_INSERT , -VEVENT_CARD_REMOVE , -VEVENT_LAST , -}VEventType ; - -struct VEventStruct { -VEvent *next; -VEventType type; -VReader *reader; -VCard *card; -}; -#endif - -
libcacard/libcacard.pc.in deleted +0 -13
@@ -1,13 +0,0 @@ -prefix=@PREFIX@ -exec_prefix=${prefix} -libdir=@LIBDIR@ -includedir=@INCLUDEDIR@ - -Name: cacard -Description: CA Card library -Version: @VERSION@ - -Requires.private: nss glib-2.0 -Libs: -L${libdir} -lcacard -Libs.private: -Cflags: -I${includedir}
libcacard/libcacard.syms deleted +0 -77
77 lines not on this page · raw message
libcacard/link_test.c deleted +0 -22
@@ -1,22 +0,0 @@ -/* -* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. -* See the COPYING.LIB file in the top-level directory. -*/ - -#include <stdio.h> -#include "vcard.h" - -VCardStatus cac_card_init (const char *flags,VCard *card, -const unsigned char *cert[], -int cert_len[],VCardKey *key[]/* adopt the keys*/ , -int cert_count); -/* -* this will crash... just test the linkage right now -*/ - -main(int argc, char **argv) -{ - VCard *card; /* no constructor yet */ -cac_card_init ("" , card,NULL ,0 ,NULL ,0 ); -} -
libcacard/vcard.c deleted +0 -325
325 lines not on this page · raw message
libcacard/vcard.h deleted +0 -86
86 lines not on this page · raw message
libcacard/vcard_emul.h deleted +0 -66
66 lines not on this page · raw message
libcacard/vcard_emul_nss.c deleted +0 -1274
169 lines not on this page · raw message
libcacard/vcard_emul_type.c deleted +0 -57
57 lines not on this page · raw message
libcacard/vcardt.h deleted +0 -59
59 lines not on this page · raw message
libcacard/vreader.c deleted +0 -578
578 lines not on this page · raw message
libcacard/vreader.h deleted +0 -55
55 lines not on this page · raw message
libcacard/vscard_common.h deleted +0 -178
178 lines not on this page · raw message
libcacard/vscclient.c deleted +0 -785
785 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.4.3
Part of the diff is not shown here. View the raw message.
Peter Maydell
AppliedQuoted 12 lines · On 23 September 2015 at 14:38, <[email protected]> wrote:
From: Marc-André Lureau <[email protected]>
The following changes since commit
684bb5770ec5d72a66620f64fc5d9672bf8d3509:Merge remote-tracking branch 'remotes/dgibson/tags/spapr-next-20150923' into staging (2015-09-23 16:52:54 +0100)
are available in the git repository at:
https://github.com/elmarco/qemu tags/rm-libcacard
for you to fetch changes up to
7b02f5447c64d1854468f758398c9f6fe9e5721f:
Quoted 8 lines
libcacard: use the standalone project (2015-09-23 23:34:17 +0200)
----------------------------------------------------------------
Remove libcacard----------------------------------------------------------------
Marc-André Lureau (1):
libcacard: use the standalone project
Applied, thanks.
-- PMM