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/files/, dev-perl/Net-SSLeay/
Date: Tue, 01 May 2018 00:17:56
Message-Id: 1525133859.e03a06c1bdc974e0a7cfff6cef74a05745f73395.kentnl@gentoo
1 commit: e03a06c1bdc974e0a7cfff6cef74a05745f73395
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 1 00:15:36 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 00:17:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03a06c1
7
8 dev-perl/Net-SSLeay: Cleanup old re bug #614462
9
10 Closes: https://bugs.gentoo.org/614462
11 Closes: https://bugs.gentoo.org/630390
12 Package-Manager: Portage-2.3.29, Repoman-2.3.9
13
14 dev-perl/Net-SSLeay/Manifest | 1 -
15 dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild | 56 ----------------------
16 .../Net-SSLeay/files/1.72-config-nettest-no.patch | 20 --------
17 .../Net-SSLeay/files/1.72-config-nettest-yes.patch | 20 --------
18 4 files changed, 97 deletions(-)
19
20 diff --git a/dev-perl/Net-SSLeay/Manifest b/dev-perl/Net-SSLeay/Manifest
21 index 76a6996f48c..45ff273e456 100644
22 --- a/dev-perl/Net-SSLeay/Manifest
23 +++ b/dev-perl/Net-SSLeay/Manifest
24 @@ -1,2 +1 @@
25 -DIST Net-SSLeay-1.81.tar.gz 396631 BLAKE2B dfd0f14bbeb3196009d7e597c0c933dbe9cb7f9d4591ae62adc94a94d1b67d6e108992c7053defcea9b0c6dad90be3b26c1d53cea9e87a09016964d09fe2c5bd SHA512 8d4b72ede74ea22cf2ed681a8441f40965331cd5d4442c19677cf5bc7c1e61ed1e50d0f3a4f1b272428485bcc132ec99b0c75344ca43e8a34a9dd15539719f55
26 DIST Net-SSLeay-1.82.tar.gz 399194 BLAKE2B 0c8aeb3085b102b71284266904ee88a8558070644aaa6dd0c5f78db0bfccb0e7456c8ba62a549d7ab245a02ddc7e856bc326d503f63268ee0761290e41b97e4d SHA512 758c41f4916a55b5085167e5c6a2732a5ee70dbeb8f42e791cd957957ba4a59f724c072d3fa50a6b42ae3b22cf3ecb8738c3f8963990a7030117b73c2dcc0716
27
28 diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild
29 deleted file mode 100644
30 index bb4652597fb..00000000000
31 --- a/dev-perl/Net-SSLeay/Net-SSLeay-1.810.0.ebuild
32 +++ /dev/null
33 @@ -1,56 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -DIST_AUTHOR=MIKEM
40 -DIST_VERSION=1.81
41 -DIST_EXAMPLES=("examples/*")
42 -inherit multilib perl-module
43 -
44 -DESCRIPTION="Perl extension for using OpenSSL"
45 -
46 -LICENSE="openssl"
47 -SLOT="0"
48 -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"
49 -IUSE="libressl test minimal examples"
50 -
51 -RDEPEND="
52 - !libressl? ( dev-libs/openssl:0= )
53 - libressl? ( dev-libs/libressl:0= )
54 - virtual/perl-MIME-Base64
55 -"
56 -DEPEND="${RDEPEND}
57 - virtual/perl-ExtUtils-MakeMaker
58 - test? (
59 - !minimal? (
60 - dev-perl/Test-Exception
61 - dev-perl/Test-Warn
62 - dev-perl/Test-NoWarnings
63 - )
64 - virtual/perl-Test-Simple
65 - )
66 -"
67 -export OPTIMIZE="$CFLAGS"
68 -export OPENSSL_PREFIX=${EPREFIX}/usr
69 -
70 -src_prepare() {
71 - sed -i \
72 - -e "/\$opts->{optimize} = '-O2 -g';/d" \
73 - -e "s,\"\$prefix/lib\",\"\$prefix/$(get_libdir)\"," \
74 - inc/Module/Install/PRIVATE/Net/SSLeay.pm || die
75 -
76 - local my_test_control
77 - my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
78 -
79 - if use test; then
80 - perl_rm_files 't/local/01_pod.t' 't/local/02_pod_coverage.t' 't/local/kwalitee.t'
81 - fi
82 - if use test && has network ${my_test_control} ; then
83 - eapply "${FILESDIR}/1.72-config-nettest-yes.patch"
84 - else
85 - eapply "${FILESDIR}/1.72-config-nettest-no.patch"
86 - fi
87 -
88 - perl-module_src_prepare
89 -}
90
91 diff --git a/dev-perl/Net-SSLeay/files/1.72-config-nettest-no.patch b/dev-perl/Net-SSLeay/files/1.72-config-nettest-no.patch
92 deleted file mode 100644
93 index 0090bfd83a0..00000000000
94 --- a/dev-perl/Net-SSLeay/files/1.72-config-nettest-no.patch
95 +++ /dev/null
96 @@ -1,20 +0,0 @@
97 -diff -Naur Net-SSLeay-1.72/inc/Module/Install/PRIVATE/Net/SSLeay.pm Net-SSLeay-1.72b/inc/Module/Install/PRIVATE/Net/SSLeay.pm
98 ---- Net-SSLeay-1.72/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2015-08-02 05:54:14.000000000 +0000
99 -+++ Net-SSLeay-1.72b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2016-03-04 23:29:36.997983312 +0000
100 -@@ -47,15 +47,7 @@
101 - LIBS => join(' ', (map {"-L$_"} @{$opts->{lib_paths}}), (map {"-l$_"} @{$opts->{lib_links}})),
102 - );
103 -
104 -- if ( $self->prompt(
105 -- "Do you want to run external tests?\n".
106 -- "These tests *will* *fail* if you do not have network connectivity.",
107 -- 'n',
108 -- ) =~ /^y/i ) {
109 -- $self->tests('t/*/*.t t/*/*/*.t');
110 -- } else {
111 -- $self->tests('t/local/*.t t/handle/local/*.t');
112 -- }
113 -+ $self->tests('t/local/*.t t/handle/local/*.t');
114 - }
115 -
116 - sub ssleay_get_build_opts {
117
118 diff --git a/dev-perl/Net-SSLeay/files/1.72-config-nettest-yes.patch b/dev-perl/Net-SSLeay/files/1.72-config-nettest-yes.patch
119 deleted file mode 100644
120 index d79662593f4..00000000000
121 --- a/dev-perl/Net-SSLeay/files/1.72-config-nettest-yes.patch
122 +++ /dev/null
123 @@ -1,20 +0,0 @@
124 -diff -Naur Net-SSLeay-1.72/inc/Module/Install/PRIVATE/Net/SSLeay.pm Net-SSLeay-1.72b/inc/Module/Install/PRIVATE/Net/SSLeay.pm
125 ---- Net-SSLeay-1.72/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2015-08-02 05:54:14.000000000 +0000
126 -+++ Net-SSLeay-1.72b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2016-03-04 23:28:49.543069218 +0000
127 -@@ -47,15 +47,7 @@
128 - LIBS => join(' ', (map {"-L$_"} @{$opts->{lib_paths}}), (map {"-l$_"} @{$opts->{lib_links}})),
129 - );
130 -
131 -- if ( $self->prompt(
132 -- "Do you want to run external tests?\n".
133 -- "These tests *will* *fail* if you do not have network connectivity.",
134 -- 'n',
135 -- ) =~ /^y/i ) {
136 -- $self->tests('t/*/*.t t/*/*/*.t');
137 -- } else {
138 -- $self->tests('t/local/*.t t/handle/local/*.t');
139 -- }
140 -+ $self->tests('t/*/*.t t/*/*/*.t');
141 - }
142 -
143 - sub ssleay_get_build_opts {