summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-perl/Net-IP
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-perl/Net-IP')
-rw-r--r--dev-perl/Net-IP/Manifest1
-rw-r--r--dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild18
-rw-r--r--dev-perl/Net-IP/files/initip-0.patch12
-rw-r--r--dev-perl/Net-IP/metadata.xml9
4 files changed, 40 insertions, 0 deletions
diff --git a/dev-perl/Net-IP/Manifest b/dev-perl/Net-IP/Manifest
new file mode 100644
index 000000000000..b42699612225
--- /dev/null
+++ b/dev-perl/Net-IP/Manifest
@@ -0,0 +1 @@
+DIST Net-IP-1.26.tar.gz 30866 SHA256 040f16f3066647d761b724a3b70754d28cbd1e6fe5ea01c63ed1cd857117d639 SHA512 c561f32b6ca5dc082e2bc6c47000a2ca0f5ee7abb47105f5b1bf98cb76723287416de0a767ea63c18f87964df7f3982c7258fe1208afa22cff0378ae3509d9eb WHIRLPOOL 534010b304f984d2ad6b15862a8d8808c0ab51be316dd2d27e557deed69fd9688d7304fda6b72a17eef1c6a79c5582976ca557c5221253393198969fb316d572
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..b5bd1af03944
--- /dev/null
+++ b/dev-perl/Net-IP/Net-IP-1.260.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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..3c0082b303a5
--- /dev/null
+++ b/dev-perl/Net-IP/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <upstream>
+ <remote-id type="cpan">Net-IP</remote-id>
+ <remote-id type="cpan-module">Net::IP</remote-id>
+ </upstream>
+</pkgmetadata>