~ubuntu-branches/ubuntu/jaunty/nss/jaunty-proposed

« back to all changes in this revision

Viewing changes to mozilla/security/nss/tests/iopr/ssl_iopr.sh

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack, Fabien Tassin, Alexander Sack
  • Date: 2009-01-11 15:06:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090111150617-iz4lw05qgy2odorl
Tags: 3.12.2~rc1-0ubuntu1
* New upstream snapshot: 3.12.2 RC1

[ Fabien Tassin <fta@ubuntu.com> ]
* Remove patch applied upstream:
  - drop debian/patches/80_security_tools.patch
  - update debian/patches/series
* Update diverged patches:
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
* Add new symbols to symbols file
  - update debian/libnss3-1d.symbols

[ Alexander Sack <asac@ubuntu.com> ]
* disable soname patch to become binary compatible with upstream
  - update debian/patches/series
* flip links: libnss3.so <- libnss3.so.1d (before: libnss3.so ->
  libnss3.so.1d); same link flipping was done for all other previously
  soname patched libs: libnssutil3.so, libsmime3.so.1d, libssl3.so.1d
  - update debian/libnss3-1d.links
  - update debian/libnss3-1d.symbols
* properly transition links in preinst and postrm; also cover abort-
  cases in the other maintainer scripts
  - add debian/libnss3-1d.postinst
  - add debian/libnss3-1d.postrm
  - add debian/libnss3-1d.preinst
  - add debian/libnss3-1d.prerm
* remove hack from debian/rules that debian uses to recreate
  libsoftokn3.so with a versioned SONAME
  - update debian/rules
* install the unversioned .so binaries
  - update debian/rules
* only install the 4 main libraries into /usr/lib; all the others
  go to pkglibdir
  - update debian/rules
* higher bar for libnspr4 Build-Depend to >= 4.7.3~, which is
  the version where the soname droppage is going to happen
  - update debian/control
* explitily pass libraries to be used for dpkg-gensymbols run of
  dh_makeshlibs
  - update debian/rules
* fix lintian complain about no-shlibs-control-file
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
393
393
  kill_selfserv
394
394
  
395
395
  P_R_SERVERDIR=$OR_P_R_SERVERDIR
 
396
  P_R_CLIENTDIR=$OR_P_R_CLIENTDIR
396
397
  
397
398
  rm -f ${TEST_IN} ${TEST_OUT}
398
399
  html "</TABLE><BR>"
431
432
  OR_P_R_SERVERDIR=$P_R_SERVERDIR
432
433
  P_R_SERVERDIR=${serDbDir}
433
434
  OR_P_R_CLIENTDIR=$P_R_CLIENTDIR
434
 
  P_R_CLIENTDIR=$serDbDir
 
435
  P_R_CLIENTDIR=${serDbDir}
435
436
 
436
437
  SSLAUTH_TMP=${TMP}/authin.tl.tmp
437
438
 
486
487
      kill_selfserv
487
488
      rm -f $TEST_OUT $TEST_IN 2>&1 > /dev/null
488
489
  done < ${SSLAUTH_TMP}
 
490
 
489
491
  P_R_SERVERDIR=$OR_P_R_SERVERDIR
 
492
  P_R_CLIENTDIR=$OR_P_R_CLIENTDIR
490
493
 
491
494
  rm -f ${SSLAUTH_TMP} ${TEST_IN} ${TEST_OUT}
492
495
  html "</TABLE><BR>"
583
586
      done
584
587
      kill_selfserv
585
588
  done < ${SSLAUTH_TMP}
 
589
 
586
590
  P_R_SERVERDIR=$OR_P_R_SERVERDIR
 
591
  P_R_CLIENTDIR=$OR_P_R_CLIENTDIR
587
592
 
588
593
  rm -f ${SSLAUTH_TMP}
589
594
  html "</TABLE><BR>"
599
604
# Returns 1 if interoperability testing is off, 0 otherwise. 
600
605
#
601
606
ssl_iopr_run() {
602
 
    NO_ECC_CERTS=1 # disable ECC for interoperability tests
603
 
 
604
607
    if [ "$IOPR" -ne 1 ]; then
605
608
        return 1
606
609
    fi
607
610
    cd ${CLIENTDIR}
 
611
    
 
612
    ORIG_ECC_CERT=${NO_ECC_CERTS}
 
613
    NO_ECC_CERTS=1 # disable ECC for interoperability tests
608
614
 
609
615
    num=1
610
616
    IOPR_HOST_PARAM=`echo "${IOPR_HOSTADDR_LIST} " | cut -f $num -d' '`
660
666
        num=`expr $num + 1`
661
667
        IOPR_HOST_PARAM=`echo "${IOPR_HOSTADDR_LIST} " | cut -f $num -d' '`
662
668
    done
663
 
    NO_ECC_CERTS=0
 
669
    NO_ECC_CERTS=${ORIG_ECC_CERTS}
664
670
    return 0
665
671
}
666
672