summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpki/base/native-tools/setup_package9
-rwxr-xr-xpki/base/osutil/setup_package3
-rwxr-xr-xpki/base/symkey/setup_package3
-rwxr-xr-xpki/base/tps/setup_package15
4 files changed, 30 insertions, 0 deletions
diff --git a/pki/base/native-tools/setup_package b/pki/base/native-tools/setup_package
index 06a6fae46..5d2187284 100755
--- a/pki/base/native-tools/setup_package
+++ b/pki/base/native-tools/setup_package
@@ -243,6 +243,15 @@ cp -p ${NATIVE_TOOLS_STAGING_PATH}/templates/* ${NATIVE_TOOLS_TEMPLATES}
# comply with standard JPackage 1.6.0 jar naming conventions
+# strip symbolic information from executables
+cd ${NATIVE_TOOLS_EXECUTABLES} ;
+strip bulkissuance ;
+strip p7tool ;
+strip revoker ;
+strip setpin ;
+strip tkstool ;
+strip sslget
+
###############################################################################
## (7) Create a command wrapper for each specified command. ##
diff --git a/pki/base/osutil/setup_package b/pki/base/osutil/setup_package
index d8e7cf9db..3ef7914ac 100755
--- a/pki/base/osutil/setup_package
+++ b/pki/base/osutil/setup_package
@@ -203,6 +203,9 @@ cd ${OSUTIL_LIB_DIR} ; mv libosutil.${DLL_SUFFIX} libosutil.${DLL_SUFFIX}.${VERS
# comply with standard JPackage 1.6.0 jar naming conventions
cd ${OSUTIL_JAR_DIR} ; mv osutil.jar osutil-${VERSION}.jar
+# strip symbolic information from libraries
+cd ${OSUTIL_LIB_DIR} ; strip libosutil.${DLL_SUFFIX}.${VERSION}
+
###############################################################################
## (7) Create a command wrapper for each specified command. ##
diff --git a/pki/base/symkey/setup_package b/pki/base/symkey/setup_package
index 39df3663d..a254cbc57 100755
--- a/pki/base/symkey/setup_package
+++ b/pki/base/symkey/setup_package
@@ -203,6 +203,9 @@ cd ${SYMKEY_LIB_DIR} ; mv libsymkey.${DLL_SUFFIX} libsymkey.${DLL_SUFFIX}.${VERS
# comply with standard JPackage 1.6.0 jar naming conventions
cd ${SYMKEY_JAR_DIR} ; mv symkey.jar symkey-${VERSION}.jar
+# strip symbolic information from libraries
+cd ${SYMKEY_LIB_DIR} ; strip libsymkey.${DLL_SUFFIX}.${VERSION}
+
###############################################################################
## (7) Create a command wrapper for each specified command. ##
diff --git a/pki/base/tps/setup_package b/pki/base/tps/setup_package
index f6d65cb90..d2305c1a4 100755
--- a/pki/base/tps/setup_package
+++ b/pki/base/tps/setup_package
@@ -302,6 +302,21 @@ mv libtps.so libtps.so.${VERSION}
# comply with standard JPackage 1.6.0 jar naming conventions
+# strip symbolic information from libraries
+cd ${SYSTEM_LIBRARIES} ;
+strip libldapauth.so.${VERSION} ;
+strip libtokendb.so.${VERSION} ;
+strip libtps.so.${VERSION}
+
+# strip symbolic information from modules
+cd ${APACHE_MODULES} ;
+strip mod_tokendb.so ;
+strip mod_tps.so
+
+# strip symbolic information from executables
+cd ${PKI_EXECUTABLES} ;
+strip tpsclient
+
###############################################################################
## (7) Create a command wrapper for each specified command. ##