Blame SOURCES/0226-reporter-rhtsupport-remove-dependency-of-redhat-acce.patch

e7f1a6
From 56a34073c6dd8a775b9187decb17d8c552cbfd5b Mon Sep 17 00:00:00 2001
e7f1a6
From: Martin Kutlak <mkutlak@redhat.com>
e7f1a6
Date: Thu, 11 Jan 2018 16:43:40 +0100
e7f1a6
Subject: [PATCH] reporter-rhtsupport: remove dependency of
e7f1a6
 redhat-access-insights
e7f1a6
e7f1a6
The package is going away/will no longer include the certificate.
e7f1a6
e7f1a6
Libreport will package the certificate directly.
e7f1a6
e7f1a6
Related to #1524481
e7f1a6
e7f1a6
Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
e7f1a6
---
e7f1a6
 src/lib/ureport.c                          |  2 +-
e7f1a6
 src/plugins/Makefile.am                    |  4 ++
e7f1a6
 src/plugins/cert-api.access.redhat.com.pem | 74 ++++++++++++++++++++++++++++++
e7f1a6
 4 files changed, 80 insertions(+), 2 deletions(-)
e7f1a6
 create mode 100644 src/plugins/cert-api.access.redhat.com.pem
e7f1a6
e7f1a6
diff --git a/src/lib/ureport.c b/src/lib/ureport.c
e7f1a6
index f89fe62..490b75c 100644
e7f1a6
--- a/src/lib/ureport.c
e7f1a6
+++ b/src/lib/ureport.c
e7f1a6
@@ -41,7 +41,7 @@
e7f1a6
  * macro for cert name. Cert path can be easily modified for example by reading
e7f1a6
  * an environment variable LIBREPORT_DEBUG_AUTHORITY_CERT_DIR_PATH
e7f1a6
  */
e7f1a6
-#define CERT_AUTHORITY_CERT_PATH "/etc/redhat-access-insights"
e7f1a6
+#define CERT_AUTHORITY_CERT_PATH "/etc/libreport"
e7f1a6
 #define CERT_AUTHORITY_CERT_NAME "cert-api.access.redhat.com.pem"
e7f1a6
 
e7f1a6
 static char *
e7f1a6
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
e7f1a6
index c5e8ec1..ec10a81 100644
e7f1a6
--- a/src/plugins/Makefile.am
e7f1a6
+++ b/src/plugins/Makefile.am
e7f1a6
@@ -22,6 +22,10 @@ pluginsconfdir = $(PLUGINS_CONF_DIR)
e7f1a6
 
e7f1a6
 reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR)
e7f1a6
 
e7f1a6
+libreportconfdir = $(CONF_DIR)
e7f1a6
+dist_libreportconf_DATA = \
e7f1a6
+    cert-api.access.redhat.com.pem
e7f1a6
+
e7f1a6
 reporters_plugin_conf =
e7f1a6
 reporters_plugin_format_conf =
e7f1a6
 if BUILD_BUGZILLA
e7f1a6
diff --git a/src/plugins/cert-api.access.redhat.com.pem b/src/plugins/cert-api.access.redhat.com.pem
e7f1a6
new file mode 100644
e7f1a6
index 0000000..20ef8c0
e7f1a6
--- /dev/null
e7f1a6
+++ b/src/plugins/cert-api.access.redhat.com.pem
e7f1a6
@@ -0,0 +1,74 @@
e7f1a6
+-----BEGIN CERTIFICATE-----
e7f1a6
+MIIHZDCCBUygAwIBAgIJAOb+QiglyeZeMA0GCSqGSIb3DQEBBQUAMIGwMQswCQYD
e7f1a6
+VQQGEwJVUzEXMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcMB1JhbGVp
e7f1a6
+Z2gxFjAUBgNVBAoMDVJlZCBIYXQsIEluYy4xGDAWBgNVBAsMD1JlZCBIYXQgTmV0
e7f1a6
+d29yazEeMBwGA1UEAwwVRW50aXRsZW1lbnQgTWFzdGVyIENBMSQwIgYJKoZIhvcN
e7f1a6
+AQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb20wHhcNMTAwMzE3MTkwMDQ0WhcNMzAw
e7f1a6
+MzEyMTkwMDQ0WjCBsDELMAkGA1UEBhMCVVMxFzAVBgNVBAgMDk5vcnRoIENhcm9s
e7f1a6
+aW5hMRAwDgYDVQQHDAdSYWxlaWdoMRYwFAYDVQQKDA1SZWQgSGF0LCBJbmMuMRgw
e7f1a6
+FgYDVQQLDA9SZWQgSGF0IE5ldHdvcmsxHjAcBgNVBAMMFUVudGl0bGVtZW50IE1h
e7f1a6
+c3RlciBD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