1 |
commit: 18bad13152fd8d18f6a475bb89c9725a69150c9b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 20:47:06 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 20:47:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18bad131 |
7 |
|
8 |
dev-perl/Email-Address-XS: Bump to version 1.40.0 |
9 |
|
10 |
- EAPI7 |
11 |
- Fix LICENSE |
12 |
- Ensure CFLAGS passed to make/compiler |
13 |
|
14 |
Upstream: |
15 |
- add support for parsing and generating addresses with nul character |
16 |
- fix compose_address when both user and host contain non-ASCII 8bit |
17 |
characters |
18 |
- Fix possible memory leak in dovecot parser |
19 |
- Update dovecot parser from dovecot version 2.3.0.1 |
20 |
- Fix reading from unititialized memory when formatting invalid |
21 |
addresses without user or host part |
22 |
- Fix formatting email addresses when user starts with nul byte |
23 |
- Prefer returning empty string from format functions instead of |
24 |
generating invalid email addresses. |
25 |
- Fix dovecot parser to disallow leading dot in dot-atom |
26 |
- Fix generating/validating email addresses with empty user part |
27 |
- Fix generating/validating email addresses with leading/trailing dot in |
28 |
user part. |
29 |
- try to parse invalid email addresses and mark them as invalid |
30 |
- Don't escape apostrophe's in generated email addresses. |
31 |
- Fix formatting email addresses which contain NUL, TAB, LF or CR |
32 |
- Fix formatting comments which contain NUL bytes. |
33 |
|
34 |
Security: |
35 |
- nul character handling changes in parsing could be a vuln, depending |
36 |
on what is done with the result, esp if it doesn't error ( I haven't |
37 |
determined what it does yet ) |
38 |
- "Possible" memory leaks in dovecot parser fixed. |
39 |
- Cribs some of dovcot parse code and may be subject to vulnerabilities |
40 |
in that file in previous versions |
41 |
- Fixed uninitialized memory access in certain address combinations |
42 |
|
43 |
Package-Manager: Portage-2.3.103, Repoman-2.3.22 |
44 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
45 |
|
46 |
.../Email-Address-XS-1.40.0.ebuild | 33 ++++++++++++++++++++++ |
47 |
dev-perl/Email-Address-XS/Manifest | 1 + |
48 |
2 files changed, 34 insertions(+) |
49 |
|
50 |
diff --git a/dev-perl/Email-Address-XS/Email-Address-XS-1.40.0.ebuild b/dev-perl/Email-Address-XS/Email-Address-XS-1.40.0.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..ab5666eb7bd |
53 |
--- /dev/null |
54 |
+++ b/dev-perl/Email-Address-XS/Email-Address-XS-1.40.0.ebuild |
55 |
@@ -0,0 +1,33 @@ |
56 |
+# Copyright 1999-2020 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=7 |
60 |
+ |
61 |
+DIST_AUTHOR=PALI |
62 |
+DIST_VERSION=1.04 |
63 |
+inherit perl-module |
64 |
+ |
65 |
+DESCRIPTION="Parse and format RFC 2822 email addresses and groups" |
66 |
+LICENSE="|| ( Artistic GPL-1+ ) MIT" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
69 |
+IUSE="test" |
70 |
+RESTRICT="!test? ( test )" |
71 |
+ |
72 |
+RDEPEND=" |
73 |
+ virtual/perl-Carp |
74 |
+ virtual/perl-Exporter |
75 |
+ virtual/perl-XSLoader |
76 |
+" |
77 |
+BDEPEND="${RDEPEND} |
78 |
+ virtual/perl-ExtUtils-MakeMaker |
79 |
+ test? ( |
80 |
+ virtual/perl-Test-Simple |
81 |
+ ) |
82 |
+" |
83 |
+src_compile() { |
84 |
+ mymake=( |
85 |
+ "OPTIMIZE=${CFLAGS}" |
86 |
+ ) |
87 |
+ perl-module_src_compile |
88 |
+} |
89 |
|
90 |
diff --git a/dev-perl/Email-Address-XS/Manifest b/dev-perl/Email-Address-XS/Manifest |
91 |
index dfdbf84be29..45b5c9348d5 100644 |
92 |
--- a/dev-perl/Email-Address-XS/Manifest |
93 |
+++ b/dev-perl/Email-Address-XS/Manifest |
94 |
@@ -1 +1,2 @@ |
95 |
DIST Email-Address-XS-1.01.tar.gz 26805 BLAKE2B 657c9b33e2008ba35dbd46bde1fd11b90112f1d2afc422b2cb97c041067c5ac435e7662d8c083866b0e9efb98b94987bbe1a04d284c960a1fcd047cdc1badf36 SHA512 399d8365f2d9d642f482b5fcb4400cb66923f99938180ed1e68c3c7729d44eb53159889780ce6bb97857ab8ef3bc0c4f2dbe74ee453ab250e003761f66c28449 |
96 |
+DIST Email-Address-XS-1.04.tar.gz 29112 BLAKE2B 8ad1ed264a1d568839864946a22063e6e591663bd8ae3d857e67ec187757a05c1a72d48125b154ce625cf32ad1abff7829aba746d68cfa30ec5244796c182acf SHA512 2dda846f998cdc2112067b7a994e86162de765a0a23f2288cb8292f26b9ac07171452961389badb678d5568c7f4b0966d9dc97c1d91cd4be2b9767f0e615b1d8 |