Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSLeay/
Date: Sat, 17 Jul 2021 16:35:21
Message-Id: 1626539681.9be8132b95cf789d4f32fad997e6484cebc76c6f.dilfridge@gentoo
1 commit: 9be8132b95cf789d4f32fad997e6484cebc76c6f
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 17 16:17:07 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 17 16:34:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be8132b
7
8 dev-perl/Net-SSLeay: Version bump 1.90
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 dev-perl/Net-SSLeay/Manifest | 1 +
14 dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild | 63 +++++++++++++++++++++++++++
15 2 files changed, 64 insertions(+)
16
17 diff --git a/dev-perl/Net-SSLeay/Manifest b/dev-perl/Net-SSLeay/Manifest
18 index 23f7c63a02e..489f3a71a25 100644
19 --- a/dev-perl/Net-SSLeay/Manifest
20 +++ b/dev-perl/Net-SSLeay/Manifest
21 @@ -1 +1,2 @@
22 DIST Net-SSLeay-1.88.tar.gz 436215 BLAKE2B 1a58296693cf41c464ac67a7f630598ccbf261ed0374a5381e3f718361b66418d13b5357bf7a49267a9e3bcd8d423fdedccd6b60d34aa60c975a5e3d1b0688e7 SHA512 37fc32ec003337f3dc18bf928139079a3127628c6fa0fccaed0c27b6bf3b216c2c5338ed1aaf9408b0add3be549df3218d3c5a6d6299793c1329d8a0813a1682
23 +DIST Net-SSLeay-1.90.tar.gz 534246 BLAKE2B 2510fa886db8b7c5f185aa1145ae1b50b7c4101a9bd80e17c8c1d77718765f288c9180464d831775c35aa94b5a6f6c8f717ecaeb4974f7280829b63f10567f22 SHA512 8a5f251b5ef1d8c2d619d984594a7a22ddeed2e5e726fe683a45f299d7878f4ca8ffab00480ebf5ef7a94ae1fcf6be05dfdaa68b8bfe2ad68443150765adb891
24
25 diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild
26 new file mode 100644
27 index 00000000000..a4ebfbce2ba
28 --- /dev/null
29 +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DIST_AUTHOR=CHRISN
37 +DIST_VERSION=1.90
38 +DIST_EXAMPLES=("examples/*")
39 +inherit multilib perl-module
40 +
41 +DESCRIPTION="Perl extension for using OpenSSL"
42 +
43 +LICENSE="Artistic-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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"
46 +IUSE="minimal examples"
47 +
48 +RDEPEND="
49 + dev-libs/openssl:0=
50 + virtual/perl-MIME-Base64
51 +"
52 +BDEPEND="${RDEPEND}
53 + virtual/perl-ExtUtils-MakeMaker
54 + test? (
55 + !minimal? (
56 + dev-perl/Test-Exception
57 + dev-perl/Test-Warn
58 + dev-perl/Test-NoWarnings
59 + )
60 + virtual/perl-Test-Simple
61 + )
62 +"
63 +
64 +PATCHES=(
65 + "${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
66 + "${FILESDIR}/${PN}-1.88-fix-libdir.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 +}