Package: fis-gtm / 6.3-000A-1

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
42
43
44
45
46
47
48
49
50
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
@@ -519,7 +519,7 @@
   )
 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)
 
 # Library=OPENSSL Algorithm=BLOWFISHCFB
 add_library(libgtmcrypt_openssl_BLOWFISHCFB MODULE ${libgtmcrypt_SOURCES})
@@ -530,7 +530,7 @@
   )
 target_link_libraries(libgtmcrypt_openssl_BLOWFISHCFB ${GPG_LIBRARIES} ${TLS_LIBRARIES})
 add_dependencies(libgtmcrypt_openssl_BLOWFISHCFB gen_gtm_threadgbl_deftypes)
-install(TARGETS libgtmcrypt_openssl_BLOWFISHCFB DESTINATION ${GTM_INSTALL_DIR}/plugin)
+#install(TARGETS libgtmcrypt_openssl_BLOWFISHCFB DESTINATION ${GTM_INSTALL_DIR}/plugin)
 
 add_library(libgtmtls MODULE ${libgtmtls_SOURCES})
 set_target_properties(libgtmtls PROPERTIES
@@ -540,7 +540,7 @@
   )
 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
@@ -544,6 +544,7 @@
 	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