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/File-Map/
Date: Sat, 29 Aug 2020 01:24:46
Message-Id: 1598664225.639705816a21df931b1102419c05d1c30ef3a7fb.kentnl@gentoo
1 commit: 639705816a21df931b1102419c05d1c30ef3a7fb
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 01:23:45 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 01:23:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63970581
7
8 dev-perl/File-Map: Bump to version 0.670.0
9
10 - EAPI7
11 - Ensure not to break when LD is set to a non-ccld
12 - Ensure passing CFLAGS to compiler
13
14 Upstream:
15 - Fix unresolved symbol 'madvise' on QNX NTO
16 - Warn when buffer is truncated
17 - Fix mapping into a hash element
18 - Fix compile warning in boot function return type
19 - Accommodate for sleep 0.1 possibly being less than 0.1
20
21 Security:
22 - The following notes in changelog indicate some exploit/DOS
23 possibilities
24 - Warn when buffer gets truncated
25 Given this stuff is implemented in C, some analysis for severity is
26 needed.
27
28 Reference: https://github.com/Leont/file-map/commit/c5c60d5c3af9ff924f95c7aab70740f002ac6898
29 Package-Manager: Portage-3.0.4, Repoman-2.3.22
30 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
31
32 dev-perl/File-Map/File-Map-0.670.0.ebuild | 42 +++++++++++++++++++++++++++++++
33 dev-perl/File-Map/Manifest | 1 +
34 2 files changed, 43 insertions(+)
35
36 diff --git a/dev-perl/File-Map/File-Map-0.670.0.ebuild b/dev-perl/File-Map/File-Map-0.670.0.ebuild
37 new file mode 100644
38 index 00000000000..e99adaf7093
39 --- /dev/null
40 +++ b/dev-perl/File-Map/File-Map-0.670.0.ebuild
41 @@ -0,0 +1,42 @@
42 +# Copyright 1999-2020 Gentoo Authors
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=7
46 +
47 +DIST_AUTHOR=LEONT
48 +DIST_VERSION=0.67
49 +inherit perl-module
50 +
51 +DESCRIPTION="Memory mapping made simple and safe"
52 +
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
55 +IUSE="test"
56 +RESTRICT="!test? ( test )"
57 +
58 +RDEPEND="
59 + virtual/perl-Carp
60 + dev-perl/PerlIO-Layers
61 + >=dev-perl/Sub-Exporter-Progressive-0.1.5
62 + virtual/perl-XSLoader
63 +"
64 +DEPEND="dev-perl/Module-Build"
65 +BDEPEND="${RDEPEND}
66 + >=dev-perl/Module-Build-0.280.0
67 + test? (
68 + virtual/perl-IO
69 + virtual/perl-Scalar-List-Utils
70 + dev-perl/Test-Fatal
71 + virtual/perl-Test-Simple
72 + >=dev-perl/Test-Warnings-0.5.0
73 + virtual/perl-Time-HiRes
74 + )
75 +"
76 +src_configure() {
77 + unset LD
78 + [[ -n "${CCLD}" ]] && export LD="${CCLD}"
79 + perl-module_src_configure
80 +}
81 +src_compile() {
82 + ./Build --config "optimize=${CFLAGS}" build || die
83 +}
84
85 diff --git a/dev-perl/File-Map/Manifest b/dev-perl/File-Map/Manifest
86 index 6bd07ab93ed..d73e5c32bee 100644
87 --- a/dev-perl/File-Map/Manifest
88 +++ b/dev-perl/File-Map/Manifest
89 @@ -1 +1,2 @@
90 DIST File-Map-0.64.tar.gz 78083 BLAKE2B 66e11275141e72782e9fb4dbb4bbfad75600de0a2b88671d858fe8df2f9a05cd71603998def5f480fe672fb240e4b97b6b2137a4563d9139372f269b9104f4af SHA512 dc1182e79d20e835e19c78f5187dd108b45938209933a7074674d472ac300277fc1fb7604b023ad7d3456ef5837bb8274a94e1cac79f95f2a2235855c59d3809
91 +DIST File-Map-0.67.tar.gz 104595 BLAKE2B 6a35bb47ca606d905806f8c49cef853067db3f391db3f27657d5b1cf66e24520734ce3aa8f9725d25c859190365bf3bac2a617131bdc99746a0afe5a552dab6a SHA512 52bd9ebb546e6b0e0d58cce3e5f5983c0f89bf05ba3f29d220b6d83ca150e200ac9c6e7d2adb717838c0b20e9ddd68c94509b47775d27273c37bc44dcff1d507