commit:     46d76f54d6fbf257d0f1233fbbf30b0bf0b564a3
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 18:44:46 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu May 21 18:50:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d76f54

dev-perl/Convert-UUlib: Bump to version 1.710.0

- EAPI7
- Drop USE="system-uulib" due to being completely broken and unfixable
- Fix directly calling `ar` and inherit Perl's `ar`
- Attempt to correct a dizzying array of license terms

Upstream:
- Fix heap overflow
- Fix format string type missmatches
- Simplify code in _FP_gets to not use fscanf for performance
- Backport code to c89
- Add GetFileList
- experimental perlmulticore support
- Speedup yEnc encoding using slice-by-16 instead of crc32

Bug: https://bugs.gentoo.org/559930
Bug: https://bugs.gentoo.org/723216
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../Convert-UUlib/Convert-UUlib-1.710.0.ebuild     | 31 ++++++++++++++++++++++
 dev-perl/Convert-UUlib/Manifest                    |  1 +
 .../files/Convert-UUlib-1.71-tc-ar.patch           | 25 +++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild 
b/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild
new file mode 100644
index 00000000000..c77f40bbd73
--- /dev/null
+++ b/dev-perl/Convert-UUlib/Convert-UUlib-1.710.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=MLEHMANN
+DIST_VERSION=1.71
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="A Perl interface to the uulib library"
+# 
https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Convert-UUlib#Licensing
+LICENSE="BSD CC0-1.0 GPL-1 GPL-2+"
+SLOT="0"
+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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-perl/common-sense-3.740.0
+"
+BDEPEND="${RDEPEND}
+       >=virtual/perl-ExtUtils-MakeMaker-6.520.0
+       dev-perl/Canary-Stability
+"
+PATCHES=(
+       "${FILESDIR}/${PN}-1.71-tc-ar.patch"
+)
+# system-uulib support had to be removed
+# - uses 'unint.h' that no longer ships with system uulib
+# - Bundled headers use different symbols not exported by system uulib
+# - XS code makes use of DEFINE's no longer in system uulib headers

diff --git a/dev-perl/Convert-UUlib/Manifest b/dev-perl/Convert-UUlib/Manifest
index 627bee02a61..225fc1b913a 100644
--- a/dev-perl/Convert-UUlib/Manifest
+++ b/dev-perl/Convert-UUlib/Manifest
@@ -1,2 +1,3 @@
 DIST Convert-UUlib-1.4.tar.gz 232006 BLAKE2B 
61a5813b15302613b3b7cc40cc2feedc122a67cfbeb98ef9e8db71ce4d5d8a0aaf01827f5c21f13aa1ed98093ea2005a73a9e3ee1d3bc1c9b35eb6875ba0fbe3
 SHA512 
97dae96b173cfdaf35126f70a883b3462977c3bfb281334f2e54c66ba518ce936ae3046d911ed0a39974df47d0b46bc286afb01faa0d934895402049b3f79cfd
 DIST Convert-UUlib-1.5.tar.gz 236213 BLAKE2B 
dc7eebdac2715edfdec2fcd52e09cb2fcb3ce596a78364af47b56f4e29ca00061f532b3d4328e7f7ec147e5e5caef1a489247a052784dc0c7c5b271160777a2d
 SHA512 
92c8b6f3a72546dca21018ddf2863113904f550e3ed950a1898ed4abfcc48738e9ca374f5adbc3226df2db6beeb0e12879ae52cdd067a030c199766d53603ec1
+DIST Convert-UUlib-1.71.tar.gz 277227 BLAKE2B 
ea5eab834a1b7c1d2edf19fabdc51bd2e2fac73413b26b7bf8c1d5c4accb342e9c9cfe026182188bd4efa50bafa34f033735109ca356eed7569a569284e823db
 SHA512 
6ca67737a29709903322f506063c4c65e17a15a2cef40959cbf1309ba608867516f554bdec426e217ec610f84e76197d41cb8a2ac7d57fb640728b0e2ae5ef31

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
new file mode 100644
index 00000000000..fdce341d982
--- /dev/null
+++ b/dev-perl/Convert-UUlib/files/Convert-UUlib-1.71-tc-ar.patch
@@ -0,0 +1,25 @@
+From 8a250730c8d73feea322f5a5beeaa16cbaa05d3a Mon Sep 17 00:00:00 2001
+From: Kent Fredric <ken...@gentoo.org>
+Date: Fri, 22 May 2020 04:58:39 +1200
+Subject: Fix direct calling of ar
+
+---
+ uulib/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/uulib/Makefile.in b/uulib/Makefile.in
+index 06a820d..65bae91 100644
+--- a/uulib/Makefile.in
++++ b/uulib/Makefile.in
+@@ -69,7 +69,7 @@ new:         clean
+ 
+ libuu.a:      $(UULIB_OBJ)
+       rm -f $@
+-      ar r $@ $(UULIB_OBJ)
++      $(AR) r $@ $(UULIB_OBJ)
+       -$(RANLIB) $@
+ 
+ .c.o:
+-- 
+2.26.2
+

Reply via email to