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

« back to all changes in this revision

Viewing changes to mozilla/security/nss/cmd/signtool/signtool.c

  • 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:
55
55
 */
56
56
char    *progName; /* argv[0] */
57
57
 
58
 
/* password on command line. Use for build testing only */
59
 
char    *password = NULL;
 
58
/* password data */
 
59
secuPWData  pwdata = { PW_NONE, 0 };
60
60
 
61
61
/* directories or files to exclude in descent */
62
62
PLHashTable *excludeDirs = NULL;
185
185
        return - 1;
186
186
    }
187
187
 
188
 
    while (pr_fgets(buf, CMD_FILE_BUFSIZE, fd), buf && *buf != '\0') {
 
188
    while (pr_fgets(buf, CMD_FILE_BUFSIZE, fd)) {
189
189
        char    *eol;
190
190
        linenum++;
191
191
 
643
643
        enableOCSP = 1;
644
644
        break;
645
645
    case PASSWORD_OPT:
646
 
        if (password) {
 
646
        if (pwdata.data) {
647
647
            PR_fprintf(errorFD, errStrings[DUPLICATE_OPTION_ERR],
648
648
                                                "password (-p)");
649
649
            warningCount++;
650
 
            PR_Free(password); 
651
 
            password = NULL;
 
650
            PR_Free(pwdata.data); 
 
651
            pwdata.data = NULL;
652
652
        }
653
653
        if (!arg) {
654
654
            PR_fprintf(errorFD, errStrings[OPTION_NEEDS_ARG_ERR],
656
656
            errorCount++;
657
657
            goto loser;
658
658
        }
659
 
        password = PL_strdup(arg);
 
659
        pwdata.source = PW_PLAINTEXT;
 
660
        pwdata.data = PL_strdup(arg);
660
661
        ate = 1;
661
662
        break;
662
663
    case VERIFY_OPT: