~ubuntu-branches/ubuntu/raring/nss/raring-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/cmd/shlibsign/sign.sh

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-25 13:46:06 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100325134606-bl6liuok2w9l7snv
Tags: 3.12.6-0ubuntu1
* New upstream release 3.12.6 RTM (NSS_3_12_6_RTM)
  - fixes CVE-2009-3555 aka US-CERT VU#120541
* Adjust patches to changed upstream code base
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/85_security_load.patch
* Remove patches that are merged upstream
  - delete debian/patches/91_nonexec_stack.patch
  - update debian/patches/series
* Bump nspr dependency to 4.8
  - update debian/control
* Add new symbols for 3.12.6
  - update debian/libnss3-1d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        PATH=${ARG1}/lib:${ARG1}/bin:${ARG4}:${PATH}
19
19
    fi
20
20
    export PATH
21
 
    echo ${2}/shlibsign -v -i ${5}
22
 
    ${2}/shlibsign -v -i ${5}
23
 
    ;;
24
 
OpenVMS)
25
 
    temp="tmp$$.tmp"
26
 
    temp2="tmp$$.tmp2"
27
 
    cd ${1}/lib
28
 
    vmsdir=`dcl show default`
29
 
    ls *.so > $temp
30
 
    sed -e "s/\([^\.]*\)\.so/\$ define\/job \1 ${vmsdir}\1.so/" $temp > $temp2
31
 
    echo '$ define/job getipnodebyname xxx' >> $temp2
32
 
    echo '$ define/job vms_null_dl_name sys$share:decc$shr' >> $temp2
33
 
    dcl @$temp2
34
 
    echo ${2}/shlibsign -v -i ${5}
35
 
    ${2}/shlibsign -v -i ${5}
36
 
    sed -e "s/\([^\.]*\)\.so/\$ deass\/job \1/" $temp > $temp2
37
 
    echo '$ deass/job getipnodebyname' >> $temp2
38
 
    echo '$ deass/job vms_null_dl_name' >> $temp2
39
 
    dcl @$temp2
40
 
    rm $temp $temp2
 
21
    echo "${2}"/shlibsign -v -i "${5}"
 
22
    "${2}"/shlibsign -v -i "${5}"
41
23
    ;;
42
24
*)
43
 
    LIBPATH=`(cd ${1}/lib; pwd)`:`(cd ${4}; pwd)`:$LIBPATH
 
25
    LIBPATH=`(cd "${1}"/lib; pwd)`:`(cd "${4}"; pwd)`:$LIBPATH
44
26
    export LIBPATH
45
27
    SHLIB_PATH=${1}/lib:${4}:$SHLIB_PATH
46
28
    export SHLIB_PATH
52
34
    export LIBRARY_PATH
53
35
    ADDON_PATH=${1}/lib:${4}:$ADDON_PATH
54
36
    export ADDON_PATH
55
 
    echo ${2}/shlibsign -v -i ${5}
56
 
    ${2}/shlibsign -v -i ${5}
 
37
    echo "${2}"/shlibsign -v -i "${5}"
 
38
    "${2}"/shlibsign -v -i "${5}"
57
39
    ;;
58
40
esac