summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-07-16 19:18:23 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-07-16 19:18:23 +0000
commit2ff97ec0ad3803b0994f94d73f0cf84d3180d34c (patch)
treec74334d623c364f92af13a63746d90387d25dedd
parent8dbaf7f62f2e97d21d4309422ecc540f4831dda4 (diff)
downloadpki-2ff97ec0ad3803b0994f94d73f0cf84d3180d34c.tar.gz
pki-2ff97ec0ad3803b0994f94d73f0cf84d3180d34c.tar.xz
pki-2ff97ec0ad3803b0994f94d73f0cf84d3180d34c.zip
Bugzilla Bug #512134 - strip symbols from libraries, modules, and executables.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@698 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-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. ##