[Pkg-freeipa-devel] [Git][freeipa-team/freeipa][master] 2 commits: patches: Import a patch to fix ipa cert-find. (Closes: #997952)

Timo Aaltonen (@tjaalton) gitlab at salsa.debian.org
Wed Nov 17 13:42:32 GMT 2021



Timo Aaltonen pushed to branch master at FreeIPA packaging / freeipa


Commits:
a0d1c51f by Timo Aaltonen at 2021-11-17T15:39:07+02:00
patches: Import a patch to fix ipa cert-find. (Closes: #997952)

- - - - -
832131bf by Timo Aaltonen at 2021-11-17T15:41:37+02:00
releasing package freeipa version 4.9.7-2

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-Make-Dogtag-return-XML-for-ipa-cert-find.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+freeipa (4.9.7-2) unstable; urgency=medium
+
+  * lintian: Drop override on python-script-but-no-python-dep, which doesn't exist anymore.
+  * rules: Add fortify flag to CFLAGS, as CPPFLAGS isn't used by the project.
+  * ci: Drop allowed failure for blhc, it passes now.
+  * control: Build-depend on libcurl4-openssl-dev.
+  * fix-paths.diff: Fix some paths in ipaplatform/base.
+  * fix-apache-group.diff: Fix apache group name in ipa.conf tmpfile.
+  * control: Depend on gpg instead of gnupg.
+  * control: Drop libwbclient-sssd from freeipa-client-samba Depends.
+  * patches: Import a patch to fix ipa cert-find. (Closes: #997952)
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Wed, 17 Nov 2021 15:40:55 +0200
+
 freeipa (4.9.7-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/0001-Make-Dogtag-return-XML-for-ipa-cert-find.patch
=====================================
@@ -0,0 +1,33 @@
+From bbda3590bb20a2915261f2fd9b8a8e0b169f93f4 Mon Sep 17 00:00:00 2001
+From: Chris Kelley <ckelley at redhat.com>
+Date: Fri, 10 Sep 2021 16:47:22 +0100
+Subject: [PATCH] Make Dogtag return XML for ipa cert-find
+
+Using JSON by default within Dogtag appears to cause ipa cert-find to
+return JSON, when the request was made with XML. We can request that XML
+is returned as before by specifying so in the request header.
+
+Fixes: https://pagure.io/freeipa/issue/8980
+Signed-off-by: Chris Kelley <ckelley at redhat.com>
+Reviewed-By: Francois Cami <fcami at redhat.com>
+---
+ ipaserver/plugins/dogtag.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/ipaserver/plugins/dogtag.py b/ipaserver/plugins/dogtag.py
+index be2e4bb4e..b4feddfac 100644
+--- a/ipaserver/plugins/dogtag.py
++++ b/ipaserver/plugins/dogtag.py
+@@ -1832,7 +1832,8 @@ class ra(rabase.rabase, RestClient):
+             method='POST',
+             headers={'Accept-Encoding': 'gzip, deflate',
+                      'User-Agent': 'IPA',
+-                     'Content-Type': 'application/xml'},
++                     'Content-Type': 'application/xml',
++                     'Accept': 'application/xml'},
+             body=payload
+         )
+ 
+-- 
+2.32.0
+


=====================================
debian/patches/series
=====================================
@@ -1,4 +1,5 @@
 # upstreamed
+0001-Make-Dogtag-return-XML-for-ipa-cert-find.patch
 
 # not upstreamable
 



View it on GitLab: https://salsa.debian.org/freeipa-team/freeipa/-/compare/ed8174854c861bb04e2ebd9fba00c3f88bb12d0f...832131bf220af3b0ccc620e388ceb0caf7f7dafe

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/freeipa/-/compare/ed8174854c861bb04e2ebd9fba00c3f88bb12d0f...832131bf220af3b0ccc620e388ceb0caf7f7dafe
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20211117/d7213520/attachment-0001.htm>


More information about the Pkg-freeipa-devel mailing list