Update to upstream 0.79.10

This commit is contained in:
Rob Crittenden 2020-06-26 16:52:36 -04:00
parent a170c390c3
commit d8aa717596
4 changed files with 7 additions and 174 deletions

1
.gitignore vendored
View File

@ -126,3 +126,4 @@ certmonger-0.28.tar.gz
/certmonger-0.79.7.tar.gz
/certmonger-0.79.8.tar.gz
/certmonger-0.79.9.tar.gz
/certmonger-0.79.10.tar.gz

View File

@ -1,169 +0,0 @@
From 7e4820c6e99d4f696f083e3e5ee78bb868985bbb Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcritten@redhat.com>
Date: Fri, 31 Jan 2020 18:49:33 +0000
Subject: [PATCH] Adjust dbus-python output more for python 3.8
The dbus output changed in due to an upstream bug. It seems that
the behavior changed with the last respin of python3-dbus.
https://gitlab.freedesktop.org/dbus/dbus-python/issues/31
---
tests/028-dbus/expected.out | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/tests/028-dbus/expected.out b/tests/028-dbus/expected.out
index 9f05e0e..82e5b7d 100644
--- a/tests/028-dbus/expected.out
+++ b/tests/028-dbus/expected.out
@@ -47,7 +47,7 @@ CA 'dogtag-ipa-renew-agent':
/org/fedorahosted/certmonger/cas/CA6
/org/fedorahosted/certmonger/cas/CA6
: -> : -k admin@localhost -> :
-0 -> 1 -> 0
+dbus.Boolean(False, variant_level=1) -> dbus.Boolean(True, variant_level=1) -> dbus.Boolean(False, variant_level=1)
[ walk.py ]
[ /: org.freedesktop.DBus.Introspectable.Introspect ]
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
@@ -426,7 +426,7 @@ OK
Buddy
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_autorenew ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_cert_data ]
@@ -436,7 +436,7 @@ Buddy
(dbus.String('CN=$UUID,CN=Local Signing Authority'), dbus.String('$UUID'), dbus.String('CN=localhost'), dbus.Int64(tomorrow), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String('localhost')], signature=dbus.Signature('s')), dbus.Array([dbus.String('host/localhost@LOCALHOST')], signature=dbus.Signature('s')), dbus.Int64(9), dbus.Array([dbus.String('1.3.6.1.5.5.7.3.1')], signature=dbus.Signature('s')))
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_cert_last_checked ]
-recently
+dbus.Int64(recently)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_cert_storage_info ]
(dbus.String('FILE'), dbus.String('$tmpdir/test.crt'))
@@ -460,7 +460,7 @@ recently
(dbus.String('RSA'), dbus.Int64(512))
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_monitoring ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_notification_info ]
(dbus.String('stdout'), dbus.String('daemon.notice'))
@@ -478,20 +478,20 @@ None
None
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.get_submitted_date ]
-recently
+dbus.Int64(recently)
[ /org/fedorahosted/certmonger/requests/Request2 : org.fedorahosted.certmonger.request.modify ]
1 on /org/fedorahosted/certmonger/requests/Request2
After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.String('1.2.3.4.5.6.7.8.9.10')], signature=dbus.Signature('s'), variant_level=1)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.rekey ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.resubmit ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/requests/Request2: org.fedorahosted.certmonger.request.refresh ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas: org.freedesktop.DBus.Introspectable.Introspect ]
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
@@ -606,7 +606,7 @@ $tmpdir/cas/local
local
[ /org/fedorahosted/certmonger/cas/CA1: org.fedorahosted.certmonger.ca.get_is_default ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas/CA1: org.fedorahosted.certmonger.ca.get_type ]
EXTERNAL
@@ -621,7 +621,7 @@ $tmpdir/local-submit
dbus.Array([], signature=dbus.Signature('s'))
[ /org/fedorahosted/certmonger/cas/CA1: org.fedorahosted.certmonger.ca.refresh ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/cas/CA2: org.freedesktop.DBus.Introspectable.Introspect ]
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
@@ -719,7 +719,7 @@ $tmpdir/cas/20180327134236
SelfSign
[ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.get_is_default ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.get_type ]
INTERNAL:SELF
@@ -735,7 +735,7 @@ INTERNAL:SELF
dbus.Array([], signature=dbus.Signature('s'))
[ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.refresh ]
-1
+dbus.Boolean(True)
/org/fedorahosted/certmonger/cas/CA2: property org.fedorahosted.certmonger.ca.scep-cipher not set: (, x)
[ /org/fedorahosted/certmonger/cas/CA3: org.freedesktop.DBus.Introspectable.Introspect ]
@@ -834,7 +834,7 @@ $tmpdir/cas/20180327134236-1
IPA
[ /org/fedorahosted/certmonger/cas/CA3: org.fedorahosted.certmonger.ca.get_is_default ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas/CA3: org.fedorahosted.certmonger.ca.get_type ]
EXTERNAL
@@ -849,7 +849,7 @@ $libexecdir/ipa-submit
dbus.Array([], signature=dbus.Signature('s'))
[ /org/fedorahosted/certmonger/cas/CA3: org.fedorahosted.certmonger.ca.refresh ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/cas/CA4: org.freedesktop.DBus.Introspectable.Introspect ]
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
@@ -947,7 +947,7 @@ $tmpdir/cas/20180327134236-2
certmaster
[ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_is_default ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_type ]
EXTERNAL
@@ -962,7 +962,7 @@ $libexecdir/certmaster-submit
dbus.Array([], signature=dbus.Signature('s'))
[ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.refresh ]
-1
+dbus.Boolean(True)
[ /org/fedorahosted/certmonger/cas/CA5: org.freedesktop.DBus.Introspectable.Introspect ]
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
@@ -1060,7 +1060,7 @@ $tmpdir/cas/20180327134236-3
dogtag-ipa-renew-agent
[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_is_default ]
-0
+dbus.Boolean(False)
[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_type ]
EXTERNAL
@@ -1075,5 +1075,5 @@ $libexecdir/dogtag-ipa-renew-agent-submit
dbus.Array([], signature=dbus.Signature('s'))
[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.refresh ]
-1
+dbus.Boolean(True)
--
2.25.0

