[Pkg-freeipa-devel] certmonger: Changes to 'master'

Timo Aaltonen tjaalton at moszumanska.debian.org
Tue Jul 21 13:26:23 UTC 2015


 Makefile.am                                       |    3 
 STATUS                                            |   17 
 certmonger.spec                                   |  166 +
 configure.ac                                      |  131 +
 debian/changelog                                  |    7 
 debian/control                                    |    1 
 doc/api.txt                                       |    4 
 doc/design.txt                                    |  215 +-
 doc/getting-started.txt                           |   45 
 doc/helpers.txt                                   |  227 ++
 doc/scep.odp                                      |binary
 doc/scep.txt                                      |   38 
 doc/selinux.txt                                   |    2 
 doc/submit.txt                                    |   48 
 po/ach.po                                         | 1339 +++++++++++----
 po/af.po                                          | 1339 +++++++++++----
 po/af_ZA.po                                       | 1307 +++++++++++---
 po/aln.po                                         | 1339 +++++++++++----
 po/am.po                                          | 1339 +++++++++++----
 po/ar.po                                          | 1342 +++++++++++----
 po/as.po                                          | 1339 +++++++++++----
 po/ast.po                                         | 1339 +++++++++++----
 po/az.po                                          | 1339 +++++++++++----
 po/bal.po                                         | 1339 +++++++++++----
 po/be.po                                          | 1342 +++++++++++----
 po/bg.po                                          | 1454 ++++++++++++----
 po/bn.po                                          | 1339 +++++++++++----
 po/bn_IN.po                                       | 1339 +++++++++++----
 po/bo.po                                          | 1339 +++++++++++----
 po/br.po                                          | 1339 +++++++++++----
 po/brx.po                                         | 1339 +++++++++++----
 po/bs.po                                          | 1342 +++++++++++----
 po/ca.po                                          | 1843 ++++++++++++++------
 po/certmonger.pot                                 | 1309 +++++++++++---
 po/cs.po                                          | 1339 +++++++++++----
 po/cs_CZ.po                                       | 1307 +++++++++++---
 po/cy.po                                          | 1342 +++++++++++----
 po/da.po                                          | 1395 ++++++++++++---
 po/de.po                                          | 1457 ++++++++++++----
 po/de_CH.po                                       | 1339 +++++++++++----
 po/dz.po                                          | 1339 +++++++++++----
 po/el.po                                          | 1339 +++++++++++----
 po/en_GB.po                                       | 1339 +++++++++++----
 po/eo.po                                          | 1339 +++++++++++----
 po/es.po                                          | 1559 +++++++++++++----
 po/es_ES.po                                       | 1307 +++++++++++---
 po/et.po                                          | 1339 +++++++++++----
 po/eu.po                                          | 1344 +++++++++++----
 po/eu_ES.po                                       | 1307 +++++++++++---
 po/fa.po                                          | 1339 +++++++++++----
 po/fa_IR.po                                       | 1307 +++++++++++---
 po/fi.po                                          | 1339 +++++++++++----
 po/fr.po                                          | 1507 ++++++++++++----
 po/ga.po                                          | 1342 +++++++++++----
 po/gl.po                                          | 1339 +++++++++++----
 po/gu.po                                          | 1344 +++++++++++----
 po/he.po                                          | 1339 +++++++++++----
 po/hi.po                                          | 1339 +++++++++++----
 po/hr.po                                          | 1342 +++++++++++----
 po/hr_HR.po                                       | 1307 +++++++++++---
 po/hu.po                                          | 1490 ++++++++++++----
 po/hy.po                                          | 1339 +++++++++++----
 po/ia.po                                          | 1339 +++++++++++----
 po/id.po                                          | 1381 +++++++++++----
 po/ilo.po                                         | 1339 +++++++++++----
 po/is.po                                          | 1339 +++++++++++----
 po/it.po                                          | 1425 ++++++++++++---
 po/it_IT.po                                       | 1307 +++++++++++---
 po/ja.po                                          | 1388 +++++++++++----
 po/ja_JP.po                                       | 1307 +++++++++++---
 po/ka.po                                          | 1339 +++++++++++----
 po/kk.po                                          | 1339 +++++++++++----
 po/km.po                                          | 1339 +++++++++++----
 po/kn.po                                          | 1339 +++++++++++----
 po/ko.po                                          | 1339 +++++++++++----
 po/ks.po                                          | 1339 +++++++++++----
 po/ku.po                                          | 1339 +++++++++++----
 po/ky.po                                          | 1339 +++++++++++----
 po/la.po                                          | 1339 +++++++++++----
 po/lo.po                                          | 1339 +++++++++++----
 po/lt.po                                          | 1406 ++++++++++++---
 po/lv.po                                          | 1342 +++++++++++----
 po/mai.po                                         | 1339 +++++++++++----
 po/mg.po                                          | 1339 +++++++++++----
 po/mk.po                                          | 1339 +++++++++++----
 po/ml.po                                          | 1339 +++++++++++----
 po/mn.po                                          | 1339 +++++++++++----
 po/mr.po                                          | 1339 +++++++++++----
 po/ms.po                                          | 1339 +++++++++++----
 po/ms_MY.po                                       | 1307 +++++++++++---
 po/my.po                                          | 1339 +++++++++++----
 po/nb.po                                          | 1344 +++++++++++----
 po/nds.po                                         | 1339 +++++++++++----
 po/ne.po                                          | 1339 +++++++++++----
 po/nl.po                                          | 1504 ++++++++++++----
 po/nn.po                                          | 1339 +++++++++++----
 po/no.po                                          | 1339 +++++++++++----
 po/nso.po                                         | 1339 +++++++++++----
 po/or.po                                          | 1339 +++++++++++----
 po/pa.po                                          | 1339 +++++++++++----
 po/pl.po                                          | 1479 ++++++++++++----
 po/pt.po                                          | 1412 ++++++++++++---
 po/pt_BR.po                                       | 1541 +++++++++++++----
 po/ro.po                                          | 1342 +++++++++++----
 po/ru.po                                          | 1360 +++++++++++----
 po/ru_RU.po                                       | 1344 +++++++++++----
 po/si.po                                          | 1339 +++++++++++----
 po/sk.po                                          | 1339 +++++++++++----
 po/sl.po                                          | 1342 +++++++++++----
 po/sq.po                                          | 1339 +++++++++++----
 po/sr.po                                          | 1342 +++++++++++----
 po/sr at latin.po                                    | 1342 +++++++++++----
 po/sv.po                                          | 1428 ++++++++++++----
 po/ta.po                                          | 1342 +++++++++++----
 po/ta_IN.po                                       | 1307 +++++++++++---
 po/te.po                                          | 1339 +++++++++++----
 po/tg.po                                          | 1339 +++++++++++----
 po/th.po                                          | 1339 +++++++++++----
 po/tl.po                                          | 1339 +++++++++++----
 po/tr.po                                          | 1342 +++++++++++----
 po/uk.po                                          | 1524 +++++++++++++----
 po/uk_UA.po                                       | 1307 +++++++++++---
 po/ur.po                                          | 1339 +++++++++++----
 po/uz.po                                          | 1339 +++++++++++----
 po/vi.po                                          | 1339 +++++++++++----
 po/wo.po                                          | 1339 +++++++++++----
 po/xh.po                                          | 1339 +++++++++++----
 po/zh_CN.GB2312.po                                | 1931 +++++++++++++++++++++
 po/zh_CN.po                                       | 1377 +++++++++++----
 po/zh_HK.po                                       | 1339 +++++++++++----
 po/zh_TW.Big5.po                                  | 1931 +++++++++++++++++++++
 po/zh_TW.po                                       | 1353 +++++++++++----
 po/zu.po                                          | 1339 +++++++++++----
 src/Makefile.am                                   |  107 -
 src/cadata.c                                      |  449 ++++-
 src/cadata.h                                      |    5 
 src/canalyze.c                                    |  108 +
 src/canalyze.h                                    |    3 
 src/casave.c                                      |  140 +
 src/certext.c                                     |  246 ++
 src/certmaster-getcert.1.in                       |   14 
 src/certmaster.c                                  |   79 
 src/certmonger-certmaster-submit.8.in             |   11 
 src/certmonger-dogtag-ipa-renew-agent-submit.8.in |   32 
 src/certmonger-dogtag-submit.8.in                 |  239 ++
 src/certmonger-ipa-submit.8.in                    |   29 
 src/certmonger-local-submit.8.in                  |   12 
 src/certmonger-scep-submit.8.in                   |  146 +
 src/certmonger.8.in                               |   41 
 src/certmonger.conf.5.in                          |   43 
 src/certmonger.conf.in                            |    3 
 src/certread-n.c                                  |   10 
 src/certread-o.c                                  |    7 
 src/certread.c                                    |   12 
 src/certsave-int.h                                |   10 
 src/certsave-n.c                                  |  312 +++
 src/certsave-o.c                                  |  353 +++
 src/certsave.c                                    |   21 
 src/certsave.h                                    |    7 
 src/cm.c                                          |   51 
 src/cm.h                                          |    4 
 src/csrgen-int.h                                  |    3 
 src/csrgen-n.c                                    |  499 +++++
 src/csrgen-o.c                                    |  170 +
 src/csrgen.c                                      |   69 
 src/dogtag-ipa.c                                  |   50 
 src/dogtag-ipa.h                                  |   23 
 src/dogtag.c                                      |  426 +++-
 src/env-session.c                                 |    6 
 src/env-shared.c                                  |    6 
 src/env-system.c                                  |   11 
 src/getcert-add-ca.1.in                           |   52 
 src/getcert-add-scep-ca.1.in                      |   84 
 src/getcert-list-cas.1.in                         |    9 
 src/getcert-list.1.in                             |   65 
 src/getcert-modify-ca.1.in                        |   47 
 src/getcert-refresh-ca.1.in                       |    9 
 src/getcert-refresh.1.in                          |    9 
 src/getcert-remove-ca.1.in                        |   45 
 src/getcert-request.1.in                          |   22 
 src/getcert-resubmit.1.in                         |   22 
 src/getcert-start-tracking.1.in                   |   22 
 src/getcert-status.1.in                           |   11 
 src/getcert-stop-tracking.1.in                    |   11 
 src/getcert.1.in                                  |   25 
 src/getcert.c                                     | 1961 +++++++++++++++++++---
 src/hook.c                                        |    2 
 src/introspect.sh.in                              |   15 
 src/ipa-getcert.1.in                              |   12 
 src/ipa.c                                         |  837 ++++++---
 src/iterate.c                                     |  625 ++++++-
 src/json.c                                        | 1155 ++++++++++++
 src/json.h                                        |   78 
 src/keygen-n.c                                    |  245 ++
 src/keygen-o.c                                    |  160 +
 src/keyiread-n.c                                  |   94 -
 src/keyiread-n.h                                  |    6 
 src/keyiread-o.c                                  |   78 
 src/keyiread.c                                    |   60 
 src/local-getcert.1.in                            |   12 
 src/local.c                                       |   71 
 src/log.h                                         |    2 
 src/main.c                                        |  200 +-
 src/notify.c                                      |   41 
 src/notify.h                                      |    1 
 src/pkcs7.c                                       | 1208 +++++++++++++
 src/pkcs7.h                                       |   66 
 src/prefs-n.c                                     |   56 
 src/prefs-n.h                                     |    4 
 src/prefs-o.c                                     |   29 
 src/prefs-o.h                                     |    2 
 src/prefs.c                                       |   71 
 src/prefs.h                                       |   11 
 src/scep-o.c                                      |   82 
 src/scep-o.h                                      |   28 
 src/scep.c                                        | 1109 ++++++++++++
 src/scep.h                                        |   47 
 src/scepgen-int.h                                 |   51 
 src/scepgen-n.c                                   |  475 +++++
 src/scepgen-o.c                                   |  855 +++++++++
 src/scepgen.c                                     |  115 +
 src/scepgen.h                                     |   57 
 src/selfsign-getcert.1.in                         |   12 
 src/srvloc.c                                      |  249 ++
 src/srvloc.h                                      |   31 
 src/store-files.c                                 |  509 +++++
 src/store-gen.c                                   |   42 
 src/store-int.h                                   |   76 
 src/store.h                                       |    2 
 src/submit-d.c                                    |  393 +++-
 src/submit-d.h                                    |   12 
 src/submit-e.c                                    |  831 +++++++--
 src/submit-e.h                                    |   13 
 src/submit-h.c                                    |  140 -
 src/submit-h.h                                    |    5 
 src/submit-int.h                                  |   25 
 src/submit-n.c                                    |  471 +++++
 src/submit-o.c                                    |  109 +
 src/submit-o.h                                    |    3 
 src/submit-sn.c                                   |   48 
 src/submit-so.c                                   |   50 
 src/submit-u.c                                    |   33 
 src/submit-x.c                                    |  108 -
 src/submit.c                                      |   14 
 src/submit.h                                      |    6 
 src/subproc.c                                     |   35 
 src/subproc.h                                     |    2 
 src/tdbus.c                                       |  371 +++-
 src/tdbus.h                                       |   29 
 src/tdbush.c                                      |  743 ++++++++
 src/tdbush.h                                      |    3 
 src/tdbusm-check.c                                |   46 
 src/tdbusm.c                                      |   61 
 src/tdbusm.h                                      |    3 
 src/tlslayer.c                                    |   75 
 src/toklist.c                                     |   44 
 src/util-m.h                                      |    4 
 src/util-n.c                                      |  191 ++
 src/util-n.h                                      |   10 
 src/util-o.c                                      |  119 +
 src/util-o.h                                      |   12 
 systemd/Makefile.am                               |    5 
 systemd/certmonger.path.in                        |    9 
 systemd/org.fedorahosted.certmonger.service.in    |    4 
 tests/001-keyiread-dsa/expected.out               |   36 
 tests/001-keyiread-dsa/run.sh                     |   10 
 tests/002-keygen-dsa/expected.out.2               |   45 
 tests/002-keygen-dsa/expected.out.3               |   45 
 tests/002-keygen/expected.out                     |   72 
 tests/002-keygen/run.sh                           |   22 
 tests/003-csrgen-dsa/expected.out                 |    2 
 tests/003-csrgen-dsa/run.sh                       |    7 
 tests/003-csrgen-ec/expected.out                  |    2 
 tests/003-csrgen-ec/run.sh                        |    7 
 tests/003-csrgen/expected.out                     |   48 
 tests/003-csrgen/run.sh                           |   94 -
 tests/004-selfsign/run.sh                         |    3 
 tests/005-dbusm/expected.out                      |    1 
 tests/008-certread/expected.out                   |    1 
 tests/010-iterate/expected.out                    |  232 ++
 tests/010-iterate/run.sh                          |  237 ++
 tests/019-dparse/expected.out                     |  162 +
 tests/019-dparse/good.profileList                 | 1028 +++++++++++
 tests/019-dparse/good.profileSubmit.issued        |    1 
 tests/019-dparse/run.sh                           |    4 
 tests/021-resume/expected.out                     |  436 +++-
 tests/021-resume/run.sh                           |   23 
 tests/023-cadata/expected.out                     |   24 
 tests/023-cadata/run.sh                           |   23 
 tests/024-citerate/expected.out                   |  200 ++
 tests/024-citerate/run.sh                         |    8 
 tests/025-casave/expected.out                     |   62 
 tests/025-casave/run.sh                           |  186 ++
 tests/028-dbus/entry                              |    6 
 tests/028-dbus/expected.out                       |   62 
 tests/028-dbus/run.sh                             |    1 
 tests/028-dbus/walk.py                            |   47 
 tests/030-rekey/expected.out                      |  345 +++
 tests/030-rekey/run.sh                            |  246 ++
 tests/031-pkcs7/expected.out                      |  209 ++
 tests/031-pkcs7/prequal.sh                        |    2 
 tests/031-pkcs7/run.sh                            |  252 ++
 tests/032-chain/expected.out                      |    1 
 tests/032-chain/run.sh                            |   54 
 tests/033-scep/expected.out                       |   24 
 tests/033-scep/run.sh                             |  213 ++
 tests/034-perms-dbm/expected.out                  |   94 +
 tests/034-perms-dbm/run.sh                        |    2 
 tests/034-perms-sql/expected.out                  |   94 +
 tests/034-perms-sql/run.sh                        |    2 
 tests/034-perms/expected.out                      |   94 +
 tests/034-perms/run.sh                            |  199 ++
 tests/035-json/bad.1                              |   14 
 tests/035-json/bad.15                             |    1 
 tests/035-json/bad.1a                             |   14 
 tests/035-json/bad.1b                             |   14 
 tests/035-json/bad.1c                             |   14 
 tests/035-json/bad.1d                             |   13 
 tests/035-json/bad.1e                             |   14 
 tests/035-json/bad.2                              |binary
 tests/035-json/bad.3                              |    1 
 tests/035-json/bad.4                              |   60 
 tests/035-json/bad.5                              |    1 
 tests/035-json/bad.6                              |    1 
 tests/035-json/bad.8                              |    1 
 tests/035-json/bad.9                              |    1 
 tests/035-json/expected.out                       |   66 
 tests/035-json/good.1                             |   14 
 tests/035-json/good.10                            |    1 
 tests/035-json/good.11                            |    1 
 tests/035-json/good.12                            |    1 
 tests/035-json/good.13                            |    1 
 tests/035-json/good.14                            |    1 
 tests/035-json/good.15                            |    1 
 tests/035-json/good.16                            |   22 
 tests/035-json/good.17                            |   23 
 tests/035-json/good.18                            |   22 
 tests/035-json/good.19                            |   11 
 tests/035-json/good.2                             |   23 
 tests/035-json/good.20                            |   26 
 tests/035-json/good.21                            |   88 
 tests/035-json/good.22                            |   27 
 tests/035-json/good.2a                            |   10 
 tests/035-json/good.2b                            |   10 
 tests/035-json/good.2c                            |   12 
 tests/035-json/good.3                             |    1 
 tests/035-json/good.4                             |    1 
 tests/035-json/good.5                             |    1 
 tests/035-json/good.6                             |    1 
 tests/035-json/good.7                             |    1 
 tests/035-json/good.8                             |    1 
 tests/035-json/good.9                             |    1 
 tests/035-json/run.sh                             |   20 
 tests/036-getcert/expected.out                    |   74 
 tests/036-getcert/run.sh                          |  190 ++
 tests/037-rekey2/expected.out                     |  233 ++
 tests/037-rekey2/run.sh                           |  205 ++
 tests/Makefile.am                                 |   48 
 tests/run-tests.sh                                |   16 
 tests/tools/Makefile.am                           |   18 
 tests/tools/addcinfo.c                            |  109 +
 tests/tools/base2pem.c                            |   29 
 tests/tools/base64.c                              |   46 
 tests/tools/cachain.sh                            |   90 +
 tests/tools/cadata.c                              |   72 
 tests/tools/casave.c                              |   58 
 tests/tools/dparse.c                              |   27 
 tests/tools/hooks.c                               |   58 
 tests/tools/iterate.c                             |   68 
 tests/tools/json-utf8.c                           |  112 +
 tests/tools/json.c                                |  187 ++
 tests/tools/keyiread.c                            |   85 
 tests/tools/ls.c                                  |   82 
 tests/tools/pk7decrypt.c                          |  106 +
 tests/tools/pk7env.c                              |  183 ++
 tests/tools/pk7parse.c                            |  102 +
 tests/tools/pk7verify.c                           |  159 +
 tests/tools/prefs.c                               |    9 
 tests/tools/printenv.c                            |   40 
 tests/tools/scepgen.c                             |  142 +
 tests/tools/srv.c                                 |   53 
 tests/tools/submit.c                              |   22 
 zanata.xml                                        |  106 +
 383 files changed, 151950 insertions(+), 38951 deletions(-)

