From d99fcf3df0b8f8d956a8e36b10f4c1dde8130598 Mon Sep 17 00:00:00 2001 From: Amul Shah Date: Fri, 15 Jun 2012 16:34:48 -0400 Subject: [PATCH] encryption plugin directory layout --- CMakeLists.txt | 34 +++++++++++++++++++++------------- sr_unix/gtmcrypt.tab | 1 + 2 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 sr_unix/gtmcrypt.tab diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e6e097..137f3b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,26 +286,35 @@ set_target_properties(maskpass PROPERTIES ) install(TARGETS maskpass DESTINATION ${GTM_INSTALL_DIR}/plugin/gtmcrypt) +# these files need to end up in ${GTM_INSTALL_DIR}/plugin/gtmcrypt/source.tar +#foreach(encryptsource +# gtmcrypt_ref.c +# gtmcrypt_ref.h +# gtmcrypt_interface.h +# gtmxc_types.h +# maskpass.c +# gtmcrypt_dbk_ref.c +# gtmcrypt_dbk_ref.h +# gtmcrypt_pk_ref.c +# gtmcrypt_pk_ref.h +# gtmcrypt_sym_ref.h +# install.sh +# build.sh +# pinentry.m +# ) +#endforeach() + foreach(f add_db_key.sh - build.sh encrypt_sign_db_key.sh gen_keypair.sh gen_sym_hash.sh gen_sym_key.sh - gtmcrypt_dbk_ref.c - gtmcrypt_dbk_ref.h - gtmcrypt_interface.h - gtmcrypt_pk_ref.c - gtmcrypt_pk_ref.h - gtmcrypt_ref.c - gtmcrypt_ref.h - gtmcrypt_sym_ref.h - gtminstall.sh + gtmcrypt.tab import_and_sign_key.sh - install.sh - maskpass.c + maskpass pinentry-gtm.sh + pinentry.m ) set(f_in "${GTM_SOURCE_DIR}/sr_unix/${f}") set(f_out "${GTM_BINARY_DIR}/plugin/gtmcrypt/${f}") @@ -320,7 +329,6 @@ endforeach() install(TARGETS mumps - dbcertify dse lke geteuid diff --git a/sr_unix/gtmcrypt.tab b/sr_unix/gtmcrypt.tab new file mode 100644 index 0000000..67b1465 --- /dev/null +++ b/sr_unix/gtmcrypt.tab @@ -0,0 +1 @@ +getpass:char* getpass^GETPASS(I:gtm_int_t)