[packages/php-pear-Net_IPv6] Rel 3
arekm
arekm at pld-linux.org
Mon May 4 12:45:12 CEST 2026
commit 6099bbcc5db19e9c66663df72a47e97b14b01fc9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon May 4 12:45:03 2026 +0200
Rel 3
ipv6.patch | 16 ++++++++++++++--
php-pear-Net_IPv6.spec | 2 +-
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/php-pear-Net_IPv6.spec b/php-pear-Net_IPv6.spec
index 4f7961a..03f532d 100644
--- a/php-pear-Net_IPv6.spec
+++ b/php-pear-Net_IPv6.spec
@@ -5,7 +5,7 @@ Summary: %{_pearname} - check and validate IPv6 addresses
Summary(pl.UTF-8): %{_pearname} - sprawdzanie poprawności adresów IPv6
Name: php-pear-%{_pearname}
Version: 1.3.0
-Release: 0.%{snap}.2
+Release: 0.%{snap}.3
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}%{snap}.tgz
diff --git a/ipv6.patch b/ipv6.patch
index f84f7f7..f6956db 100644
--- a/ipv6.patch
+++ b/ipv6.patch
@@ -1,6 +1,5 @@
-diff -urN Net_IPv6-1.3.0b4.org/Net/IPv6.php Net_IPv6-1.3.0b4/Net/IPv6.php
--- Net_IPv6-1.3.0b4.org/Net/IPv6.php 2018-07-09 13:55:41.000000000 +0200
-+++ Net_IPv6-1.3.0b4/Net/IPv6.php 2024-06-05 09:04:05.726443082 +0200
++++ Net_IPv6-1.3.0b4/Net/IPv6.php 2026-05-04 12:43:08.156140776 +0200
@@ -807,7 +807,7 @@
public static function isCompressible($ip)
{
@@ -10,3 +9,16 @@ diff -urN Net_IPv6-1.3.0b4.org/Net/IPv6.php Net_IPv6-1.3.0b4/Net/IPv6.php
}
+@@ -853,10 +853,10 @@
+ return array("", $ip);
+ }
+
+- $ip{$pos} = '_';
++ $ip[$pos] = '_';
+ $ipPart = explode('_', $ip);
+
+- if ($ip{$pos-1} === ":") {
++ if ($ip[$pos-1] === ":") {
+ $ipPart[0] .= ":";
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Net_IPv6.git/commitdiff/6099bbcc5db19e9c66663df72a47e97b14b01fc9
More information about the pld-cvs-commit
mailing list