New commits:
commit 3a5d156f14c9f68350b27e305a0d354adc15fd56
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue Jul 21 16:26:10 2015 +0300

    control: Add libpopt-dev to build-depends.

diff --git a/debian/changelog b/debian/changelog
index 0b99171..d7d4473 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 certmonger (0.78.3-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * control: Add libpopt-dev to build-depends.
 
  -- Timo Aaltonen <tjaalton at debian.org>  Tue, 21 Jul 2015 15:15:53 +0300
 
diff --git a/debian/control b/debian/control
index 217cb91..4ba22a7 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: debhelper (>= 9), dh-autoreconf, quilt,
  libnspr4-dev,
  libnss3-tools,
  libnss3-dev,
+ libpopt-dev,
  libssl-dev,
  libsystemd-dev [linux-any],
  libtevent-dev,

commit c3d06a2683904f45cf9e139c46fd29d89538c430
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue Jul 21 16:25:56 2015 +0300

    bump the version

diff --git a/debian/changelog b/debian/changelog
index 2062df3..0b99171 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+certmonger (0.78.3-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Tue, 21 Jul 2015 15:15:53 +0300
+
 certmonger (0.75.14-4) unstable; urgency=medium
 
   [ Michael Biebl ]

commit db5f3f9413a71d4e58234f1da9f1309d928f6439
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Mon Jul 20 14:30:16 2015 -0400

    tag 0.78.3

diff --git a/certmonger.spec b/certmonger.spec
index 593d273..0f91fea 100644
--- a/certmonger.spec
+++ b/certmonger.spec
@@ -25,7 +25,7 @@
 %endif
 
 Name:		certmonger
-Version:	0.78.2
+Version:	0.78.3
 Release:	1%{?dist}
 Summary:	Certificate status monitor and PKI enrollment client
 
@@ -242,6 +242,10 @@ exit 0
 %endif
 
 %changelog
+* Mon Jul 20 2015 Nalin Dahyabhai <nalin at redhat.com> 0.78.3-1
+- call poptGetOptArg() correctly, to fix parsing of the -R flag to scep-submit
+  and the -O and -o flags to dogtag-submit (#1244914)
+
 * Thu Jul  9 2015 Nalin Dahyabhai <nalin at redhat.com> 0.78.2-1
 - tweak initialization so that we set up for providing our D-Bus API before we
   register our name with the bus, so that we can handle any requests that
diff --git a/configure.ac b/configure.ac
index dea762e..cc5dcae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(certmonger,0.78.2)
+AC_INIT(certmonger,0.78.3)
 AM_INIT_AUTOMAKE([foreign subdir-objects])
 AC_CONFIG_MACRO_DIR(m4)
 AM_MAINTAINER_MODE([enable])

commit 014f00265263a4e24407605fe5fff0a6fb62e304
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Mon Jul 20 14:21:50 2015 -0400

    Use poptGetOptArg() correctly
    
    Only call poptGetOptArg() once per option, since it appears to be
    returning NULL if we call it more than once per option.

diff --git a/src/dogtag.c b/src/dogtag.c
index af94669..c3b12ae 100644
--- a/src/dogtag.c
+++ b/src/dogtag.c
@@ -120,6 +120,7 @@ main(int argc, const char **argv)
 	const char *csr = NULL, *serial = NULL, *template = NULL;
 	const char *uid = NULL, *pwd = NULL, *pwdfile = NULL;
 	const char *udn = NULL, *pin = NULL, *pinfile = NULL;
+	char *poptarg;
 	struct {
 		char *name;
 		char *value;
@@ -220,7 +221,8 @@ main(int argc, const char **argv)
 			serial = util_dec_from_hex(poptGetOptArg(pctx));
 			break;
 		case 'O':
-			if (strchr(poptGetOptArg(pctx), '=') == NULL) {
+			poptarg = poptGetOptArg(pctx);
+			if (strchr(poptarg, '=') == NULL) {
 				printf(_("Profile params (-O) must be in the form of param=value.\n"));
 				poptPrintUsage(pctx, stdout, 0);
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
@@ -231,7 +233,7 @@ main(int argc, const char **argv)
 				printf(_("Out of memory.\n"));
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
 			}
-			p = strdup(poptGetOptArg(pctx));
+			p = strdup(poptarg);
 			if (p == NULL) {
 				printf(_("Out of memory.\n"));
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
@@ -242,7 +244,8 @@ main(int argc, const char **argv)
 			aoptions[num_aoptions - 1].value = p + i + 1;
 			break;
 		case 'o':
-			if (strchr(poptGetOptArg(pctx), '=') == NULL) {
+			poptarg = poptGetOptArg(pctx);
+			if (strchr(poptarg, '=') == NULL) {
 				printf(_("Submit params (-o) must be in the form of param=value.\n"));
 				poptPrintUsage(pctx, stdout, 0);
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
@@ -253,7 +256,7 @@ main(int argc, const char **argv)
 				printf(_("Out of memory.\n"));
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
 			}
-			p = strdup(poptGetOptArg(pctx));
+			p = strdup(poptarg);
 			if (p == NULL) {
 				printf(_("Out of memory.\n"));
 				return CM_SUBMIT_STATUS_UNCONFIGURED;
diff --git a/src/scep.c b/src/scep.c
index 658cb15..c5db5dc 100644
--- a/src/scep.c
+++ b/src/scep.c
@@ -323,8 +323,8 @@ main(int argc, const char **argv)
 			racert = cm_submit_u_from_file(poptGetOptArg(pctx));
 			break;
 		case 'R':
-			cacert = cm_submit_u_from_file(poptGetOptArg(pctx));
 			cainfo = poptGetOptArg(pctx);
+			cacert = cm_submit_u_from_file(cainfo);
 			break;
 		case 'I':
 			certs = cm_submit_u_from_file(poptGetOptArg(pctx));

commit 8e327dd54008c867e1b8152fa72cc0558167d366
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Thu Jul 9 15:34:25 2015 -0400

    tag 0.78.2

diff --git a/certmonger.spec b/certmonger.spec
index 40f6334..593d273 100644
--- a/certmonger.spec
+++ b/certmonger.spec
@@ -25,7 +25,7 @@
 %endif
 
 Name:		certmonger
-Version:	0.78.1
+Version:	0.78.2
 Release:	1%{?dist}
 Summary:	Certificate status monitor and PKI enrollment client
 
@@ -242,6 +242,15 @@ exit 0
 %endif
 
 %changelog
+* Thu Jul  9 2015 Nalin Dahyabhai <nalin at redhat.com> 0.78.2-1
+- tweak initialization so that we set up for providing our D-Bus API before we
+  register our name with the bus, so that we can handle any requests that
+  arrive before the acknowledgement of that registration
+- on systems that run systemd, add the right data file so that the service gets
+  started when someone tries to talk to the daemon (ticket #38)
+- correctly check for error responses when sending GetCAChain requests to SCEP
+  servers
+
 * Sun Jun 21 2015 Nalin Dahyabhai <nalin at redhat.com> 0.78.1-1
 - self-tests: assume that certutil won't generate DSA keys with more than 1024
   bits, and will often short us by a few
diff --git a/configure.ac b/configure.ac
index f2f1b30..dea762e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(certmonger,0.78.1)
+AC_INIT(certmonger,0.78.2)
 AM_INIT_AUTOMAKE([foreign subdir-objects])
 AC_CONFIG_MACRO_DIR(m4)
 AM_MAINTAINER_MODE([enable])

commit 1eb3698e2f47309671b9cc3fb61e370bcc9fd9d7
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Thu Jul 9 15:52:15 2015 -0400

    Updated translations

diff --git a/po/bg.po b/po/bg.po
index ba1dddb..b36ea5a 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -1,24 +1,24 @@
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Red Hat, Inc.
 # This file is distributed under the same license as the PACKAGE package.
-#
+# 
 # Translators:
 # Boris Yakimov <borisyakimov at ymail.com>, 2012
 # Valentin Laskov <laskov at festa.bg>, 2011-2013
 # Valentin Laskov <laskov at festa.bg>, 2015. #zanata
 msgid ""
 msgstr ""
-"Project-Id-Version: certmonger 0.77.3\n"
+"Project-Id-Version: certmonger 0.78\n"
 "Report-Msgid-Bugs-To: certmonger-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2015-06-20 10:28-0400\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
 "PO-Revision-Date: 2015-04-14 04:13-0400\n"
 "Last-Translator: Valentin Laskov <laskov at festa.bg>\n"
 "Language-Team: Bulgarian (http://www.transifex.com/projects/p/certmonger/"
 "language/bg/)\n"
 "Language: bg\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Zanata 3.6.2\n"
 
@@ -475,8 +475,7 @@ msgstr "%s: грешна опция -- '%c'⏎\n"
 #: src/getcert.c:992
 #, c-format
 msgid "Error: unused extra argument \"%s\".\n"
-msgstr ""
-"Грешка: неизползван допълнителен аргумент \"%s\".⏎\n"
+msgstr "Грешка: неизползван допълнителен аргумент \"%s\".⏎\n"
 "\n"
 
 #: src/getcert.c:995 src/getcert.c:2011 src/getcert.c:2629 src/getcert.c:3044
@@ -597,8 +596,8 @@ msgstr ""
 #: src/getcert.c:2032 src/getcert.c:3038
 #, c-format
 msgid ""
-"None of ID or database directory and nickname or certificate file "
-"specified.\n"
+"None of ID or database directory and nickname or certificate file specified."
+"\n"
 msgstr ""
 "Никое от ID, или директория на базата данни и псевдоним, или файл със "
 "сертификат не е определено.\n"
@@ -1691,8 +1690,7 @@ msgstr ""
 
 #: src/ipa.c:804
 #, c-format
-msgid ""
-"Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
+msgid "Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
 msgstr ""
 
 #: src/ipa.c:811
@@ -1776,9 +1774,9 @@ msgid "print version information"
 msgstr ""
 
 #: src/main.c:174
-#, fuzzy, c-format
+#, c-format
 msgid "Usage: %s [-s|-S] [-n|-f] [-d LEVEL] [-p FILE] [-F] [-v]\n"
-msgstr "Употреба: %s [-s|-S] [-n|-f] [-d LEVEL] [-p FILE] [-F]\n"
+msgstr ""
 
 #: src/main.c:177
 msgid "\t-s         use session bus\n"
@@ -1915,6 +1913,7 @@ msgstr "Вече има заявка с псевдонима \"%s\"."
 #, c-format
 msgid ""
 "Certificate at same location is already used by request with nickname \"%s\"."
+""
 msgstr ""
 "Сертификатът на зададеното място вече се използва  от друг псевдоним \"%s\"."
 
diff --git a/po/ca.po b/po/ca.po
index 5d0b8a5..0793cb3 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -1,16 +1,16 @@
 # Robert Antoni Buj Gelonch <rbuj at fedoraproject.org>, 2015. #zanata
 msgid ""
 msgstr ""
-"Project-Id-Version: certmonger 0.77.3\n"
+"Project-Id-Version: certmonger 0.78\n"
 "Report-Msgid-Bugs-To: certmonger-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2015-06-20 10:28-0400\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
 "PO-Revision-Date: 2015-05-14 04:58-0400\n"
 "Last-Translator: Robert Antoni Buj Gelonch <rbuj at fedoraproject.org>\n"
 "Language-Team: Catalan\n"
 "Language: ca\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
 "X-Generator: Zanata 3.6.2\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
@@ -38,7 +38,8 @@ msgstr "S'ha produït un error en preparar-se per a l'XMLRPC.\n"
 #, c-format
 msgid "Error parsing server response.\n"
 msgstr ""
-"S'ha produït un error en analitzar sintàcticament la resposta del servidor.\n"
+"S'ha produït un error en analitzar sintàcticament la resposta del servidor."
+"\n"
 
 #: src/certmaster.c:203
 #, c-format
@@ -620,8 +621,8 @@ msgstr "reemplaça l'adreça IP sol·licitada"
 #: src/getcert.c:2032 src/getcert.c:3038
 #, c-format
 msgid ""
-"None of ID or database directory and nickname or certificate file "
-"specified.\n"
+"None of ID or database directory and nickname or certificate file specified."
+"\n"
 msgstr ""
 "No s'ha especificat cap Id. ni tampoc cap directori de la base de dades i el "
 "sobrenom o cap fitxer de certificat.\n"
@@ -1347,8 +1348,8 @@ msgstr "  -I NOM\tsobrenom a donar a la sol·licitud de seguiment\n"
 #: src/getcert.c:4684
 msgid "* Parameters for the signing request at renewal time:\n"
 msgstr ""
-"* Paràmetres per a la sol·licitud de signatura en el moment de la "
-"renovació:\n"
+"* Paràmetres per a la sol·licitud de signatura en el moment de la renovació:"
+"\n"
 
 #: src/getcert.c:4685
 msgid "  -U EXTUSAGE\toverride requested extended key usage OID\n"
@@ -1499,12 +1500,12 @@ msgstr "* Quan s'utilitzi una base de dades NSS per a l'emmagatzematge:\n"
 #: src/getcert.c:4877
 msgid "  -d DIR\treturn status for the request in this NSS database\n"
 msgstr ""
-"  -d DIR\tretorna l'estat per a la sol·licitud en aquesta base de dades NSS\n"
+"  -d DIR\tretorna l'estat per a la sol·licitud en aquesta base de dades "
+"NSS\n"
 
 #: src/getcert.c:4878
 msgid "  -n NAME\treturn status for cert which uses this nickname\n"
-msgstr ""
-"  -n NOM\tretorna l'estat del certificat que utilitzi aquest sobrenom\n"
+msgstr "  -n NOM\tretorna l'estat del certificat que utilitzi aquest sobrenom\n"
 
 #: src/getcert.c:4879
 msgid "* When using files for storage:\n"
@@ -1716,8 +1717,8 @@ msgstr "L'opció -K no pot utilitzar-se amb l'opció -k ni amb l'opció -t.\n"
 #, c-format
 msgid "Unable to determine principal name for signing request.\n"
 msgstr ""
-"No es pot determinar el nom del principal per a la sol·licitud de "
-"signatura.\n"
+"No es pot determinar el nom del principal per a la sol·licitud de signatura."
+"\n"
 
 #: src/ipa.c:786
 #, c-format
@@ -1735,8 +1736,7 @@ msgstr ""
 
 #: src/ipa.c:804
 #, c-format
-msgid ""
-"Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
+msgid "Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
 msgstr ""
 "S'ha produït un error en preparar ccache per a \"%s\" al client mitjançant "
 "la taula de claus predeterminada: %s.\n"
@@ -1826,9 +1826,9 @@ msgid "print version information"
 msgstr ""
 
 #: src/main.c:174
-#, fuzzy, c-format
+#, c-format
 msgid "Usage: %s [-s|-S] [-n|-f] [-d LEVEL] [-p FILE] [-F] [-v]\n"
-msgstr "Ús: %s [-s|-S] [-n|-f] [-d NIVELL] [-p FITXER] [-F]\n"
+msgstr ""
 
 #: src/main.c:177
 msgid "\t-s         use session bus\n"
@@ -1969,6 +1969,7 @@ msgstr "Ja hi ha una sol·licitud amb el sobrenom \"%s\"."
 #, c-format
 msgid ""
 "Certificate at same location is already used by request with nickname \"%s\"."
+""
 msgstr ""
 "El certificat a la mateixa localització ja està utilitzat per la sol·licitud "
 "amb sobrenom \"%s\"."
@@ -2030,4 +2031,5 @@ msgstr "Si us plau, verifiqueu que s'hagi iniciat el servei certmonger.\n"
 #: src/tdbusm.c:2160
 msgid "Please verify that the certmonger service is still running.\n"
 msgstr ""
-"Si us plau, verifiqueu que encara s'estigui executant el servei certmonger.\n"
+"Si us plau, verifiqueu que encara s'estigui executant el servei certmonger."
+"\n"
diff --git a/po/da.po b/po/da.po
index 7e3c4fe..8bf633b 100644
--- a/po/da.po
+++ b/po/da.po
@@ -1,22 +1,22 @@
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Red Hat, Inc.
 # This file is distributed under the same license as the PACKAGE package.
-#
+# 
 # Translators:
 # Kris Thomsen <lakristho at gmail.com>, 2011
 msgid ""
 msgstr ""
-"Project-Id-Version: certmonger 0.77.3\n"
+"Project-Id-Version: certmonger 0.78\n"
 "Report-Msgid-Bugs-To: certmonger-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2015-06-20 10:28-0400\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
 "PO-Revision-Date: 2014-11-11 05:00-0500\n"
 "Last-Translator: Nalin Dahyabhai <nalin at fedoraproject.org>\n"
 "Language-Team: Danish (http://www.transifex.com/projects/p/certmonger/"
 "language/da/)\n"
 "Language: da\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Zanata 3.6.2\n"
 
@@ -589,8 +589,8 @@ msgstr ""
 #: src/getcert.c:2032 src/getcert.c:3038
 #, c-format
 msgid ""
-"None of ID or database directory and nickname or certificate file "
-"specified.\n"
+"None of ID or database directory and nickname or certificate file specified."
+"\n"
 msgstr ""
 "Intet ID eller databasemappe og -kaldenavn eller certifikatfil angivet.\n"
 
@@ -765,8 +765,8 @@ msgstr ",pinfil='%s'"
 #, c-format
 msgid "\tcertificate: type=%s,location='%s'"
 msgstr ""
-"<span class=\"whitespace other\" title=\"Tab\">»</span>certifikat: type=%s,"
-"placering='%s'"
+"<span class=\"whitespace other\" title=\"Tab\">»</span>certifikat: type="
+"%s,placering='%s'"
 
 #: src/getcert.c:3531
 #, c-format
@@ -1385,8 +1385,7 @@ msgstr "* Generelle tilvalg:\n"
 
 #: src/getcert.c:4829
 msgid "  -c CA\tlist only requests and certs associated with this CA\n"
-msgstr ""
-"  -c CA\tvis kun forespørgsler og certifikater forbundet med denne CA\n"
+msgstr "  -c CA\tvis kun forespørgsler og certifikater forbundet med denne CA\n"
 
 #: src/getcert.c:4831
 msgid "  -r\tlist only information about outstanding requests\n"
@@ -1672,8 +1671,7 @@ msgstr ""
 
 #: src/ipa.c:804
 #, c-format
-msgid ""
-"Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
+msgid "Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
 msgstr ""
 
 #: src/ipa.c:811
@@ -1896,6 +1894,7 @@ msgstr "Der er allerede en forespørgsel med kaldenavnet \"%s\"."
 #, c-format
 msgid ""
 "Certificate at same location is already used by request with nickname \"%s\"."
+""
 msgstr ""
 
 #: src/tdbush.c:734
diff --git a/po/de.po b/po/de.po
index 735fcf0..1262354 100644
--- a/po/de.po
+++ b/po/de.po
@@ -1,7 +1,7 @@
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Red Hat, Inc.
 # This file is distributed under the same license as the PACKAGE package.
-#
+# 
 # Translators:
 # Fabian Affolter <fab at fedoraproject.org>, 2014
 # hpeters <hpeters at redhat.com>, 2012
@@ -10,17 +10,17 @@
 # Roman Spirgi <bigant at fedoraproject.org>, 2012-2013
 msgid ""
 msgstr ""
-"Project-Id-Version: certmonger 0.77.3\n"
+"Project-Id-Version: certmonger 0.78\n"
 "Report-Msgid-Bugs-To: certmonger-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2015-06-20 10:28-0400\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
 "PO-Revision-Date: 2014-11-11 05:00-0500\n"
 "Last-Translator: Nalin Dahyabhai <nalin at fedoraproject.org>\n"
 "Language-Team: German (http://www.transifex.com/projects/p/certmonger/"
 "language/de/)\n"
 "Language: de\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Zanata 3.6.2\n"
 
@@ -598,8 +598,8 @@ msgstr ""
 #: src/getcert.c:2032 src/getcert.c:3038
 #, c-format
 msgid ""
-"None of ID or database directory and nickname or certificate file "
-"specified.\n"
+"None of ID or database directory and nickname or certificate file specified."
+"\n"
 msgstr ""
 "Kennung, Datenbankordner, Kurzname und Zertifikatdatei nicht angegeben.\n"
 
@@ -826,8 +826,7 @@ msgstr ""
 #: src/getcert.c:3602
 #, c-format
 msgid "\tkey usage: %s\n"
-msgstr ""
-"Schlüsselbenutzung: %s\n"
+msgstr "Schlüsselbenutzung: %s\n"
 "\n"
 
 #: src/getcert.c:3606
@@ -1216,8 +1215,7 @@ msgstr ""
 
 #: src/getcert.c:4639 src/getcert.c:4686 src/getcert.c:4747 src/getcert.c:4794
 msgid "  -u KEYUSAGE\tset requested key usage value\n"
-msgstr ""
-"  -u SCHLÜSSELNUTZUNG\tGewünschter Wert für SchlüsselBenutzung setzen\n"
+msgstr "  -u SCHLÜSSELNUTZUNG\tGewünschter Wert für SchlüsselBenutzung setzen\n"
 
 #: src/getcert.c:4640 src/getcert.c:4748 src/getcert.c:4795
 msgid "  -K NAME\tset requested principal name\n"
@@ -1492,7 +1490,8 @@ msgstr "Aufruf: %s list-cas [Optionen]\n"
 #: src/getcert.c:4894
 msgid "  -c CA\tlist only information about the CA with this name\n"
 msgstr ""
-"  -c CA\tNr Informationen zu Zertifizierungsstellen dieses Namens auflisten\n"
+"  -c CA\tNr Informationen zu Zertifizierungsstellen dieses Namens "
+"auflisten\n"
 
 #: src/getcert.c:4904
 #, c-format
@@ -1694,8 +1693,7 @@ msgstr ""
 
 #: src/ipa.c:804
 #, c-format
-msgid ""
-"Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
+msgid "Error setting up ccache for \"%s\" on client using default keytab: %s.\n"
 msgstr ""
 
 #: src/ipa.c:811
@@ -1779,9 +1777,9 @@ msgid "print version information"
 msgstr ""
 
 #: src/main.c:174
-#, fuzzy, c-format
+#, c-format
 msgid "Usage: %s [-s|-S] [-n|-f] [-d LEVEL] [-p FILE] [-F] [-v]\n"
-msgstr "Benutzung: %s [-s|-S] [-n|-f] [-d STUFE] [-p DATEI] [-F]\n"
+msgstr ""
 
 #: src/main.c:177
 msgid "\t-s         use session bus\n"
@@ -1918,6 +1916,7 @@ msgstr "Es gibt bereits eine Anfrage mit dem Kurznamen »%s«."
 #, c-format
 msgid ""
 "Certificate at same location is already used by request with nickname \"%s\"."
+""
 msgstr ""
 "Zertifikat am gleichen Speicherort wird bereits von Anfrage mit Kurznamen "
 "»%s« verwendet."
diff --git a/po/es.po b/po/es.po



More information about the Pkg-freeipa-devel mailing list