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/Convert-UUlib/files/, dev-perl/Convert-UUlib/
Date: Thu, 21 May 2020 18:53:44
Message-Id: 1590087041.46d76f54d6fbf257d0f1233fbbf30b0bf0b564a3.kentnl@gentoo
1 commit: 46d76f54d6fbf257d0f1233fbbf30b0bf0b564a3
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 18:44:46 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 18:50:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d76f54
7
8 dev-perl/Convert-UUlib: Bump to version 1.710.0
9
10 - EAPI7
11 - Drop USE="system-uulib" due to being completely broken and unfixable
12 - Fix directly calling `ar` and inherit Perl's `ar`
13 - Attempt to correct a dizzying array of license terms
14
15 Upstream:
16 - Fix heap overflow
17 - Fix format string type missmatches
18 - Simplify code in _FP_gets to not use fscanf for performance
19 - Backport code to c89
20 - Add GetFileList
21 - experimental perlmulticore support
22 - Speedup yEnc encoding using slice-by-16 instead of crc32
23
24 Bug: https://bugs.gentoo.org/559930
25 Bug: https://bugs.gentoo.org/723216
26 Package-Manager: Portage-2.3.99, Repoman-2.3.22
27 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
28
29 .../Convert-UUlib/Convert-UUlib-1.710.0.ebuild | 31 ++++++++++++++++++++++
30 dev-perl/Convert-UUlib/Manifest | 1 +
31 .../files/Convert-UUlib-1.71-tc-ar.patch | 25 +++++++++++++++++
32 3 files changed, 57 insertions(+)
33
34 diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild b/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild
35 new file mode 100644
36 index 00000000000..c77f40bbd73
37 --- /dev/null
38 +++ b/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild
39 @@ -0,0 +1,31 @@
40 +# Copyright 1999-2020 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=7
44 +
45 +DIST_AUTHOR=MLEHMANN
46 +DIST_VERSION=1.71
47 +inherit perl-module toolchain-funcs
48 +
49 +DESCRIPTION="A Perl interface to the uulib library"
50 +# https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Convert-UUlib#Licensing
51 +LICENSE="BSD CC0-1.0 GPL-1 GPL-2+"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
54 +IUSE="test"
55 +RESTRICT="!test? ( test )"
56 +
57 +RDEPEND="
58 + >=dev-perl/common-sense-3.740.0
59 +"
60 +BDEPEND="${RDEPEND}
61 + >=virtual/perl-ExtUtils-MakeMaker-6.520.0
62 + dev-perl/Canary-Stability
63 +"
64 +PATCHES=(
65 + "${FILESDIR}/${PN}-1.71-tc-ar.patch"
66 +)
67 +# system-uulib support had to be removed
68 +# - uses 'unint.h' that no longer ships with system uulib
69 +# - Bundled headers use different symbols not exported by system uulib
70 +# - XS code makes use of DEFINE's no longer in system uulib headers
71
72 diff --git a/dev-perl/Convert-UUlib/Manifest b/dev-perl/Convert-UUlib/Manifest
73 index 627bee02a61..225fc1b913a 100644
74 --- a/dev-perl/Convert-UUlib/Manifest
75 +++ b/dev-perl/Convert-UUlib/Manifest
76 @@ -1,2 +1,3 @@
77 DIST Convert-UUlib-1.4.tar.gz 232006 BLAKE2B 61a5813b15302613b3b7cc40cc2feedc122a67cfbeb98ef9e8db71ce4d5d8a0aaf01827f5c21f13aa1ed98093ea2005a73a9e3ee1d3bc1c9b35eb6875ba0fbe3 SHA512 97dae96b173cfdaf35126f70a883b3462977c3bfb281334f2e54c66ba518ce936ae3046d911ed0a39974df47d0b46bc286afb01faa0d934895402049b3f79cfd
78 DIST Convert-UUlib-1.5.tar.gz 236213 BLAKE2B dc7eebdac2715edfdec2fcd52e09cb2fcb3ce596a78364af47b56f4e29ca00061f532b3d4328e7f7ec147e5e5caef1a489247a052784dc0c7c5b271160777a2d SHA512 92c8b6f3a72546dca21018ddf2863113904f550e3ed950a1898ed4abfcc48738e9ca374f5adbc3226df2db6beeb0e12879ae52cdd067a030c199766d53603ec1
79 +DIST Convert-UUlib-1.71.tar.gz 277227 BLAKE2B ea5eab834a1b7c1d2edf19fabdc51bd2e2fac73413b26b7bf8c1d5c4accb342e9c9cfe026182188bd4efa50bafa34f033735109ca356eed7569a569284e823db SHA512 6ca67737a29709903322f506063c4c65e17a15a2cef40959cbf1309ba608867516f554bdec426e217ec610f84e76197d41cb8a2ac7d57fb640728b0e2ae5ef31
80
81 diff --git a/dev-perl/Convert-UUlib/files/Convert-UUlib-1.71-tc-ar.patch b/dev-perl/Convert-UUlib/files/Convert-UUlib-1.71-tc-ar.patch
82 new file mode 100644
83 index 00000000000..fdce341d982
84 --- /dev/null
85 +++ b/dev-perl/Convert-UUlib/files/Convert-UUlib-1.71-tc-ar.patch
86 @@ -0,0 +1,25 @@
87 +From 8a250730c8d73feea322f5a5beeaa16cbaa05d3a Mon Sep 17 00:00:00 2001
88 +From: Kent Fredric <kentnl@g.o>
89 +Date: Fri, 22 May 2020 04:58:39 +1200
90 +Subject: Fix direct calling of ar
91 +
92 +---
93 + uulib/Makefile.in | 2 +-
94 + 1 file changed, 1 insertion(+), 1 deletion(-)
95 +
96 +diff --git a/uulib/Makefile.in b/uulib/Makefile.in
97 +index 06a820d..65bae91 100644
98 +--- a/uulib/Makefile.in
99 ++++ b/uulib/Makefile.in
100 +@@ -69,7 +69,7 @@ new: clean
101 +
102 + libuu.a: $(UULIB_OBJ)
103 + rm -f $@
104 +- ar r $@ $(UULIB_OBJ)
105 ++ $(AR) r $@ $(UULIB_OBJ)
106 + -$(RANLIB) $@
107 +
108 + .c.o:
109 +--
110 +2.26.2
111 +