View File

@ -25,7 +25,7 @@
%endif
Name: certmonger
Version: 0.79.9
Version: 0.79.10
Release: 1%{?dist}
Summary: Certificate status monitor and PKI enrollment client
@ -33,7 +33,6 @@ License: GPLv3+
URL: http://pagure.io/certmonger/
Source0: http://releases.pagure.org/certmonger/certmonger-%{version}.tar.gz
#Source1: http://releases.pagure.org/certmonger/certmonger-%%{version}.tar.gz.sig
Patch0001: 0001-Adjust-dbus-python-output-more-for-python-3.8.patch
BuildRequires: autoconf
@ -117,8 +116,7 @@ Certmonger is a service which is primarily concerned with getting your
system enrolled with a certificate authority (CA) and keeping it enrolled.
%prep
%setup -q
%patch1 -p1
%autosetup -p1
%if 0%{?rhel} > 0
# Enabled by default for RHEL for bug #765600, still disabled by default for
@ -246,6 +244,9 @@ exit 0
%endif
%changelog
* Thu Jun 25 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.10-1
- Update to upstream 0.79.10
* Thu Jan 30 2020 Rob Crittenden <rcritten@redhat.com> - 0.79.9-1
- Update to upstream 0.79.9

View File

@ -1 +1 @@
SHA512 (certmonger-0.79.9.tar.gz) = d7a783087cdb73426d01255a1da4429c9664267e557373120057fdcbda08e0c2e994a36d525a0a634b62115f76eeab9181ef012d5f38f2fd8711ae6443a8b461
SHA512 (certmonger-0.79.10.tar.gz) = f4a7778e566f22f2547311878f2e399c967f52e01f0622347edee9ca2526178ce9d97bd21cf068aefb98759609e6b641e496bbff2ae58344a82f065885d4ad13