jauhien     15/02/10 11:35:29

  Added:                rust-0.13.0-no-ldconfig.patch
  Removed:              50rust-mode-gentoo.el rust-0.12.0-no-ldconfig.patch
                        rust-0.11.0-libdir.patch rust-0.12.0-stage0.patch
                        rust-0.11.0-stage0.patch rust-0.12.0-libdir.patch
  Log:
  version bump, remove old versions, move all live stuff to the rust overlay
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0xB2EFA1D4)

Revision  Changes    Path
1.1                  dev-lang/rust/files/rust-0.13.0-no-ldconfig.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.13.0-no-ldconfig.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.13.0-no-ldconfig.patch?rev=1.1&content-type=text/plain

Index: rust-0.13.0-no-ldconfig.patch
===================================================================
Remove ldconfig(1) execution to prevent the installation script from accessing
outside of a sandbox.

diff --git a/install-template.sh b/install-template.sh
index 11bf392..bc579f5 100644
--- a/src/rust-installer/install-template.sh
+++ b/src/rust-installer/install-template.sh
@@ -697,17 +697,6 @@ done
 # Drop the version number into the manifest dir
 echo "$TEMPLATE_RUST_INSTALLER_VERSION" > 
"${ABS_LIBDIR}/${TEMPLATE_REL_MANIFEST_DIR}/rust-installer-version"
 
-# Run ldconfig to make dynamic libraries available to the linker
-if [ "$CFG_OSTYPE" = "unknown-linux-gnu" -a ! -n "$CFG_DISABLE_LDCONFIG" ]; 
then
-    msg "running ldconfig"
-    ldconfig
-    if [ $? -ne 0 ]
-    then
-        warn "failed to run ldconfig."
-        warn "this may happen when not installing as root and may be fine"
-    fi
-fi
-
 # Sanity check: can we run the installed binaries?
 #
 # As with the verification above, make sure the right 
LD_LIBRARY_PATH-equivalent




Reply via email to