From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1706644-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 310E915812D for <garchives@archives.gentoo.org>; Mon, 06 Jan 2025 19:13:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71AB8E07C7; Mon, 06 Jan 2025 19:13:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 542E9E07C7 for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 19:13:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 579B9340906 for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 19:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BDAEAED for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 19:12:59 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1736190763.a4ab3980c72340b201652071461b3afaf3c49dab.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/files/, net-im/openmittsu/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/openmittsu/files/openmittsu-0.10.0.0-root-cert.pem net-im/openmittsu/openmittsu-0.10.0.0-r1.ebuild net-im/openmittsu/openmittsu-0.10.0.0.ebuild X-VCS-Directories: net-im/openmittsu/ net-im/openmittsu/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a4ab3980c72340b201652071461b3afaf3c49dab X-VCS-Branch: master Date: Mon, 06 Jan 2025 19:12:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 44189277-2e83-404c-adb4-a14789d05f3e X-Archives-Hash: cf06bbce2f1b92f42fdef94d0556d18e 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