From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91EBF158020 for ; Sat, 24 Dec 2022 07:11:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51475E08EB; Sat, 24 Dec 2022 07:11:44 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33353E08DD for ; Sat, 24 Dec 2022 07:11:44 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCB53340E2D for ; Sat, 24 Dec 2022 07:11:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E6057F9 for ; Sat, 24 Dec 2022 07:11:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1671865511.544b6f687fd8891d77feefd58e0efdbd38d372fa.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-OpenSSL-Random/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild X-VCS-Directories: dev-perl/Crypt-OpenSSL-Random/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 544b6f687fd8891d77feefd58e0efdbd38d372fa X-VCS-Branch: master Date: Sat, 24 Dec 2022 07:11:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77aab5a6-d9ab-4938-ab9e-3bb9e3933c5e X-Archives-Hash: c63cbfde65cb3830ad76f77beed9a359 commit: 544b6f687fd8891d77feefd58e0efdbd38d372fa Author: James Le Cuirot gentoo org> AuthorDate: Mon Nov 14 23:04:52 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 24 07:05:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=544b6f68 dev-perl/Crypt-OpenSSL-Random: Search for OpenSSL in specific location Crypt-OpenSSL-Guess looks for OpenSSL in a bunch of random places, which we want to avoid. Specifying it this way also fixes cross-compiling, at least when combined with other fixes. Signed-off-by: James Le Cuirot gentoo.org> Signed-off-by: Sam James gentoo.org> .../Crypt-OpenSSL-Random-0.150.0-r1.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild b/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild new file mode 100644 index 000000000000..8b5f1050dd9d --- /dev/null +++ b/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=RURBAN +DIST_VERSION=0.15 +inherit perl-module + +DESCRIPTION="OpenSSL pseudo-random number generator access" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-libs/openssl:0= +" +DEPEND=" + dev-libs/openssl:0= +" +BDEPEND="${RDEPEND} + >=dev-perl/Crypt-OpenSSL-Guess-0.110.0 + virtual/perl-ExtUtils-MakeMaker +" +PERL_RM_FILES=( + t/z_kwalitee.t + t/z_manifest.t + t/z_meta.t + t/z_perl_minimum_version.t + t/z_pod-coverage.t + t/z_pod.t +) + +mydoc="ToDo" + +export OPENSSL_PREFIX="${ESYSROOT}/usr" + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +}