public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/NetAddr-IP/, dev-perl/NetAddr-IP/files/
@ 2017-12-13  7:58 Kent Fredric
  0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2017-12-13  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     c53d16c7f9c17aeb899a11e26277aeea844f11b3
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 13 07:45:49 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 07:58:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c53d16c7

dev-perl/NetAddr-IP: Bump to version 4.79.0

- EAPI6
- Patchify SRC_PREP logic ( making it clear why changes are needed )

Upstream:
- Correct non-suppression of leading zeros in certain instances of
  new_no use

- Propagatge :nofqdn from NetAddr::IP::Lite to ::IP

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-perl/NetAddr-IP/Manifest                       |  1 +
 dev-perl/NetAddr-IP/NetAddr-IP-4.79.0.ebuild       | 22 +++++++++
 .../files/NetAddr-IP-4.079-no-sleep.patch          | 57 ++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-perl/NetAddr-IP/Manifest b/dev-perl/NetAddr-IP/Manifest
index 3257b881568..d486aa85204 100644
--- a/dev-perl/NetAddr-IP/Manifest
+++ b/dev-perl/NetAddr-IP/Manifest
@@ -1 +1,2 @@
 DIST NetAddr-IP-4.078.tar.gz 213358 BLAKE2B aa0c040f3ecf6b57184ec5c4dc2c3b18b1def5bc955f72bc8cd8f31e42a7b139039cd6b95f712bd7ca857e21c5b388a282275c1f77ec433a6018e2663c621228 SHA512 37ca056da216ead336ea3b3ce791ef804fc26d54c45a40eefc3adb662dfe02d7ac8618128eba8eff9ebc0be4a3b511fed14363ca63eb99e7e2b0e44416948311
+DIST NetAddr-IP-4.079.tar.gz 213896 BLAKE2B e0e54e5fc944591801faeb7bd28187579e72458240dc40d847b3efb1bd5136ccfa8993c6a74a1d8b01970f20495b0655dbc865be44f3de714896c07ee06e203f SHA512 8ebc8ffb914cf72c041441f96de0e9c982eebdb8c26dbf15f885d0113b3634e4851d81f13f555c14d1fdf0ab95ae2ce880ed124e6c200e391adae3b1d6d3eb65

diff --git a/dev-perl/NetAddr-IP/NetAddr-IP-4.79.0.ebuild b/dev-perl/NetAddr-IP/NetAddr-IP-4.79.0.ebuild
new file mode 100644
index 00000000000..419e84e1cd8
--- /dev/null
+++ b/dev-perl/NetAddr-IP/NetAddr-IP-4.79.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIKER
+DIST_VERSION=4.079
+inherit perl-module
+
+DESCRIPTION="Manipulation and operations on IP addresses"
+
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="ipv6 test"
+
+RDEPEND="ipv6? ( dev-perl/Socket6 )"
+DEPEND="${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+	test? ( virtual/perl-Test-Simple )
+"
+PATCHES=( "${FILESDIR}/${PN}-4.079-no-sleep.patch" )

diff --git a/dev-perl/NetAddr-IP/files/NetAddr-IP-4.079-no-sleep.patch b/dev-perl/NetAddr-IP/files/NetAddr-IP-4.079-no-sleep.patch
new file mode 100644
index 00000000000..b3049304aef
--- /dev/null
+++ b/dev-perl/NetAddr-IP/files/NetAddr-IP-4.079-no-sleep.patch
@@ -0,0 +1,57 @@
+From 67e9a07125c7f3ec8ec29ae9fc544340ffee5cf9 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 13 Dec 2017 20:36:20 +1300
+Subject: No sleeping
+
+---
+ Makefile.PL | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index da50c62..0ecc5a0 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -2,13 +2,6 @@ use ExtUtils::MakeMaker;
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
+ 
+-my $check0 = 0;
+-my $check1 = 0;
+-my $now = time;
+-my $then = (stat('./Makefile.old'))[9];
+-# set number of seconds to view
+-my $view = $then +86400 < $now ? 5:0;
+-
+ my $pv = sprintf "%vd", $^V;
+ unless ($pv lt '5.8.0' || $pv gt '5.8.5') {
+   print
+@@ -24,7 +17,6 @@ qq(
+ #                                                              	# 
+ ################################################################# 
+ );
+-  sleep $view if $view;
+ }
+ 
+ unless (grep { m/-noxs/ } @ARGV) {
+@@ -36,10 +28,8 @@ not require compilation of XS code, can be used by invoking this as:
+   perl Makefile.PL -noxs
+ 
+ };
+-  sleep $view if $view;
+ }
+ 
+-sleep $view if $view && ($check0 || $check1);
+ 
+ print <<EOF;
+ 
+@@ -72,7 +62,6 @@ Use this method to create new objects from 'aton's
+ 
+ EOF
+     ;
+-sleep $view if $view;
+ 
+ my %makeparms = (
+ #	      (MM->can('signature_target') ? (SIGN => 1) : ()),
+-- 
+2.14.3
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-13  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13  7:58 [gentoo-commits] repo/gentoo:master commit in: dev-perl/NetAddr-IP/, dev-perl/NetAddr-IP/files/ Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox