public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/files/, net-im/openmittsu/
Date: Mon, 06 Jan 2025 19:12:59 +0000 (UTC)	[thread overview]
Message-ID: <1736190763.a4ab3980c72340b201652071461b3afaf3c49dab.ulm@gentoo> (raw)

commit:     a4ab3980c72340b201652071461b3afaf3c49dab
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 18:47:27 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 19:12:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ab3980

net-im/openmittsu: Replace root certificate

Closes: https://bugs.gentoo.org/947496
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../openmittsu/files/openmittsu-0.10.0.0-root-cert.pem   | 16 ++++++++++++++++
 ...tsu-0.10.0.0.ebuild => openmittsu-0.10.0.0-r1.ebuild} | 12 +++++++++++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/net-im/openmittsu/files/openmittsu-0.10.0.0-root-cert.pem b/net-im/openmittsu/files/openmittsu-0.10.0.0-root-cert.pem
new file mode 100644
index 000000000000..b1cf1fd3a13b
--- /dev/null
+++ b/net-im/openmittsu/files/openmittsu-0.10.0.0-root-cert.pem
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE-----
+MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDEL
+MAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl
+eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMT
+JVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAx
+MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgT
+Ck5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVUaGUg
+VVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlm
+aWNhdGlvbiBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqflo
+I+d61SRvU8Za2EurxtW20eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinng
+o4N+LZfQYcTxmdwlkWOrfzCjtHDix6EznPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0G
+A1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNVHQ8BAf8EBAMCAQYwDwYD
+VR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBBHU6+4WMB
+zzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbW
+RNZu9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg=
+-----END CERTIFICATE-----

diff --git a/net-im/openmittsu/openmittsu-0.10.0.0.ebuild b/net-im/openmittsu/openmittsu-0.10.0.0-r1.ebuild
similarity index 82%
rename from net-im/openmittsu/openmittsu-0.10.0.0.ebuild
rename to net-im/openmittsu/openmittsu-0.10.0.0-r1.ebuild
index dc31c3a2ca06..55d3ee7bb812 100644
--- a/net-im/openmittsu/openmittsu-0.10.0.0.ebuild
+++ b/net-im/openmittsu/openmittsu-0.10.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,6 +39,16 @@ DOCS=(
 
 CMAKE_BUILD_TYPE="Gentoo"
 
+src_prepare() {
+	cmake_src_prepare
+
+	# Replace the root certificate
+	# https://crt.sh/?id=2841410 - USERTrust ECC Certification Authority
+	local cert=$(base64 -w 0 "${FILESDIR}"/${P}-root-cert.pem || die)
+	sed -i -e "/Certificate.*Literal/s/\".*\"/\"${cert}\"/" \
+		src/network/ServerConfiguration.cpp || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		# set version manually, since autodetection works only with git


             reply	other threads:[~2025-01-06 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 19:12 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 19:55 [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/files/, net-im/openmittsu/ Ulrich Müller
2023-07-27 18:59 Ulrich Müller
2019-03-18 18:12 Ulrich Müller
2019-03-18 18:12 Ulrich Müller
2017-11-30 22:53 Ulrich Müller
2017-02-15 12:33 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736190763.a4ab3980c72340b201652071461b3afaf3c49dab.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox