Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSLeay/
Date: Sat, 28 May 2022 20:19:09
Message-Id: 1653769139.b9c1ff2520363c536e037c044bcff1940ad5a7b6.sam@gentoo
1 commit: b9c1ff2520363c536e037c044bcff1940ad5a7b6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 20:15:52 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 20:18:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9c1ff25
7
8 dev-perl/Net-SSLeay: add 1.920.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-perl/Net-SSLeay/Manifest | 1 +
13 dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild | 64 +++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/dev-perl/Net-SSLeay/Manifest b/dev-perl/Net-SSLeay/Manifest
17 index 5937ab939a4d..5859dc246c82 100644
18 --- a/dev-perl/Net-SSLeay/Manifest
19 +++ b/dev-perl/Net-SSLeay/Manifest
20 @@ -1 +1,2 @@
21 DIST Net-SSLeay-1.90.tar.gz 534246 BLAKE2B 2510fa886db8b7c5f185aa1145ae1b50b7c4101a9bd80e17c8c1d77718765f288c9180464d831775c35aa94b5a6f6c8f717ecaeb4974f7280829b63f10567f22 SHA512 8a5f251b5ef1d8c2d619d984594a7a22ddeed2e5e726fe683a45f299d7878f4ca8ffab00480ebf5ef7a94ae1fcf6be05dfdaa68b8bfe2ad68443150765adb891
22 +DIST Net-SSLeay-1.92.tar.gz 555930 BLAKE2B 04d97860817b013a9680e0ef29b0004ddb98da2db859761a45612c4d25b6edd16bf92645293d1108d83352bce18665721c6df05455426b32a95a42b464119a3d SHA512 e9d9161ebeb7be90f4c7a0ea98f1034892ce6d33aa72872683177b19daa1f4c5819f85ea9a052a076ec8d7c21705f6c344aef64680bc881bf3218d38e8b7b173
23
24 diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
25 new file mode 100644
26 index 000000000000..60f781eb9ef1
27 --- /dev/null
28 +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
29 @@ -0,0 +1,64 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DIST_AUTHOR=CHRISN
36 +DIST_VERSION=1.92
37 +DIST_EXAMPLES=("examples/*")
38 +inherit perl-module
39 +
40 +DESCRIPTION="Perl extension for using OpenSSL"
41 +
42 +LICENSE="Artistic-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="minimal examples"
46 +
47 +RDEPEND="
48 + dev-libs/openssl:=
49 + virtual/perl-MIME-Base64
50 +"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="${RDEPEND}
53 + virtual/perl-ExtUtils-MakeMaker
54 + virtual/perl-File-Spec
55 + test? (
56 + !minimal? (
57 + dev-perl/Test-Exception
58 + dev-perl/Test-Warn
59 + dev-perl/Test-NoWarnings
60 + )
61 + virtual/perl-Test-Simple
62 + )
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
67 +)
68 +
69 +PERL_RM_FILES=(
70 + # Hateful author tests
71 + 't/local/01_pod.t'
72 + 't/local/02_pod_coverage.t'
73 + 't/local/kwalitee.t'
74 +)
75 +
76 +src_configure() {
77 + if use test && has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
78 + export NETWORK_TESTS=yes
79 + else
80 + use test && einfo "Network tests will be skipped without DIST_TEST_OVERRIDE=~network"
81 + export NETWORK_TESTS=no
82 + fi
83 + export LIBDIR=$(get_libdir)
84 + perl-module_src_configure
85 +}
86 +
87 +src_compile() {
88 + mymake=(
89 + OPTIMIZE="${CFLAGS}"
90 + OPENSSL_PREFIX="${EPREFIX}"/usr
91 + )
92 + perl-module_src_compile
93 +}