summaryrefslogtreecommitdiff
path: root/dev-perl/Net-IP
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Net-IP
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Net-IP')
-rw-r--r--dev-perl/Net-IP/Manifest4
-rw-r--r--dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild17
-rw-r--r--dev-perl/Net-IP/files/initip-0.patch12
-rw-r--r--dev-perl/Net-IP/metadata.xml12
4 files changed, 45 insertions, 0 deletions
diff --git a/dev-perl/Net-IP/Manifest b/dev-perl/Net-IP/Manifest
new file mode 100644
index 000000000000..323b568c2eae
--- /dev/null
+++ b/dev-perl/Net-IP/Manifest
@@ -0,0 +1,4 @@
+AUX initip-0.patch 395 BLAKE2B fda4b973f8a8667ba0158835d52fe2c83a7b26f15fd085ee1e1ebbf187b79e48acfc44ca0e6759ab0b9dc64a930cd0c88cf54c4dce9ac5e1c8824222e4987043 SHA512 3133c2f47e1d6f2a94ff8d7e00c23501f438164925302fb598711d71768980461bdb2827cadb6db28fa0f6c24c35746d176dff0a7673e7ace8b591ecbcfd3f2b
+DIST Net-IP-1.26.tar.gz 30866 BLAKE2B 202d581145c798cbb129c51f84b206f11506ef131b44c186ced06dc3afe95030cdc4b814ce5ff27c675faa1d711bda5950e94d230cdaad9e46cd29a0a350e444 SHA512 c561f32b6ca5dc082e2bc6c47000a2ca0f5ee7abb47105f5b1bf98cb76723287416de0a767ea63c18f87964df7f3982c7258fe1208afa22cff0378ae3509d9eb
+EBUILD Net-IP-1.260.0-r1.ebuild 471 BLAKE2B dc2972f08736f2b2f0bc22edadfd9913534956390dc104bd78e79f5e9db34c764e32ed19c2f3f6522c26af78afcd619d42d0ef1627c3623b97115ef6c4bab0ec SHA512 92a30454b1768cef1cec407e07968386ef5c04b40ed2def43c7909dfb207ff4496ed9e22e0ddb714791c176bdb0d1663690e2d495d82add4474874df2f487ad5
+MISC metadata.xml 384 BLAKE2B 2326d01c0cfe6e2f8985c343a7b89fd3f96cd2dd083ab6dd88f05c8698b9f73b55aceec0936f03664348e7af7957a93d85f0344391c2c4c8f3511f698167b34c SHA512 b11de0b22595ff1b61cda3f6c1f067564fa584cb2a80a88d344c47fd1bf00131615483695eadb2a6e045e42973a0e1e42294183e85964e9ebd17786a667bf962
diff --git a/dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild b/dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild
new file mode 100644
index 000000000000..d29ec47c6e44
--- /dev/null
+++ b/dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=MANU
+MODULE_VERSION=1.26
+inherit perl-module
+
+DESCRIPTION="Perl extension for manipulating IPv4/IPv6 addresses"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/initip-0.patch" )
+SRC_TEST="do"
diff --git a/dev-perl/Net-IP/files/initip-0.patch b/dev-perl/Net-IP/files/initip-0.patch
new file mode 100644
index 000000000000..7f72638d0a9e
--- /dev/null
+++ b/dev-perl/Net-IP/files/initip-0.patch
@@ -0,0 +1,12 @@
+diff -Naurp Net-IP-1.25.old/IP.pm Net-IP-1.25/IP.pm
+--- Net-IP-1.25.old/IP.pm 2006-05-22 12:46:40.000000000 -0400
++++ Net-IP-1.25/IP.pm 2007-03-30 16:50:48.000000000 -0400
+@@ -410,7 +410,7 @@ sub intip {
+
+ my $int = ip_bintoint($self->binip());
+
+- if (!$int) {
++ if (ref($int) ne "Math::BigInt") {
+ $self->{error} = $ERROR;
+ $self->{errno} = $ERRNO;
+ return;
diff --git a/dev-perl/Net-IP/metadata.xml b/dev-perl/Net-IP/metadata.xml
new file mode 100644
index 000000000000..20450257fa22
--- /dev/null
+++ b/dev-perl/Net-IP/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Net-IP</remote-id>
+ <remote-id type="cpan-module">Net::IP</remote-id>
+ </upstream>
+</pkgmetadata>