encryption plugin directory layout

This commit is contained in:
Amul Shah 2012-06-15 16:34:48 -04:00
parent b399a968eb
commit d99fcf3df0
2 changed files with 22 additions and 13 deletions

View File

@ -286,26 +286,35 @@ set_target_properties(maskpass PROPERTIES
) )
install(TARGETS maskpass DESTINATION ${GTM_INSTALL_DIR}/plugin/gtmcrypt) 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 foreach(f
add_db_key.sh add_db_key.sh
build.sh
encrypt_sign_db_key.sh encrypt_sign_db_key.sh
gen_keypair.sh gen_keypair.sh
gen_sym_hash.sh gen_sym_hash.sh
gen_sym_key.sh gen_sym_key.sh
gtmcrypt_dbk_ref.c gtmcrypt.tab
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
import_and_sign_key.sh import_and_sign_key.sh
install.sh maskpass
maskpass.c
pinentry-gtm.sh pinentry-gtm.sh
pinentry.m
) )
set(f_in "${GTM_SOURCE_DIR}/sr_unix/${f}") set(f_in "${GTM_SOURCE_DIR}/sr_unix/${f}")
set(f_out "${GTM_BINARY_DIR}/plugin/gtmcrypt/${f}") set(f_out "${GTM_BINARY_DIR}/plugin/gtmcrypt/${f}")
@ -320,7 +329,6 @@ endforeach()
install(TARGETS install(TARGETS
mumps mumps
dbcertify
dse dse
lke lke
geteuid geteuid

1
sr_unix/gtmcrypt.tab Normal file
View File

@ -0,0 +1 @@
getpass:char* getpass^GETPASS(I:gtm_int_t)