1 |
commit: 53552b6feb7ea39c6a4bc01f313c7e83d3a265ec |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 28 20:56:46 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 28 20:58:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53552b6f |
7 |
|
8 |
dev-perl/Mail-IMAPClient: Version bump 3.43 |
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 |
.../Mail-IMAPClient/Mail-IMAPClient-3.430.0.ebuild | 50 ++++++++++++ |
14 |
dev-perl/Mail-IMAPClient/Manifest | 1 + |
15 |
.../Mail-IMAPClient/files/3.43-makefilepl.patch | 89 ++++++++++++++++++++++ |
16 |
3 files changed, 140 insertions(+) |
17 |
|
18 |
diff --git a/dev-perl/Mail-IMAPClient/Mail-IMAPClient-3.430.0.ebuild b/dev-perl/Mail-IMAPClient/Mail-IMAPClient-3.430.0.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..838701d57b8 |
21 |
--- /dev/null |
22 |
+++ b/dev-perl/Mail-IMAPClient/Mail-IMAPClient-3.430.0.ebuild |
23 |
@@ -0,0 +1,50 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+DIST_AUTHOR=PLOBBES |
30 |
+DIST_VERSION=3.43 |
31 |
+DIST_EXAMPLES=("examples/*") |
32 |
+inherit perl-module |
33 |
+ |
34 |
+DESCRIPTION="IMAP client module for Perl" |
35 |
+ |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
38 |
+IUSE="test ntlm md5 ssl zlib" |
39 |
+ |
40 |
+PATCHES=( |
41 |
+ "${FILESDIR}/${DIST_VERSION}-makefilepl.patch" |
42 |
+) |
43 |
+ |
44 |
+PERL_RM_FILES=( |
45 |
+ "t/quota.t" # Requires imap server config in test.txt |
46 |
+ "t/basic.t" |
47 |
+ "t/pod.t" # Bad author test |
48 |
+) |
49 |
+ |
50 |
+# IO::File, IO::Select, IO::Socket, IO::Socket::INET -> perl-IO |
51 |
+# Digest::HMAC_MD5 -> Digest-HMAC |
52 |
+RDEPEND=" |
53 |
+ virtual/perl-Carp |
54 |
+ virtual/perl-File-Temp |
55 |
+ >=virtual/perl-IO-1.260.0 |
56 |
+ virtual/perl-Scalar-List-Utils |
57 |
+ virtual/perl-MIME-Base64 |
58 |
+ >=dev-perl/Parse-RecDescent-1.940.0 |
59 |
+ ntlm? ( dev-perl/Authen-NTLM ) |
60 |
+ md5? ( |
61 |
+ dev-perl/Authen-SASL |
62 |
+ dev-perl/Digest-HMAC |
63 |
+ virtual/perl-Digest-MD5 |
64 |
+ ) |
65 |
+ ssl? ( dev-perl/IO-Socket-SSL ) |
66 |
+ zlib? ( virtual/perl-IO-Compress ) |
67 |
+" |
68 |
+BDEPEND="${RDEPEND} |
69 |
+ virtual/perl-ExtUtils-MakeMaker |
70 |
+ test? ( |
71 |
+ virtual/perl-Test-Simple |
72 |
+ ) |
73 |
+" |
74 |
|
75 |
diff --git a/dev-perl/Mail-IMAPClient/Manifest b/dev-perl/Mail-IMAPClient/Manifest |
76 |
index 90737abf343..65e4b6771d2 100644 |
77 |
--- a/dev-perl/Mail-IMAPClient/Manifest |
78 |
+++ b/dev-perl/Mail-IMAPClient/Manifest |
79 |
@@ -1 +1,2 @@ |
80 |
DIST Mail-IMAPClient-3.39.tar.gz 190965 BLAKE2B 43fb640d2282945b21e743ccb8bec037103b7bcff78396f1f72f26d7860d5b5f69bcab837f3e857610426f958c860085f66cef21c8d5115940fc64ae3667f1e3 SHA512 156e5f6682d55f2c112ae5065448f0c502d3e748c4405768152ccccd7d944cf949f7c3fd42f30f40c86337457dea5c037959bf29739e4c413e4b45af2b74c222 |
81 |
+DIST Mail-IMAPClient-3.43.tar.gz 189679 BLAKE2B da28ec4358532dcac59241dca4ffc29c3cf86bc3bba388dd66e27f45ac675c4754d0def00eb7112e4b1ffb1d595b3941b160a3f3e81a8ffccacc8351b4f96a94 SHA512 9e2346238d68ea62c0ad2e5c03ae9a36face8238dbccbbc083bcefd41d82a7f75887e3245c792e4bd2a5999ce66fabdc4e861118904e96cf2781e1ca549a1b09 |
82 |
|
83 |
diff --git a/dev-perl/Mail-IMAPClient/files/3.43-makefilepl.patch b/dev-perl/Mail-IMAPClient/files/3.43-makefilepl.patch |
84 |
new file mode 100644 |
85 |
index 00000000000..35990fe79c7 |
86 |
--- /dev/null |
87 |
+++ b/dev-perl/Mail-IMAPClient/files/3.43-makefilepl.patch |
88 |
@@ -0,0 +1,89 @@ |
89 |
+diff -ruN Mail-IMAPClient-3.43.orig/Makefile.PL Mail-IMAPClient-3.43/Makefile.PL |
90 |
+--- Mail-IMAPClient-3.43.orig/Makefile.PL 2021-02-16 17:47:10.000000000 +0100 |
91 |
++++ Mail-IMAPClient-3.43/Makefile.PL 2021-06-28 22:55:47.886460876 +0200 |
92 |
+@@ -4,39 +4,6 @@ |
93 |
+ |
94 |
+ use 5.008_001; |
95 |
+ |
96 |
+-my @missing; |
97 |
+-my %optional = ( |
98 |
+- "Authen::NTLM" => { for => "Authmechanism 'NTLM'" }, |
99 |
+- "Authen::SASL" => { for => "Authmechanism 'DIGEST-MD5'" }, |
100 |
+- "Compress::Zlib" => { for => "COMPRESS DEFLATE support" }, |
101 |
+- "Digest::HMAC_MD5" => { for => "Authmechanism 'CRAM-MD5'" }, |
102 |
+- "Digest::MD5" => { for => "Authmechanism 'DIGEST-MD5'" }, |
103 |
+- "IO::Socket::IP" => { for => "IPv6 support" }, |
104 |
+- "IO::Socket::SSL" => { for => "SSL enabled connections (Ssl => 1)" }, |
105 |
+- "Test::Pod" => { for => "Pod tests", ver => "1.00" }, |
106 |
+-); |
107 |
+- |
108 |
+-foreach my $mod ( sort keys %optional ) { |
109 |
+- my $for = $optional{$mod}->{"for"} || ""; |
110 |
+- my $ver = $optional{$mod}->{"ver"} || ""; |
111 |
+- eval "use $mod $ver ();"; |
112 |
+- push @missing, $mod . ( $for ? " for $for" : "" ) if $@; |
113 |
+-} |
114 |
+- |
115 |
+-# similar message to one used in DBI: |
116 |
+-if (@missing) { |
117 |
+- print( "The following optional modules were not found:", |
118 |
+- map( "\n\t" . $_, @missing ), "\n" ); |
119 |
+- |
120 |
+- print <<'MSG'; |
121 |
+-Optional modules are available from any CPAN mirror, reference: |
122 |
+- https://metacpan.org/ |
123 |
+- https://www.cpan.org/modules/by-module/ |
124 |
+- |
125 |
+-MSG |
126 |
+- sleep 3; |
127 |
+-} |
128 |
+- |
129 |
+ # HACK: die on broken Parse::RecDescent 1.966002 through 1.967009 |
130 |
+ # - rt.cpan.org#74593: Recent changes break Module::ExtractUse and ... |
131 |
+ # - rt.cpan.org#74733: Fails with Parse::RecDescent >= 1.966_002 |
132 |
+@@ -92,45 +59,5 @@ |
133 |
+ clean => { FILES => 'test.txt' }, |
134 |
+ ); |
135 |
+ |
136 |
+-set_test_data(); |
137 |
+- |
138 |
+ exit 0; |
139 |
+ |
140 |
+-### |
141 |
+-### HELPERS |
142 |
+-### |
143 |
+- |
144 |
+-sub set_test_data { |
145 |
+- unless ( -f "lib/Mail/IMAPClient.pm" ) { |
146 |
+- warn("ERROR: not in installation directory\n"); |
147 |
+- return; |
148 |
+- } |
149 |
+- |
150 |
+- if ( -s "./test.txt" ) { |
151 |
+- print("The file test.txt will be used for extended tests.\n"); |
152 |
+- return; |
153 |
+- } |
154 |
+- |
155 |
+- print <<EOF; |
156 |
+- |
157 |
+-(OPTIONAL) For extended tests during 'make test', create a file |
158 |
+-'test.txt' in the top level directory of this distribution (the same |
159 |
+-directory as the Makefile.PL, etc.). This file must contain an IMAP |
160 |
+-server name or IP (server=...), a user account (user=...), and a |
161 |
+-password (passed=...). A port (port=....) and an authentication |
162 |
+-mechanism to be used (authmechanism=...) can also be specified. |
163 |
+- |
164 |
+-Example: |
165 |
+- |
166 |
+---- BEGIN: test.txt --- |
167 |
+-server=localhost |
168 |
+-user=mytestuser |
169 |
+-passed=mypassword |
170 |
+-port=143 |
171 |
+---- END: test.txt --- |
172 |
+- |
173 |
+-NOTE: When testing is completed, be sure to remove test.txt (either by |
174 |
+-hand or by 'make clean'). |
175 |
+- |
176 |
+-EOF |
177 |
+-} |