summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-04-11 20:02:52 +0000
committerRich Megginson <rmeggins@redhat.com>2005-04-11 20:02:52 +0000
commit8b799f270c6ba99f90d50806c8c483c41da4c889 (patch)
tree5437e60b0ef81727c4904c7098cbe0fd44d279a3
parent86feb680fab9462848ea0bde5dbc42823320f25c (diff)
downloadds-8b799f270c6ba99f90d50806c8c483c41da4c889.tar.gz
ds-8b799f270c6ba99f90d50806c8c483c41da4c889.tar.xz
ds-8b799f270c6ba99f90d50806c8c483c41da4c889.zip
Bug(s) fixed: 154431
Bug Description: Security package requests from Cert Team Reviewed by: Nathan (Thanks!) Fix Description: Exclude the nssckbi file from shared32/lib; Create the shell script wrappers for shlibsign and shared32 modutil. Platforms tested: RHEL3 Flag Day: no Doc impact: no QA impact: should be covered by regular nightly and manual testing New Tests integrated into TET: none
-rw-r--r--internal_comp_deps.mk3
-rwxr-xr-xldap/cm/newinst/ns-update17
2 files changed, 18 insertions, 2 deletions
diff --git a/internal_comp_deps.mk b/internal_comp_deps.mk
index eaf06581..35b4c216 100644
--- a/internal_comp_deps.mk
+++ b/internal_comp_deps.mk
@@ -97,7 +97,8 @@ ifeq ($(USE_64), 1)
# all other files go under shared32/bin or /lib
PACKAGE_SRC_DEST += $(SHARED32_BUILD_DIR)/bin/modutil shared32/bin
- NSS32_NSPR32_SRC_LIBS =$(wildcard $(SHARED32_BUILD_DIR)/lib/*)
+# do not need redundant copy of nssckbi
+ NSS32_NSPR32_SRC_LIBS = $(filter-out $(SHARED32_BUILD_DIR)/lib/$(NSSCKBI32_FILE),$(wildcard $(SHARED32_BUILD_DIR)/lib/*))
PACKAGE_SRC_DEST += $(addsuffix $(SPACE)shared32/lib,$(NSS32_NSPR32_SRC_LIBS))
endif # USE_64
diff --git a/ldap/cm/newinst/ns-update b/ldap/cm/newinst/ns-update
index 997c436b..40bfb90e 100755
--- a/ldap/cm/newinst/ns-update
+++ b/ldap/cm/newinst/ns-update
@@ -41,7 +41,7 @@ install_nsperl()
wrap_security_tools()
{
cwd=`pwd`
- SECURITY_BINNAMES="certutil derdump modutil pk12util pp ssltap"
+ SECURITY_BINNAMES="certutil derdump modutil pk12util pp ssltap shlibsign"
arch=`uname`
if [ $arch = HP-UX ]; then
env_ld_library_path=SHLIB_PATH
@@ -62,6 +62,21 @@ wrap_security_tools()
chmod 755 $file
fi
done
+
+ if [ -d $sroot/shared32/bin ] ; then
+ cd $sroot/shared32/bin
+ for file in modutil
+ do
+ if [ -f $file -a ! -f $file-bin ]; then
+ mv $file $file-bin
+ echo "#!/bin/sh" > $file
+ echo $env_ld_library_path=$sroot/shared32/lib >> $file
+ echo "export $env_ld_library_path" >> $file
+ echo "$sroot/shared32/bin/$file-bin " '${1+"$@"}' >> $file
+ chmod 755 $file
+ fi
+ done
+ fi
cd $cwd
}