Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSLeay/
Date: Sat, 01 Apr 2017 22:49:51
Message-Id: 1491086949.be61ad73a22b4a94921289d9bb206a86748028ed.kentnl@gentoo
1 commit: be61ad73a22b4a94921289d9bb206a86748028ed
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 22:48:20 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 22:49:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be61ad73
7
8 dev-perl/Net-SSLeay: Bump to version 1.810.0
9
10 Upstream:
11 - Fix RSA_get_key_parameters
12 - Fix memory leak in X509_get_subjectAltNames
13 - Fix Makefile.PL without '.' in @INC
14 - Fix get_my_thread_id to work when ERRSV not defined
15
16 Bug: https://bugs.gentoo.org/613750
17 Package-Manager: Portage-2.3.4, Repoman-2.3.2
18
19 dev-perl/Net-SSLeay/Manifest | 1 +
20 dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild | 56 +++++++++++++++++++++++++++
21 2 files changed, 57 insertions(+)
22
23 diff --git a/dev-perl/Net-SSLeay/Manifest b/dev-perl/Net-SSLeay/Manifest
24 index e3e2d4491f1..51d68bb1f8e 100644
25 --- a/dev-perl/Net-SSLeay/Manifest
26 +++ b/dev-perl/Net-SSLeay/Manifest
27 @@ -1 +1,2 @@
28 DIST Net-SSLeay-1.80.tar.gz 395820 SHA256 a541a66d59fc5f9bb7af09d3a0b68305e4c43ba9488b12915728fd282ea01b93 SHA512 03b5f2ba86d20f31ef50029af94b1bcf513c7b99d9666a04e83aba4f7c8cce3e30daf6df85932619949f059177660f49a928488e61b967a12dd4aec41eafad95 WHIRLPOOL 8f11141c3caaa1e9d32368183ab9742e8c1bba5efd6702efa9e4142b6f54871f2380cdb6fe3d1aef2b63db388bdf69f3167d592eca935d93af484dd00511b03c
29 +DIST Net-SSLeay-1.81.tar.gz 396631 SHA256 00cbb6174e628b42178e1445c9fd5a3c5ae2cfd6a5a43e03610ba14786f21b7d SHA512 8d4b72ede74ea22cf2ed681a8441f40965331cd5d4442c19677cf5bc7c1e61ed1e50d0f3a4f1b272428485bcc132ec99b0c75344ca43e8a34a9dd15539719f55 WHIRLPOOL 125710fcabce6f9ba2515bb04a90513d0f2ab2f57546187044bc7f4f45b0ba354f747674fcebfad41dced608603e8c811bce58a66e104efd90205a4b2102d417
30
31 diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild
32 new file mode 100644
33 index 00000000000..0078c2f73a6
34 --- /dev/null
35 +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild
36 @@ -0,0 +1,56 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +DIST_AUTHOR=MIKEM
43 +DIST_VERSION=1.81
44 +DIST_EXAMPLES=("examples/*")
45 +inherit multilib perl-module
46 +
47 +DESCRIPTION="Perl extension for using OpenSSL"
48 +
49 +LICENSE="openssl"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 +IUSE="libressl test minimal examples"
53 +
54 +RDEPEND="
55 + !libressl? ( dev-libs/openssl:0= )
56 + libressl? ( dev-libs/libressl:0= )
57 + virtual/perl-MIME-Base64
58 +"
59 +DEPEND="${RDEPEND}
60 + virtual/perl-ExtUtils-MakeMaker
61 + test? (
62 + !minimal? (
63 + dev-perl/Test-Exception
64 + dev-perl/Test-Warn
65 + dev-perl/Test-NoWarnings
66 + )
67 + virtual/perl-Test-Simple
68 + )
69 +"
70 +export OPTIMIZE="$CFLAGS"
71 +export OPENSSL_PREFIX=${EPREFIX}/usr
72 +
73 +src_prepare() {
74 + sed -i \
75 + -e "/\$opts->{optimize} = '-O2 -g';/d" \
76 + -e "s,\"\$prefix/lib\",\"\$prefix/$(get_libdir)\"," \
77 + inc/Module/Install/PRIVATE/Net/SSLeay.pm || die
78 +
79 + local my_test_control
80 + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
81 +
82 + if use test; then
83 + perl_rm_files 't/local/01_pod.t' 't/local/02_pod_coverage.t' 't/local/kwalitee.t'
84 + fi
85 + if use test && has network ${my_test_control} ; then
86 + eapply "${FILESDIR}/1.72-config-nettest-yes.patch"
87 + else
88 + eapply "${FILESDIR}/1.72-config-nettest-no.patch"
89 + fi
90 +
91 + perl-module_src_prepare
92 +}