[med-svn] [fis-gtm] 01/01: CMakeLists.txt now defines the default encryption plugin library symlink

Amul Shah tuskentower-guest at moszumanska.debian.org
Sat Sep 27 03:22:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

tuskentower-guest pushed a commit to branch master
in repository fis-gtm.

commit 7a4979ace6b93d9d5fbfeecbd9651d4b5401caaf
Author: Amul Shah <Amul.Shah at fisglobal.com>
Date:   Fri Sep 26 23:21:59 2014 -0400

    CMakeLists.txt now defines the default encryption plugin library symlink
---
 debian/patches/upstream_build_all_encryption_libs | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/debian/patches/upstream_build_all_encryption_libs b/debian/patches/upstream_build_all_encryption_libs
index e61eb04..b31c3ca 100644
--- a/debian/patches/upstream_build_all_encryption_libs
+++ b/debian/patches/upstream_build_all_encryption_libs
@@ -17,7 +17,7 @@
  
  # Choose where to get bootstrap sources.
  set(GTM_DIST "" CACHE PATH "Existing GT.M Distribution")
-@@ -461,14 +458,38 @@
+@@ -461,14 +458,50 @@
    set(TLS_LIBRARIES ${TLS_LIBRARIES} ${TLSLIB_${tlslib}})
  endforeach()
  
@@ -38,6 +38,18 @@
 +target_link_libraries(libgtmcrypt_gcrypt_AES256CFB.so ${GPG_LIBRARIES})
 +install(TARGETS libgtmcrypt_gcrypt_AES256CFB.so DESTINATION ${GTM_INSTALL_DIR}/plugin)
 +
++# Establish the default encryption link
++set(default_encr_link   ${GTM_BINARY_DIR}/plugin/libgtmcrypt.so)
++set(default_encr_target libgtmcrypt_gcrypt_AES256CFB.so)
++add_custom_command(
++	OUTPUT ${default_encr_link}
++	COMMAND ${CMAKE_COMMAND} -E create_symlink "${default_encr_target}" "${default_encr_link}"
++	DEPENDS ${GTM_BINARY_DIR}/plugin/${default_encr_target}
++	COMMENT "Generating default_encr symbolic link"
++	)
++add_custom_target(install_default_encr ALL DEPENDS ${default_encr_link})
++install(FILES ${default_encr_link} DESTINATION ${GTM_INSTALL_DIR}/plugin)
++
 +# Library=OPENSSL Algorithm=AES256CFB
 +add_library(libgtmcrypt_openssl_AES256CFB MODULE ${libgtmcrypt_SOURCES})
 +set_target_properties(libgtmcrypt_openssl_AES256CFB PROPERTIES
@@ -62,7 +74,7 @@
  
  add_library(libgtmtls MODULE ${libgtmtls_SOURCES})
  set_target_properties(libgtmtls PROPERTIES
-@@ -482,7 +503,7 @@
+@@ -482,7 +515,7 @@
  add_executable(maskpass ${maskpass_SOURCES})
  target_link_libraries(maskpass ${GPG_LIBRARIES} ${TLS_LIBRARIES})
  set_target_properties(maskpass PROPERTIES

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fis-gtm.git



More information about the debian-med-commit mailing list