Package: fis-gtm / 6.3-014-3

upstream_donot_deploy_all_encryption_libs Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Amul Shah <Amul.Shah@fisglobal.com>
Forwarded: not-needed
Summary: Do not deploy the encryption libraries that require OpenSSL
Description: Build, but do not install the reference encryption plugins due to
  licensing conflicts between the AGPL and the OpenSSL license. Reference
  plugins are built simply to ensure that they could compile on the target
  system provided the correct libraries are installed. Upstream will pursue
  alternate encryption libraries, but there are no plans for this at the
  moment.
Last-Update: 2015-01-11

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -524,7 +524,7 @@ set_target_properties(libgtmcrypt_openss
   )
 target_link_libraries(libgtmcrypt_openssl_AES256CFB ${GPG_LIBRARIES} ${TLS_LIBRARIES})
 add_dependencies(libgtmcrypt_openssl_AES256CFB gen_gtm_threadgbl_deftypes)
-install(TARGETS libgtmcrypt_openssl_AES256CFB DESTINATION ${GTM_INSTALL_DIR}/plugin)
+#install(TARGETS libgtmcrypt_openssl_AES256CFB DESTINATION ${GTM_INSTALL_DIR}/plugin)
 
 add_library(libgtmtls MODULE ${libgtmtls_SOURCES})
 set_target_properties(libgtmtls PROPERTIES
@@ -534,7 +534,7 @@ set_target_properties(libgtmtls PROPERTI
   )
 target_link_libraries(libgtmtls ${TLS_LIBRARIES})
 add_dependencies(libgtmtls gen_gtm_threadgbl_deftypes)
-install(TARGETS libgtmtls DESTINATION ${GTM_INSTALL_DIR}/plugin)
+#install(TARGETS libgtmtls DESTINATION ${GTM_INSTALL_DIR}/plugin)
 
 add_executable(maskpass ${maskpass_SOURCES})
 target_link_libraries(maskpass ${GPG_LIBRARIES} ${TLS_LIBRARIES})
--- a/sr_unix/configure.gtc
+++ b/sr_unix/configure.gtc
@@ -518,6 +518,7 @@ EOF
 	chmod 0644 $gtmdist/$plugin_gtmcrypt/source.tar
 	chown ${owner}:${bingroup} $gtmdist/$plugin_gtmcrypt/source.tar
 	rm $plugin_gtmcrypt/README
+	(cd $gtmdist/$plugin_gtmcrypt && tar -xvf source.tar)
 fi
 
 # Install GDE, GTMHELP, and all the percent routines