~ubuntu-branches/ubuntu/vivid/gnupg2/vivid

« back to all changes in this revision

Viewing changes to g10/gpg.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-10-30 15:32:48 UTC
  • mfrom: (14.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20141030153248-yzgwg8613ms7hrrz
Tags: 2.0.26-3ubuntu1
* Merge from Debian, remaining changes:
  - Drop sh prefix from openpgp test environment as it leads to exec
    invocations of sh /bin/bash leading to syntax errors from sh.  Fixes
    FTBFS detected in Ubuntu saucy archive rebuild.
  - Add udev rules to give gpg access to some smartcard readers;
    Debian #543217.
  - debian/gnupg2.udev: udev rules to set ACLs on SCM smartcard readers.
  - Add upstart user job for gpg-agent.
  - debian/control: drop dirmngr to Suggests as it is in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
358
358
    oKeyidFormat,
359
359
    oExitOnStatusWriteError,
360
360
    oLimitCardInsertTries,
 
361
    oReaderPort,
 
362
    octapiDriver,
 
363
    opcscDriver,
 
364
    oDisableCCID,
361
365
    oRequireCrossCert,
362
366
    oNoRequireCrossCert,
363
367
    oAutoKeyLocate,
506
510
  ARGPARSE_s_n (oDryRun, "dry-run", N_("do not make any changes")),
507
511
  ARGPARSE_s_n (oInteractive, "interactive", N_("prompt before overwriting")),
508
512
 
509
 
  ARGPARSE_s_n (oUseAgent,      "use-agent", "@"),
510
 
  ARGPARSE_s_n (oNoUseAgent, "no-use-agent", "@"),
511
 
  ARGPARSE_s_s (oGpgAgentInfo, "gpg-agent-info", "@"),
512
 
 
513
513
  ARGPARSE_s_n (oBatch, "batch", "@"),
514
514
  ARGPARSE_s_n (oAnswerYes, "yes", "@"),
515
515
  ARGPARSE_s_n (oAnswerNo, "no", "@"),
761
761
  ARGPARSE_s_s (oAutoKeyLocate, "auto-key-locate", "@"),
762
762
  ARGPARSE_s_n (oNoAutoKeyLocate, "no-auto-key-locate", "@"),
763
763
 
 
764
  /* Dummy options with warnings.  */
 
765
  ARGPARSE_s_n (oUseAgent,      "use-agent", "@"),
 
766
  ARGPARSE_s_n (oNoUseAgent, "no-use-agent", "@"),
 
767
  ARGPARSE_s_s (oGpgAgentInfo, "gpg-agent-info", "@"),
 
768
  ARGPARSE_s_s (oReaderPort, "reader-port", "@"),
 
769
  ARGPARSE_s_s (octapiDriver, "ctapi-driver", "@"),
 
770
  ARGPARSE_s_s (opcscDriver, "pcsc-driver", "@"),
 
771
  ARGPARSE_s_n (oDisableCCID, "disable-ccid", "@"),
 
772
 
764
773
  ARGPARSE_end ()
765
774
};
766
775
 
2239
2248
            obsolete_option (configname, configlineno, "--gpg-agent-info");
2240
2249
            break;
2241
2250
 
 
2251
          case oReaderPort:
 
2252
            obsolete_scdaemon_option (configname, configlineno, "reader-port");
 
2253
            break;
 
2254
          case octapiDriver:
 
2255
            obsolete_scdaemon_option (configname, configlineno, "ctapi-driver");
 
2256
            break;
 
2257
          case opcscDriver:
 
2258
            obsolete_scdaemon_option (configname, configlineno, "pcsc-driver");
 
2259
            break;
 
2260
          case oDisableCCID:
 
2261
            obsolete_scdaemon_option (configname, configlineno, "disable-ccid");
 
2262
            break;
 
2263
 
2242
2264
          case oAnswerYes: opt.answer_yes = 1; break;
2243
2265
          case oAnswerNo: opt.answer_no = 1; break;
2244
2266
          case oKeyring: append_to_strlist( &nrings, pargs.r.ret_str); break;